Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello,
I've recently installed Ark Linux(redhat based and my kernel is 2.4.23),
and I like a lot. The only problem is that the system doesn't interact
in some way with the ethernet card. I've tried to get as much info
as I can befor posting this, so . . . .
On a how-to site I learned how to get some system info:
To find out what card is in my computer , as root I did "lspci", and I got
Ethernet controller: Davicom Semiconductor, Inc Ethernet 100/10 MBit (rev 31)
then I checked in "/etc/modules.conf" and the first line was
alias eth0 dmfe
and on the site mentioned above it said that the driver for
Davicom was dmfe
so to see if the driver was loaded I did "lsmod | grep dmfe"
and I got back the output below
dmfe 15713 1
crc32 3740 0 [dmfe]
and the I did "modprobe eth0" but I got no reply
then as root I did "ifconfig -a" and under eth0 I saw
and I also looked in the direcory "/lib/modules/2.4.23-0.pre4.1ark/kernel/drivers/net/"
and I found the file "dmfe.O"
Isn't that the module(driver) that my ethernet card needs?
I'm pretty much out of ideas, what do I need to do next, where do I need to look?
If anyone can help me resolve this I'll be very happy. Thanks.
It doesn't seem like you have a problem with your ethernet driver - you are sending/receving packets. Are you not able to access the internet? is that it? Try: dhcpcd eth0
Anything I try to do involving connection to the internet, be it synaptic or Konqueror, fails to connect.
I posted this same question to google groups comp.os.linux.networking and the reply I got told me I should have used "modprobe dmfe" (dmfe being the name of the driver) and not "modprobe eth0"
need more info.
run "dmesg" and see if there is any interesting messages from your eth card. post them.
"cat /etc/resolv.conf" any nameservers there?
can you ping any hosts? try "ping google.com"
did it resolve google's ip? try "ping 216.239.57.99"
what is your setup? you have a router connected to your cable modem, and your computer to your router.
I assume you have the right network cables since you are getting packet transmission.
Your ip is 192.168.1.55, and i assume your router is 192.168.1.1, if so can you at least ping your router 192.168.1.1.
What router are you using? does it have DHCP? is it enabled?
If it's not supported/enabled, but pinging your router was successful, you will need to
setup a route to the outside world:
route add default gw 192.168.1.1
(now try to ping google.com and 216.239.57.99)
as for dmesg, it only lists the most recent kernel activity which from what i can tell is flooded with usb storage stuff (you have verbose usb/usb-storage enabled in your kernel) to see all the kernel messages view the log file (/var/log/messages) - and note any interesting eth0/dmfe messages.
>> what is your setup? you have a router connected to your cable modem, and your computer to your router.
Ok, I asked and I was told that my cable from the ethernet card goes from my computer to (through a switcher) the router, and it's Cisco
>> I assume you have the right network cables since you are getting packet transmission.
Your ip is 192.168.1.55, and i assume your router is 192.168.1.1, if so can you at least ping your router 192.168.1.1
I pinged 192.168.1.1. and got
64 bytes from 192.168.1.1: icmp_seq=(this number just kept growing) ttl=64 time=2.29 ms
>> What router are you using?
Cisco 2600 sieres
>> does it have DHCP? is it enabled?
No, we're only at most 12 or 15 computers on our LAN
>> If it's not supported/enabled, but pinging your router was successful, you will need to
setup a route to the outside world:
>> route add default gw 192.168.1.1
>> (now try to ping google.com and 216.239.57.99)
I haven't done this yet, because I wanted to mention something first
>> as for dmesg, it only lists the most recent kernel activity which from what i can tell is flooded with usb storage stuff (you have verbose usb/usb-storage enabled in your kernel) to see all the kernel messages view the log file (/var/log/messages) - and note any interesting eth0/dmfe messages.
When I looked in /var/log/messages the only reccuring lines with 'dmfe' in it were
dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17)
eth0: Davicom DM9102 at pci00:0f.0, 00:80:ad77:95:5e, irq5.
What I wanted to mention was this, the cable goes from the ethernet card to a switcher, to a firewall, THEN to the router. Will this make a difference?
Maybe...depending on the firewall setup, but if the other 12-15 worked, i don't see a reason why your's shouldn't (unless you specifically are blocked). Please try pinging.
did you do route add again after you shutdown? it doesn't stay - i just wanted you to test your connection.
If you did rerun route and you still have problems, i don't think i can help you - i don't know how your firewall is setup.
But at least we established it's NOT your ethernet card - since you can ping another machine and your ifconfig clearly shows that packets are being sent/received.
You said you issued "route add default gw 192.168.1.1" and then shut the computer down. Does that mean you brought the computer up again after lunch? The route tables will die between boots, therefore that command will have no affect unless you did something to the startup files.
Just for curiosity, what is the result of issuing the command "route -n" (or just "route") after bootup and before issuing "route add default gw 192.168.1.1" and then after the command (run as root of course)?
----------
Addendum (a bit slow on this post):
OK, I do not know your distribution. Somewhere in /etc or /etc/sysconfig or /etc/rc.d there are files that set up networking and somewhere you should beable to set the gateway. For redhat, there is a file "/etc/sysconfig/network-scripts/ifcfg-eth0" for which a line "GATEWAY=192.168.1.1" would do. Otherwise, the best place to put this might be a line in /etc/rc.d/rc.local.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.