Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
I have a quick question. My distro is RH 7.1, This is the problem I am having, I lose my IP every half hour within Linux. This doesnt happen from within Windows. I am using a Cable modem with a static. When I run the Ifconfig command the IP is gone. When I reboot I can browse the net again. Whats going on?
When I lose the IP and run the Ifconfig command this whole line is GONE. The Inet Addr is totally gone.
inet addr:24.X.X.X Bcast:255.255.255.255 Mask:255.255.255.0
I have to reboot just to regain an IP. This is really wierd and only happens within Linux. I am using a Linksys adaptor.
It doesn't sound like you have a static. Who is your cable modem provider? If your losing it, it sounds to me its a dynamic and its trying to renew itself every half hour and its not properly doing that. If your suppose to have a static, I would be calling the ISP and telling them the situation. I don't think it might not be your own machine. I use to support RoadRunner and they did some screwy things to customers and have it so that type of crap happened all the time.
I use the LNE100TX card myself, if your using that one, goto this page http://www.linksys.com/support/support.asp?spid=25
They have good instructions on how to install the tulip driver for that card under Linux.
If you not using that one, check out their site. They are very Linux friendly. http://www.linksys.com
I am going to update the driver for the NIC. The wierd thing is that within Windows my IP only changes once every 3 months. In fact It hasnt changed since I got the Cable service. Its not a static but it shouldnt be changing every half hour.
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857
Rep:
Yeah.. its not a question of it changing though...its a question of lease length. I have never heard of anyone setting that for a half and hour but you never know.
Your IP lease could be running out and its having trouble renewing the lease with your ISP.
i have that same problem too.. i dont have a static, but for the first 6 months my ip never changed.. then one day it started changing every day, sometimes up to 3x a day.. but i think my problem is at roadrunner.. just check all the cable connections and make sure theyre all connected securely.. call the cable company too cuz it could be somthing on their end...
but you should be able to load it back up without a restart with....
service network --full-restart
you may have to run it 2x in a row for it to work..
I did support for Roadrunner like I said above. When they issue dynamic IP's, most poeple thought they had static cause their IP would never change. But yet again, they also had it setup sometimes for the IP to renew every 30 minutes to an hour. If I was you, I would contact your ISP and let them know, its really suppose to be setup for at least a day at a time, unless they have changed it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.