LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-10-2001, 09:52 PM   #1
cvlinux
LQ Newbie
 
Registered: Sep 2001
Posts: 6

Rep: Reputation: 0
Unhappy eth0 Operation Failed


Hi I am trying to post this again.
I am a newbie in Linux Networking/Installation.
I have a HP Pavillion that used to run on Win ME till yesterday. I installed RH6.1 GNome Workstation and the OS got loaded fine.
When I try to connect to my other machines in my home network or to internet it is not working fine. When the linux gets booted I get the error eth0 Operation Failed.
I have a DSL modem setup which connects to my Netgear RT314 DSL Router and my other three pcs works just fine in sharing the DSL connection. Since my router assigns IP for the machines, in linuxconf I made the basic settings IP as empty, Netmask is empty, device is eth0 and kernal module is tulip.
I even downloaded a tulip.c from Netgear website for FA310Tx card and installed in the net directory.
I would like to get my pc on the network. I also have other general questions like if IP is assigned dynamically by my router like 192.168.0.* how should my /etc/hosts look like if my linux box is called, say mars. what is my nameserver in this case? Such things.....
Please do reply to this and any help would be greatly appreciated.

Thanks a Bunch
 
Old 09-11-2001, 06:00 AM   #2
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
1. At the command line, type "lsmod" (no quotes) to list the loaded modules. If the tulip driver is loading (which it probably isn't) you should see it in the list.

2.Turn off Plug-N-Play support in your BIOS, it can interfere with the initialization of some cards in Linux.

3. Type "cat /proc/pci" and see if your NIC has an
entry there. If so, note the IRQ and I/O address.

4. Type "cat /proc/interrupts" to see if your card's IRQ is conflicting with other cards. If so, try rearranging the order of the cards in your PCI slots.


5. You said you installed tulip.c into the net directory. Tulip.c is the source code, which must be compiled to create the driver/module tulip.o. Did you compile tulip.c, or just place it in the directory? Your distro should already support the tulip module (most do), so installing a new module probably isn't necessary anyway.

It might also be as simple as your card not getting an IP from the RT-314. I would suggest that for a small network like yours you set static IPs for each machine, as opposed to using DHCP. DHCP just adds another (unnecessary, in your case) layer of complexity and possible problems.

As far as your hosts file and DNS entries go:

a basic /etc/hosts would look something like:
Code:
127.0.0.1	localhost.localdomain	localhost
192.168.0.3	mars.your_domain	mars
The DNS entries (in /etc/resolv.conf) would be those provided by your ISP, and your gateway address would be that of the RT-314.

Last edited by DMR; 09-11-2001 at 06:10 AM.
 
Old 09-11-2001, 08:25 AM   #3
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Quote:
Originally posted by DMR
3. Type "cat /proc/pci" and see if your NIC has an
entry there. If so, note the IRQ and I/O address.

4. Type "cat /proc/interrupts" to see if your card's IRQ is conflicting with other cards. If so, try rearranging the order of the cards in your PCI slots.
Its worth noting that things don't always appear in /proc until the kernel has detected them properly, hence your card may not be listed here until you install it, in which case you don't need to know the details... catch-22

Something that DMR didn't mention is that if the tulip module isn't in the list when you use lsmod then you might want to just try loading it using
Code:
modprobe tulip
and see what happens. If you don't get and error message then you know you don't have any hardware conflicts and that the module is loading OK, once this happens it should not be listed by and lsmod. You'll just need to find which script is used to load your modules at boot time (look somewhere like /etc/rc??/init.d/ - dunno where it would be in Redhat as I'm a Slackware man myself).

cheers

Jamie...

cheers

Jamie...
 
  


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
HDIO_SET_DMA failed: Operation not permitted new.thing Slackware 21 09-15-2007 06:46 PM
SET failed on device eth0 ; Operation not supported. rickenbacherus Linux - Wireless Networking 1 04-24-2004 04:18 PM
HDIO_SET_DMA failed: Operation not permitted acjt Linux - Hardware 4 05-02-2003 11:52 PM
HDIO_SET_DMA failed: Operation not permitted markus1982 Linux - General 2 10-28-2002 05:56 AM
eth0 Operation failed cvlinux Linux - Networking 0 09-10-2001 04:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:10 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