Skip to content
This repository was archived by the owner on Jan 16, 2024. It is now read-only.

Network is not configured in Debian 8 #50

Closed
jfontan opened this issue Aug 17, 2016 · 0 comments
Closed

Network is not configured in Debian 8 #50

jfontan opened this issue Aug 17, 2016 · 0 comments
Assignees
Milestone

Comments

@jfontan
Copy link
Contributor

jfontan commented Aug 17, 2016

service networking start no longer works in Debian 8 after d96cb50. This happens because it disables network confguration in /etc/default/networking:

CONFIGURE_INTERFACES=no

Network should be configured with ifup, the same as Ubuntu.

activate_network()
{
. /etc/os-release
if [ $ID = "ubuntu" ]; then
IFACES=`/sbin/ifquery --list -a`
for i in $IFACES; do
/sbin/ifup $i
done
else
service networking stop
sleep 1
service networking start
fi
sleep 2
}

@jfontan jfontan added this to the v5.0.2 milestone Aug 17, 2016
@jfontan jfontan self-assigned this Aug 17, 2016
@jfontan jfontan closed this as completed Aug 18, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant