I've just installed Debian 7.5.0 amd netinst.

Actually I am trying to install the firmware through aptitude install firmware-linux-nonfree

When I executed ifconfig and ifconfig -a, the output indicates only the loopback no eth0 interface. However the Ethernet card and WLAN card are pretty detected, I checked it through lspci and both cards appear.

I edited /etc/network/interfacesl by adding DHCP but it was in vain.

  • Can you provide us with the output of the pretty hardware detection? Please also provide the output of lsmod. Why don't you use network-manager? That's usually standard issue these days. – Bananguin May 9 '14 at 7:33
  • How to use a network manager? – user2215151 May 9 '14 at 7:53
  • It usually has an icon somewhere on your desktop, often found somewhere in the top right or bottom right corner of the screen. It's some applet which lets you manage you rnetwork connections, tell you about available WLANs etc. – Bananguin May 9 '14 at 7:56
  • I have installed the standard utilities. So I have not a graphical interface. – user2215151 May 9 '14 at 8:19
  • 1
    A Debian standard installation does come with a graphical interface these days ... even the standard installer has a graphical interface. You will need to be a lot more precise about your installation and answer the other questions I asked you before anybody can help you. And when you paste the output of lspci, please use lspci -v to get and post more information. – Bananguin May 9 '14 at 8:28

You may have to manually add the interfaces to /etc/network/interfaces. To see what network interfaces your system has detected look at /etc/udev/rules.d/70-persistent-net.rules. Any interfaces detected will be identified by NAME= Add the interface names to /etc/network/interfaces as such:

auto eth1   # eth1 is an example name
iface eth1 inet dhcp

Then use ifup to bring up the new interface

$ sudo ifup eth1
  • /etc/udev/rules.d/70-persistent-net.rules is a new file in my case – user2215151 May 9 '14 at 12:58
  • /etc/udev/rules.d/70-persistent-net.rules is a new file in my case @user 2215151 – user2215151 May 9 '14 at 13:14
  • @user2215151 what does dpkg -l | grep -i udev return? – Creek May 9 '14 at 13:17
  • ii libudev0:amd64 175-7.2 amd64 libbudev shared library ii udev 175-7.2 amd64 /dev/ and hotplug management deamon @Creek – user2215151 May 9 '14 at 13:28
  • 1
    @user2215151: i posted 7 hours ago how to proceed. Post the output of lsmod and lspci -v. Without that we can't really help you. – Bananguin May 9 '14 at 16:25

I solved the problem for myself after months of hair pulling. Go to update manager at the top click on view. Select the kernel version at the bottom of the list which for me was 4.4.0-78 but for some it will be some version above 4.8. Click on install. I still have a lo and a Wlan0 showing in ifconfig but I now have an Eth0 showing. I unplugged the WiFi dongle and lo and behold I now have wired inter-net; eureka. With the wireless dongle out of course there is now no Wlan0.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.