Operating System - Linux
1820271 Members
3553 Online
109622 Solutions
New Discussion юеВ

Re: DHCP client on SuSE 9.3 Professional for interface wlan0

 
Christian Deutsch_1
Esteemed Contributor

DHCP client on SuSE 9.3 Professional for interface wlan0

Hi folks,

I have my WLAN (D-Link DWL-122) running on interface wlan0, iwconfig shows me the interface is up.

To get the TCP/IP stack running on this interface, I need to use ifconfig to get the connection between wlan0 and the TCP/IP stack, correct?

How do I get wlan0 working as a DHCP client, any ideas? I don't need dhcpd for that do I?

Thanks for any helpful hints and tips, points will be awarded.

Kind regards, Christian
Yeshua loves you!
6 REPLIES 6
Florian Heigl (new acc)
Honored Contributor

Re: DHCP client on SuSE 9.3 Professional for interface wlan0

issuing

dhclient wlan0

should do it, after having assigned the ssid and stuff.
yesterday I stood at the edge. Today I'm one step ahead.
Christian Deutsch_1
Esteemed Contributor

Re: DHCP client on SuSE 9.3 Professional for interface wlan0

Dear Florian,

Thanks for the hint, but could it be that SuSE 9.3 doesn't include a "dhclient" binary?

I'll do some more looking around and asking around.

Kind regards, Christian
Yeshua loves you!
Hoefnix
Honored Contributor

Re: DHCP client on SuSE 9.3 Professional for interface wlan0

Christian,

Check the /etc/sysconfig/network/ifcfg-wlan0 for:
BOOTPROTO='dhcp'

If you use 2 NIC's and only one at the time is up you may want to use
DHCLIENT_PRIMARY_DEVICE='yes'

In this file because the dhcp client for this interface will then also update your resolve.conf etc..

Also this file good be updated using Yast.

HTH,

Peter Geluk
Hoefnix
Honored Contributor

Re: DHCP client on SuSE 9.3 Professional for interface wlan0

Ps. SuSE 9.3 does include a dhcp client (2 infact)

Peter
Hoefnix
Honored Contributor

Re: DHCP client on SuSE 9.3 Professional for interface wlan0

from the dhcp config file you can choose (if you installed it via Yast)
/etc/sysconfig/network/dhcp

# Which DHCP client should be used?
# If empty, dhcpcd is tried, then dhclient
# Other possible values:
# dhcpcd (DHCP client daemon)
# dhclient (ISC dhclient)
DHCLIENT_BIN=""

HTH,
Peter
Christian Deutsch_1
Esteemed Contributor

Re: DHCP client on SuSE 9.3 Professional for interface wlan0

Dear Peter,

Yes thanks for the hints. I did see the "dhcpd" package including a DHCP client and also the "dhcp-client" package.

I'll try now according to your advice.

Almost there, this was a tough one (for me anyway).

Thanks again everyone, Christian
Yeshua loves you!