Re: wlan...almost there
From: jwc (jconnolly_at_kc.rr.com)
Date: 10/29/05
- Next message: Ou Phrontis: "Help: Debian USB wireless problems so close..but so far. - linux-wlan-ng - linksys WUSB12"
- Previous message: Marc Schwartz: "Re: Can i Send messages to Mobile phones from Linux"
- In reply to: Tauno Voipio: "Re: wlan...almost there"
- Next in thread: Tauno Voipio: "Re: wlan...almost there"
- Reply: Tauno Voipio: "Re: wlan...almost there"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 29 Oct 2005 18:38:06 GMT
On Sat, 29 Oct 2005 08:03:35 +0000, Tauno Voipio wrote:
> jwc wrote:
>> Hi,
>> (System: slackware 10.1 kernel 2.6.12.3; os on other pc: windows me)
>>
>> I am trying to set up a wireless network, right now just between two pcs.
>> The topology is:
>>
>> ethernet->llinux pc->linksys wap11-----windows pc with pci wireless adapter.
>>
>> The wap11 and the pci adapter on the windows machine see each other.
>> For example the wap11 logs file the message:
>>
>> Wireless PC Connected Mac: 00-40-f4-d7-a8-a7
>>
>> as soon as the windows pc boots, and the wireless adapter on the windows pc
>> logs the mac of the wap11.
>>
>> This is a new area for me but I think the next step is to get the wap to assign an ip to
>> the windows pc. I have tried to use dhcpd from the linux box with no luck so
>> far. My
>> dhcpd.conf is:
>>
>> subnet 192.168.1.0 netmask 255.255.255.0 {
>> # --- default gateway
>> range 192.168.1.20 192.168.1.255;
>> option routers 192.168.1.251; #ip of wap11
>> option subnet-mask 255.255.255.0;
>> option broadcast-address 192.168.1.255;
>> option ip-forwarding off;
>>
>> default-lease-time 600;
>> max-lease-time 73200;
>>
>> }
>> host downstairs{
>> hardware ethernet 00:40:f4:d7:a8:a7; # 00:00:F4:A8:A7;
>> fixed-address 192.168.1.28;
>> }
>> ddns-update-style none;
>>
>> (It doesn't matter if I choose a range or a fixed address)
>>
>> When everything is turned on and dhcpd is running, tcpdump reports this kind of
>> chatter:
>>
>> 22:24:47.744554 IP 192.168.1.5.netbios-ns > 192.168.1.255.netbios-ns: NBT UDP
>> PACKET(137): QUERY; REQUEST; BROADCAST
>>
>> 22:26:12.202892 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP,
>> Request from 00:40:f4:d7:a8:a7, length: 300
>>
>> The ip of the nic on the linux box (not the wap11) is 192.168.1.5 and
>> the mac of the windows wireless adapter is 00:40:f4:d7:a8:a7, so it looks to
>> me like they aretalking to each other. However the windows box never gets an
>> ip address.
>>
>> When I start dhcpd all I get is:
>>
>> Internet Systems Consortium DHCP Server V3.0.1
>> Copyright 2004 Internet Systems Consortium.
>> All rights reserved.
>> For info, please visit http://www.isc.org/sw/dhcp/
>> Wrote 0 deleted host decls to leases file.
>> Wrote 0 new dynamic host decls to leases file.
>> Wrote 0 leases to leases file.
>> Listening on Socket/eth1/192.168.1.0/24
>> Sending on Socket/eth1/192.168.1.0/24
>
> Is there a firewall in the Linux box?
>
> If yes, are UDP ports 67 and 68 open to the Windows
> box direction and back?
>
> Please drop the upper limit of the lease range: the 192.168.1.255
> address is the local link broadcast address in this configuration.
OK, I fixed my firewall script and now I am getting this kind of chatter:
Oct 29 13:08:56 915p dhcpd: DHCPDISCOVER from 00:40:f4:d7:a8:a7 via eth1
Oct 29 13:08:56 915p dhcpd: DHCPOFFER on 192.168.1.28 to 00:40:f4:d7:a8:a7
via eth1
There is, however no DHCPACK followup signal sent. The windows client
monitoring program tells me that the signal strength varies from 60-75%
and the signal quality fluctuates around 75%. The green light on the
wireless adapter flickers periodically but does not stay on, and the ping
function does not work in either direction.
Am I right that I have to move the two devices closer to make this work?
Thanks, JWC
- Next message: Ou Phrontis: "Help: Debian USB wireless problems so close..but so far. - linux-wlan-ng - linksys WUSB12"
- Previous message: Marc Schwartz: "Re: Can i Send messages to Mobile phones from Linux"
- In reply to: Tauno Voipio: "Re: wlan...almost there"
- Next in thread: Tauno Voipio: "Re: wlan...almost there"
- Reply: Tauno Voipio: "Re: wlan...almost there"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|