You are not logged in.

#1 2009-09-21 13:53:28

kyletreubig
Member
Registered: 2009-09-13
Posts: 9

[Solved] wlan0 dhcpd error, interface not configured

Hi,

I am trying to manually configure my wireless card to use dhcp.  I followed the wireless setup wiki page, installed the driver, added the module to rc.conf, and verified that it is working by running 'ifconfig -a' and 'iwlist wlan0 scan'.  So far so good.  My wireless network is WPA protected, so I set up wpa_supplicant according to that wiki page and that seems to be working too.  When I run 'dhcpd wlan0', I get error messages such as "No subnet declaration for wlan0" and "Not configured to listen on any interfaces".

I tried setting up dhcpd.conf according to http://bbs.archlinux.org/viewtopic.php?id=49114 and http://bbs.archlinux.org/viewtopic.php?id=49131, but neither worked.  I also tried adding wlan0 to the interfaces array in rc.conf (similarly to eth0--which works), but that didn't help either.

I tried this on an open/unsecured network and got the same result.

I found a Red Hat thread that said /etc/sysconfig/dhcpd needs to list the interfaces for dhcpd (http://www.linuxquestions.org/questions … es-372977/).  Is there something similar for arch?

thanks in advance for any help,

Kyle

Last edited by kyletreubig (2009-09-22 10:45:21)

Offline

#2 2009-09-21 19:49:06

masterkoppa
Member
Registered: 2009-04-14
Posts: 92

Re: [Solved] wlan0 dhcpd error, interface not configured

Are you trying to connect to a network?

If so you might want:

dhcpcd wlan0

Otherwise it shuld work acording to the forum posts you have pointed out. I have my own dhcp server running on one of my setups with those instructions

Offline

#3 2009-09-22 10:45:05

kyletreubig
Member
Registered: 2009-09-13
Posts: 9

Re: [Solved] wlan0 dhcpd error, interface not configured

I played around with it a bit more last night and I got it to work.  For some reason, the subnets 129.168.0.x and 10.0.0.x didn't work and I needed to specify a subnet of 129.168.1.x.  I noticed that eth0 was getting assigned an IP of 192.168.1.100, so I decided to include that in my subnet.  I also restricted the range to 192.168.1.100-200.

Thanks for the help,

Kyle

Offline

Board footer

Powered by FluxBB