From owner-freebsd-mobile Mon Dec 10 0:49:35 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from smtpout.mac.com (smtpout.mac.com [204.179.120.89]) by hub.freebsd.org (Postfix) with ESMTP id 484B137B416 for ; Mon, 10 Dec 2001 00:49:29 -0800 (PST) Received: from smtp-relay01.mac.com (server-source-si02 [10.13.10.6]) by smtpout.mac.com (8.12.1/8.10.2/1.0) with ESMTP id fBA8hHef019423 for ; Mon, 10 Dec 2001 00:43:17 -0800 (PST) Received: from asmtp01.mac.com ([10.13.10.65]) by smtp-relay01.mac.com (Netscape Messaging Server 4.15 relay01 Jun 21 2001 23:53:48) with ESMTP id GO4DUD00.J8M for ; Mon, 10 Dec 2001 00:49:25 -0800 Received: from mog ([24.241.140.16]) by asmtp01.mac.com (Netscape Messaging Server 4.15 asmtp01 Jun 21 2001 23:53:48) with ESMTP id GO4DUC00.G4C for ; Mon, 10 Dec 2001 00:49:24 -0800 Date: Mon, 10 Dec 2001 03:49:22 -0500 Mime-Version: 1.0 (Apple Message framework v475) Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: Ad-hoc ka-put :) From: Jason Deraleau To: freebsd-mobile@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: Apple Mail (2.475) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Ok, gonna give this another try. I've just installed a netgear MA301/401 combo in my FreeBSD box. I compiled the wi driver into my kernel, the system boots and detects it. I then give the wi0 interface a 192.168.1.1/24 ip address. On my other machine, an iBook using an Airport card, I am configuring the interface with a 192.168.1.5/24 ip address. I'm trying to get the two computers to talk to each other in ad-hoc mode, though if I can get the BSD box to pretend it's a base station that would be the most ideal situation. BSD wicontrol results: ----------------------------------------------------------------------- NIC serial number: [ 99SA01000000 ] Station name: [ wlan ] SSID for IBSS creation: [ wlan ] Current netname (SSID): [ wlan ] Desired netname (SSID): [ wlan ] Current BSSID: [ 00:00:00:00:00:00 ] Channel list: [ 2047 ] IBSS channel: [ 11 ] Current channel: [ 11 ] Comms quality/signal/noise: [ 92 156 3 ] Promiscuous mode: [ Off ] Port type (1=BSS, 3=ad-hoc): [ 3 ] MAC address: [ 00:30:ab:09:48:01 ] TX rate (selection): [ 3 ] TX rate (actual speed): [ 11 ] RTS/CTS handshake threshold: [ 2347 ] Create IBSS: [ On ] Access point density: [ 1 ] Power Mgmt (1=on, 0=off): [ 0 ] Max sleep time: [ 100 ] WEP encryption: [ Off ] TX encryption key: [ 1 ] Encryption keys: [ ][ ][ ][ ] ----------------------------------------------------------------------- And an ifconfig: ----------------------------------------------------------------------- wi0: flags=8843 mtu 1500 inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:30:ab:09:48:01 media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps ) status: associated ssid wlan stationname wlan channel 11 authmode NONE powersavemode OFF powersavesleep 100 wepmode OFF weptxkey 1 ----------------------------------------------------------------------- So, I can see the wi0 is getting the right IP information, and that it's using channel 11 and is in ad-hoc mode. So now, let's check routing: ----------------------------------------------------------------------- route to: 192.168.1.5 destination: 192.168.1.0 mask: 255.255.255.0 interface: wi0 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 0 0 0 0 0 0 1500 -485 ----------------------------------------------------------------------- This is my first experience configuring BSD for 802.11b, but I am quite familiar with it on the Mac. So, on the Mac, I'm creating a computer to computer network (i.e. ad-hoc), naming it wlan, not entering a password, and choosing channel 11. Here's an ifconfig for the Airport card: ----------------------------------------------------------------------- en1: flags=8863 mtu 1500 inet 192.168.1.5 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:30:65:09:9b:26 media: autoselect status: active supported media: autoselect ----------------------------------------------------------------------- and a route: ----------------------------------------------------------------------- route to: 192.168.1.1 destination: 192.168.1.0 mask: 255.255.255.0 interface: en1 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 0 0 0 0 0 0 1500 -43 ----------------------------------------------------------------------- So, on both interfaces, routing and actual interface configuration looks good. I know the Airport card is perfect, the card in the BSD box should be working, it's brand new, but I am not 100% sure, but I'm not thinking it's a hardware issue. When I have the card in ad-hoc mode, it's link light is solid green, while if i do a wicontrol -p 1, it starts blinking green. Neither machine can reach the other. Does anyone have any suggestions or ideas for me? It's highly appreciated. Thanks, Jason Deraleau jldera@mac.com http://homepage.mac.com/jldera To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message