Bringing up network card

Started by titan, 2020/08/16, 10:11:11

Previous topic - Next topic

titan

I thought ifupdown was depreciated but it is still installed but no ceni, conman or network-manager. The Debian wiki says ifupdown can be used with /etc/network/interfaces but the only file in there is auto lo. It also says it can be used with the interface name so ifup enp6s0 for me but I thought this was all now done using systemctl. Can someone please give the correct commands.
thanks


titan

Thanks but that just adds to the confusion, I do not want to connect wifi.. I just want to know how to bring up a (wired) network card. My router lost power then when restored obviously gave out different IP address, for my PC,  previously I used ifup eth0 but things have moved on, I just rebooted but thought I would ask what the latest command to use today is. I did spent some time looking online but there seems to be lots of various options.

dibl

Have you tried systemctl start networking?

To see whether networking is enabled and/or active, try systemctl status networking.
System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.

titan

Thanks dibi, all is working fine, I just rebooted but thought I had better know the right command for next time to save a reboot.