Re: NetworkManager in Intrepid breaks my FreeRunner's Internet connection
On Mon, Oct 13, 2008 at 6:14 AM, Jeffrey Ratcliffe [EMAIL PROTECTED] wrote: 2008/10/13 digger vermont [EMAIL PROTECTED]: Recently something changed with NetworkManager in Intrepid, don't know what. With the auto usb0 line in the interfaces file NM decided that They started using the 0.7 version of NetworkManager, which isn't quite finished. it to make it the default route when I plugged it in. I could see the nm-applet going around and then a notification that I was connected to the Freerunner. Looking at connections with nm-applet there were tabs for both the wireless and usb0 with usb0 marked as default. I kinda remember an Ubuntu bug-report concerning the default route in NM. There are plenty of those. I can post them if anyone is interested. Any way my solution was to comment out auto usb0 and manually use ifup usb0 (actually sudo ifdown usb0 sudo ifup usb0 is what I use). Are you saying that you type sudo ifdown usb0 sudo ifup usb0 every time you plug in your FR? I'm beginning to conclude that I will have to remove NM and set up everything manually. Regards Jeff ___ support mailing list support@lists.openmoko.org https://lists.openmoko.org/mailman/listinfo/support have you tried replacing network manager with Wicd[1]. i think it has better frontend and will not have the same issue as NM. azmodie [1] http://wicd.sourceforge.net -- Due to the speed of light being faster than the speed of sound people often look bright until they speak ___ support mailing list support@lists.openmoko.org https://lists.openmoko.org/mailman/listinfo/support
Re: NetworkManager in Intrepid breaks my FreeRunner's Internet connection
On Mon, 2008-10-13 at 07:14 +0200, Jeffrey Ratcliffe wrote: 2008/10/13 digger vermont [EMAIL PROTECTED]: Recently something changed with NetworkManager in Intrepid, don't know what. With the auto usb0 line in the interfaces file NM decided that They started using the 0.7 version of NetworkManager, which isn't quite finished. ... Any way my solution was to comment out auto usb0 and manually use ifup usb0 (actually sudo ifdown usb0 sudo ifup usb0 is what I use). Are you saying that you type sudo ifdown usb0 sudo ifup usb0 every time you plug in your FR? You have to decide where you want to spend your time. For me it isn't NM at the moment. So yeah its a a drag but I type it in. digger signature.asc Description: This is a digitally signed message part ___ support mailing list support@lists.openmoko.org https://lists.openmoko.org/mailman/listinfo/support
Re: NetworkManager in Intrepid breaks my FreeRunner's Internet connection
Jeffrey Ratcliffe 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. Sure sounds like a routing issue. Can you post your routing table? ___ support mailing list support@lists.openmoko.org https://lists.openmoko.org/mailman/listinfo/support
Re: NetworkManager in Intrepid breaks my FreeRunner's Internet connection
2008/10/12 Jeffrey Ratcliffe [EMAIL PROTECTED] 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? I use the following setup: On the Freerunner: auto usb0 iface usb0 inet static address 192.168.0.202 netmask 255.255.255.0 network 192.168.0.0 gateway 192.168.0.200 up echo -e nameserver 192.168.0.200 /etc/resolv.conf On the desktop: allow-hotplug usb0 iface usb0 inet static address 192.168.0.200 netmask 255.255.255.0 The iptables-stuff is set at system startup and always active, no matter if the Freerunner is connected or not. These lines are suitable for iptables-restore: *filter -A FORWARD -i usb0 -o eth0 -j ACCEPT -A FORWARD -i eth0 -o usb0 -m state --state RELATED,ESTABLISHED -j ACCEPT *nat # redirect this to my DNS -A PREROUTING -i usb0 -p udp -m udp --dport 53 -j DNAT --to-destination 192.168.7.71 -A POSTROUTING -o eth0 -j MASQUERADE And finally in /etc/sysctl.conf: net.ipv4.conf.default.forwarding=1 ___ support mailing list support@lists.openmoko.org https://lists.openmoko.org/mailman/listinfo/support
Re: NetworkManager in Intrepid breaks my FreeRunner's Internet connection
On Sun, 2008-10-12 at 15:28 +0200, Jeffrey Ratcliffe 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? Recently something changed with NetworkManager in Intrepid, don't know what. With the auto usb0 line in the interfaces file NM decided that it to make it the default route when I plugged it in. I could see the nm-applet going around and then a notification that I was connected to the Freerunner. Looking at connections with nm-applet there were tabs for both the wireless and usb0 with usb0 marked as default. I kinda remember an Ubuntu bug-report concerning the default route in NM. Any way my solution was to comment out auto usb0 and manually use ifup usb0 (actually sudo ifdown usb0 sudo ifup usb0 is what I use). digger signature.asc Description: This is a digitally signed message part ___ support mailing list support@lists.openmoko.org https://lists.openmoko.org/mailman/listinfo/support
Re: NetworkManager in Intrepid breaks my FreeRunner's Internet connection
2008/10/13 digger vermont [EMAIL PROTECTED]: Recently something changed with NetworkManager in Intrepid, don't know what. With the auto usb0 line in the interfaces file NM decided that They started using the 0.7 version of NetworkManager, which isn't quite finished. it to make it the default route when I plugged it in. I could see the nm-applet going around and then a notification that I was connected to the Freerunner. Looking at connections with nm-applet there were tabs for both the wireless and usb0 with usb0 marked as default. I kinda remember an Ubuntu bug-report concerning the default route in NM. There are plenty of those. I can post them if anyone is interested. Any way my solution was to comment out auto usb0 and manually use ifup usb0 (actually sudo ifdown usb0 sudo ifup usb0 is what I use). Are you saying that you type sudo ifdown usb0 sudo ifup usb0 every time you plug in your FR? I'm beginning to conclude that I will have to remove NM and set up everything manually. Regards Jeff ___ support mailing list support@lists.openmoko.org https://lists.openmoko.org/mailman/listinfo/support