Subject: Re: SPARCbook and PCMCIA
To: None <port-sparc@NetBSD.org>
From: Mike Parson <mparson@bl.org>
List: port-sparc
Date: 07/02/2005 13:21:09
On Sat, Jul 02, 2005 at 01:19:05PM -0400, Michael wrote:
> Hello,
>
>> wi0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST>mtu
>> 1500
>> ssid myssid
>> powersave off
>> address: 00:20:a5:00:00:08
>> media: IEEE802.11 autoselect (DS2)
>> status: no network
>> inet 192.168.15.45 netmask 0xffffff00 broadcast 192.168.15.255
>
> Looks good.
> When it hooks up with an AP it should add something like this::
> bssid 00:0c:41:51:2b:f6 chan 1
>
>
>> I've never played with wireless under *nix before, so the above is as
>> close as I've gotten. The "status: no network" tells me I'm still
>> missing something. (the ssid *is* set to my net's ssid in the real
>> output).
>
> Hmm, do you use WEP? If you do you need to tell wi which key to use.
> This may not work though - some people reported problems with WEP. ( I
> don't use it - my AP filters solely by MAC address ) This would be
> ifconfig wi0 nwkey "xxxxx"
D'OH!
I use MAC filtering too. I so rarely have new clients, I tend to forget
about that, I was just figuring it was something I was doing wrong on
the NetBSD side of things. *grin*
Trying again (using this morning's kernel).... and it works!
ep0 now works too!
# ifconfig -a
le0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:00:83:ae:20:37
media: Ethernet autoselect (10base5)
status: active
inet 192.168.15.4 netmask 0xffffff00 broadcast 192.168.15.255
ep0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:60:97:89:d4:19
media: Ethernet 10baseT
inet 192.168.15.46 netmask 0xffffff00 broadcast 192.168.15.255
wi0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ssid ssid
powersave off
bssid 00:12:17:02:c3:7a chan 3
address: 00:20:a5:00:00:08
media: IEEE802.11 autoselect (DS2)
status: active
inet 192.168.15.45 netmask 0xffffff00 broadcast 192.168.15.255
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33192
inet 127.0.0.1 netmask 0xff000000
3 interfaces on my Sparcbook!
>> I don't seem to have the /dev/rwd0 stuff, so I can't read the
>> disklabel!
>> (oops) Got the major/minors for that?
>
> mknod -l should tell you:
> wd character major 26 block major 12
Using the 2.0 userland (might be time to upgrade that):
# mknod -l
mknod: unknown option -- l
usage: mknod [-rR] [-F format] [-m mode] [-u user] [-g group]
[ name [b | c] major minor
| name [b | c] major unit subunit
| name [b | c] number
| name p ]
But I found it in a prev post.
> on -current you can just use
> MAKEDEV wd0
>
>>> No news on X though - I didn't get the graphics chip to switch to 16
>>> or 32bit colour yet, the SPARCbook 3 Technical Manual is incomplete
>>> and at times misleading.
>>
>> You'll figure it out, I've got faith. =)
>
> We'll see ;)
--
Michael Parson
mparson@bl.org