Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Feb 2006 18:47:23 +0200
From:      Teemu Korhonen <teemu.korhonen@mbnet.fi>
To:        freebsd-questions@freebsd.org
Subject:   Trouble setting up wireless network
Message-ID:  <op.s5fp89k4ppqvbi@smtp.suomi.net>

next in thread | raw e-mail | index | archive | help
I'm trying to make an adhoc wlan between my desktop computer (WinXP) and  
laptop (FreeBSD-6.0). Both have 802.11b/g wlan-adapters.

They seem to connect, but theres no data transfer and neither can ping  
each other. Windows machine can ping it self, but freebsd machine can't.  
("ping: sendto: Host is down")

The laptop's wlan-card worked fine when I tried it at university's wlan.  
( just command "dhclient ndis0" was sufficent )

Here's some debugging information:
----------------------------------
Gandalf# dmesg | grep ndis0
ndis0: <Dell TrueMobile 1300 WLAN Mini-PCI Card> mem 0x88000000-0x88001fff  
irq 11 at device 0.0 on cardbus0
ndis0: NDIS API version: 5.0
ndis0: Ethernet address: 00:07:40:fa:01:c5

Gandalf# ifconfig ndis0 inet 192.168.0.4 netmask 255.255.255.0 media  
DS/11Mbps mediaopt adhoc ssid koti channel 10 up
Gandalf# ifconfig ndis0
ndis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         inet6 fe80::207:40ff:fefa:1c5%ndis0 prefixlen 64 scopeid 0x4
         inet 192.168.0.4 netmask 0xffffff00 broadcast 192.168.0.255
         ether 00:07:40:fa:01:c5
         media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps <adhoc>)
         status: associated
         ssid koti channel 1 bssid de:54:3a:eb:21:75
         authmode OPEN privacy OFF txpowmax 100 protmode CTS

Gandalf# ifconfig ndis0 scan
SSID            BSSID              CHAN RATE  S:N   INT CAPS
koti            8e:3d:96:d9:e7:80    1   11M 161:0   100 I    ??? ??? ???  
???

Gandalf# wicontrol ndis0
NIC serial number:                      [  ]
Station name:                           [ Gandalf.koti ]
SSID for IBSS creation:                 [ koti ]
Current netname (SSID):                 [ koti ]
Desired netname (SSID):                 [ koti ]
Current BSSID:                          [ de:54:3a:eb:21:75 ]
Channel list:                           [ 3fff ]
IBSS channel:                           [ 10 ]
Current channel:                        [ 1 ]
Comms quality/signal/noise:             [ 0 0 0 ]
Promiscuous mode:                       [ Off ]
Intersil-Prism2 based card:             [ 1 ]
Port type (1=BSS, 3=ad-hoc):            [ 0 ]
MAC address:                            [ 00:07:40:fa:01:c5 ]
TX rate (selection):                    [ 11 ]
TX rate (actual speed):                 [ 11 ]
RTS/CTS handshake threshold:            [ 2346 ]
Create IBSS:                            [ On ]
Access point density:                   [ 1 ]
Power Mgmt (1=on, 0=off):               [ 0 ]
Max sleep time:                         [ 100 ]
WEP encryption:                         [ Off ]
TX encryption key:                      [ 0 ]
Encryption keys:                        [  ][  ][  ][  ]




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.s5fp89k4ppqvbi>