Jump to content
Peter Chatterton

NIC problem

Recommended Posts

I can't install a Realtek RTL-8129 NIC card on a Cheapbytes Mandriva 2006.

 

I configured it with Command Center and it appears in lspci,

but ifup fails and ifconfig shows a HWadddr of zeroes.

 

My system is an IBM Pentium 3 NetVista Type 6578-G9U.

 

Hope you can help (I'm new to Linux),

Peter

Share this post


Link to post
Share on other sites

Post the output of:

 

# lsmod

 

and also post your /etc/modprobe.conf and /etc/sysconfig/network-scripts/ifcfg-eth0.

 

lsmod will give all modules loaded so we can see if the proper module for your nic loaded which I believe is 8139too. Modprobe.conf will show what modules should be loading and ifcfg-eth0 is the network configuration script. Finally, post the output of:

 

# ifconfig

 

That should give the current status of all your network interfaces. Note, both the above commands must be run as root which I assume you are familiar with since you apparently ran ifup from the command line. If you're not sure what I'm talking about post back and I'll go into more detail. You may also want to post how you are connecting to the internet since I assume that is your real problem. With this info we should be able to figure out what is going on.

Share this post


Link to post
Share on other sites

Hi pmpatrick , thanks for replying.

 

lsmod:
mii	 8139too

Modprobe.conf 
alias eth0 8139too
alias [some audio stuff]
install [some usb stuff]

ifcfg-eth0  
DEVICE=eth0
BOOTPROTO=dhcp
IPADDR="no IP"
MII_NOT_SUPPORTED=no
TYPE=adsl
USERCTRL=yes
IPV6INIT=no
IPV6TO4INIT=no
PEERDNS=yes
DHCP_CLIENT=dhclient
NEEDHOSTNAME=yes	[this might be a problem as i didn't give it one]
PEERDNS=yes
(I've skipped a few lines that didn't look useful)	

ifconfig:
Link encap: Ethernet
HWaddr 00 ... 00	[is this the show stopper?]
UP BROADCAST MULTICAST  MTU 1500
RX packets: 0  Errors: 452  Dropped: 0  Overruns: 452  frame: 0
TX packets: 0  Errors: 0  Dropped: 0  Overruns: 0  carrier: 0	
collisions: 0 txqueuelen: 1000
RX = TX bytes = 0
Base addr 0xef00
Int: 21

 

I'm connecting the Linux, as with the XP, directly to a SpeedStream 5200 ADSL modem.

 

Here's some output from XP:

 

	C:\WINDOWS\system32>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection 6:
		Connection-specific DNS Suffix  . :
		IP Address. . . . . . . . . . . . : 192.168.0.1
		Subnet Mask . . . . . . . . . . . : 255.255.255.0
		Default Gateway . . . . . . . . . :
PPP adapter Sympatico HSE:
		Connection-specific DNS Suffix  . :
		IP Address. . . . . . . . . . . . : 69.159.51.133
		Subnet Mask . . . . . . . . . . . : 255.255.255.255
		Default Gateway . . . . . . . . . : 69.159.51.133

 

ping sympatico.ca works on Linux but not on XP.

I tried setting the Host Name on Linux to sympatico.ca, but it didn't help.

 

 

Hope this helps, and thanks again,

Peter

Share this post


Link to post
Share on other sites

I think might be an ipv6 problem. Add this to /etc/modprobe.conf:

 

alias net-pf-10 off

 

then reboot. See if that helps make it any better.

Share this post


Link to post
Share on other sites

As long as you typed it exactly as I wrote it, it should have disabled ipv6. You can check with an ifconfig -a, and if it says ipv6 anywhere, then it's still enabled.

Share this post


Link to post
Share on other sites

Yes, it's safe to leave it with ipv6 disabled, since chances are you won't need ipv6 for anything locally anyway. I never have, and probably neither have most people.

 

Reason I suggested this is because that realtek cards usually have a network problem that's resolved when ipv6 is disabled. I think the only time I've seen problems with the hw address being zeros was either due to a bad module or wrong module being loaded for the card, or, that the card was faulty.

Share this post


Link to post
Share on other sites

Are there any NIC related error messages posted in /var/log/messages during bootup?

daniewicz

 

I did an install from scratch yesterday. At one point the modem did seem to be working, normally the leds don't show much action.

 

These show up quite often in /var/log/messages:

 

eth0: Realtek @ 0xd0962f00, 00 ... 00, IRQ 21
  no MII transceiver! Assuming SYM
  link up, 10Mbps, half duplex, lpa 0x0

BTW the DHCP timeout used to be 0, which I've now set to 5 secs.

 

I can't setup a new conn. in Control Center.

It won't accept any Host name, even 127.0.0.1, for what is supposedly an optional field.

In Manage hosts it shows only one (local host).

Share this post


Link to post
Share on other sites

What DHCP address should you be getting? If you're not receiving DHCP, then I would suggest assigning a static IP address in the same range of IP addresses you are expecting via DHCP. Then, you can ping the router or whatever is giving you the IP address via DHCP to see if you have communication.

 

If you have, then there is a problem with your machine receiving DHCP for some reason within Mandriva.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...