NetworkManager in Intrepid breaks my FreeRunner's Internet connection

Joel Newkirk freerunner at newkirk.us
Sun Oct 12 20:02:08 CEST 2008


On Sun, 12 Oct 2008 15:28:27 +0200, "Jeffrey Ratcliffe"
<jeffrey.ratcliffe at gmail.com> wrote:
> I've just upgraded my Hardy desktop to Intrepid and now have network
> problems.
> 
> This is my /etc/network/interfaces
> 
> auto lo
> iface lo inet loopback
> 
> auto usb0
> iface usb0 inet static
>    address 192.168.0.200
>    netmask 255.255.255.0
>    network 192.168.0.0
>    up iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 &
>    up echo 1 > /proc/sys/net/ipv4/ip_forward &
>    up iptables -P FORWARD ACCEPT &
>    down iptables -D POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 &
> 
> This worked fine with Hardy, but the desktop cannot see the network.
> 
> If I comment out auto usb0 and everything below, I can access the rest
> of the network, but then, of course, my FreeRunner no longer has
> Internet access.
> 
> Any ideas on how to get both up?
> 
> Regards
> 
> Jeff

Try changing the address to 192.168.0.201 and netmask to 255.255.255.252.
(that's a /30 subnet, with network IP, broadcast IP, host, and FR and
that's it)  If that permits you to talk to both the FR and the rest of your
(presumably 192.168.0.0/24??) network, then on the FR change the gateway to
192.168.0.201 and netmask to 255.255.255.252.  (also change DNS if
necessary in /etc/resolv.conf on FR)

j





More information about the support mailing list