[SOLVED] problem: Wind River Linux is not detecting the network cards (network interfaces)
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
problem: Wind River Linux is not detecting the network cards (network interfaces)
hello experts,
i am using Wind River Linux and have to do some assignments, for which i need WR Linux to connect to a network. But it is not detecting the interface both- the inbuilt and external. When I executed the command
service network restart-- it says :
Bringing up interface eth0: device eth0 does not seem to be present, delaying initialization [FAILED]
and same for eth1.
is this a driver problem ? if yes, how should i install driver for WR Linux i dont have a CD ?
Also it is not executing ifconfig, if i press <enter> after ifconfig it gets back to the prompt. I tried su, su -, su -root, su root, none of them shows me the login prompt. I have logged in as root/root (default id & password). Thanks in advance.
Regards,
NM04
Last edited by NM04; 02-03-2011 at 11:23 PM.
Reason: found some more problems.
Try "ifconfig -a" first. Wrap your output in [code] & [/code], and post it here. Read the man page for ifconfig while you're waiting for a reply.
If all you see is an interface named "lo", you have bigger problems friend.
Well, that much is obvious, isn't it? (it's right under your name)
The [code] & [/code] tags are what you put at the beginning and end of output that you copy-n-paste into the window so your posts don't look like garbled mess.
In order to actually put [code] & [/code] into a post, you just type them. However, if you want the tags to show up in a post that you type, you have to wrap [noparse] & [/noparse] around them.
That way, it looks like this in your post; [noparse][code][/noparse]
I would suggest you familiarize yourself with how to use LQ, which will help you in asking questions. There's a section on "how to post" (I know that sounds really, really low-brow, but hey, even I learned a lot from it).
If you already know how to use BBcode to format a post, you can just skip to the list of supported tags here.
Your Problem
Your Linux system doesn't recognize any network interfaces, hence why the loopback ("lo") is the only interface you seen when you typed "ifconfig -a".
Run the following (this should tell us if there are *any* NICs on the box);
Code:
for BUSID in $(lspci|awk '{IGNORECASE=1} /net/ {print $1}');do lspci -s $BUSID -m;lspci -s $BUSID -n;done
xeleema,
ok i will learn how to post, but for now can you tell me what is the big problem with my WR Linux ?
as you said i executed the "ifconfig -a" and got the same result as you mentioned i.e "lo" interface, what's next ?
Yes, if you read my whole post, you would have seen this;
Quote:
Your Problem
Your Linux system doesn't recognize any network interfaces, hence why the loopback ("lo") is the only interface you seen when you typed "ifconfig -a".
Run the following (this should tell us if there are *any* NICs on the box);
Code:
for BUSID in $(lspci|awk '{IGNORECASE=1} /net/ {print $1}');do lspci -s $BUSID -m;lspci -s $BUSID -n;done
xeleema,
sorry for that, i executed the first code it returned back to the prompt, and for the second and third code it said:
lspci: -s: invalid slot number.
outputs are as follows:
lspci:
00:00.0 Class 0600:Unknown device 8086:29c0 (rev10)
00:01.0 Class 0604:Unknown device 8086:29c1 (rev10)
00:02.0 Class 0300:Unknown device 8086:29c2 (rev10)
00:01b.0 Class 0403:Unknown device 8086:27d8 (rev01)
...............
a total of 18 entries with slight changes.
uname -a:
Linux localhost 2.6.27.18-WR3.0bg_standard #1 PREEMPT Fri JAN 21 17:05:27 i686 i686 i386 GNU/LINUX
cat /etc/*release:
Wind River Linux
uptime:
17:16:33 up 6:32, 1 user load average: 0.00, 0.00, 0.00
NM04
outputs are as follows :
/sbin/ifconfig lo 127.0.0.1 up: no error it came back to the prompt.
/sbin/ifconfig eth0 <your IP> up::error -->
SIOCSIFADDR: NO SUCH DEVICE
eth0:error while getting interface flags : No such device
/sbin/route add -net <gw ip> netmask <netmask> eth0:: error::
netmask: host name lookup failure
Regards,
NM04
Whoa! 2.6.27? That's from 17feb2009, almost a year old.
There's two things going on here;
1) The kernel doesn't support your hardware. 2) The kernel doesn't have a module (or built-in) for your hardware. 3) You need to get a newer release of "Wind River Linux" (if possible)
4) If you really feel like jumping in and tearing things apart with your teeth, you could always compile and install a new kernel.
As Wind River Linux seems to be a commercial Linux distribution (without an uncrippled free download available), I'd suggest you visit their website and hit their support forum (if they have one). I know there's a Developer forum, but that'd just be mean of me to link to.
xeleema,
thanks for your reply, earlier i thought of the same, and your conclusion proved it. I will built and will integrate the h/w support in the kernel.
Sounds great!
Your post from earlier looks good, too. Very easy to read!
Notice that I have marked your posts as "HelpFul", and this has resulted in a "Reputation" gain for you.
You now have a little green box under your name. Here's why.
P.S: If you see a post that has been helpful to you, mark it as helpful. The more "helpful" a post is, the better the chance someone else with your problem will see the "helpful" post! Also, if your problem is solved, there's a "Thread Tools" section at the very, very top of the page, where you can mark your thread [SOLVED].
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.