You are not logged in.

#1 2010-03-26 12:15:53

omgwtfbyobbq
Member
Registered: 2006-07-04
Posts: 226

Interface won't hold an address

Does something overwrite interface settings on boot after network or rc.local are run?
In rc.local I have...

ifconfig eth0 192.168.2.1 &
ifconfig eth0 up &
ifconfig eth0 192.168.2.1 &

But when I take a look at it (ifconfig eth0) it doesn't have the 192.168.2.1 address associated w/ it and I need to reissue the command before I can use eth0. I've also tried setting eth0="eth0 192.168.2.1" in rc.conf, but the interface still doesn't have/keep the address.

Offline

#2 2010-03-26 12:34:53

Ber
Member
From: Belgium
Registered: 2006-07-05
Posts: 80
Website

Re: Interface won't hold an address

If you are running Gnome it may be network-manager's fault.  It's installed by default on Ubuntu's Gnome, I don't know about Arch (running e17).  I guess the equivalent probably exists under Kde


V=RI sweet V=RI

Offline

#3 2010-03-27 00:44:17

omgwtfbyobbq
Member
Registered: 2006-07-04
Posts: 226

Re: Interface won't hold an address

Good catch! It was wicd. For some reason it brings down/up eth0 even though it only connects via wlan0.

Offline

Board footer

Powered by FluxBB