Connect to Clear hub modem

Warren Block wblock at
Thu May 24 12:41:31 UTC 2012

On Thu, 24 May 2012, Lars Eighner wrote:

> On Wed, 23 May 2012, Warren Block wrote:
>> On Wed, 23 May 2012, Lars Eighner wrote:
>>> Whoops!  By imaginary, I meant not really on the internet, but in
>>> 198.168.x.x block reserved for private netting.
>>> This combination of things seems to work in rc.conf:
>>> network_interfaces="lo0 re0"
>> That is normally not needed.
>>> ifconfig="DCHP"
>>> ifconfig_re0="inet netmask"
>> These are variable assignments, and the second line overwrites the value 
>> assigned by the first.  The first alone is preferable because DHCP will do 
>> other setup, like the route and resolve.conf.
> Actually, it seems DCHP won't do it alone.  But doing without DCHP does
> work.  Since I gather DCHP && the other stuff can introduce contradictions,
> I'm doing without DCHP until I understand this better.

Looking at the code above again, there's an error.  The first line is 
not going to do anything (I think, rc.conf has surprised me before). 
It should have the interface name.  So either of these two lines should 

ifconfig_re0="inet netmask"

If both were in rc.conf, the second would overwrite the earlier one.

I generally use "SYNCDHCP" to be sure a lease is obtained before the rc 
scripts go on.

More information about the freebsd-questions mailing list