You are not logged in.

#1 2016-06-25 01:47:32

Markus.N2
Member
From: Germany
Registered: 2013-08-22
Posts: 99

Force initialization of network interface even when not connected ?

Hi,

I have a minboard with two network interfaces (Gigabyte GA-890FXA-UD5), and I would like to use the PC as (part-time) router and firewall for my laptop running Windows.
One port of the PC is connected to my internet connection (cable modem), while the other one is sometimes connected, sometimes not.
The problem is ... when the second interface is not connected during boot, the kernel does not initialize it.

ip link show

shows only loopback and the first interface, and

ls /sys/class/net/

shows the same result.

systemctl restart network.service

does not help, because it seems to rely on the devices initialized by the kernel.

The PC is only rebooted after system updates. I'm usually using suspend to ram when I'm not home. That's why I need a solution without reboot. Either by forcing the initialization independently of the connection status during boot or by telling the kernel to search for the second interface in the running system after I connected the laptop.

Thanks and Regards,
Markus

Offline

Board footer

Powered by FluxBB