LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-28-2001, 01:31 PM   #1
cliffyman
Member
 
Registered: Aug 2001
Location: Buffalo, NY
Distribution: Red Hat
Posts: 83

Rep: Reputation: 15
Redhat 6.2 / VA Linux 6.2.3 - ethernet card not working?


Hello,

We just installed RH6.2 / VA Linux 6.2.3 onto a box. The install ran very smoothly and I was able to log into the system.

However, there appears to be a problem with the ethernet configuration. It's a Linksys card - "Etherfast LAN". Whenever I try to ping an IP on the LAN it gives the following error:

Connect: Network is unreachable

When I ping localhost, it works fine. I'm not sure if that means that the ethernet card is functioning properly and if I just need to alter config files somewhere, or if it's a driver problem.

Could someone push me in the right direction? Thanks!
 
Old 08-28-2001, 01:37 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 261Reputation: 261Reputation: 261
best way to determine if its there and linux knows its there is give this command ifconfig or ifconfig eth0 and this should give you an output of the ethernet configuration. If there is nothing there, your gonna need to configure your ehternet card, the linksys usually uses the tulip driver which is usually supplied already with RH 6.2.
Not sure on the ifconfig, give us the output and post it here for us to see.
 
Old 08-28-2001, 01:41 PM   #3
cliffyman
Member
 
Registered: Aug 2001
Location: Buffalo, NY
Distribution: Red Hat
Posts: 83

Original Poster
Rep: Reputation: 15
okay, here goes...

ifconfig
lo Link encap:Local loopback
inet addr:127.0.0.1 Mask: 255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric: 1
RX packets: 18 errors: 0 dropped: 0 overruns: 0 frame: 0
TX packets: 18 errors: 0 dropped: 0 overruns: 0 carrier: 0
collisions: 0 txqueuelen: 0


And the other comand...


ifconfig eth0
eth0: error fetching interface information: Device not found


I'm guessing this means that it's not configured or the driver is messed up. What's the next step?

Thanks for your help!

Last edited by cliffyman; 08-28-2001 at 01:48 PM.
 
Old 08-28-2001, 01:52 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 261Reputation: 261Reputation: 261
your gonna want to get the driver.... or update, compile it and i would recommend following the steps in the Ethernet HowTo's at http://www.linuxdoc.org/HOWTO/Ethernet-HOWTO.html , try those and any questions or whatever then maybe ask from there, if you don't understand anything or if something fails following those steps.
 
Old 08-28-2001, 02:11 PM   #5
cliffyman
Member
 
Registered: Aug 2001
Location: Buffalo, NY
Distribution: Red Hat
Posts: 83

Original Poster
Rep: Reputation: 15
thanks for your help. I ought to able to install the new driver both by reading the link you provided and this one from Linksys itself:

http://www.linksys.com/support/support.asp?spid=25

And previously I had asked how to mount the floppy to get the file out, but once again, Google came to my rescue. I'll let you know how it goes.

Last edited by cliffyman; 08-28-2001 at 02:16 PM.
 
Old 08-28-2001, 02:16 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 261Reputation: 261Reputation: 261
oh.. you have to mount it first.

Code:
# mount /dev/fd0 /mnt/floppy
That is if your floppy is under devices fd0, check your /etc/fstab to find out there. you might also have a floppy icon on the desktop if you have X installed, you can insert the floppy, double click like your in windows again..
let me know if you have any problems mounting or installing.

oh yeah.. you can man mount for more mount command details and options to use when mounting.
 
Old 08-28-2001, 02:29 PM   #7
cliffyman
Member
 
Registered: Aug 2001
Location: Buffalo, NY
Distribution: Red Hat
Posts: 83

Original Poster
Rep: Reputation: 15
I'm getting there. I just ran this command, as directed by the Linksys website:

gcc -DMODULE -D__KERNEL__
-I/usr/src/linux/net/inet
-Wall -Wstrict-prototypes -O6 -c tulip.c
`[ -f /usr/include/linux/modversions.h ]
&& echo -DMODVERSIONS`



I got these messages:



gcc: [ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS: No such file or directory

/tmp/cc6RHWJC.s: Assembler messages:
/tem/cc6RHWJC.s:108: Warning: ignoring changed section attributes for .modinfo



The file was outputted as tulip.o so it looks like it worked... but are these errors especially bad?

The next step is to copy the tulip.o file to /lib/modules/2.2.14-VA.2.1/net and then run depmod -a which gives this error:

Unresolved symbols in /lib/modules/2.2.14-VA.2.1/net/tulip.o

Any ideas?

Last edited by cliffyman; 08-28-2001 at 02:51 PM.
 
Old 08-28-2001, 02:50 PM   #8
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 261Reputation: 261Reputation: 261
okay i am not a linux machine right now.. but 6.2 should have a tulip driver ready... try using the insmod command to insert the tulip driver... i think it would something like:
insmod tulip.o and then you can run netconfig to try and setup the network configurations for the card...
also if you have X installed, you can try using linuxconf to setup the card.. there should be an option for eth0 and what driver to use with it.

not exactly sure why it gave those errors when compiling off the floppy. is this the floppy that came with the ethernet card? you can try to download new ones and try compiling it again instead of off the floppy.
 
Old 08-28-2001, 02:59 PM   #9
cliffyman
Member
 
Registered: Aug 2001
Location: Buffalo, NY
Distribution: Red Hat
Posts: 83

Original Poster
Rep: Reputation: 15
It works! Thank you!


The insmod command worked without a hitch... I could find any files named tulip.o except for the one that I created - hopefully I didn't insert a bad driver, but it seems to be working fine.

Thanks again!
 
Old 08-28-2001, 03:08 PM   #10
cliffyman
Member
 
Registered: Aug 2001
Location: Buffalo, NY
Distribution: Red Hat
Posts: 83

Original Poster
Rep: Reputation: 15
Okay...

I just rebooted the system and now it appears to be behaving exactly as it had before when it didn't work.

The only difference I saw is that previously during boot the ethernet card wasn't mentioned, now it seems to fail when it tries to initialize it.

Any ideas?
 
Old 08-28-2001, 03:30 PM   #11
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 261Reputation: 261Reputation: 261
you'll need to add run the command again... and you can use modprobe command or edit /etc/conf.modules i believe to fix that issue at startup so you don't have to issue the command after every boot to get working.
 
Old 08-28-2001, 03:58 PM   #12
cliffyman
Member
 
Registered: Aug 2001
Location: Buffalo, NY
Distribution: Red Hat
Posts: 83

Original Poster
Rep: Reputation: 15
understood.

the module that was inserted seems to have some sort of error in it when it compiled to the tulip.o file. I found the source files for tulip that came with the default linux install (i had previously been using one off of a Linksys floppy).

The file's located at:

/usr/src/linux-2.2.14/drivers/net/tulip.c

But there's no file with the .o extension.

The command you gave me (insmod) worked okay, but since the first tulip.o file I inserted was "corrupted" it's giving me some problems with the ethernet (or so it appears).

How can I take this tulip.c file, convert it to a .o and then insert it using the insmod command you gave me before? I'd prefer to do it from scratch to avoid any "latent errors" from popping up later, if you know what I mean. Thanks!
 
Old 08-28-2001, 04:20 PM   #13
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 261Reputation: 261Reputation: 261
i don't think that it would be corrupt since it just worked, try adding this to your /etc/modules.conf file
Code:
alias eth0 tulip
you can check out this page i found on redhat at http://www.redhat.com/support/manual...ig-kernel.html
 
  


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
Ethernet Card Connection with Redhat Linux 7.3 Blake Linux - Networking 2 11-18-2005 05:42 AM
Network ethernet card not working under 64bit Linux: Need help Frittenbude Linux - Networking 5 04-24-2005 02:31 PM
Sis 900 Ethernet card with Linux FC2 not working mfr100 Linux - Hardware 4 01-19-2005 08:35 AM
Ethernet card on laptop: I installed my D-Link ethernet card into Redhat 9, not detec brighamr Linux - Hardware 0 05-18-2004 12:33 AM
Getting Ethernet card working under Redhat 9 spalding Linux - Hardware 0 12-10-2003 06:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:27 PM.

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