On Wed, 2004-03-10 at 03:59, Jeffrey L. Taylor wrote: > Quoting Jonathan Brandmeyer <[EMAIL PROTECTED]>: > > On Wed, 2004-03-10 at 00:48, Joe Carey wrote: > > > It's the wrong driver. You're using the driver for an > > > Agere/Proxim/Orinoco card, i.e. "Hermes" on a card built with the > > > Prism2.5 chipset. You probably want the linux-wlan-ng drivers. > > > > > > Check these links: > > > http://packages.debian.org/testing/admin/linux-wlan-ng > > > http://www.linux-wlan.com/linux-wlan/ > > > > > > Have fun! > > > > > > joe > > > > That doesn't quite make sense to me. If the driver is wrong than why > > does it report that it detected an "Orinoco/Prism2 PCI device" and then > > gets information from it like the MAC address and firmware revision? > > This fellow http://members.iinet.net.au/~mtriggs/wireless.html got his > > card to work with the orinoco_pci driver. > > > > Unfortunately, the latest release of linux-wlan-ng doesn't work with > > 2.6, although that support is coming down the pipe in the next release > > according to the CHANGELOG at linux-wlan.com. I attempted to build the > > module from their source tree for 0.2.1-pre20, but it expects a file > > [kernel-source-root]/.tmp_versions to be present, which is not shipped > > with kernel-headers-2.6.3-1-686 (or its dependency). So, without > > actually building my own kernel, what would it take to get a kernel > > source tree that matched the one used to build the stock Debian kernel > > verbatim? > > > > Generally you have to do at least copy the .config file and do a "make > dep" after installing the kernel sources before you have anything > usable by other packages. > > HTH, > Jeffrey
Well, I still needed to manually create the .tmp_versions directory, since building an additional kernel didn't create it. However, linux-wlan-ng is giving me fits as well. modprobing the driver worked OK, but nothing after that works. I attempted to follow the directions in the README file for the source, but it borked up my system so badly that I had to reboot in order for my existing wired lan interface to work again. First, I tried to use the Debian ifup/ifdown method of configuring the thing. Adding "alias wlan0 prism2_pci" to /etc/modules/linux-wlan-ng doesn't lead to on-demand module loading, instead I had to add it to /etc/modutils.d/linux-wlan-ng and rerun update-modules. That wasn't enough to get ifup to work, here is the relevant stanza from /etc/network/interfaces: iface wlan0 inet dhcp wireless_essid 203cfr wireless_mode managed wireless_enc on wlan_ng_key0 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx ifup wlan0 reports this: Error for wireless request "Set ESSID" (8B1A) : SET failed on device wlan0 ; Operation not supported. Error for wireless request "Set Encode" (8B2A) : SET failed on device wlan0 ; Operation not supported. Error for wireless request "Set Mode" (8B06) : SET failed on device wlan0 ; Operation not supported. Internet Software Consortium DHCP Client 2.0pl5 Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved. Please contribute if you find this software useful. For info, please visit http://www.isc.org/dhcp-contrib.html sit0: unknown hardware address type 776 sit0: unknown hardware address type 776 Listening on LPF/wlan0/00:09:5b:67:95:0d Sending on LPF/wlan0/00:09:5b:67:95:0d Sending on Socket/fallback/fallback-net DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3 receive_packet failed on wlan0: Network is down DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11 No DHCPOFFERS received. No working leases in persistent database. Sleeping. So, next I tried to make the "upstream" method of using an init script to do the job. After editing /etc/wlan/wlan.conf (attached) and creating an /etc/wlan/wlancfg-203cfr (attached) file from wlancfg-DEFAULT and running the supplied `rc.wlan start`, This is all that happens: Starting WLAN Devices: And nothing else. So, any help is still appreciated. -Jonathan
#=======USER MIB SETTINGS============================= # You can add the assignments for various MIB items # of your choosing to this variable, separated by # whitespace. The wlan-ng script will then set each one. # Just uncomment the variable and set the assignments # the way you want them. #USER_MIBS="p2CnfRoamingMode=1 p2CnfShortPreamble=mixed" #=======WEP=========================================== # [Dis/En]able WEP. Settings only matter if PrivacyInvoked is true lnxreq_hostWEPEncrypt=true # true|false lnxreq_hostWEPDecrypt=true # true|false dot11PrivacyInvoked=true # true|false dot11WEPDefaultKeyID=0 # 0|1|2|3 dot11ExcludeUnencrypted=true # true|false, in AP this means WEP is required. # If PRIV_GENSTR is not empty, use PRIV_GENTSTR to generate # keys (just a convenience) #PRIV_GENERATOR=/sbin/nwepgen # nwepgen, Neesus compatible #PRIV_KEY128=false # keylength to generate #PRIV_GENSTR="" # or set them explicitly. Set genstr or keys, not both. dot11WEPDefaultKey0= # format: xx:xx:xx:xx:xx or dot11WEPDefaultKey1= # xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx dot11WEPDefaultKey2= # e.g. 01:20:03:40:05 or dot11WEPDefaultKey3= # 01:02:03:04:05:06:07:08:09:0a:0b:0c:0d #=======SELECT STATION MODE=================== IS_ADHOC=n # y|n, y - adhoc, n - infrastructure #======= INFRASTRUCTURE STATION =================== # What kind of authentication? AuthType="sharedkey" # opensystem | sharedkey (requires WEP) #======= ADHOC STATION ============================ BCNINT=100 # Beacon interval (in Kus) CHANNEL=6 # DS channel for BSS (1-14, depends # on regulatory domain) BASICRATES="2 4" # Rates for mgmt&ctl frames (in 500Kb/s) OPRATES="2 4 11 22" # Supported rates in BSS (in 500Kb/s)
#! /bin/sh # Wireless LAN adapter configuration # # etc/wlan/wlan.conf # # Copyright (C) 1999 AbsoluteValue Systems, Inc. All Rights Reserved. # -------------------------------------------------------------------- # # linux-wlan # # The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # Alternatively, the contents of this file may be used under the # terms of the GNU Public License version 2 (the "GPL"), in which # case the provisions of the GPL are applicable instead of the # above. If you wish to allow the use of your version of this file # only under the terms of the GPL and not to allow others to use # your version of this file under the MPL, indicate your decision # by deleting the provisions above and replace them with the notice # and other provisions required by the GPL. If you do not delete # the provisions above, a recipient may use your version of this # file under either the MPL or the GPL. # # -------------------------------------------------------------------- # # Inquiries regarding the linux-wlan Open Source project can be # made directly to: # # AbsoluteValue Systems Inc. # [EMAIL PROTECTED] # http://www.linux-wlan.com # # -------------------------------------------------------------------- # # Portions of the development of this software were funded by # Intersil Corporation as part of PRISM(R) chipset product development. # # -------------------------------------------------------------------- # This file is sourced by all configuration scripts. # # The WLAN_DEVICES variable identifies the device names of each WLAN device. # If you have more than one, make sure each one is identified in a whitespace # separated list that's assigned to WLAN_DEVICES. WLAN_DEVICES="wlan0" # Below is the list of channels to scan, when we scan. ChannelList="01:02:03:04:05:06:07:08:09:0a:0b:00:00:00" # Below is the min and max time we linger on a channel during a scan. ChannelMinTime=200 ChannelMaxTime=250 # And here we have the master scan toggle. WLAN_SCAN=n ########## # Note: To bind to a specific network, change the SSID to something different # and create the file /etc/wlan/wlancfg-<SSID> with your network- # specific settings. If this file is not present, the settings in # /etc/wlancfg/wlancfg-DEFAULT are used. # # for example: # SSID_wlan0="linux-wlan" # This expects a file called "/etc/wlan/wlancfg-linux-wlan" to be present. # # Use a SSID of "" to associate with any network in range. ######### SSID_wlan0="203cfr" ENABLE_wlan0=y #SSID_wlan1="" #ENABLE_wlan1=n #SSID_wlan2="" #ENABLE_wlan2=n