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

Network is not configured in Debian 8 #50

@jfontan

Description

@jfontan

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
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions