Re: NetworkManager works just fine (was: [ubuntu host] NetworkManager improvements)
On Tue, 2009-02-24 at 00:18 -0500, Joel Newkirk wrote: Thanks. With the current Ubuntu there have been problems where NM tries to take control of usb0 despite being told not to, or refuses to follow manual setting within its own GUI, but also it has had problems where it tries to point default route out usb0, or brings eth0 down and back up, or other odd behavior. Lately most of that seems fixed. Well, ubuntu 8.10 works. http://wiki.openmoko.org/wiki/USB_Networking#Ubuntu_8.10_-_Easy_Way -- Daniel.Li lida_m...@163.com PALFocus (http://palfocus.oicp.net) ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
NetworkManager works just fine (was: [ubuntu host] NetworkManager improvements)
Hello, On Sun, 22 Feb 2009 21:13:17 -0500 Joel Newkirk freerun...@newkirk.us wrote: [...] Has anyone else been successful with Ubuntu NetworkManager recently? [...] Not Ubuntu but NetworkManager in general. As said on the wiki page, one needs to nail down the MAC address for NM to dish out the same IP. I use the following on many boxes, so the version numbers can be off a bit. NetworkManager-0.7.0-1.git20090102.fc10.i386 create /usr/local/sbin/freerunner-usb-add.sh create /etc/udev/rules.d/80-freerunner.rules cd /etc/udev/rules.d/ chcon --reference=40-multipath.rules 80-freerunner.rules chmod 744 freerunner-usb-add.sh udevcontrol --reload_rules Depending on how your firewall is set up, you may or may not have to issue the following iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 iptables -I FORWARD 1 -s 192.168.0.202 -j ACCEPT iptables -I INPUT 1 -s 192.168.0.202 -j ACCEPT echo 1 /proc/sys/net/ipv4/ip_forward RU PCFE -- http://www.pcfe.net/ Patrick C. F. Ernzer | e-mail: p...@pcfe.net --go-and-make-your-own-disclaimer--+-- Damn right I'm good in bed. I can sleep for days. freerunner-usb-add.sh Description: application/shellscript 80-freerunner.rules Description: Binary data ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: NetworkManager works just fine (was: [ubuntu host] NetworkManager improvements)
On Mon, 23 Feb 2009 15:35:41 +0200 Patrick C. F. Ernzer p...@pcfe.net wrote: Hello, On Sun, 22 Feb 2009 21:13:17 -0500 Joel Newkirk freerun...@newkirk.us wrote: [...] Has anyone else been successful with Ubuntu NetworkManager recently? [...] Not Ubuntu but NetworkManager in general. As said on the wiki page, one needs to nail down the MAC address for NM to dish out the same IP. I use the following on many boxes, so the version numbers can be off a bit. NetworkManager-0.7.0-1.git20090102.fc10.i386 create /usr/local/sbin/freerunner-usb-add.sh create /etc/udev/rules.d/80-freerunner.rules cd /etc/udev/rules.d/ chcon --reference=40-multipath.rules 80-freerunner.rules chmod 744 freerunner-usb-add.sh udevcontrol --reload_rules Depending on how your firewall is set up, you may or may not have to issue the following iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 iptables -I FORWARD 1 -s 192.168.0.202 -j ACCEPT iptables -I INPUT 1 -s 192.168.0.202 -j ACCEPT echo 1 /proc/sys/net/ipv4/ip_forward RU PCFE Thanks. With the current Ubuntu there have been problems where NM tries to take control of usb0 despite being told not to, or refuses to follow manual setting within its own GUI, but also it has had problems where it tries to point default route out usb0, or brings eth0 down and back up, or other odd behavior. Lately most of that seems fixed. j ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community