From owner-freebsd-net Fri Apr 6 4: 2: 2 2001 Delivered-To: freebsd-net@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 6BCBB37B43E; Fri, 6 Apr 2001 04:01:59 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f36B1x123089; Fri, 6 Apr 2001 04:01:59 -0700 (PDT) Date: Fri, 6 Apr 2001 04:01:59 -0700 From: Alfred Perlstein To: wpaul@freebsd.org Cc: net@freebsd.org Subject: almost got wi working. Message-ID: <20010406040159.R17723@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-all-your-base: are belong to us. Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm basically able to get the cards to work without locking up with the lastest version of the 5.x driver along with a hacked up 4.x driver by doing this: both> /usr/sbin/wicontrol -i wi0 -n "FreeBSD IBSS" both> /usr/sbin/wicontrol -i wi0 -p 1 both> /usr/sbin/wicontrol -i wi0 -c 1 both> /usr/sbin/wicontrol -i wi0 -f 10 both> /usr/sbin/wicontrol -i wi0 -t 3 router(pci)> /usr/sbin/wicontrol -i wi0 -s "router" router(pci)> /sbin/ifconfig wi0 inet 10.0.0.1 netmask 0xff000000 laptop(pcmcia)> /usr/sbin/wicontrol -i wi0 -s "router" laptop(pcmcia)> /sbin/ifconfig wi0 inet 10.0.0.5 netmask 0xff000000 The problem is that if I unload/reload a driver the card doesn't seem to want to xmit or something (sorry :) ), the way that I fix this is to ping the card from the host that didn't reset, that gets it working right away: /usr/local/etc # ping 10.0.0.5 PING 10.0.0.5 (10.0.0.5): 56 data bytes ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down 64 bytes from 10.0.0.5: icmp_seq=5 ttl=64 time=11680.270 ms 64 bytes from 10.0.0.5: icmp_seq=17 ttl=64 time=5.407 ms 64 bytes from 10.0.0.5: icmp_seq=18 ttl=64 time=4.730 ms 64 bytes from 10.0.0.5: icmp_seq=19 ttl=64 time=5.394 ms 64 bytes from 10.0.0.5: icmp_seq=20 ttl=64 time=5.364 ms I started pinging from 10.0.0.1 right before seeing the '5' pop up. I also noticed that: a) wi card doesn't show itself in the local arp table (arp -na doesn't list itself) b) there's no call to ifmedia_init() in the wi driver, but I don't think that matters. Any hints? The hacked up wi driver is here: http://people.freebsd.org/~alfred/wi/ thanks, -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] Represent yourself, show up at BABUG http://www.babug.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message