LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 06-07-2016, 02:17 PM   #1
zvivered
Member
 
Registered: Sep 2007
Posts: 286

Rep: Reputation: 23
Vanilla 3.18.33: ifconfig is empty


Hello,

I'm running 3.18.33 kernel (vanilla) with busy box.
According to the boot log (dmesg) the kernel finds:
Intel e1000e
Intel fm10k
It allocates: eth0, eth1 to the fm10k.

How can I cause the kernel that eth2 (for example) will be e1000e ?
Currently, running ifconfig gives an empty list.

Thank you,
Z.V
 
Old 06-07-2016, 02:23 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Try ifconfig -a.
 
Old 06-08-2016, 03:01 AM   #3
zvivered
Member
 
Registered: Sep 2007
Posts: 286

Original Poster
Rep: Reputation: 23
Hi Emerson,

Thank you for your reply.
Running ifconfig -a gave a list.

But I see that eth0, eth1 are not there.

During the linux boot I see that:
e100
e1000
e1000e
Are recognized.

Why I can not see them in the ifconfig list ?

Best regards,
Z.V
 
Old 06-08-2016, 08:11 AM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
ifconfig -a gave a list, but without eth0 and eth1 ?

You can run lspci -k to see if the driver is loaded. When the driver is loaded then you need to configure your interfaces. You chose not to reveal what Linux distro you are using, thus nobody can tell you how. You can run something like this:
Code:
ifconfig eth0 xx.xx.xx.xx netmask=255.255.255.0 up
to assign an IP address, but this will not survive reboot.
 
Old 06-08-2016, 10:34 AM   #5
zvivered
Member
 
Registered: Sep 2007
Posts: 286

Original Poster
Rep: Reputation: 23
Solution: Missing ethernet driver

Hello,

The cause to the problem was that the HW is Intel's I210 which is not in the kernel.

I downloaded the driver, compiled it and inserted it with: insmod igb.ko

After this step, 4 eth were added to the "ifconfig -a" list.

I'm not using a distro. Just pure vanilla with busybox.

Thank you,
Z.V
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ifconfig -a sees eth0 ifconfig does not thllgo Linux - Networking 2 05-05-2016 04:38 PM
Scripting Help--Check empty string condition (not null, but empty!) sungchoiok Linux - Newbie 4 01-01-2012 04:46 PM
[SOLVED] [BASH] non-empty variable before loop end, is empty after exiting loop aitor Programming 2 08-26-2010 10:57 AM
connecting /sbin/ifconfig to bash command ifconfig flammable2 Fedora 4 11-12-2005 08:58 AM
Gentoo VNC, empty dialog box !! "Question" window is empty ! TheHushedCaskeT Linux - Software 0 02-01-2005 11:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 11:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration