Re: fail with wireless network configuration with SIOCS80211: Invalid argument

2008-11-01 Thread Zhang Weiwu
Paul B. Mahol wrote:

 send output of:
 # ifconfig -v wi0
   
Hi. Thanks for trying to help. I fixed the problem myself (and
demonstrated I couldn't do a prudent thinking). The mistake is trying to
use shared key in an open-systems wireless network. I managed to get it
right by having

authomode open

after managed to learn the difference of shared and open authmode and
how to tell the mode of local network.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fail with wireless network configuration with SIOCS80211: Invalid argument

2008-10-31 Thread Glyn Millington
Zhang Weiwu [EMAIL PROTECTED] writes:

 Paul B. Mahol wrote:
 On 10/30/08, Zhang Weiwu [EMAIL PROTECTED] wrote:
   
 Zhang Weiwu wrote:
 
 Hello. I am trying to get an AboveCable (model: ACPC 2000-01) wireless
 card connected to my home network with 40-bit Hex WEP Encryption on
 FreeBSD 6.1.

 # ifconfig wi0 inet 192.168.1.90 ssid ZWW wepmode on wepkey 0xea82552825
 ifconfig: SIOCS80211: Invalid argument

   

 Why is deftxkey 1 missing ?

 from ifconfig(8)

  Note that you must set a default transmit key with deftxkey for
^
  the system to know which key to use in encrypting outbound traf-
  fic

   
 That quoted line of text is not appearing in my version (6.4) FreeBSD's
 manual.

 I tried to add deftxkey 1, same result. a.k.a. the interface is
 configured, but DHCP couldn't obtain IP address, manually assigned IP
 address couldn't communicate with other hosts.

What do you have in /etc/rc.conf and in /boot/loader.conf?

atb


Glyn
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fail with wireless network configuration with SIOCS80211: Invalid argument

2008-10-31 Thread Paul B. Mahol
On 10/31/08, Zhang Weiwu [EMAIL PROTECTED] wrote:
 Paul B. Mahol wrote:
 On 10/30/08, Zhang Weiwu [EMAIL PROTECTED] wrote:

 Zhang Weiwu wrote:

 Hello. I am trying to get an AboveCable (model: ACPC 2000-01) wireless
 card connected to my home network with 40-bit Hex WEP Encryption on
 FreeBSD 6.1.

 # ifconfig wi0 inet 192.168.1.90 ssid ZWW wepmode on wepkey 0xea82552825
 ifconfig: SIOCS80211: Invalid argument



 Why is deftxkey 1 missing ?

 from ifconfig(8)

  Note that you must set a default transmit key with deftxkey
 for
^
  the system to know which key to use in encrypting outbound
 traf-
  fic


 That quoted line of text is not appearing in my version (6.4) FreeBSD's
 manual.

 I tried to add deftxkey 1, same result. a.k.a. the interface is
 configured, but DHCP couldn't obtain IP address, manually assigned IP
 address couldn't communicate with other hosts.

send output of:
# ifconfig -v wi0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fail with wireless network configuration with SIOCS80211: Invalid argument

2008-10-30 Thread Zhang Weiwu
Zhang Weiwu wrote:
 Hello. I am trying to get an AboveCable (model: ACPC 2000-01) wireless
 card connected to my home network with 40-bit Hex WEP Encryption on 
 FreeBSD 6.1.

 # ifconfig wi0 inet 192.168.1.90 ssid ZWW wepmode on wepkey 0xea82552825
 ifconfig: SIOCS80211: Invalid argument

 Did I made anything wrong or miss something in the kernel? I have the
 related lines in kernel:

 driver wi
 driver wlan

   
It turns out this error message is a direct result of lack of wlan_wep
neither loaded as module nor compiled in kernel.

However I still could not make the card work (even though it works in
Ubuntu Linux) after having wlan_wep compiled in, but at least I
eliminated the

SIOCS80211: Invalid argument

error message, which may be helpful for someone who finds this thread by
using this error message as search key to google.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fail with wireless network configuration with SIOCS80211: Invalid argument

2008-10-30 Thread Paul B. Mahol
On 10/30/08, Zhang Weiwu [EMAIL PROTECTED] wrote:
 Zhang Weiwu wrote:
 Hello. I am trying to get an AboveCable (model: ACPC 2000-01) wireless
 card connected to my home network with 40-bit Hex WEP Encryption on
 FreeBSD 6.1.

 # ifconfig wi0 inet 192.168.1.90 ssid ZWW wepmode on wepkey 0xea82552825
 ifconfig: SIOCS80211: Invalid argument


Why is deftxkey 1 missing ?

from ifconfig(8)

 Note that you must set a default transmit key with deftxkey for
   ^
 the system to know which key to use in encrypting outbound traf-
 fic

 Did I made anything wrong or miss something in the kernel? I have the
 related lines in kernel:

 driver wi
 driver wlan


 It turns out this error message is a direct result of lack of wlan_wep
 neither loaded as module nor compiled in kernel.

 However I still could not make the card work (even though it works in
 Ubuntu Linux) after having wlan_wep compiled in, but at least I
 eliminated the

 SIOCS80211: Invalid argument

 error message, which may be helpful for someone who finds this thread by
 using this error message as search key to google.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fail with wireless network configuration with SIOCS80211: Invalid argument

2008-10-30 Thread Zhang Weiwu
Paul B. Mahol wrote:
 On 10/30/08, Zhang Weiwu [EMAIL PROTECTED] wrote:
   
 Zhang Weiwu wrote:
 
 Hello. I am trying to get an AboveCable (model: ACPC 2000-01) wireless
 card connected to my home network with 40-bit Hex WEP Encryption on
 FreeBSD 6.1.

 # ifconfig wi0 inet 192.168.1.90 ssid ZWW wepmode on wepkey 0xea82552825
 ifconfig: SIOCS80211: Invalid argument

   

 Why is deftxkey 1 missing ?

 from ifconfig(8)

  Note that you must set a default transmit key with deftxkey for
^
  the system to know which key to use in encrypting outbound traf-
  fic

   
That quoted line of text is not appearing in my version (6.4) FreeBSD's
manual.

I tried to add deftxkey 1, same result. a.k.a. the interface is
configured, but DHCP couldn't obtain IP address, manually assigned IP
address couldn't communicate with other hosts.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


fail with wireless network configuration with SIOCS80211: Invalid argument

2008-10-12 Thread Zhang Weiwu
Hello. I am trying to get an AboveCable (model: ACPC 2000-01) wireless
card connected to my home network with 40-bit Hex WEP Encryption on 
FreeBSD 6.1.

# ifconfig wi0 inet 192.168.1.90 ssid ZWW wepmode on wepkey 0xea82552825
ifconfig: SIOCS80211: Invalid argument

Did I made anything wrong or miss something in the kernel? I have the
related lines in kernel:

driver wi
driver wlan

AboveCable wireless card uses PRIMSA II which is supported by driver wi.
The same card is tested working fine on the same network on Ubuntu Linux
(without needing of firmware or NDIS Wrapper)

dmesg is attached.

# ifconfig -a
plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff00
wi0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::260:b3ff:fe73:3f4f%wi0 prefixlen 64 scopeid 0x3
ether 00:60:b3:73:3f:4f
media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps)
status: no carrier
ssid ZWW channel 1
stationname FreeBSD WaveLAN/IEEE node
authmode OPEN privacy ON deftxkey 1 txpowmax 100 bintval 100

Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.1-RELEASE #0: Thu Jul  5 12:26:43 CST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/QUASIMODO
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Pentium/P55C (quarter-micron) (232.11-MHz 586-class CPU)
  Origin = GenuineIntel  Id = 0x581  Stepping = 1
  Features=0x8001bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX
real memory  = 100466688 (95 MB)
avail memory = 88723456 (84 MB)
Intel Pentium detected, installing workaround for F00F bug
kbd1 at kbdmux0
cpu0 on motherboard
pcib0: Host to PCI bridge pcibus 0 on motherboard
pir0: PCI Interrupt Routing Table: 4 Entries on motherboard
pci0: PCI bus on pcib0
cbb0: TI1250 PCI-CardBus Bridge mem 0x20822000-0x20822fff at device 2.0 on 
pci0
pccard0: 16-bit PCCard bus on cbb0
cbb1: TI1250 PCI-CardBus Bridge mem 0x20821000-0x20821fff at device 2.1 on 
pci0
pccard1: 16-bit PCCard bus on cbb1
pci0: display, VGA at device 3.0 (no driver attached)
isab0: PCI-ISA bridge at device 6.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 UDMA33 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfcf0-0xfcff at device 6.1 on pci0
ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0x9000-0x901f irq 11 at 
device 6.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: bridge at device 6.3 (no driver attached)
pmtimer0 on isa0
orm0: ISA Option ROM at iomem 0xc-0xc9fff on isa0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
fdc0: Enhanced floppy controller at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
ppc0: Parallel port at port 0x3bc-0x3c3 irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio2: configured irq 5 not in bitmap of probed irqs 0
sio2: port may not be enabled
sio3: configured irq 9 not in bitmap of probed irqs 0
sio3: port may not be enabled
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
unknown: PNP0303 can't assign resources (port)
unknown: PNP0f13 can't assign resources (irq)
unknown: PNP0700 can't assign resources (port)
unknown: PNP0c02 can't assign resources (memory)
unknown: PNP0400 can't assign resources (port)
pcm0: CS423x at port 0x530-0x537,0x388-0x38b,0x220-0x233 irq 5 drq 1,0 on isa0
pcm0: [GIANT-LOCKED]
unknown: IBM0071 can't assign resources (port)
unknown: PNP0e03 can't assign resources (port)
Timecounter TSC frequency 232106515 Hz quality 800
Timecounters tick every 1.000 msec
wi0: AboveCable ACPC2000-11 at port 0x100-0x13f irq 10 function 0 config 1 on 
pccard1
wi0: using RF:PRISM2 MAC:HFA3841 CARD:HWB3163 rev.A
wi0: Intersil Firmware: Primary (0.3.0), Station (0.8.3)
wi0: Ethernet address: 00:60:b3:73:3f:4f
ad0: 3102MB IBM DTCA-23240 TC5OAB1A at ata0-master UDMA33
acd0: CDROM SANYO CRD-S372B/1.24F at ata0-slave PIO3
Trying to mount root from