[NCLUG] Problems with Orinoco on Linux 2.4 on Toshiba Libretto

Tim Ingram ingramdenver at yahoo.com
Thu Apr 3 10:39:21 MST 2003


I am running into problems trying to get my wireless working on the Linux 
side of
my dual boot libretto.  The card works just fine on the Win2k side and in pains
me greatly that I cant get the Linux side to work.

Here is what I have done so far.

I have installed the orinoco-0.13c files in my Linux 2.4.18-24 KRUD 
distribution.

Here are the contents of the key files
[root at localhost root]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
USERCTL=no
PEERDNS=yes
GATEWAY=192.168.1.3
TYPE=Wireless
DEVICE=eth0
HWADDR=
BOOTPROTO=dhcp
NETMASK=
ONBOOT=no
DHCP_HOSTNAME=dmz1
IPADDR=
NAME=
DOMAIN=
ESSID=Marconi
CHANNEL=6
MODE=Auto
KEY=5......................1
RATE=Auto
NETWORK=192.168.1.0
BROADCAST=192.168.1.255

[root at localhost pcmcia]# cat hermes.conf
device "orinoco_cs"
   class "network"
   module "hermes", "orinoco", "orinoco_cs"
card "Lucent Technologies Wavelan/IEEE"
   version "Lucent Technologies", "WaveLAN/IEEE"
   manfid 0x0156,0x0002
   module "hermes", "orinoco", "orinoco_cs" opts "pc_debug=3"

#
# Wireless network adapters
#
# We should use the manfid (which cover multiple cards), otherwise we will
# go crazy listing all cards and their variations !!!

# First class of device : Lucent & OEM
#card "Orinoco or Intersil Prism 2 Wireless"
#  manfid 0x0156,0x0002
#  bind "orinoco_cs"
#
#card "Lucent Technologies Wavelan/IEEE"
#  version "Lucent Technologies", "WaveLAN/IEEE"
#  bind "orinoco_cs"
#
#card "Avaya World Card"
#  version "Avaya Communication", "Avaya Wireless PC Card"
#  bind "orinoco_cs"
#
#card "Cabletron RoamAbout 802.11 DS"
#  version "Cabletron", "RoamAbout 802.11 DS"
#  bind "orinoco_cs"
#
#card "ELSA AirLancer MC-11"
#  version "ELSA", "AirLancer MC-11"
#  bind "orinoco_cs"
#
#card "MELCO WLI-PCM-L11"
#  version "MELCO", "WLI-PCM-L11"
#  bind "orinoco_cs"
#
## Second class of device : Symbol & OEM
#card "LA4111 Spectrum24 Wireless LAN PC Card"
#  version "Symbol Technologies"
#  bind "orinoco_cs"
#
#card "3Com AirConnect"
#  version "3Com", "3CRWE737A AirConnect Wireless LAN PC Card"
#  bind "orinoco_cs"
#
#card "Intel PRO/Wireless 2011"
#  manfid 0x0089,0x0001
#  bind "orinoco_cs"
#
#card "Ericsson WLAN Card C11"
#  manfid 0x016b,0x0001
#  bind "orinoco_cs"
#
#card "Nortel Networks e-mobility 802.11 Wireless LAN PC Card"
#  version "Nortel Networks", "emobility 802.11 Wireless LAN PC Card", "1.00"
#  bind "orinoco_cs"
#
#card "D-Link DWL-650H"
#  version "D-Link Corporation", "D-Link DWL-650H 11Mbps WLAN Adapter"
#  bind "orinoco_cs"
#
## Third class of device : other Intersil clones
#card "Farallon SkyLINE"
#  version "INTERSIL", "HFA384x/IEEE"
#  bind "orinoco_cs"
#
#card "D-Link DWL-650"
#  version "D", "Link DWL-650 11Mbps WLAN Card"
#  bind "orinoco_cs"
#
#card "SAMSUNG 11Mbps WLAN Card"
#  version "SAMSUNG", "11Mbps WLAN Card"
#  bind "orinoco_cs"
## Does this one cover Compaq as well ???
#
#card "HyperLink Wireless PC Card 11Mbps"
#  version "HyperLink","Wireless PC Card 11Mbps"
#  bind "orinoco_cs"
#
#card "PROXIM LAN PC CARD HARMONY 80211B"
#  version "PROXIM","LAN PC CARD HARMONY 80211B"
#  bind "orinoco_cs"
#
#card "Linksys WPC11 11Mbps 802.11b WLAN Card"
#  version "Instant Wireless ", " Network PC CARD", "Version 01.02"
#  bind "orinoco_cs"
#
#card "Linksys WPC11 11Mbps 802.11b WLAN Card"
#  version "The Linksys Group, Inc.", "Instant Wireless Network PC Card", 
"ISL37300P", "RevA"
#  bind "orinoco_cs"
#
#card "Linksys CompactFlash Wireless Card"
#  version "Linksys", "Wireless CompactFlash Card"
#  bind "orinoco_cs"
#
#card "Tekram PCF-200"
#  version "PCMCIA", "11M WLAN Card v2.5", "ISL37300P", "RevA"
#  bind "orinoco_cs"
#
#card "ACTIONTEC PRISM Wireless LAN PC Card"
#  version "ACTIONTEC", "PRISM Wireless LAN PC Card"
#  bind "orinoco_cs"
#
#card "Zcomax XI-325HP"
#  version " ", "IEEE 802.11 Wireless LAN/PC Card"
#  bind "orinoco_cs"


[root at localhost pcmcia]# cat wireless.opts
# Wireless LAN adapter configuration
#
# Theory of operation :
#
# The script attempts to match a block of settings to the specific wireless
# card inserted, the *first* block matching the card is used.
  # The address format is "scheme,socket,instance,hwaddr", with * as a 
wildcard.
# 'scheme' is the pcmcia scheme (set via 'cardctl scheme XXX').
# 'hwaddr' is the unique MAC address identifier of the wireless card.
# The MAC address is usually printed on the card, or can be found via ifconfig.
# Some examples here use only half of the MAC address with a wildcard to
# match a whole family of cards...
#
# All the Wireless specific configuration is done through the Wireless
# Extensions, so we will just call 'iwconfig' with the right parameters
# defined below.
# Of course, you need to have iwconfig installled on your system.
# To download iwconfig, or for more info on Wireless Extensions :
#	http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html
#
# Note : you don't need to fill all parameters, leave them blank, in most
# cases the driver will initialise itself with sane defaults values or
# automatically figure out the value... And no drivers do support all
# possible settings...
#
# If you make any mistakes, you'll get a cryptic message in the system
# log.  You'll need to figure out on your own which parameter was wrong:
#     cardmgr[310]: executing: './network start wvlan0'
#     cardmgr[310]: + SIOCSIWMODE: Invalid argument
# I've tried to give more troubleshooting help at :
#	http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html#debug
# In case of doubts, just check "/etc/pcmcia/wireless" for the gory details...
#
# Note also that this script will work only with the original Pcmcia scripts,
# and not with the default Red Hat scripts. Send a bug report to Red Hat ;-)
#
# Finally, send comments and flames to me, Jean Tourrilhes <jt at hpl.hp.com>
#

case "$ADDRESS" in

# Here is an example of scheme matching
# Activate with "cardctl scheme essidany"

# Pick up any Access Point, should work on most 802.11 cards
essidany,*,*,*)
     INFO="Any ESSID"
     ESSID="any"
     ;;

# Here are a few examples with a few Wireless LANs supported...
# The matching is done on the first 3 bytes of the MAC address

# Lucent Wavelan IEEE (+ Orinoco, RoamAbout and ELSA)
# Melco/Buffalo Networks WLI-PCM-L11
# Note : wvlan_cs driver only, and version 1.0.4+ for encryption support
*,*,*,00:60:1D:*|*,*,*,00:02:2D:*)
     INFO="Wavelan IEEE example (Lucent default settings)"
     ESSID="Wavelan Network"
     MODE="Ad-Hoc"
#    RATE="auto"
     KEY="s:secu1"
# To set all four keys, use :
#   KEY="s:secu1 [1] key s:secu2 [2] key s:secu3 [3] key s:secu4 [4] key [1]"
# For the RG 1000 Residential Gateway: The ESSID is the identifier on
# the unit, and the default key is the last 5 digits of the same.
#   ESSID="084d70"
#   KEY="s:84d70"
     ;;

# Cisco/Aironet 4800/340
# Note : MPL driver only (airo/airo_cs), version 1.3 or later
*,*,*,00:40:96:*)
     INFO="Cisco/Aironet example (Cisco default settings)"
     ESSID="any"
# To set all four ESSID, use iwconfig v21 and the same trick as above
     MODE="Managed"
#    RATE="11M auto"
#    KEY="off"
     ;;

# Samsung MagicLan (+ some other PrismII cards)
# Note : Samsung binary library driver, version 1.20 or later
*,*,*,00:00:F0:*|*,*,*,00:02:78:*)
     INFO="Samsung MagicLan example (Samsung default settings)"
     ESSID="any"
     MODE="Managed"
     CHANNEL="4"
     RATE="auto"
#    KEY="883e-aa67-21 [1] key 5501-d0da-87 [2] key 91f5-3368-6b [3] key 
2d73-31b7-96 [4]"
#    IWCONFIG="power on"
     ;;

# Raytheon Raylink/WebGear Aviator2.4
# Note : doesn't work yet, please use for debugging only :-(
*,*,*,00:00:8F:*|*,*,*,00:00:F1:*)
     INFO="Raylink/Aviator2.4 example (Aviator default ad-hoc setting)"
     ESSID="ADHOC_ESSID"
     MODE="Ad-Hoc"
     RATE="auto"
     IWPRIV="set_framing 1"
     ;;

# Old Lucent Wavelan
*,*,*,08:00:0E:*)
     INFO="Wavelan example (Lucent default settings)"
     NWID="0100"
     MODE="Ad-Hoc"
     FREQ="2.425G"
     KEY="off"
     ;;

# Netwave (Xircom Netwave/Netwave Airsurfer)
*,*,*,00:80:C7:*)
     INFO="Netwave example (Netwave default settings)"
     NWID="100"
     KEY="00"
     ;;

# Proxim RangeLan2/Symphony (what is the MAC address ???)
*,*,*,XX:XX:XX:*)
     INFO="Proxim RangeLan2/Symphony example"
     NWID="0"
     MODE="Master"
     CHANNEL="15"
     IWPRIV="setsubchan 1"
     ;;

# No Wires Needed Swallow 550 and 1100 setting (what is the MAC address ???)
*,*,*,XX:XX:XX:*)
     INFO="NWN Swallow example"
     ESSID="session"
     KEY="0000-0000-00 open"
     ;;

# Symbol Spectrum24 setting (what is the MAC address ???)
*,*,*,XX:XX:XX:*)
     INFO="Symbol Spectrum24 example"
     ESSID="Essid string"
     ;;

# Generic example (decribe all possible settings)
*,*,*,*)
     INFO="Fill with your own settings..."
     # ESSID (extended network name) : My Network, any
     ESSID=""
     # NWID/Domain (cell identifier) : 89AB, 100, off
     NWID=""
     # Operation mode : Ad-Hoc, Managed, Master, Repeater, Secondary, auto
     MODE=""
     # Frequency or channel : 1, 2, 3 (channel) ; 2.422G, 2.46G (frequency)
     FREQ=""
     CHANNEL=""
     # Sensitivity (cell size + roaming speed) : 1, 2, 3 ; -70 (dBm)
     SENS=""
     # Bit rate : auto, 1M, 11M
     RATE=""
     # Encryption key : 4567-89AB-CD, s:password
     KEY=""
     # RTS threshold : off, 500
     RTS=""
     # Fragmentation threshold : off, 1000
     FRAG=""
     # Other iwconfig parameters : power off, ap 01:23:45:67:89:AB
     IWCONFIG=""
     # iwspy parameters : + 01:23:45:67:89:AB
     IWSPY=""
     # iwpriv parameters : set_port 2, set_histo 50 60
     IWPRIV=""
     ;;
esac


HERE is some log output.  When I try to activate the card through the 
redhat GUI
I get the power light to come on, but it says that it times out when trying to
get DHCP.  I have tried to statically ip the card and then it will activate 
via the gui
but it cannot ping the gateway in that configuration.
dmesg

Linux version 2.4.18-24.8.0 (bhcompile at tweety.devel.redhat.com) (gcc 
version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1 Fri Jan 31 06:03:03 EST 2003
BIOS-provided physical RAM map:
  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
  BIOS-e820: 0000000000100000 - 0000000004010000 (usable)
  BIOS-e820: 0000000004010000 - 0000000004020000 (ACPI data)
  BIOS-e820: 0000000004020000 - 0000000004040000 (reserved)
  BIOS-e820: 00000000fef80000 - 00000000ff000000 (reserved)
  BIOS-e820: 00000000fffe0000 - 00000000fffe6e00 (reserved)
  BIOS-e820: 00000000fffe6e00 - 00000000fffe7000 (ACPI NVS)
  BIOS-e820: 00000000fffe7000 - 0000000100000000 (reserved)
64MB LOWMEM available.
On node 0 totalpages: 16400
zone(0): 4096 pages.
zone(1): 12304 pages.
zone(2): 0 pages.
Kernel command line: auto BOOT_IMAGE=linux ro 
BOOT_FILE=/boot/vmlinuz-2.4.18-24.8.0 root=LABEL=/
Initializing CPU#0
Detected 266.619 MHz processor.
Speakup v-1.00 CVS: Tue Jun 11 14:22:53 EDT 2002 : initialized
Console: colour VGA+ 80x25
Calibrating delay loop... 532.48 BogoMIPS
Memory: 61076k/65600k available (1194k kernel code, 3624k reserved, 985k 
data, 160k init, 0k highmem)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount cache hash table entries: 2048 (order: 2, 16384 bytes)
ramfs: mounted with options: <defaults>
ramfs: max_pages=7698 max_file_pages=0 max_inodes=0 max_dentries=7698
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
CPU: Before vendor init, caps: 008001bf 00000000 00000000, vendor = 0
Intel Pentium with F0 0F bug - workaround enabled.
CPU: After vendor init, caps: 008001bf 00000000 00000000 00000000
CPU:     After generic, caps: 008001bf 00000000 00000000 00000000
CPU:             Common caps: 008001bf 00000000 00000000 00000000
CPU: Intel Mobile Pentium MMX stepping 01
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch at atnf.csiro.au)
mtrr: detected mtrr type: none
PCI: PCI BIOS revision 2.10 entry at 0xfc5f8, last bus=21
PCI: Using configuration type 1
PCI: Probing PCI hardware
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
speakup:  initialized device: /dev/synth, node (MAJOR 10, MINOR 25)
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x02 (Driver version 1.16)
Starting kswapd
VFS: Diskquotas version dquot_6.5.0 initialized
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT 
SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS0 at 0x03f8 (irq = 4) is a 16550A
Real Time Clock Driver v1.10e
block: 112 slots per queue, batch=28
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hda: IBM-DJSA-220, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: 39070080 sectors (20004 MB) w/1874KiB Cache, CHS=2432/255/63
ide-floppy driver 0.99.newide
Partition check:
  hda: hda1 hda2 hda3 hda4 < hda5 >
Floppy drive(s): fd0 is 1.44M
floppy0: no floppy controllers found
NET4: Frame Diverter 0.46
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
ide-floppy driver 0.99.newide
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 127k freed
VFS: Mounted root (ext2 filesystem).
Journalled Block Device driver loaded
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 160k freed
EXT3 FS 2.4-0.9.18, 14 May 2002 on ide0(3,5), internal journal
Adding Swap: 522104k swap-space (priority -1)
ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996
ad1848: No ISAPnP cards found, trying standard ones...
opl3sa2: No PnP cards found
opl3sa2: Search for a card at 0x880.
opl3sa2: chipset version = 0x5
opl3sa2: Found OPL3-SA3 (YMF715E or YMF719E)
opl3sa2: Control I/O port 0x370 not free
opl3sa2: There was a problem probing one  of the ISA PNP cards, continuing
opl3sa2: Control I/O port 0x370 not free
opl3sa2: There was a problem probing one  of the ISA PNP cards, continuing
opl3sa2: Control I/O port 0x370 not free
opl3sa2: There was a problem probing one  of the ISA PNP cards, continuing
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.18, 14 May 2002 on ide0(3,2), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
ohci1394: pci_module_init failed
ip_tables: (C) 2000-2002 Netfilter core team
Linux Kernel Card Services 3.1.22
   options:  [pci] [cardbus] [pm]
PCI: No IRQ known for interrupt pin A of device 00:13.0. Please try using 
pci=biosirq.
PCI: No IRQ known for interrupt pin B of device 00:13.1. Please try using 
pci=biosirq.
Yenta IRQ list 0698, PCI irq0
Socket status: 30000007
Yenta IRQ list 0698, PCI irq0
Socket status: 30000011
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x220-0x22f 0x378-0x37f 
0x390-0x397 0x480-0x48f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
mice: PS/2 mouse device common for all mice
unloading Kernel Card Services
Linux Kernel Card Services 3.1.22
   options:  [pci] [cardbus] [pm]
PCI: No IRQ known for interrupt pin A of device 00:13.0. Please try using 
pci=biosirq.
PCI: No IRQ known for interrupt pin B of device 00:13.1. Please try using 
pci=biosirq.
Yenta IRQ list 0698, PCI irq0
Socket status: 30000007
Yenta IRQ list 0698, PCI irq0
Socket status: 30000011
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x220-0x22f 0x378-0x37f 
0x390-0x397 0x480-0x48f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
hermes.c: 4 Dec 2002 David Gibson <hermes at gibson.dropbear.id.au>
orinoco.c 0.13c (David Gibson <hermes at gibson.dropbear.id.au> and others)
orinoco_cs.c 0.13c (David Gibson <hermes at gibson.dropbear.id.au> and others)
divert: allocating divert_blk for eth0
eth0: Station identity 001f:0001:0008:0048
eth0: Looks like a Lucent/Agere firmware version 8.72
eth0: Ad-hoc demo mode supported
eth0: IEEE standard IBSS ad-hoc mode supported
eth0: WEP supported, 104-bit key
eth0: MAC address 00:02:2D:8A:67:93
eth0: Station name "HERMES I"
eth0: ready
eth0: index 0x01: Vcc 5.0, irq 3, io 0x0100-0x013f

/sbin/cardctl ident
Socket 0:
   no product info available
Socket 1:
   product info: "Lucent Technologies", "WaveLAN/IEEE", "Version 01.01", ""
   manfid: 0x0156, 0x0002
   function: 6 (network)

/sbin/lsmod
Module                  Size  Used by    Not tainted
orinoco_cs              5492   0
orinoco                34988   0  [orinoco_cs]
hermes                  7236   0  [orinoco_cs orinoco]
ds                      8136   2  [orinoco_cs]
yenta_socket           12320   2
pcmcia_core            51168   0  [orinoco_cs ds yenta_socket]
mousedev                5236   1  (autoclean)
input                   5696   0  (autoclean) [mousedev]
iptable_filter          2316   0  (autoclean) (unused)
ip_tables              14456   1  [iptable_filter]
nls_iso8859-1           3484   1  (autoclean)
nls_cp437               5116   1  (autoclean)
vfat                   11900   1  (autoclean)
fat                    36792   0  (autoclean) [vfat]
opl3sa2                 9712   0
mpu401                 22692   0  [opl3sa2]
ad1848                 26092   0  [opl3sa2]
sound                  70196   0  [opl3sa2 mpu401 ad1848]
soundcore               6180   6  [sound]
ext3                   64160   2
jbd                    48180   2  [ext3]

tail /var/log/messages
Apr  1 14:07:48 localhost kernel: cs: memory probe 0xa0000000-0xa0ffffff: 
clean.
Apr  1 14:07:48 localhost cardmgr[1013]: socket 1: Lucent Technologies 
Wavelan/IEEE
Apr  1 14:07:48 localhost cardmgr[1013]: executing: 'modprobe hermes'
Apr  1 14:07:49 localhost cardmgr[1013]: executing: 'modprobe orinoco'
Apr  1 14:07:49 localhost cardmgr[1013]: executing: 'modprobe orinoco_cs'
Apr  1 14:07:49 localhost cardmgr[1013]: executing: './network start eth0'
Apr  1 14:07:50 localhost /etc/hotplug/net.agent: invoke ifup eth0
Apr  1 14:09:56 localhost dhcpcd[1058]: timed out waiting for a valid DHCP 
server response
Apr  1 14:09:56 localhost dhcpcd[1095]: recvfrom: Network is down
Apr  1 14:09:56 localhost dhcpcd[1095]: sendto: Network is down 




More information about the NCLUG mailing list