[CUWiN] DHCPD setup

David Young dyoung at pobox.com
Thu Aug 5 14:20:43 CDT 2004


On Thu, Aug 05, 2004 at 07:56:44AM -0500, Tim wrote:
> Hello,
> 
> I'm having some problems getting the DHCP server working with wireless.
> I've configured and started the interface and the daemon, but my Windows
> client can't seem to connect with cuw. Below is my configuration. I'm
> obviously missing something. Any suggestions would be appreciated.

Have you set your windows client to ad hoc mode?  Does it get a DHCP
lease?

Is your client 802.11a, .11b, or .11g?

BTW, what you are attempting is not a supported configuration of
a C-U wireless node.  I don't expect for it to work, in general.
The configuration we support has an access point plugged into the
ethernet port.  Members in Urbana have had great success connecting
clients this way.

Dave

> 
> Thanks,
> Tim.
> ---------------------
> #ifconfig ath0
> ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         ssid cuw
>         powersave off
>         bssid 02:02:6f:20:f8:26 chan 11
>         address: 00:02:6f:20:f8:26
>         media: IEEE802.11 autoselect adhoc
>         status: active
>         inet 10.0.151.4 netmask 0xffff0000 broadcast 10.0.255.255
>         inet6 fe80::202:6fff:fe20:f826%ath0 prefixlen 64 scopeid 0x1
> 
> # cat /etc/dhcpd.ath0
> # interface ath0 configured by /etc/rc
> subnet 10.0.0.0 netmask 255.255.0.0 {
>         # Let the DHCP server on-site have the first shot.
> #       min-secs 1;
>         # Give short-lived leases so that a DHCP server on-site
>         # has a good shot at taking over from us.
> #       max-lease-time 60;
>         pool {
>                 # do not answer our own requests.
>                 deny members of "cuw-clients";
>                 range 10.0.151.10 10.0.151.253;
>                 option routers 10.0.151.4;
>                 option domain-name "cuwireless.net";
>                 # ns.cu.groogroo.com
>                 option domain-name-servers 64.5.70.195;
>         }
> }
> 
> # /usr/sbin/dhcpd ath0
> Internet Software Consortium DHCP Server V3.0.1rc11
> Copyright 1995-2003 Internet Software Consortium.
> All rights reserved.
> For info, please visit http://www.isc.org/products/DHCP
> Wrote 0 leases to leases file.
> Listening on BPF/ath0/00:02:6f:20:f8:26/10.0.0/16
> Sending on   BPF/ath0/00:02:6f:20:f8:26/10.0.0/16
> Sending on   Socket/fallback/fallback-net
> 
> 
> _______________________________________________
> CU-Wireless mailing list
> CU-Wireless at lists.groogroo.com
> http://lists.cu.groogroo.com/cgi-bin/listinfo/cu-wireless
> Project Page: http://cuwireless.ucimc.org

-- 
David Young             OJC Technologies
dyoung at ojctech.com      Urbana, IL * (217) 278-3933


More information about the CU-Wireless mailing list