Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 May 2001 08:40:55 -0700 (PDT)
From:      Pete Carah <pete@ns.altadena.net>
To:        mobile@freebsd.org
Cc:        "Christopher T. Griffiths" <cgriffiths@dca.net>
Subject:   Re: Vaio, Addtron AWP-100 and wicontrol
Message-ID:  <200105071540.f47Fetu58195@ns.altadena.net>
In-Reply-To: <20010502220218.U599-100000@defiant.dca.net>

next in thread | previous in thread | raw e-mail | index | archive | help
I use a Z505HS (with Lucent card) with a variety of access points;
a Zyxel 316 and SMC at work (in different SSIDs), a AWP100 at home,
a Linksys at another work place; another Zyxel at my boss's house,
and it works fine with all (also the variety of access points that
were present at last BSDcon - this included a fbsd system in ad-hoc
mode and several different "real" access points.).

Pccard kernel entry:
--------------------
# PCCARD (PCMCIA) support
device          card
device          pcic0   at isa? irq 10 port 0x3e0 iomem 0xd4000
#device         pcic1   at isa? irq 0 port 0x3e2 iomem 0xd4000 disable
----------------------------------------------------------------

I believe the JS and HS are close enough so this should work in a JS.
Note the irq 10...  And I didn't have to disable sound to get pccard to
work (did have to on one Toshiba a while ago)...

This finds the wireless card, and works fine with a CF and smart-media
adapter too; both of those are slightly painful since the strings to
match are different for each card I have so I've had to do lots of 
dumpcis and editing pccard.conf :-(  The current pccard code doesn't
spot ata devices automatically...

Too bad these units have HSF winmodems; I don't hold much hope of getting
a driver that works (I gather there is at least a prayer with an HCF).

I have a set of scripts that I use to get going with (one at each location).
I use 128-bit WEP where it is available (the Addtron) and 40 where not
(all others so far).  (and this setup has also worked at last Usenix 
(well, the SD Mariott is VERY spread out and it didn't work in most
rooms) and BSDcon (helpfully adding a few extra wireless routers) with 
no encryption).

I'm on a cable now so can't dump the card with wicontrol, but
an example script follows (the home one with keys x'd):

----------------------/etc/pccard_wi_home----------------------
#!/bin/sh

killall dhclient

interface=wi0
wicontrol -i ${interface} -s Portable.Altadena
wicontrol -i ${interface} -p 1
wicontrol -i ${interface} -n 'Altadena'
wicontrol -i ${interface} -e 1
wicontrol -i ${interface} -k xxxxxxxxxxxxx -v 1
wicontrol -i ${interface} -k xxxxx -v 2
wicontrol -i ${interface} -T 1

sleep 3

/sbin/dhclient wi0

sleep 2

sh /etc/route_home
---------------------------------------------------

The only strange command is that last; I have more than one external
route with separate NAT routers, so dhcp doesn't handle all the
routing right...  The sleeps may be longer than needed; the sleep 2 is
probably not needed at all.

I ^C out of the cable DHCP (just after the rc message about hostname),
then run this script manually after I log in.  With some work I could 
probably make start_if.xxx scripts to handle this and the various 
locations more automatically.

The only big problem I see with AWP100's right now seems to be getting
them :-)

-- Pete

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




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