[Prism54-users] Please Post Old Driver Release
Basile STARYNKEVITCH
basile@starynkevitch.net
Sun, 2 Nov 2003 13:34:53 +0100
On Sun, Nov 02, 2003 at 11:03:57AM +0200, Jose Chaso wrote:
> El dom, 02-11-2003 a las 03:04, Robert L Cochran escribi?:
> > Can someone please post the old ISL3890-0.1.0 tarball release of the
> > driver. [...]
> I own an SMC 2835w (pcmcia) and wasn't able to get it running with th
> old driver and i had tried hard, but with the new it was a matter of
> minutes to get it rocking!
I also own the same card. I compiled all the drivers with all debug
messages (to understand what is happening); so fare, I did manage to
load the driver and the firmware. I try to use my SMC2835w
(pcmcia=pccard) Wifi with a Linksys WRT54G router, which I configured
to use WEP.
My wifi network is eth1; eth0 is my wired LAN. The computer is an ASUS
Laptop (Athlon 1600, Linux 2.6.0-test9 kernel)
after loading the module, I'm getting (after doing some pings whih
don't respond to 192.168.1.1 which is the adress of my Linksys WRT54G
router)
ifconfig
eth1 Link encap:Ethernet HWaddr 00:04:E2:64:3C:05
inet addr:192.168.1.107 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::204:e2ff:fe64:3c05/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:116 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:7140 (6.9 KiB)
Interrupt:11 Memory:d68f7000-d68f9000
Since I have a non zero HWadddr, I understand that the module did load
correctly (and also because of numerous debug kernel msg)
During the ping, I have kernel debug messages like this
Nov 2 13:13:03 modest kernel: Fragments needed for frame 1
Nov 2 13:13:03 modest kernel: skb offset 2 wds 0
Nov 2 13:13:03 modest kernel: memmove d35afc04 d35afc02 42
Nov 2 13:13:03 modest kernel:
Nov 2 13:13:03 modest kernel: tx d35afc04 [ff][ff][ff][ff][ff][ff][00][04][e2][64][3c][05][08][06][00][01][08][00][06][04][00][01][00][04][e2][64][3c][05][c0][a8][01][6b][00][00][00][00][00][00][c0][a8][01][01]
Nov 2 13:13:03 modest kernel: isl38xx trigger device
Nov 2 13:13:03 modest kernel: Device is in active state
Nov 2 13:13:03 modest kernel: cleanup skb d41ecb80 skb->data d3ae4e04 skb->len 42 truesize 292
Nov 2 13:13:03 modest kernel: <6>IRQ: Identification register 0xd68f7000 0x2
Nov 2 13:13:03 modest kernel: IRQ: Update flag
Nov 2 13:13:03 modest kernel: CB drv Qs: [8][183][0][0][30][18]
Nov 2 13:13:03 modest kernel: CB dev Qs: [0][183][0][0][26][18]
Nov 2 13:13:04 modest kernel: islpci_statistics
Nov 2 13:13:07 modest last message repeated 7 times
Nov 2 13:13:07 modest kernel: islpci_eth_transmit
Nov 2 13:13:07 modest kernel: Fragments needed for frame 1
Nov 2 13:13:07 modest kernel: skb offset 2 wds 0
Nov 2 13:13:07 modest kernel: memmove d5c50a04 d5c50a02 42
Nov 2 13:13:07 modest kernel:
Nov 2 13:13:07 modest kernel: tx d5c50a04 [ff][ff][ff][ff][ff][ff][00][04][e2][64][3c][05][08][06][00][01][08][00][06][04][00][01][00][04][e2][64][3c][05][c0][a8][01][6b][00][00][00][00][00][00][c0][a8][01][64]
Nov 2 13:13:07 modest kernel: isl38xx trigger device
Nov 2 13:13:07 modest kernel: Device is in active state
Nov 2 13:13:07 modest kernel: cleanup skb d0267b80 skb->data d35afc04 skb->len 42 truesize 292
Nov 2 13:13:07 modest kernel: <6>IRQ: Identification register 0xd68f7000 0x2
Nov 2 13:13:07 modest kernel: IRQ: Update flag
Nov 2 13:13:07 modest kernel: CB drv Qs: [8][184][0][0][30][18]
Nov 2 13:13:07 modest kernel: CB dev Qs: [0][184][0][0][26][18]
Nov 2 13:13:08 modest kernel: islpci_statistics
Nov 2 13:13:08 modest kernel: islpci_eth_transmit
Nov 2 13:13:08 modest kernel: Fragments needed for frame 1
Nov 2 13:13:08 modest kernel: skb offset 2 wds 0
Nov 2 13:13:08 modest kernel: memmove d178e004 d178e002 42
Nov 2 13:13:08 modest kernel:
Nov 2 13:13:08 modest kernel: tx d178e004 [ff][ff][ff][ff][ff][ff][00][04][e2][64][3c][05][08][06][00][01][08][00][06][04][00][01][00][04][e2][64][3c][05][c0][a8][01][6b][00][00][00][00][00][00][c0][a8][01][01]
Nov 2 13:13:08 modest kernel: isl38xx trigger device
Nov 2 13:13:08 modest kernel: Device is in active state
I'm trying to configure WEP on my SMC 2835w using the following
script. Note that setoide (with a ending e) is a function calling
setoid -the program- and logging it
#! /bin/zsh
WIFINET=eth1
function setoide () {
logger -s -p daemon.info setoide $WIFINET $*
/usr/local/bin/setoid $WIFINET $*
}
function wifiours() {
## my ssid
setoide 10000002 ssid ours
## my WEP 64 bits keys (40 bits 5 cara 10 hexdigit)
setoide 12000004 key 0 0x077F8F2767
setoide 12000005 key 0 0xec4930f79e
setoide 12000006 key 0 0x49c3bd4871
setoide 12000007 key 0 0x120cebdd18
## WEP128bits = 104 bits 13 carac 26hexdigit
#authentification
setoide 12000000 long 3
#privacy invoked
setoide 12000001 long 1
# exunencrypted
setoide 12000002 long 1
# using first key #0
setoide 12000003 long 0
# channel 11
setoide 17000007 long 11
# again ssid
setoide 10000002 ssid ours
}
When I run the wifiours zshell function, I'm getting
root: setoide eth1 10000002 ssid ours
Cannot open prism traps netlink socket: Protocol not supported
Cannot open prism traps netlink socket: Protocol not supported
Could not close prismoid netlink socket: Bad file descriptor
root: setoide eth1 12000004 key 0 0x077F8F2767
Cannot open prism traps netlink socket: Protocol not supported
Cannot open prism traps netlink socket: Protocol not supported
Could not close prismoid netlink socket: Bad file descriptor
root: setoide eth1 12000005 key 0 0xec4930f79e
Cannot open prism traps netlink socket: Protocol not supported
Cannot open prism traps netlink socket: Protocol not supported
Could not close prismoid netlink socket: Bad file descriptor
root: setoide eth1 12000006 key 0 0x49c3bd4871
Cannot open prism traps netlink socket: Protocol not supported
Cannot open prism traps netlink socket: Protocol not supported
Could not close prismoid netlink socket: Bad file descriptor
root: setoide eth1 12000007 key 0 0x120cebdd18
Cannot open prism traps netlink socket: Protocol not supported
Cannot open prism traps netlink socket: Protocol not supported
Cannot open prism traps netlink socket: Protocol not supported
Could not close prismoid netlink socket: Bad file descriptor
root: setoide eth1 12000000 long 3
Cannot open prism traps netlink socket: Protocol not supported
Cannot open prism traps netlink socket: Protocol not supported
Could not close prismoid netlink socket: Bad file descriptor
root: setoide eth1 12000001 long 1
Cannot open prism traps netlink socket: Protocol not supported
Cannot open prism traps netlink socket: Protocol not supported
Could not close prismoid netlink socket: Bad file descriptor
root: setoide eth1 12000002 long 1
Cannot open prism traps netlink socket: Protocol not supported
Cannot open prism traps netlink socket: Protocol not supported
Could not close prismoid netlink socket: Bad file descriptor
root: setoide eth1 12000003 long 0
Cannot open prism traps netlink socket: Protocol not supported
Cannot open prism traps netlink socket: Protocol not supported
Could not close prismoid netlink socket: Bad file descriptor
root: setoide eth1 17000007 long 11
Cannot open prism traps netlink socket: Protocol not supported
Cannot open prism traps netlink socket: Protocol not supported
Could not close prismoid netlink socket: Bad file descriptor
root: setoide eth1 10000002 ssid ours
Cannot open prism traps netlink socket: Protocol not supported
Cannot open prism traps netlink socket: Protocol not supported
Could not close prismoid netlink socket: Bad file descriptor
Something don't work here.
I have a few questions (I do know quite well IP, but I am very new to
Wifi)
1. What is the expected behavior (e.g. kernel messages) when the WEP
keys are mismatching?
2. Is my above script wifours correct -I copied it from an newsgroup
article (on fr.comp.os.linux.configuration) - ie is WEP configuration
done with setoid
Actually I still miss some beginner documentation.
I'm using firmware 1.0.4.3
I'm using kernel 2.6.0-test9 with the latest prism54 driver from CVS,
ie ident ksrc/*.[ch] gives
ksrc/blobarch.h:
ksrc/bloboid.h:
ksrc/isil_netlink.h:
ksrc/isl_38xx.c:
$Header: /var/lib/cvs/prism54-ng/ksrc/isl_38xx.c,v 1.9 2003/11/01 09:56:11 hvr Exp $
ksrc/isl_38xx.h:
$Header: /var/lib/cvs/prism54-ng/ksrc/isl_38xx.h,v 1.9 2003/11/01 15:12:37 mcgrof Exp $
ksrc/isl_gen.c:
$Header: /var/lib/cvs/prism54-ng/ksrc/isl_gen.c,v 1.4 2003/10/31 08:08:12 hvr Exp $
ksrc/isl_gen.h:
$Header: /var/lib/cvs/prism54-ng/ksrc/isl_gen.h,v 1.5 2003/11/01 09:56:11 hvr Exp $
ksrc/isl_ioctl.c:
$Header: /var/lib/cvs/prism54-ng/ksrc/isl_ioctl.c,v 1.11 2003/11/01 16:01:27 hvr Exp $
ksrc/isl_ioctl.h:
$Header: /var/lib/cvs/prism54-ng/ksrc/isl_ioctl.h,v 1.4 2003/11/01 09:56:11 hvr Exp $
ksrc/isl_mgt.c:
$Header: /var/lib/cvs/prism54-ng/ksrc/isl_mgt.c,v 1.6 2003/11/01 09:58:24 hvr Exp $
ksrc/isl_mgt.h:
$Header: /var/lib/cvs/prism54-ng/ksrc/isl_mgt.h,v 1.3 2003/10/31 07:59:27 hvr Exp $
ksrc/isl_wds.c:
$Header: /var/lib/cvs/prism54-ng/ksrc/isl_wds.c,v 1.4 2003/11/01 09:58:24 hvr Exp $
ksrc/isl_wds.h:
$Header: /var/lib/cvs/prism54-ng/ksrc/isl_wds.h,v 1.2 2003/10/31 07:59:27 hvr Exp $
ksrc/islpci_dev.c:
$Header: /var/lib/cvs/prism54-ng/ksrc/islpci_dev.c,v 1.12 2003/11/01 09:56:11 hvr Exp $
ksrc/islpci_dev.h:
$Header: /var/lib/cvs/prism54-ng/ksrc/islpci_dev.h,v 1.11 2003/11/01 10:54:45 hvr Exp $
ksrc/islpci_eth.c:
$Header: /var/lib/cvs/prism54-ng/ksrc/islpci_eth.c,v 1.6 2003/11/01 09:56:11 hvr Exp $
ksrc/islpci_eth.h:
$Header: /var/lib/cvs/prism54-ng/ksrc/islpci_eth.h,v 1.3 2003/11/01 09:56:11 hvr Exp $
ksrc/islpci_hotplug.c:
$Header: /var/lib/cvs/prism54-ng/ksrc/islpci_hotplug.c,v 1.12 2003/11/01 14:10:15 mcgrof Exp $
ksrc/islpci_hotplug.h:
$Header: /var/lib/cvs/prism54-ng/ksrc/islpci_hotplug.h,v 1.3 2003/10/31 07:59:27 hvr Exp $
ksrc/islpci_mgt.c:
$Header: /var/lib/cvs/prism54-ng/ksrc/islpci_mgt.c,v 1.13 2003/11/01 15:58:43 hvr Exp $
ksrc/islpci_mgt.h:
$Header: /var/lib/cvs/prism54-ng/ksrc/islpci_mgt.h,v 1.8 2003/11/01 10:54:45 hvr Exp $
ksrc/prism54.mod.c:
ksrc/version_info.h:
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net
aliases: basile<at>tunes<dot>org = bstarynk<at>nerim<dot>net
8, rue de la Faïencerie, 92340 Bourg La Reine, France