The officially official Devuan Forum!

You are not logged in.

#1 2019-04-10 04:15:10

Roger
Member
From: Vancouver, BC, Canada
Registered: 2019-04-06
Posts: 67  
Website

Migration problem: network

I am experimenting with migration from Debian stretch to Devuan on a VirtualBox machine running on a Windows 10 laptop. I have a Debian machine there, and made a clone in order to test the migration process without damaging a working system (the whole point of virtual machines). Everything works well until reboot after the final dist-upgrade; on rebooting there is no longer a network connection.

In passing I should say I am impressed with the ease of the migration process; my test machine has only 430 Debian packages, essentially X11 and compilers, plus the standard utilities, and the process only required 69 upgraded packages. That suggests to me that where there is no systemd contamination, Debian packages are essentially left intact.

The virtual machine network connection is simply through dhcp connected directly to the laptop via NAT. For some strange reason, the adapter is called enp0s3 instead of eth0 which one might expect. I have not done much exploration of the problem yet, and the only things that occur to me are (a) a different adapter name, or (b) no running dhcp client. I assumed that the migration process does upgrade/replace the dhcp client.

I did not install wicd as the existing /etc/network/interfaces file is precisely what is needed, assuming the adapter is identified correctly. With only one connection to the network, it doesn't seem that a network manager is required.

Suggestions for fixing this problem would be much appreciated.

Offline

#2 2019-04-10 05:56:24

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: Migration problem: network

Roger wrote:

the adapter is called enp0s3 instead of eth0

See https://www.debian.org/releases/stretch … face-names & https://www.freedesktop.org/wiki/Softwa … faceNames/

tl;dr: either substitute the new name in /etc/network/interfaces or add net.ifnames=0 to GRUB_CMDLINE_LINUX in /etc/default/grub & run update-grub (as root).


Brianna Ghey — Rest In Power

Offline

#3 2019-04-10 09:44:53

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,486  

Re: Migration problem: network

In Debian, udev names the interfaces as enp... as you show. To revert those to the old names, boot with net.ifnames=0. (This is not relevant in Devuan.)

In Devuan, eudev names the interfaces with the old names like eth0. To revert to the new names, boot with net.ifnames=1

Offline

#4 2019-04-10 15:53:06

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: Migration problem: network

^ Oops! Thanks for the correction.

@OP: sorry for the misinformation.


Brianna Ghey — Rest In Power

Offline

#5 2019-04-11 00:18:58

Roger
Member
From: Vancouver, BC, Canada
Registered: 2019-04-06
Posts: 67  
Website

Re: Migration problem: network

Thanks for the help; I should have known, as I had dealt with the opposite problem when Debian upgraded from jessie to stretch.

All I needed to do was edit the interface name in /etc/network/interfaces and restart networking (now easy to do with the familiar SystemV).

I must repeat again how easy the migration process was; Devuan is obviously the way to go, and things are now arranged back in a familiar way.

Offline

#6 2019-04-12 16:34:09

crankypuss
Member
Registered: 2018-09-15
Posts: 58  

Re: Migration problem: network

Roger wrote:

Thanks for the help; I should have known, as I had dealt with the opposite problem when Debian upgraded from jessie to stretch.

I've forgotten, was it stretch that introduced systemd?  I've been falling back to jessie for years.

I recall having gotten Ubuntu oneiric (11.10) tweaked up just as i wanted it, then whatever their next version was, it went from their old startup code (maybe that was "upstart"?) straight to the dogs, and i think that was when they introduced systemd.

Trainees have to gain experience, but i hope the next set is less destructive in their enthusiasm.

Offline

#7 2019-04-12 17:04:45

PedroReina
Member
From: Madrid, Spain
Registered: 2019-01-13
Posts: 269  
Website

Re: Migration problem: network

crankypuss wrote:

I've forgotten, was it stretch that introduced systemd?

No. It was Debian Jessie; this is why Devuan has a version called Jessie.

I have some boxes with Debian Jessie around. But what I hated was install a computer class with it (16 boxes). Systemd didnt work the way I wanted. So, I moved on. I'm here.

Offline

#8 2019-04-12 17:58:22

golinux
Administrator
Registered: 2016-11-25
Posts: 3,318  

Re: Migration problem: network

crankypuss wrote:

I've forgotten, was it stretch that introduced systemd?  I've been falling back to jessie for years.

The first bits of systemd appeared in Wheezy.

Offline

#9 2019-04-12 18:10:21

crankypuss
Member
Registered: 2018-09-15
Posts: 58  

Re: Migration problem: network

golinux wrote:
crankypuss wrote:

I've forgotten, was it stretch that introduced systemd?  I've been falling back to jessie for years.

The first bits of systemd appeared in Wheezy.

LOL, wheezy is one of the versions i just deleted as a waste of space.  I'm running Devuan ascii, with backups on Debian jessie and Ubuntu oneiric, none of them have systemd as i'm reading it.  Ug like.

Offline

#10 2019-04-12 18:25:54

golinux
Administrator
Registered: 2016-11-25
Posts: 3,318  

Re: Migration problem: network

crankypuss wrote:
golinux wrote:
crankypuss wrote:

I've forgotten, was it stretch that introduced systemd?  I've been falling back to jessie for years.

The first bits of systemd appeared in Wheezy.

LOL, wheezy is one of the versions i just deleted as a waste of space.  I'm running Devuan ascii, with backups on Debian jessie and Ubuntu oneiric, none of them have systemd as i'm reading it.  Ug like.

IIRC the bit was libsystemd0 not the full init.

Offline

#11 2019-04-12 18:28:39

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: Migration problem: network

It was possible to switch from sysvinit to systemd as PID1 in wheezy but sysvinit was the default.


Brianna Ghey — Rest In Power

Offline

Board footer