Click to See Complete Forum and Search --> : Wireless DHCP Configuration Problem


jxbrown
12-23-2003, 05:46 PM
I am using a wireless link to an access point. I am running SuSE 9.2 and have a Siemens SpeedStream 1024. Initially this worked right out of the box, but after the first time I rebooted it was no longer able to find the net. /bin/route -n gives me no data just header ("Gateway", etc.). I am attempting to run as a DHCP client. dhcpd wlan0 tells me that DHCP is already running.

The output from ifconfig wlan0 is fine once I fiddle around with it and switch the mode to "Managed" as well as update the ESSID and the channel. I have to change the mode first or I get errors when trying to change ESSID and channel. Although I update the ifcnfg-wlan0 file, the mode tends to go back to "Master" when I reboot, so I'm not sure what is happening there (I suspect a YaST error). I do an ifdown and use iwconfig to update the three parameters individually. Sometimes it works and sometimes I get errors....

What should the resolv.conf file look like for running under DHCP? Mine is currently an empty file. My DSL provider doesn't give me a nameserver and a default gateway, they just tell me to run under DHCP.

Thanks in advance

Icarus
12-23-2003, 10:56 PM
You will need to kill the currently running dhcpd before you can start it up. dhclient has replaced the use of dhcpd (SuSE still uses this??) where to request a qurry it is a simple "dhclient eth0" (or whatever interface you wish, leaving it blank will querry ALL interfaces)

To kill the running dhcpd, this is what I normally do (did)

ps -ef|grep dhcpd
kill <pid>
dhcpd eth0

where <pid> is the pid of the running client


resolv.conf is usually filled once the DHCP request is answered and the DHCP server will fill this in with it's info, you can manually enter into this but it will be cleared next time dhcpd gets a responce.