LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   dhcp client .. not setting gateway and dns server (https://www.linuxquestions.org/questions/linux-networking-3/dhcp-client-not-setting-gateway-and-dns-server-442853/)

scabrous1 05-08-2006 02:02 PM

dhcp client .. not setting gateway and dns server
 
Using SUSE10, several questions:

1)is there an equivalent to the windows "ipconfig /release" and "ipconfig /renew"?

2)My laptop is getting an ip address from dhcp, but neither the default gateway nor the dns server values are being picked up. All other devices in this dhcp subnet are working fine. The DHCP server is a NW65 box. Phones, windows boxes of all types, wireless devices of all types seem to work fine.

If I do route -n there is no UG entry, until I manually add a gateway value in yast. Also, cat /etc/resolv.conf shows no entries for dns settings.

The machine has 2 wireless interfaces (one set to manual start and unused) and 1 intel pro/100.

What can I do to t-shoot this?

3)in kwifimanager/configuration editor, when you createa config, I read that you need to put: "/sbin/dhclient" in the "execute script at connect" field in order to get a dhcp assigned address, yet I cannot find this script anywhere on the system.

Is there such a script and perhaps I simply have the name wrong? Might this be the "ipconfig /renew" replacement I have been looking for?

Peter

bigrigdriver 05-09-2006 10:31 AM

From a console window, issue this command: apropos wireless. That should show you a few command-line utilities relating to wireless. The one you probably need is iwconfig. But, there are others to examine.

Read the man pages for each one to see which appears to do what you want.


All times are GMT -5. The time now is 07:34 PM.