[ltp] problem using a wireless lan card
Bryan Ford
linux-thinkpad@www.bm-soft.com
Thu, 19 Jul 2001 12:10:41 -0700
Hello all:
I am a new linux user and I am having trouble getting a wireless networking
card to work on my thinkpad. I have been reading the list for a few weeks
and I have seen some very skilled analysis. This issue may have been
discussed on the list in the past but I was unable to find a solution in
the archives. I am hoping someone on the list can give me a lead on how to
troubleshoot the problem.
I have an IBM Thinkpad A21P on which I dual boot Windows 2000 and debian
2.2r3 (Libranet 1.9.1 with a 2.4.3 kernel) I also have a D-Link DWL-650
pcmcia wireless lan adapter. Under windows 2000, the D-Link wireless lan
adapter card works fine. Under Linux, the card doesn't work. I can't figure
out why.
When I went to the D-Link web site it referred me to the wireless lan
project at http://www.linux-wlan.org/. The wireless lan resources for Linux
site (http://www.hpl.hp.com/personal/Jean_Tourilhes/Linux) states that the
D-Link card is an Intersil PrismII based card and refers me to the wireless
lan project for the drivers. From this site, I downloaded the latest driver
linux-wlan-ng-0.1.8-pre13.tar.gz After downloading the file and reading the
installation instructions, I compiled and installed the pcmcia source,
compiled and installed linux-wlan-ng-0.1.8 and wireless tools for linux. I
also edited the files /etc/pcmcia/wlan-ng.opts and /etc/pcmcia/network.opts
and I checked to confirm that /etc/pcmcia/wlan-ng.conf contained a
reference to the d-link card.
I think that I have faithfully followed the instructions in the relevant
readme files and the wireless lan howto but the card does not work. When I
ran lsmod, the prism module was not listed. When I checked
/lib/modules/2.4.3/pcmcia I found the file prism2_cs.o where it was
supposed to be. When I attempted to run iwconfig, I got a message like
wireless extentions not installed. When I looked in the syslog, I found the
following messages:
[snip]
Jul 16 17:29:15 libranet cardmgr[157]: socket 1: D-Link DWL-650 11Mbps
802.11b WLAN Card
[snip]
Jul 16 17:29:15 libranet kernel: Linux PCMCIA Card Services 3.1.22
[snip]
Jul 16 17:29:15 libranet cardmgr[157]: executing: 'modprobe prism2_cs'
Jul 16 17:29:15 libranet cardmgr[157]: + /lib/modules/2.4.3/net/p80211.o:
unresolved symbol netlink_kernel_create
Jul 16 17:29:15 libranet cardmgr[157]: + /lib/modules/2.4.3/net/p80211.o:
unresolved symbol netlink_broadcast
Jul 16 17:29:15 libranet cardmgr[157]: + /lib/modules/2.4.3/net/p80211.o:
insmod /lib/modules/2.4.3/net/p80211.o failed
Jul 16 17:29:15 libranet cardmgr[157]: + /lib/modules/2.4.3/net/p80211.o:
insmod prism2_cs failed
Jul 16 17:29:15 libranet cardmgr[157]: + Note: /etc/modules.conf is more
recent than /lib/modules/2.4.3/modules.dep
Jul 16 17:29:15 libranet cardmgr[157]: modprobe exited with status 255
Jul 16 17:29:15 libranet cardmgr[157]: executing: 'insmod
/lib/modules/2.4.3/pcmcia/prism2_cs.o'
Jul 16 17:29:15 libranet cardmgr[157]: +
/lib/modules/2.4.3/pcmcia/prism2_cs.o: unresolved symbol p80211pb_alloc_p80211
Jul 16 17:29:15 libranet cardmgr[157]: +
/lib/modules/2.4.3/pcmcia/prism2_cs.o: unresolved symbol p802addr_to_str
Jul 16 17:29:15 libranet cardmgr[157]: +
/lib/modules/2.4.3/pcmcia/prism2_cs.o: unresolved symbol p80211pb_free
Jul 16 17:29:15 libranet cardmgr[157]: +
/lib/modules/2.4.3/pcmcia/prism2_cs.o: unresolved symbol register_wlandev
Jul 16 17:29:15 libranet cardmgr[157]: +
/lib/modules/2.4.3/pcmcia/prism2_cs.o: unresolved symbol p80211netdev_rx
Jul 16 17:29:15 libranet cardmgr[157]: +
/lib/modules/2.4.3/pcmcia/prism2_cs.o: unresolved symbol unregister_wlandev
Jul 16 17:29:15 libranet cardmgr[157]: +
/lib/modules/2.4.3/pcmcia/prism2_cs.o: unresolved symbol wlan_setup
Jul 16 17:29:15 libranet cardmgr[157]: +
/lib/modules/2.4.3/pcmcia/prism2_cs.o: unresolved symbol wlan_unsetup
Jul 16 17:29:15 libranet cardmgr[157]: insmod exited with status 1
I have compiled my kernel with networking support, Wireless lan,
PCMCIA/cardbus support PCMCIA network device support, PCMCIA wireless lan,
Hermes support (orinoco/wavelan IEEE/PrismII/Symbol 802.11b) and
Kernel/user netlink socket
Here are a few possibly relevant snipets from the file created by menuconfig:
[SNIP]
#
# PCMCIA/CardBus support
#
CONFIG_PCMCIA=y
CONFIG_CARDBUS=y
# CONFIG_I82365 is not set
# CONFIG_TCIC is not set
CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=y
CONFIG_PM=y
CONFIG_ACPI=y
# CONFIG_APM is not set
[SNIP]
#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
CONFIG_NETLINK=y
CONFIG_RTNETLINK=y
CONFIG_NETLINK_DEV=y
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
CONFIG_FILTER=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
[snip]
#
# Wireless LAN (non-hamradio)
#
CONFIG_NET_RADIO=y
# CONFIG_STRIP is not set
# CONFIG_WAVELAN is not set
# CONFIG_ARLAN is not set
# CONFIG_AIRONET4500 is not set
# CONFIG_AIRONET4500_NONCS is not set
# CONFIG_AIRONET4500_PROC is not set
[SNIP]
#
# PCMCIA network device support
#
CONFIG_NET_PCMCIA=y
CONFIG_PCMCIA_3C589=m
CONFIG_PCMCIA_3C574=m
# CONFIG_PCMCIA_FMVJ18X is not set
CONFIG_PCMCIA_PCNET=y
# CONFIG_PCMCIA_NMCLAN is not set
# CONFIG_PCMCIA_SMC91C92 is not set
# CONFIG_PCMCIA_XIRC2PS is not set
# CONFIG_ARCNET_COM20020_CS is not set
# CONFIG_PCMCIA_IBMTR is not set
# CONFIG_PCMCIA_XIRTULIP is not set
CONFIG_NET_PCMCIA_RADIO=y
CONFIG_PCMCIA_RAYCS=y
CONFIG_PCMCIA_HERMES=y
CONFIG_PCMCIA_NETWAVE=m
CONFIG_PCMCIA_WAVELAN=m
# CONFIG_AIRONET4500_CS is not set
CONFIG_PCMCIA_NETCARD=y
The only things that appear to be error messages in during the wireless
make install are the following:
[snip]
make[2]: Leaving directory
`/root/Wireless_lan/linux-wlan-ng-0.1.8-pre13/src/wlancfg' /sbin/depmod -a
depmod: *** Unresolved symbols in
/lib/modules/2.4.3/kernel/net/ipv4/netfilter/ip_queue.o
depmod: *** Unresolved symbols in /lib/modules/2.4.3/net/p80211.o
depmod: *** Unresolved symbols in
/usr/lib/alsa-modules/2.4.3/0.5/snd-card-share.o
depmod: *** Unresolved symbols in /usr/lib/alsa-modules/2.4.3/0.5/snd-gus.o
depmod: *** Unresolved symbols in /usr/lib/alsa-modules/2.4.3/0.5/snd-seq.o
make[1]: Leaving directory `/root/Wireless_lan/linux-wlan-ng-0.1.8-pre13/src'
[snip]
When I run depmod I get:
libranet:~# depmod -ae
depmod: *** Unresolved symbols in /lib/modules/2.4.3/net/p80211.o
depmod: netlink_kernel_create
depmod: netlink_broadcast
depmod: *** Unresolved symbols in
/usr/lib/alsa-modules/2.4.3/0.5/snd-card-share.o
depmod: irq_stat_R28adff37
depmod: *** Unresolved symbols in /usr/lib/alsa-modules/2.4.3/0.5/snd-gus.o
depmod: irq_stat_R28adff37
depmod: *** Unresolved symbols in /usr/lib/alsa-modules/2.4.3/0.5/snd-seq.o
depmod: irq_stat_R28adff37
libranet:~#
Since I am new to linux, I don't know what trouble shooting tools are
available or where I should start. I have attempted to recompile my kernel
with a variety of options and I have not been able to make the wireless
card work. HELP! I would appreciate any guidance anyone could offer.
Thanks in advance.
Bryan Ford
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html