Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 2003 08:04:15 -0800
From:      "Kevin Oberman" <oberman@es.net>
To:        =?iso-8859-1?q?Darryl=20Barlow?= <darrylb_au44@yahoo.com.au>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Wireless Problems 
Message-ID:  <20031217160415.BC9BB5D08@ptavv.es.net>
In-Reply-To: Message from =?iso-8859-1?q?Darryl=20Barlow?= <darrylb_au44@yahoo.com.au>  <20031217122522.32523.qmail@web42005.mail.yahoo.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Wed, 17 Dec 2003 23:25:22 +1100 (EST)
> From: =?iso-8859-1?q?Darryl=20Barlow?= <darrylb_au44@yahoo.com.au>
> Sender: owner-freebsd-mobile@freebsd.org
> 
> Sorry to post about a problem with a desktop machine
> but I may have more luck here given the problem is a
> cardbus one.  I have installed FreeBSD on a Desktop
> Machine with a TI 1410 PCI Cardbus Bridge and an Avaya
> Silver Wireless Network Card.
> 
> The card connects perfectly to a D-Link Access Point
> in Debian and even in Windows XP.  However, in FreeBSD
> there is "no carrier" no matter what I seem to try.
> Troubleshooting help would be much appreciated.
>  
>  Device seems to come up with:
>  
>  ifconfig wi0 inet 192.168.4.8 netmask 255.255.255.0
>  ssid HOME wepmode ON 
>  wepkey 1234567890

Exactly how are you specifying the WEP key? Is it an ASCII string or a
hex value? If it's a hex value, it needs to be entered as 0xnnnnnnn. If
it's an ASCII string, it is entered as a quoted string, but there have
been many issues with interoperability of  ASCII strings and it is
better from both an operational and security perspective to use a random
hexadecimal numeric key. (I use /dev/random to generate my WEP keys.)

Your wicontrol output looks OK. (Please don't auto-wrap pasted screen
output, though!) It seems to see the AP and has reasonable
signal strength, but it fails to associate and that makes me suspect the
WEP key. Does the output of wicontrol REALLY have the key field empty?

I certainly don't like the disk errors, either, but are not likely
related to the network problem.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634

>  dmesg is as follows:
>  
>  Copyright (c) 1992-2003 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 5.1-RELEASE #0: Thu Jun  5 02:55:42 GMT 2003
>     
> 
> root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC
>  Preloaded elf kernel "/boot/kernel/kernel" at
>  0xc06d4000.
>  Preloaded elf module "/boot/kernel/acpi.ko" at
>  0xc06d421c.
>  Timecounter "i8254"  frequency 1193182 Hz
>  Timecounter "TSC"  frequency 1199664705 Hz
>  CPU: AMD Athlon(tm) Processor (1199.66-MHz 686-class
>  CPU)
>    Origin = "AuthenticAMD"  Id = 0x642  Stepping = 2
>   
> 
> Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
>    AMD Features=0xc0440000<RSVD,AMIE,DSP,3DNow!>
>  real memory  = 134135808 (127 MB)
>  avail memory = 122912768 (117 MB)
>  Pentium Pro MTRR support enabled
>  npx0: <math processor> on motherboard
>  npx0: INT 16 interface
>  acpi0: <ASUS   A7V-133 > on motherboard
>  pcibios: BIOS version 2.10
>  Using $PIR table, 9 entries at 0xc00f1720
>  acpi0: power button is handled as a fixed feature
>  programming model.
>  Timecounter "ACPI-fast"  frequency 3579545 Hz
>  acpi_timer0: <24-bit timer at 3.579545MHz> port
>  0xe408-0xe40b on acpi0
>  acpi_cpu0: <CPU> on acpi0
>  acpi_button0: <Power Button> on acpi0
>  pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on
>  acpi0
>  pci0: <ACPI PCI bus> on pcib0
>  agp0: <VIA 82C8363 (Apollo KT133A) host to PCI
>  bridge>
>  mem 
>  0xe6000000-0xe7ffffff at device 0.0 on pci0
>  pcib1: <PCI-PCI bridge> at device 1.0 on pci0
>  pci1: <PCI bus> on pcib1
>  pci1: <display, VGA> at device 0.0 (no driver
>  attached)
>  isab0: <PCI-ISA bridge> at device 4.0 on pci0
>  isa0: <ISA bus> on isab0
>  atapci0: <VIA 82C686B UDMA100 controller> port
>  0xd800-0xd80f at device 4.1 on 
>  pci0
>  ata0: at 0x1f0 irq 14 on atapci0
>  ata1: at 0x170 irq 15 on atapci0
>  uhci0: <VIA 83C572 USB controller> port
>  0xd400-0xd41f
>  irq 9 at device 4.2 on 
>  pci0
>  usb0: <VIA 83C572 USB controller> on uhci0
>  usb0: USB revision 1.0
>  uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00,
>  addr 1
>  uhub0: 2 ports with 2 removable, self powered
>  uhci1: <VIA 83C572 USB controller> port
>  0xd000-0xd01f
>  irq 9 at device 4.3 on 
>  pci0
>  usb1: <VIA 83C572 USB controller> on uhci1
>  usb1: USB revision 1.0
>  uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00,
>  addr 1
>  uhub1: 2 ports with 2 removable, self powered
>  pci0: <multimedia> at device 9.0 (no driver
>  attached)
>  cbb0: <TI1410 PCI-CardBus Bridge> at device 10.0 on
>  pci0
>  cardbus0: <CardBus bus> on cbb0
>  pccard0: <16-bit PCCard bus> on cbb0
>  pcib0: slot 10 INTA is routed to irq 5
>  rl0: <RealTek 8139 10/100BaseTX> port 0xa400-0xa4ff
>  mem 0xd5000000-0xd50000ff 
>  at device 11.0 on pci0
>  rl0: Realtek 8139B detected. Warning, this may be
>  unstable in autoselect mode
>  pcib0: slot 11 INTA is routed to irq 10
>  rl0: Ethernet address: 00:50:bf:27:7b:64
>  miibus0: <MII bus> on rl0
>  rlphy0: <RealTek internal media interface> on
>  miibus0
>  rlphy0:  10baseT, 10baseT-FDX, 100baseTX,
>  100baseTX-FDX, auto
>  pci0: <multimedia, audio> at device 12.0 (no driver
>  attached)
>  sym0: <810a> port 0x9800-0x98ff mem
>  0xd4800000-0xd48000ff irq 9 at device 13.0 
>  on pci0
>  sym0: Symbios NVRAM, ID 7, Fast-10, SE, parity
>  checking
>  sym0: open drain IRQ line driver
>  sym0: using LOAD/STORE-based firmware.
>  atapci1: <Promise PDC20265 UDMA100 controller> port 
> 
> 0x8000-0x803f,0x8400-0x8403,0x8800-0x8807,0x9000-0x9003,0x9400-0x9407
>  mem 
>  0xd4000000-0xd401ffff irq 10 at device 17.0 on pci0
>  ata2: at 0x9400 on atapci1
>  ata3: at 0x8800 on atapci1
>  fdc0: <Enhanced floppy controller (i82077, NE72065
>  or
>  clone)> port 
>  0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
>  fdc0: FIFO enabled, 8 bytes threshold
>  fd0: <1440-KB 3.5" drive> on fdc0 drive 0
>  ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on
>  acpi0
>  ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in
>  COMPATIBLE mode
>  ppc0: FIFO with 16/16/8 bytes threshold
>  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
>  sio0 port 0x3f8-0x3ff irq 4 on acpi0
>  sio0: type 16550A
>  sio1 port 0x2f8-0x2ff irq 3 on acpi0
>  sio1: type 16550A
>  atkbdc0: <Keyboard controller (i8042)> port
>  0x64,0x60
>  irq 1 on acpi0
>  atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
>  kbd0 at atkbd0
>  psm0: <PS/2 Mouse> irq 12 on atkbdc0
>  psm0: model MouseMan+, device ID 0
>  orm0: <Option ROM> at iomem 0xcc000-0xcdfff on isa0
>  pmtimer0 on isa0
>  sc0: <System console> at flags 0x100 on isa0
>  sc0: VGA <16 virtual consoles, flags=0x300>
>  vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem
>  0xa0000-0xbffff on isa0
>  Timecounters tick every 10.000 msec
>  acpi_cpu: throttling enabled, 16 steps (100% to
>  6.2%),
>  currently 100.0%
>  wi0: <Avaya Communication Avaya Wireless PC Card> at
>  port 0x100-0x13f irq 5 
>  function 0 config 1 on pccard0
>  wi0: 802.11 address: 00:02:2d:74:3b:25
>  wi0: using Lucent Technologies, WaveLAN/IEEE
>  wi0: Lucent Firmware: Station (7.28.1)
>  wi0: supported rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
>  ad0: 29333MB <WDC WD307AA-00BAA0> [59598/16/63] at
>  ata0-master UDMA66
>  ad4: 76319MB <ST380011A> [155061/16/63] at
>  ata2-master
>  UDMA100
>  ad6: 76319MB <ST380011A> [155061/16/63] at
>  ata3-master
>  UDMA100
>  acd0: DVD-ROM <Pioneer DVD-ROM ATAPIModel DVD-115
>  0133> at ata1-master PIO4
>  acd1: DVD-R <PIONEER DVD-RW DVR-106D> at ata1-slave
>  PIO4
>  Waiting 15 seconds for SCSI devices to settle
>  (noperiph:sym0:0:-1:-1): SCSI BUS reset delivered.
>  ad0: UDMA ICRC error cmd=read fsbn 1529248 retrying
>  Mounting root from ufs:/dev/ad0s1a
>  ad0: UDMA ICRC error cmd=read fsbn 4415 of 4415-4418
>  retrying
>  ad0: UDMA ICRC error cmd=read fsbn 4415 of 4415-4418
>  retrying
>  ad0: UDMA ICRC error cmd=read fsbn 4447 of 4447-4450
>  retrying
>  ad0: UDMA ICRC error cmd=read fsbn 4447 of 4447-4450
>  retrying
>  ad0: UDMA ICRC error cmd=read fsbn 18463 of
>  18463-18590 retrying
>  ad0: UDMA ICRC error cmd=read fsbn 18463 of
>  18463-18590 retrying
>  ad0: UDMA ICRC error cmd=read fsbn 18463 of
>  18463-18590 retrying
>  ad0: UDMA ICRC error cmd=read fsbn 18463 of
>  18463-18590 falling back to PIO 
>  mode 
>  ifconfig shows:
>  
>  wi0:
>  flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>
>  mtu
>  1500
>          inet 192.168.4.88 netmask 0xffffff00
>  broadcast
>  192.168.4.255
>          inet6 fe80::202:2dff:fe74:3b25%wi0 prefixlen
>  64 scopeid 0x4 
>          ether 00:02:2d:74:3b:25
>          media: IEEE 802.11 Wireless Ethernet
>  autoselect (DS/2Mbps)
>          status: no carrier
>          ssid HOME 1:HOME
>          stationname "FreeBSD WaveLAN/IEEE node"
>          channel -1 authmode OPEN powersavemode OFF
>  powersavesleep 100
>          wepmode MIXED weptxkey 1
>          wepkey 1:64-bit
>  
>  
>  wicontrol (omitting or changing some details) shows:
>  
>  NIC serial number:                      [  ]
>  Station name:                           [ FreeBSD
>  WaveLAN/IEEE node ]
>  SSID for IBSS creation:                 [ HOME ]
>  Current netname (SSID):                 [ HOME ]
>  Desired netname (SSID):                 [ HOME ]
>  Current BSSID:                          [
>  00:40:05:ae:fe:27 ]
>  Channel list:                           [ 7ff ]
>  IBSS channel:                           [ 10 ]
>  Current channel:                        [ 10 ]
>  Comms quality/signal/noise:             [ 41 97 56 ]
>  dBm Coms Quality:                       [ 43 ]
>  Promiscuous mode:                       [ Off ]
>  Process 802.11b Frame:                  [ Off ]
>  Intersil-Prism2 based card:             [ 0 ]
>  Port type (1=BSS, 3=ad-hoc):            [ 1 ]
>  MAC address:                            [  ]
>  TX rate (selection):                    [ 0 ]
>  TX rate (actual speed):                 [ 2 ]
>  RTS/CTS handshake threshold:            [ 2347 ]
>  Create IBSS:                            [ Off ]
>  Access point density:                   [ 1 ]
>  Power Mgmt (1=on, 0=off):               [ 0 ]
>  Max sleep time:                         [ 100 ]
>  PRI Identity:                           [ 21 1 4 4 ]
>  STA Identity:                           [ 31 1 7 28
>  ]
>  Card ID register:                       [ 1 1 4 2 ]
>  Regulatory Domains:                     [ usa,
>  canada,
>  eu/au, es, fr, jp new ]
>  Temperature Range:                      [ 1 ]
>  WEP encryption:                         [ On ]
>  TX encryption key:                      [ 1 ]
>  Encryption keys:                        [  ][  ][ 
>  ][ 
>  ]
> 
> http://personals.yahoo.com.au - Yahoo! Personals
> New people, new possibilities. FREE for a limited time.
> _______________________________________________
> 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"
> 



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