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.
I used to get dhcp request from my isp, but have installed a dhcp server on an old computer. the problem is that it won't get a new ip adress from the new dhcp server. the dhcp server works fine on a xbox and two w2k computers. I'm running debian on the computer where i can't get a new ip adress. can anyone help me please?
if you don't have a locate database created, type:
slocate -u
at command prompt of course
after it finishes, and it may take a little while, type
locate eth0
it should bring up list of files with eth0 in the name
find one that says something like dhcpcd.eth0 or something like that.
look at that file. i believe this is stored dhcp info for that pc. then delete that file and restart the network. since no file is there it will look for dhcp server and should get new ip. if this won't work i have a few other ideas. so please let me know.
also, look at, if debian has same stuff, the /etc/sysconfig/network-scripts/ifcfg-eth0 file.
if not found
locate eth0 again. should find something with eth0 that looks similar to what i typed above, ifcfg-eth0
first make backup of the file before editing. good practice with any file you edit.
i get access to internet by requesting a ip from my isp by dhcp. they only give me on ip adress so i needed something to get more computers online. therefore i installed BBIagent on an old computer and uses this as a dhcp router.
I managed to fix the problem. i found a file named dhclient."something" in /var/lib/dhcp/ i belive it was. I renamed this and rebooted the computer. Now everything works great. (almost)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.