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.
OK heres the deal, I had cable connection at my house while i was at school and my internet worked without any problems. Now i have brought my computer home with me because I am on winter break from school and set up my computer at home and now eth0 will not activate. My cable is hooked into my hub, and imy gkrellm shows small (~1kb) download activity on my eth0 card, yet it wont work. Im not really to sure where to start, could this be because the ethernet card is trying to access my ip address and DNS server from my other house and not the one its connected to? If so, how do i tell linux where to lookup my dns? I'm not really to sure on what i need to do, as my initial setup of linux detected my ethernet connection automatically. Any help/direction would be helpful. Thanks
If you have running a DHCP Server in your LAN, try to install "pump"
That's a little DHCP-Client. The DHCP-Server will give you an IP Adress and the right DNS-IPs.
i tried manually inputting my ip, subnet, and gateway, and it *says* it works, but if i try to connect to the internet, it still tells me nothing works and on top of that, it slows my system down substanually, like it taking 2 and a half minutes to load up a shell terminal, or 3 minutes to load up Xchat. Anyways, that wasnt working so i reset my settings back to how it was before, and my speeds were normal and my eth0 still wasnt connecting.
I tried service network status and it had
configured devices:
lo eth0
currently active devices:
lo eth0
typing service network restart failed on finding the IP for eth0
ill try netconfig and let you know what happens...
Both at home and at school we have cable, roadrunner actually, and three people overall with 3 ips. My network setup at school is exactly the same as at home, except for the fact that our service is from two different branches of roadrunner, ie columbus.rr.com at school and woh.rr.com at home. I tried using net config, only to get the same results as manually putting in my information in. Im so confused, it worked without a hitch at school. Just to test things out, I hooked up an old computer to my line and it got internet acsess set up without a problem.
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857
Rep:
Try forcing a release and renewal with "dhcpcd -k" and then "dhcpcd -n".
I am not sure how the cable companies DHCP servers work... but I have heard of other people having trouble when they swap out NIC cards. Something to do with the DHCP server remembering the MAC addy of the card and wanting to assign the same IP all the time to it.
If that doesn't work, just as a test.. can you try taking the nic out of that old computer and putting it in your Linux box and see if that makes a difference?
Have you tried shutting down the cable modem for like 10 minutes or so?
Ive done a "locate dhcpcd" on my system and did not get any results, is this program a redhat standard? IF im missing this, could that be my problem? The closest thing ive found was "/var/lib/dhcp". Also i opened up a file called "/var/lib/dhcp/dhclients-eth0.leases" and it had all the information (ip, subnet and gateway) from my modem at school. Could that be a problem maybe, thats its trying to load up those values?
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857
Rep:
hrmm... dunno if Redhat changed something in RHv8.0 but my 7.3 system has /sbin/dhcpcd
If your machine is using dhcp at school, then it is set up for it.
Running netconfig and setting card for dhcp should activate whatever client you have.
Hrmm... I don't see a "dhcpcd" rpm with v8.0. They have a "dhclient" one though.
What does "rpm -qa | grep dhclient" show?
If its there, you will have to find the binary and what the options are for release and renew.
Well, i got it working. I unplugged the modem and then plugged it back on. I cant believe thats all it took. Thanks tho, for all your help!!! I really appreciate it!! Im still shaking my head in disbelief lol Again, thanks for your time and input.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.