LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-26-2003, 02:16 AM   #1
BeerMonster
LQ Newbie
 
Registered: Aug 2003
Location: Shropshire, UK
Posts: 19

Rep: Reputation: 0
Network card pings ok, but can't access web via router


I swapped my network card in my SuSE 8.2 box, putting in a new card. (The old card worked perfectly with the web, but unfortunately I have to give it back to the person that lent it me).
The new card can ping the router (a Belkin gateway router) but cannot download from the Internet via the cable modem attached to the router. (My windows box, which is also attached to the router, can still access the Internet no problem).
The name of the new network card is 10/100 Mbps Fast Ethernet Card AEN101 by BENQ (inspired by Acer apparently). There site had little info of use to me beyond telling me the driver is rtl8139.o
My SuSE box comes complete with the rtl8139.o But, when I try
modprobe rtl8139
I get this message:
/lib/modules/ [...] /drivers/net/rtl8139.o: init_module: no such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.

so I try lspci -v and suse sees Ethernet Controller: Realtek Conductor blah blah RTL8139 blah IRQ 10 blah.

When I ping the router and windows box, the response is successful, I am pinging them in 0.3 ms or thereabouts.

When I dmesg | grep eth it sees the card and configures it to 100 mbs etc, BUT it tells me that THERE IS A possible PROBLEM,
"No IPv6 routers present"

I wonder if a kind person could make a suggestion to help? Even if it is to suggest the card may be broken. I am out of ideas and can't find any more answers on the web. Many thanks!
 
Old 10-27-2003, 05:35 PM   #2
BeerMonster
LQ Newbie
 
Registered: Aug 2003
Location: Shropshire, UK
Posts: 19

Original Poster
Rep: Reputation: 0
Hi,
I solved the problem. There was a defective motherboard ethernet port configured as eth0 by default, and my card was set up as eth1. When I made the card eth0, and ensured there was no eth1, I was able to connect to the internet. The strange thing was, my old card was eth2, and worked fine, hence, I did not think that was the problem. One lives and learns! Serves me right for making assumptions about computers
 
Old 11-05-2003, 07:33 PM   #3
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
BeerMonster,

I'm also having a problem with a RealTek NIC on a SUSE 8.2 box.

I put a second network card in there and the old one works fine, but the new one only works when the old one is not in the computer system.

They both require the 8139too module, and that shouldn't be a problem. The problem is that I can't get them both working simultaneously. when i lspci it, it shows that it is there. It seems that it is not configured at all.

I think that somehow I have to add something to a config file so that I point the device at the module.

I don't reall understand it though. It isn't like something is broken, it is just fidly.

thanks in advance, dude
Hamish
 
Old 11-06-2003, 02:09 AM   #4
BeerMonster
LQ Newbie
 
Registered: Aug 2003
Location: Shropshire, UK
Posts: 19

Original Poster
Rep: Reputation: 0
Do both cards ping ok, is the driver modprobed by you, or is it loaded by the kernel? As you have SuSE 8.2, fire up the Yast "network card" config stuff, it should see your cards. Ensure that eth0 and eth1 are your only cards, and that there are no other unnecessary eth numbers, and that both your cards are represented as eth0 and eth1. That solved my problem, in my case. Do you get any driver errors (try the dmesg command to see the boot stuff). Sorry if my advice is a bit crude, I'm new to this myself.
 
Old 11-07-2003, 02:08 PM   #5
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
np, the advice is good.

I don't have a monitor attached to the box, I need to do everything with command. I would like to configure it with YAST, that would be easy!

How would I see what the ethernet cards are called (eg eth0 eth1)? I have a wireless card in there as well (not cinfigured either).

Both of the cards should be using the same driver so, yes, the driver is insalled.

thanks
Hamish
 
Old 11-08-2003, 11:21 AM   #6
BeerMonster
LQ Newbie
 
Registered: Aug 2003
Location: Shropshire, UK
Posts: 19

Original Poster
Rep: Reputation: 0
AFAIK, you should be able to see all your detected cards via this command executed on your target machine
dmesg | grep -i eth
 
Old 11-09-2003, 10:37 AM   #7
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
I have done that and it appears that the card IS detected. It even knows what module it should be using:

hamish@pi:~> dmesg | grep -i eth
8139too Fast Ethernet driver 0.9.26
eth0: D-Link DFE-538TX (RealTek RTL8139) at 0xd0a8d800, 00:05:5d:4c:2a:a0, IRQ 9
eth0: Identified 8139 chip type 'RTL-8139C'
eth1: RealTek RTL8139 Fast Ethernet at 0xd0a8fc00, 00:0b:2b:0c:36:a0, IRQ 11
eth1: Identified 8139 chip type 'RTL-8139C'
eth0: Setting half-duplex based on auto-negotiated partner ability 0000.
8139cp: 10/100 PCI Ethernet driver v0.3.0 (Sep 29, 2002)


It knows what it should be using, it just won't do anything!

Is there no command to tell it to start a device? I wondered it ifconfig eth1 up would work, but it didn't seem to.

thanks
Hamish
 
Old 11-09-2003, 10:46 AM   #8
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
EDIT

Have now got the module working. In true Linux style, I tried it a second time, and, guess what? It worked.

I just have to mess around with the Kernel IP Routing Table now to get it working.

thanks
Hamish
 
  


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
router: inconsistent pings messiahnet Linux - Networking 1 06-21-2005 07:01 AM
cannot access config web-page for adsl router tireseas Linux - Networking 6 03-19-2005 04:13 PM
My logs are being flooded from pings from my router(i think)!!! rmanocha Linux - Networking 8 03-11-2004 01:42 PM
No web access through the network, help?! WorldBuilder Linux - Networking 4 05-11-2003 08:08 AM
Network Analyzer with Web Access MickeyMouse Linux - General 0 03-21-2003 02:54 PM

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

All times are GMT -5. The time now is 05:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration