On Wed, Jun 22, 2011 at 12:14:15AM -0700, Tom Sharples wrote: > Hi, I've run into a (documented) bug using the Network Manager GUI to try to > set a static IP eth0 address in Ubuntu : the "apply" button is always grayed > out so it won't let me set the address no matter what I do. Is there a > command-line shell script or file I can edit to get this set up? Ubuntu is > very foreign to me (I use slackware) and I'm loath to screw something up on > a system that's going to a customer. You can edit /etc/network/interfaces to define all the parameters associated with a particular port. For example:
auto eth0 iface eth0 inet static pre-up /sbin/modprobe ipv6 pre-up /sbin/ip6tables-restore -c < /etc/network/ip6tables.rules pre-up /sbin/iptables-restore -c < /etc/network/iptables.rules address 69.33.100.126 netmask 255.255.255.248 network 69.33.100.120 broadcast 69.33.100.127 gateway 69.33.100.121 dns-nameservers 69.33.100.122 173.230.152.5 66.80.130.23 dns-search jamhome.us, michaelsnet.us post-up /sbin/ip -6 addr add 2001:470:e953:cafe::46/64 dev eth0 post-up /sbin/ip -6 route add default via 2001:470:e953:cafe::42 -- Michael Rasmussen, Portland Oregon Riding to support treatment of arthritis - soon to affect one in four I will match your donation 1:1 Help out today: http://tapcc.kintera.org/michaelrpdx Other Adventures: http://www.jamhome.us/ or http://westy.saunter.us/ Fortune Cookie Fortune du jour: It is invigorating to realize you've been dead wrong about something. That's why we read history. ~ Garrison Keillor _______________________________________________ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug