[ltp] HELP: wireless wlan-ng setup problem with T30 on Mandrake 9.0

Wei Wang linux-thinkpad@linux-thinkpad.org
Wed, 22 Jan 2003 21:30:28 +0000


There have been various reports of successful IBM T30 w/ wlan-ng with 
various distros. (Unfortunately haven't heard a single one on Mandrake yet).

I have Mandrake 9.0 and thinkpad T30 and am trying to make the wireless
care work with wlan-ng 0.1.16-pre8. I've been at this for a week and
just couldn't get it to work.
This is what I've done.

Reconfigure and recompile kernel 2.4.19.(It takes me 50 minutes for the compiling. I don't know what went wrong. But that's another story)

Successful install with "make config", "make all" and "make install"
I've deleted the broken Mandrake 9.0 built-in prism2 driver.

1 modify /etc/rc.local (this is the rc.local to modify, isn't it? there   is another rc.local in /etc/rc.d/
   #modprobe prism2_pci  
   #wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
   #wlanctl-ng wlan0 lnxreq_autojoin ssid=<w-107-CB2-3QG> authtype=opensystem
   #ifconfig wlan0 <yourIP> netmask <yourNetmask> broadcast <yourBroadcast> route add default gw <yourGateway>

   I am using DHCP and automatic IP and don't know what to put here in    <yourIP> and <yourNetmask>, etc.
2 my resolv.conf reads

nameserver 128.232.1.1
nameserver 128.232.1.2
nameserver 128.232.1.3
search cl.cam.ac.uk


3 I didn't try the rc.wlan alternative. I don't know how to do that. 
  Also the only rc.wlan I could find through locate(w/ very recent updatedb)
  are: 
  home/wei/tarball/linux-wlan-ng-0.1.13/etc/rc.wlan
  /home/wei/linux-wlan-ng-0.1.15/etc/rc.wlan
  /home/wei/linux-wlan-ng-0.1.16-pre8/etc/rc.wlan

  

4 wlan.conf:
	SSID_wlan0="lab"
	ENABLE_wlan0=y

  wlan.cfg-lab:
  I don't know how to modify this file. I have a ESSID and a network key but 
  don't know where to put them in this file.


I guess that's all I need to do, right? 

dmesg after boot gives:

PCI: Found IRQ 11 for device 02:02.0
PCI: Sharing IRQ 11 with 00:1d.2
PCI: Sharing IRQ 11 with 00:1f.1
A Prism2.5 PCI device found, phymem:0xf8000000, irq:11, mem:0xf2f20000
wlan_setup: called without wlandev->name set.
prism2sta_probe_pci: prism2_pci: wlan_setup() failed.
init_module: prism2_pci: No devices found, driver not installed.
p80211.o: 0.1.14 Unloaded

If I do modprobe prism2_pci again I get this error message:

/lib/modules/2.4.19-16mdkhope/kernel/drivers/pcmcia/ds.o: init_module: Operation not permitted
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
	  modprobe: insmod /lib/modules/2.4.19-16mdkhope/kernel/drivers/pcmcia/ds.o failed/lib/modules/2.4.19-16mdkhope/net/prism2_pci.o: init_module: No such device
	  Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
	        You may find more information in syslog or the output from dmesg
			modprobe: insmod /lib/modules/2.4.19-16mdkhope/net/prism2_pci.o failed
			modprobe: insmod prism2_pci failed

And this time dmesg reads:
Linux Kernel Card Services Kernel Version
  options:  [pci] [cardbus] [pm]
  ds: no socket drivers loaded!
  unloading Kernel Card Services
  init_module: prism2_pci.o: 0.1.16-pre8 Loaded
  init_module: dev_info is: prism2_pci
  PCI: Found IRQ 11 for device 02:02.0
  PCI: Sharing IRQ 11 with 00:1d.2
  PCI: Sharing IRQ 11 with 00:1f.1
  prism2: Cannot reserve PCI memory region
  init_module: prism2_pci: No devices found, driver not installed.
  p80211.o: 0.1.14 Unloaded


I've been searching google with "wlan_setup: called without wlandev->name set."
but nothing useful came up. 
Does this have anything to do with what I haven't finished in the configuration above(wlan.cfg-lab and rc.local)?


Please help.


Many thanks,

Wei Wang