Ethernet

Last update: 17 november 2026.

In order to have a wired ethernet connection available under GLLFSC, I recommend you follow the following steps.

Hardware

First, you have to find the model of your ethernet card:

lspci | grep -i ethernet

For Dell Optiplex 745, the result of the previous command is:

03:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme \
BCM5754 Gigabit Ethernet PCI Express (rev 02)

For Lenovo X200, the result of the previous command is:

00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit \
Network Connection (rev 03)

Driver

To make your ethernet card work, you need to compile the corresponding driver with the kernel Linux, built-in or as a module. To know which driver of the kernel corresponds to your ethernet card, I encourage you to browse http://h-node.org/ethernetcards/catalogue/en. After searching:

Interface

In general, the network interface for a wired connection is named eth0. You may need to activate this interface:

ifconfig eth0 up

IP attribution

If you have chosen to use DHCPCD, dynamic IP attribution to eth0 is done with:

dhcpcd eth0

Problems and solutions

If ifconfig hangs, try to reinstall inetutils.

# ifconfig eth0 up
ifconfig: SIOCGIFFLAGS failed: No such device

The error message above indicates that interface named eth0 does not exist. In my case, this happened when the driver e1000e was not available because I did not include it into the kernel and my /boot/config had:

# CONFIG_E1000E is not set

I added it through the kernel menu:

Device Drivers
> Network device support
  > Ethernet driver support
    > Intel (R) PRO/1000 PCI-Express Gigabit Ethernet support

After having rebuilt the kernel, my /boot/config now contains:

CONFIG_E1000E=y
and the above command works as intended.

Connection script

To connect to the internet, I wrote a script named connect.sh under /bin with the following content:

# Exit on error:
set -e

ifconfig eth0 up
dhcpcd eth0

exit 0