Peter Chatterton Posted May 9, 2007 Report Share Posted May 9, 2007 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 Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted May 10, 2007 Report Share Posted May 10, 2007 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. Quote Link to comment Share on other sites More sharing options...
Peter Chatterton Posted May 10, 2007 Author Report Share Posted May 10, 2007 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 Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted May 11, 2007 Report Share Posted May 11, 2007 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. Quote Link to comment Share on other sites More sharing options...
Peter Chatterton Posted May 11, 2007 Author Report Share Posted May 11, 2007 Thanks for the suggestion Ian, but assuming I typed it in correctly (no spaces in 'net-pf-10'), it didn't make any difference. Peter Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted May 11, 2007 Report Share Posted May 11, 2007 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. Quote Link to comment Share on other sites More sharing options...
Peter Chatterton Posted May 11, 2007 Author Report Share Posted May 11, 2007 The ifconfig looks the same as before, with no ifv6. I guess it's okay to leave /etc/modprobe.conf as it now is? Thanks again, Peter Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted May 13, 2007 Report Share Posted May 13, 2007 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. Quote Link to comment Share on other sites More sharing options...
daniewicz Posted May 13, 2007 Report Share Posted May 13, 2007 Are there any NIC related error messages posted in /var/log/messages during bootup? Quote Link to comment Share on other sites More sharing options...
Peter Chatterton Posted May 13, 2007 Author Report Share Posted May 13, 2007 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). Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted May 14, 2007 Report Share Posted May 14, 2007 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. Quote Link to comment Share on other sites More sharing options...
emmanuel_uk Posted May 14, 2007 Report Share Posted May 14, 2007 go for the static IP address and the option lladdr http://www.hmug.org/man/8/ifconfig.php can be used to set the MAC hexa address to whatever (but non zero) I know somebody who had what looks like the same problem. At least if yout set the MAC to non zero and it still does not work then it will be sthg else ;) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.