Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I think dhcpcd gets the ip again. You must find a way to kill it. Try finding it's pid and issue a kill -9 pid ( I never used it. So don't know if it works ).
Also try /etc/init.d/network stop.
The above command will just stop all network devices.
You might want to try something like this instead of just killing the process:
kill -SIGHUP 'cat /var/run/dhcpd.pid'
It may be slightly different on other systems, but this will kill the process and restart it.
You could also try this in this order:
ifconfig eth0 down
Then to bring back up:
ifconfig eth0 up
What happened when you did the ifconfig eth0 down and up ??
Just because you release and renew the IP doesn't mean it will give you a totally new IP address, if that is what your aiming for. Most ISP's, especially with cable modem will keep issueing the same IP for weeks, months and maybe years at a time.
but it said .pid not found. but other than that it seemed to work well. With the other commands it said command not found. Im trying to release the ip address so that i can switch my internet connection to my other computer. Thank you for all your help.