Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-08-2006, 03:02 PM   #1
LQ Newbie
Registered: Nov 2005
Distribution: SUSE10
Posts: 15

Rep: Reputation: 0
Question 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?

Old 05-09-2006, 11:31 AM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,846

Rep: Reputation: 342Reputation: 342Reputation: 342Reputation: 342
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP RH-linux-client, windows-server, DNS-registration not happening armadilloman Linux - Networking 5 01-12-2009 09:53 AM
Help in setting up Gateway, DHCP and DNS Server depam Linux - Software 1 10-06-2005 12:52 PM
DHCP, Gateway and DNS server depam Linux - Networking 3 10-05-2005 08:33 PM
configuring dns server on dhcp client ydpk Linux - Networking 3 11-04-2004 11:23 PM
Setting up a gateway/dhcp server. chaosego Linux - Wireless Networking 33 09-26-2004 08:50 AM

All times are GMT -5. The time now is 04:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration