NetworkManager works just fine (was: [ubuntu host] NetworkManager improvements)

Patrick C. F. Ernzer pcfe at pcfe.net
Mon Feb 23 14:35:41 CET 2009


Hello,

On Sun, 22 Feb 2009 21:13:17 -0500
Joel Newkirk <freerunner at 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: pcfe at pcfe.net
--go-and-make-your-own-disclaimer--+----------------------------------
Damn right I'm good in bed.
I can sleep for days.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freerunner-usb-add.sh
Type: application/x-shellscript
Size: 226 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/community/attachments/20090223/0d865c6c/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 80-freerunner.rules
Type: application/octet-stream
Size: 317 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/community/attachments/20090223/0d865c6c/attachment.obj 


More information about the community mailing list