fixed IP for none root
Hi all,
I need to set up a static IP. So I went into /etc/networking/interfaces
and used
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet dhcp
auto eth0
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
Worked a treat, however I've found when I run as non root (which I need to) I get no IP, ifconfig show no address. So root my interfaces works fine, as a user it doesn't can anyone advise. root runs and shows my address to be 192.168.1.1, user shows a large hex number. I can set manually by ifconfig, but need it from boot. Any advise? Thanks
|