• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Linux newbie question - How to install ethernet card driver?

Page 3 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.
maybe a different distribution?

post the output of cat /proc/net/dev
reload the driver (rmmod / modprobe rtl8139)

ifconfig eth0 192.168.123.234 netmask 255.255.255.0
ping 192.168.123.234 (make sure you can ping yourself)
route add -net 192.167.123.0 eth0 (just to make sure)
ping 192.168.123.1 (ping the barricade)
route add default gw 192.168.123.1
traceroute -n 129.137.10.36
vi /etc/resolv.conf ,add nameservers
traceroute www.yahoo.com
 
Blundar, here's what I got:

[root@localhost NetController]# cat /proc/net/dev
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
lo: 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0
eth0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0

[root@localhost /root]# route add -net 192.167.123.0 eth0
SIOCADDRT: Invalid argument

[root@localhost /root]# ping 192.167.123.1
PING 192.167.123.1 (192.167.123.1): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote 192.167.123.1 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote 192.167.123.1 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote 192.167.123.1 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote 192.167.123.1 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote 192.167.123.1 64 chars, ret=-1

--- 192.167.123.1 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss


[root@localhost /root]# route add default gw 192.168.123.1
SIOCADDRT: Network is unreachable

[root@localhost /root]# traceroute -n 129.137.10.36
traceroute: Can't find any network interfaces



Should I just go ahead and install another distribution? I'll try just plain old Linux Mandrake, and not Pogo. Tell me what you guys think.
 
Nah, I'll tell you what files to edit and then it should work. I just haven't had to do this in awhile. But bascially you should add an alias to /etc/modules.conf (or possibly conf.modules whichever it's name) that looks like:

alias eth0 rtl8139

Then, I think this is true in mandrake, you can edit /etc/sys-config/network and fill in the proper information there. Then you ought to be able to do something like /etc/rc.d/init.d/network stop followed by the same thing execpt with start instead of stop and that should bring everything up. You can verify by doing a plain old ifconfig and you should see the interface there, then a route and you should see the route for the host interface at least in there.
 
Oh yeah, there might also be a file in /etc/sys-config/network/ifcfg-eth0 you may want to look at...I think. I haven't messed with Mandrake/RH systems in awhile now so I may be off. And it might just be /etc/sysconfig.
 
Back
Top