View Single Post
Posts: 5 | Thanked: 0 times | Joined on Feb 2010 @ London
#4
ifup requires you to have write access on /var/run/ifstate which requires you to run this as root. Gainroot still doesn't allow it. Having ssh'd to the device as root, chmod'd ifstate and then run ifup using gainroot, no IP seems to be allocated. Surely there must be some better way of running this than as root or via chmoding the ifstate file?

Is it right that /etc/network/interfaces needs adding

Code:
auto bnep0
iface bnup0 inet static
   address 192.168.3.15
   netmask 255.255.255.0
   gateway 192.168.3.1
or similar? I tried that and it still doesn't work.