:: Re: [DNG] netman, ifdown: interface…
Góra strony
Delete this message
Reply to this message
Autor: Edward Bartolo
Data:  
Dla: fsmithred
CC: dng
Temat: Re: [DNG] netman, ifdown: interface wlan0 not configured
The command to connect to eth0 is a new addition. Use the following:

./backend 9 eth0

Please note that netman, the frontend does not assume which device you
want to use as your networking interface. This means, you have to
select it in the list box.

Also remember to change the SUID of backend to that of root. backend
needs root privileges, that is why its SUID is changed to that of
root.

My /etc/network/interfaces file is as follows:

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
# allow-hotplug eth0
iface eth0 inet dhcp

# WIFI Configuration
iface wlan0 inet dhcp


If I remember well, backend can also connect eth1, eth2, ... eth99,
but that has not been tested. The frontend still only knows about
eth0, but again, the system must be configured so that eth0 is
recognized.

Hopefully, this helps.

Edward

On 07/09/2015, fsmithred <fsmithred@???> wrote:
> I can confirm that adding "iface wlan0 inet dhcp" to
> /etc/network/interfaces fixes it.
>
> New problem: I can't get eth0 to connect using netman. This is in a
> virtualbox installation of devuan alpha2 netinstall. I purged wicd and
> rebooted. I copied the executables from the other installation, I've got
> 'iface eth0 inet dhcp' in interfaces, and it works with ifup/ifdown on
> command line.
>
> If I try to connect with netman, it fails. Running 'ifconfig eth0' before
> trying to connect with netmane does not help.
>
> If I connect with 'ifup eth0' and then try to disconnect with netman, it
> fails. If I try to disconnect with 'backend 5' I get:
>
> user@devuan-a2:~/netman$ ./backend 5
> ifdown: failed to open lockfile /run/network/.ifstate.lock: Permission
> denied
> user@devuan-a2:~/netman$ ls -l /run/network/.ifstate.lock
> -rw-r--r-- 1 root root 0 Sep 7 09:21 /run/network/.ifstate.lock
>
> Deleting the lockfile doesn't help.
>
> There's no backend command for connecting eth0, so I can't get any
> terminal output.
>
> -fsmithred
>
>