Date: Mon, 16 Jul 2007 12:50:24 +0300 From: "Dennis Melentyev" <dennis.melentyev@gmail.com> To: "Matthias Apitz" <m.apitz@oclcpica.org> Cc: freebsd-mobile@freebsd.org Subject: Re: How detecting the Wifi area my iwi0 is in? Message-ID: <b84edfa10707160250i360b883eh75305e02040198b0@mail.gmail.com> In-Reply-To: <20070716093136.GA1600@rebelion.Sisis.de> References: <20070716093136.GA1600@rebelion.Sisis.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Mattias, Have you tried wpa_supplicant for this? It can perfectly autodetect networks for me (office/home). With iwi driver on 7.0-CURRENT-200706 snapshot (HP/Compaq nc8230). 2007/7/16, Matthias Apitz <m.apitz@oclcpica.org>: > > Hello, > > I'm travelling a lot around with my FreeBSD 6.2 laptop and have > all kind of WLAN environments in the different offices and another > one at home as well. At the moment I'm using a small shell script > which must be run as root after boot to set the correct Wifi > context (WPA or WEP, keys, IP addrs), as well routing, DNS and > other stuff (DHCP is not present always). That's why I was thinking > in doing that automagically on the fly with a better script and based on > the SSID of the different AP. But I can't see a stable and reliable > way to figure out the SSID with ifconfig. I've just tried in my > office after a fresh re-boot: > > # ifconfig iwi0 > iwi0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 > ether 00:13:ce:a1:e6:81 > media: IEEE 802.11 Wireless Ethernet autoselect > status: no carrier > ssid "" channel 1 > authmode OPEN privacy OFF txpowmax 100 bmiss 10 protmode CTS > # ifconfig iwi0 scan chanlist 1-20 > > 'ifconfig' returned immediately and does not show any AP > > # ifconfig iwi0 list ap > > no AP shown > > # ifconfig iwi0 up > # ifconfig iwi0 scan chanlist 1-20 > # ifconfig iwi0 list ap > SSID BSSID CHAN RATE S:N INT CAPS > NETGEAR 00:18:4d:65:61:12 6 54M 42:0 100 EP WPA > XXXXXXXXXXXXX xx:xx:xx:xx:xx:xx 9 54M 53:0 100 EP xxxxxx > > now my AP XXXXXXXXXXXXX appeared. > > But sometimes even a 'ifconfig iwi0 up' does not help. So, what > is the correct way of getting the list of AP after a fresh boot? > > Another question: I could grep from the attic an older laptop > (Fujitsu Siemens LifeBook C1020) and will install CURRENT > on it for testing some stuff. The laptop has not Wifi on board. > Are there any PCMCIA based Wifi cards working with FreeBSD? > > Thx > > matthias > -- > Matthias Apitz > Manager Technical Support - OCLC PICA GmbH > Gruenwalder Weg 28g - 82041 Oberhaching - Germany > t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 > e <m.apitz@oclcpica.org> - w http://www.oclcpica.org/ http://www.UnixArea.de/ > b http://gurucubano.blogspot.com/ > OCLC PICA GmbH, Geschaeftsfuehrer: Christine Magin-Weeger, Norbert Weinberger > Sitz der Gesellschaft: Oberhaching, HRB Muenchen: 113261 > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" > -- Dennis Melentyev
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b84edfa10707160250i360b883eh75305e02040198b0>
