Connect to Clear hub modem

Warren Block wblock at wonkity.com
Wed May 23 14:07:44 UTC 2012


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 192.168.15.2 netmask 255.255.255.0"

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.

> defaultrouter="192.168.15.1"
>
> This seems to be the basic setup for all Clear hub modems for fixed
> locations.  It may or may not be a step in the right direct for Clear mobile
> hotspot type modems.
>
> I also added the nameservers that the hub told me about to resolv.conf
> although it is not clear to me that this is consulted.

DHCP will do that for you.


More information about the freebsd-questions mailing list