From owner-freebsd-mobile Mon Dec 10 21:59:42 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from quack.kfu.com (quack.kfu.com [205.178.90.194]) by hub.freebsd.org (Postfix) with ESMTP id D6B9937B41B for ; Mon, 10 Dec 2001 21:59:33 -0800 (PST) Received: from morpheus.kfu.com (morpheus.kfu.com [3ffe:1200:301b:1:2d0:b7ff:fe3f:bdd0]) by quack.kfu.com (8.11.6/8.11.6) with ESMTP id fBB5xSI59929 (using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified OK); Mon, 10 Dec 2001 21:59:33 -0800 (PST) (envelope-from nsayer@quack.kfu.com) Received: from quack.kfu.com (nospam@localhost [127.0.0.1]) by morpheus.kfu.com (8.11.6/8.11.6) with ESMTP id fBB5xSn69646; Mon, 10 Dec 2001 21:59:28 -0800 (PST) (envelope-from nsayer@quack.kfu.com) Message-ID: <3C15A0BF.8010603@quack.kfu.com> Date: Mon, 10 Dec 2001 21:59:27 -0800 From: Nick Sayer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.6) Gecko/20011202 X-Accept-Language: en, en-US, en-GB MIME-Version: 1.0 To: jldera@mac.com Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Netgear MA401/MA301 References: <433CBCB2-EC27-11D5-920B-0003931A551A@mac.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 I have been told before when I have posted this that I must be high, but I swear it's true. To get a Prism2 card to work in computer-to-computer modes, you do wicontrol -p 0 wicontrol -C 1 wicontrol -q "name of network" No other combination has worked for me. With a prism2 card. Orinoco cards are another animal altogether. jldera@mac.com wrote: > Hello hello. I am trying to setup my FreeBSD box with an 802.11b > wireless card. I went out and purchased a Netgear MA401 card, as well as > the MA301 PCI adapter. Plugged it into my mobo, recompiled my kernel to > include the wi device, rebooted, and now it's showing in an ifconfig. > The problem I'm having at this point is I'm trying to set up a computer > to computer network between the BSD system and an Apple iBook (2001 > model) with an Airport card installed. The iBook is running Mac OS X > 10.1.1, with all the newest Airport updates and such. Since we're > dealing with UNIX in both places, I'm gonna kinda show what's going on, > and hopefully you guys can help me out. My BSD box is mojito, the iBook > is mog. So, here we go: > > mojito:~# ifconfig wi0 > 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/2Mbps ) > status: associated > ssid "FreeBSD IBSS" > stationname artoftech > channel 11 authmode NONE powersavemode OFF powersavesleep 100 > wepmode OFF weptxkey 1 > mojito:~# mojito:~# wicontrol > NIC serial number: [ 99SA01000000 ] > Station name: [ artoftech ] > SSID for IBSS creation: [ FreeBSD IBSS ] > Current netname (SSID): [ FreeBSD IBSS ] > Desired netname (SSID): [ artoftech ] > Current BSSID: [ 00:00:00:00:00:00 ] > Channel list: [ 2047 ] > IBSS channel: [ 11 ] > Current channel: [ 11 ] > Comms quality/signal/noise: [ 0 27 27 ] > 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): [ 2 ] > 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: [ ][ ][ ][ ] > mojito:~# > > > In this state, I have a solid link light on the Netgear card, I've > statically assigned it a 192.168.1.1 IP address, and I actually have > dhcpd configured to be running on it as well. > Here's a little my routing table in case it comes up: > mojito:~# route -nv get 192.168.1.1 > u: inet 192.168.1.1; u: link ; RTM_GET: Report Metrics: len 164, pid: 0, > seq 1, errno 0, flags: > locks: inits: > sockaddrs: > 192.168.1.1 > route to: 192.168.1.1 > 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 -1816 > > locks: inits: > sockaddrs: > 192.168.1.0 255.255.255.0 wi0:0.30.ab.9.48.1 192.168.1.1 > mojito:~# mojito:/home/musouka# ping 192.168.1.1 > PING 192.168.1.1 (192.168.1.1): 56 data bytes > 64 bytes from 192.168.1.1: icmp_seq=0 ttl=64 time=0.109 ms > ^C > --- 192.168.1.1 ping statistics --- > 1 packets transmitted, 1 packets received, 0% packet loss > round-trip min/avg/max/stddev = 0.109/0.109/0.109/0.000 ms > mojito:/home/musouka# ping 192.168.1.2 > PING 192.168.1.2 (192.168.1.2): 56 data bytes > ^C > --- 192.168.1.2 ping statistics --- > 2 packets transmitted, 0 packets received, 100% packet loss > mojito:/home/musouka# > > > > So, based on this, I see the Netgear card is in ad-hoc mode with a > network name of "artoftech" right? Let's look at the Mac... > > The Mac is running in "Computer to Computer" mode with a network named > "artoftech" and using channel 11. I've statically assigned its IP > address to eliminate the possibility of it being an issue with DHCPd. > It's IP is 192.168.1.2: > > [mog:/Users/musouka] root# /sbin/ifconfig en1 > en1: flags=8863 mtu 1500 > inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255 > ether 00:30:65:09:9b:26 > media: autoselect status: active > supported media: autoselect > [mog:/Users/musouka] root# /sbin/route -n get 192.168.1.1 > 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 -604 > [mog:/Users/musouka] root#[mog:/Users/musouka] root# ping 192.168.1.1 > PING 192.168.1.1 (192.168.1.1): 56 data bytes > ^C > --- 192.168.1.1 ping statistics --- > 2 packets transmitted, 0 packets received, 100% packet loss > [mog:/Users/musouka] root# ping 192.168.1.2 > PING 192.168.1.2 (192.168.1.2): 56 data bytes > 64 bytes from 192.168.1.2: icmp_seq=0 ttl=255 time=1.747 ms > ^C > --- 192.168.1.2 ping statistics --- > 1 packets transmitted, 1 packets received, 0% packet loss > round-trip min/avg/max = 1.747/1.747/1.747 ms > [mog:/Users/musouka] root# > > > Based on this, I'd think that a ping to 192.168.1.1 would work from the > Mac, or a ping to 192.168.1.2 would work from the BSD box. No such love, > anyone have any ideas? Your help is much appreciated. > > 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