Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2012 08:07:42 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Lars Eighner <lars@larseighner.com>
Cc:        freebsd-questions@freebsd.org, Robert Bonomi <bonomi@mail.r-bonomi.com>
Subject:   Re: Connect to Clear hub modem
Message-ID:  <alpine.BSF.2.00.1205230804170.47816@wonkity.com>
In-Reply-To: <alpine.BSF.2.00.1205230615320.52159@abbf.6qbyyneqvnyhc.pbz>
References:  <201205230534.q4N5YhcB083259@mail.r-bonomi.com> <alpine.BSF.2.00.1205230615320.52159@abbf.6qbyyneqvnyhc.pbz>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1205230804170.47816>