Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wireless Internet > Unable to use Wireless adapter in Debian

Forgot Password?
 Wireless Internet   Anything related to getting wireless set up in Linux. WLAN, WiFi, etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 01-05-2009   #1 (permalink)
Linux Newbie
 
Join Date: Mar 2008
Location: United Kingdom
Posts: 101
Unable to use Wireless adapter in Debian

Hello there,
I recently installed debian.4.0.r6.i386 on my system. The installation does not seem to detect my Belkin Wireless G Notebook card (model F5D7010). It will be apprecited if someone could interpret the excerpts below and recommend a solution.

Regards,

biniman

1. lspci -nn gives the following (abridged):

02:00.0 Ethernet controller [0200]: Belkin Unknown device [1799:701f] (rev 20)


2. lsmod gives the following (abridged):

pcmcia 34140 0
snd_ali5451 21196 1
firmware_class 9600 1 pcmcia
snd_ac97_codec 83104 1 snd_ali5451
snd_ac97_bus 2400 1 snd_ac97_codec
irtty_sir 7808 0
sir_dev 15492 1 irtty_sir
snd_pcm_oss 38368 0
snd_mixer_oss 15200 1 snd_pcm_oss
irda 162588 2 irtty_sir,sir_dev
parport_pc 32132 1
parport 33256 3 ppdev,lp,parport_pc
snd_pcm 68676 3 snd_ali5451,snd_ac97_codec,snd_pcm_oss
snd_timer 20996 1 snd_pcm
serio_raw 6660 0
i2c_ali15x3 7332 0
i2c_ali1535 6596 0
crc_ccitt 2240 1 irda
rtc 12372 0
floppy 53124 0
snd 47012 8 snd_ali5451,snd_ac97_codec,snd_pcm_oss,snd_mixer_o ss,snd_pcm,snd_timer
soundcore 9248 1 snd
snd_page_alloc 10184 1 snd_pcm
psmouse 35016 0
pcspkr 3072 0
i2c_core 19680 2 i2c_ali15x3,i2c_ali1535
ati_agp 8652 1
agpgart 29896 2 drm,ati_agp
yenta_socket 24460 2
rsrc_nonstatic 11840 1 yenta_socket
pcmcia_core 36852 3 pcmcia,yenta_socket,rsrc_nonstatic
shpchp 33024 0
pci_hotplug 28704 1 shpchp
evdev 9088 1
eth1394 18212 0
ext3 119336 1
jbd 52456 1 ext3
mbcache 8356 1 ext3
ide_cd 36064 0
cdrom 32544 1 ide_cd
ide_disk 14848 2
generic 4868 0 [permanent]
natsemi 25280 0
alim15x3 10924 0 [permanent]
ide_core 110504 4 ide_cd,ide_disk,generic,alim15x3
ohci1394 30800 0
ieee1394 86904 3 sbp2,eth1394,ohci1394
ohci_hcd 18276 0

3. dmesg gives the following (abridged):

device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com
pcmcia: Detected deprecated PCMCIA ioctl usage from process: discover.
pcmcia: This interface will soon be removed from the kernel; please expect breakage unless you upgrade to new tools.
pcmcia: see Linux Kernel 2.6 PCMCIA for details.

4. dmesg | grep firmware did not yield any output.

5. uname -r gives 2.6.18-6-686
biniman is offline  


Reply With Quote
Old 01-05-2009   #2 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,106
Hiya, I found this Ubuntu thread, which if you can modify it slightly should give you a lot of help, it seems this card uses different chips with every version release or so.
Drivers for Belkin Wireless G Notebook Card [Archive] - Ubuntu Forums
You should probably try using the version of NDISWrapper that Debian supplies. Do let us know if you get stuck or just need to ask a question.
__________________
I do not respond to private messages asking for help.
Please keep it on the forums only.
MikeTbob is online now   Reply With Quote
Old 01-06-2009   #3 (permalink)
Linux Newbie
 
Join Date: Mar 2008
Location: United Kingdom
Posts: 101
Thanks Mike. I wish that I could follow the HowTo exactly as presented. Unfortunately, I could not follow it.

First, the http://ndiswrapper.sourceforge.net/j...,33/id,list_b/ did not work. I went to Realtek. I could not find any Linux driver listed for RTL8185L. But there were three Linux drivers listed for RTL8187L. One of them was for Linux kernel 2.6.22. This was certainly not for me because I am using kernel 2.6.18. Not sure which to choose between the other two options, I decided to download both. I unpacked the files in each package, but I could not find any of the files specified in the HowTo. I tried to follow the installation instructions for the Debian 3.1 package. Sadly, this resulted in error 127 messages. At this point I stopped because I was getting even more confused. Here are the contents of the Debian 3.1 package:

drwxr-xr-x 2 root root 4096 2006-01-17 21:08 module
-rw-r--r-- 1 jonathan jonathan 59784 2006-01-17 16:10 module_DB31.tar.gz
-rw-r--r-- 1 jonathan jonathan 3194 2006-01-24 15:09 ReadMe.txt
-rw-r--r-- 1 jonathan jonathan 19784 2005-10-20 20:32 wpa1.conf
drwxr-xr-x 3 jonathan users 4096 2009-01-06 02:45 wpa_supplicant-0.3.8
-rw-r--r-- 1 jonathan jonathan 301163 2005-02-14 02:27 wpa_supplicant-0.3.8.tar.gz

1. The contents of the module directory are shown below:
-rw-r--r-- 1 root root 8665 2006-01-17 21:07 ieee80211_crypt_ccmp-rtl.ko
-rw-r--r-- 1 root root 7895 2006-01-17 21:07 ieee80211_crypt-rtl.ko
-rw-r--r-- 1 root root 11630 2006-01-17 21:07 ieee80211_crypt_tkip-rtl.ko
-rw-r--r-- 1 root root 6520 2006-01-17 21:07 ieee80211_crypt_wep-rtl.ko
-rw-r--r-- 1 root root 67575 2006-01-17 21:07 ieee80211-rtl.ko
-rwxr-xr-x 1 root root 204 2006-01-17 21:08 load
-rw-r--r-- 1 root root 50148 2006-01-17 21:07 r8187.ko
-rwxr-xr-x 1 root root 201 2006-01-17 21:08 unload


2. The contents of the wpa_supplicant-0.3.8 directory are shown below:
-rw-r--r-- 1 jonathan users 54567 2005-02-14 01:55 aes.c
-rw-r--r-- 1 jonathan users 14964 2005-02-14 01:55 aes_wrap.c
-rw-r--r-- 1 jonathan users 879 2005-02-14 01:55 aes_wrap.h
-rw-r--r-- 1 jonathan users 20881 2005-02-14 01:50 ChangeLog
-rw-r--r-- 1 jonathan users 6234 2005-02-14 01:55 common.c
-rw-r--r-- 1 jonathan users 6338 2005-02-14 01:55 common.h
-rw-r--r-- 1 root root 4633 2009-01-06 02:48 .config
-rw-r--r-- 1 jonathan users 24675 2005-02-05 04:19 config.c
-rw-r--r-- 1 jonathan users 838 2005-01-06 05:10 config.h
-rw-r--r-- 1 jonathan users 2828 2005-01-08 06:59 config_ssid.h
-rw-r--r-- 1 jonathan users 18007 2005-02-14 01:55 COPYING
-rw-r--r-- 1 jonathan users 1641 2005-01-08 07:30 crypto.c
-rw-r--r-- 1 jonathan users 247 2005-01-08 07:30 crypto.h
-rw-r--r-- 1 jonathan users 17860 2005-01-29 18:17 ctrl_iface.c
-rw-r--r-- 1 jonathan users 714 2004-12-12 05:52 ctrl_iface.h
-rw-r--r-- 1 jonathan users 74 2005-02-12 04:29 .cvsignore
-rw-r--r-- 1 jonathan users 4634 2005-02-06 17:04 defconfig
-rw-r--r-- 1 jonathan users 226 2005-01-05 07:49 defs.h
-rw-r--r-- 1 jonathan users 14599 2005-02-06 18:59 developer.txt
drwxr-xr-x 2 jonathan users 4096 2005-02-14 01:55 doc
-rw-r--r-- 1 jonathan users 12127 2005-01-22 19:57 driver_atmel.c
-rw-r--r-- 1 jonathan users 15184 2005-01-22 04:35 driver_broadcom.c
-rw-r--r-- 1 jonathan users 16322 2004-12-05 19:00 driver_bsd.c
-rw-r--r-- 1 jonathan users 15612 2005-01-08 06:59 driver.h
-rw-r--r-- 1 jonathan users 13438 2005-01-22 19:57 driver_hostap.c
-rw-r--r-- 1 jonathan users 10946 2005-02-06 17:06 driver_ipw.c
-rw-r--r-- 1 jonathan users 11336 2005-02-05 04:23 driver_madwifi.c
-rw-r--r-- 1 jonathan users 4335 2005-01-05 07:49 driver_ndis_.c
-rw-r--r-- 1 jonathan users 41535 2005-01-26 02:59 driver_ndis.c
-rw-r--r-- 1 jonathan users 461 2004-12-19 20:35 driver_ndis.h
-rw-r--r-- 1 jonathan users 8143 2005-01-22 19:57 driver_ndiswrapper.c
-rw-r--r-- 1 jonathan users 9859 2005-01-22 19:57 driver_prism54.c
-rw-r--r-- 1 jonathan users 3167 2005-02-06 17:04 drivers.c
-rw-r--r-- 1 jonathan users 3348 2005-02-05 04:24 driver_test.c
-rw-r--r-- 1 jonathan users 32706 2005-02-05 04:23 driver_wext.c
-rw-r--r-- 1 jonathan users 968 2005-02-05 04:23 driver_wext.h
-rw-r--r-- 1 jonathan users 26353 2005-01-08 06:59 eap_aka.c
-rw-r--r-- 1 jonathan users 30384 2005-01-22 19:28 eap.c
-rw-r--r-- 1 jonathan users 1410 2004-12-05 06:05 eap_defs.h
-rw-r--r-- 1 jonathan users 50399 2005-01-25 04:38 eap_fast.c
-rw-r--r-- 1 jonathan users 4221 2005-01-08 06:59 eap_gtc.c
-rw-r--r-- 1 jonathan users 2247 2004-12-13 01:32 eap.h
-rw-r--r-- 1 jonathan users 2848 2005-01-02 20:37 eap_i.h
-rw-r--r-- 1 jonathan users 10247 2005-01-22 19:28 eap_leap.c
-rw-r--r-- 1 jonathan users 2844 2005-01-22 19:28 eap_md5.c
-rw-r--r-- 1 jonathan users 15037 2005-01-22 19:28 eap_mschapv2.c
-rw-r--r-- 1 jonathan users 34620 2005-02-04 04:30 eapol_sm.c
-rw-r--r-- 1 jonathan users 4515 2005-01-07 07:04 eapol_sm.h
-rw-r--r-- 1 jonathan users 25158 2005-02-03 04:09 eapol_test.c
-rw-r--r-- 1 jonathan users 2741 2005-01-08 06:59 eap_otp.c
-rw-r--r-- 1 jonathan users 22910 2005-02-04 04:30 eap_peap.c
-rw-r--r-- 1 jonathan users 15522 2005-01-22 19:28 eap_psk.c
-rw-r--r-- 1 jonathan users 29182 2005-01-22 19:28 eap_sim.c
-rw-r--r-- 1 jonathan users 19345 2005-01-22 19:28 eap_sim_common.c
-rw-r--r-- 1 jonathan users 3681 2005-01-02 02:48 eap_sim_common.h
-rw-r--r-- 1 jonathan users 12031 2005-01-02 21:36 eap_testing.txt
-rw-r--r-- 1 jonathan users 5873 2005-01-25 04:38 eap_tls.c
-rw-r--r-- 1 jonathan users 9056 2005-02-03 04:10 eap_tls_common.c
-rw-r--r-- 1 jonathan users 1580 2005-01-25 04:38 eap_tls_common.h
-rw-r--r-- 1 jonathan users 4300 2005-01-22 19:28 eap_tlv.c
-rw-r--r-- 1 jonathan users 1719 2005-01-01 02:08 eap_tlv.h
-rw-r--r-- 1 jonathan users 38401 2005-02-04 04:30 eap_ttls.c
-rw-r--r-- 1 jonathan users 1397 2005-01-01 18:45 eap_ttls.h
-rw-r--r-- 1 jonathan users 7867 2005-02-14 01:55 eloop.c
-rw-r--r-- 1 jonathan users 1925 2005-02-14 01:55 eloop.h
-rw-r--r-- 1 jonathan users 19549 2005-02-14 01:55 hostap_common.h
-rw-r--r-- 1 jonathan users 8990 2005-01-05 07:49 l2_packet.c
-rw-r--r-- 1 jonathan users 919 2004-12-19 20:35 l2_packet.h
-rw-r--r-- 1 jonathan users 7935 2005-02-14 01:55 Makefile
-rw-r--r-- 1 jonathan users 10836 2005-02-14 01:55 md5.c
-rw-r--r-- 1 jonathan users 996 2005-02-14 01:55 md5.h
-rw-r--r-- 1 jonathan users 9785 2005-01-08 06:59 ms_funcs.c
-rw-r--r-- 1 jonathan users 998 2004-12-26 22:10 ms_funcs.h
-rw-r--r-- 1 jonathan users 8079 2004-12-19 19:35 ndis_events.cpp
-rw-r--r-- 1 jonathan users 4980 2005-01-01 05:27 openssl-tls-extensions.patch
-rw-r--r-- 1 jonathan users 19827 2005-01-08 07:30 pcsc_funcs.c
-rw-r--r-- 1 jonathan users 1398 2005-01-08 07:30 pcsc_funcs.h
-rw-r--r-- 1 jonathan users 9284 2005-01-08 06:59 preauth_test.c
-rw-r--r-- 1 jonathan users 1515 2004-07-06 02:57 priv_netlink.h
-rw-r--r-- 1 jonathan users 17848 2004-12-13 01:48 radius_client.c
-rw-r--r-- 1 jonathan users 2188 2004-06-14 03:16 radius_client.h
-rw-r--r-- 1 jonathan users 1385 2005-02-14 01:55 rc4.c
-rw-r--r-- 1 jonathan users 184 2005-02-14 01:55 rc4.h
-rw-r--r-- 1 jonathan users 31221 2005-02-06 18:02 README
-rw-r--r-- 1 jonathan users 11542 2005-01-06 05:45 README-Windows.txt
-rw-r--r-- 1 jonathan users 25739 2005-02-14 01:55 sha1.c
-rw-r--r-- 1 jonathan users 1635 2005-02-14 01:55 sha1.h
-rw-r--r-- 1 jonathan users 10505 2005-01-08 06:59 tls.h
-rw-r--r-- 1 jonathan users 538 2004-09-18 20:11 tls_none.c
-rw-r--r-- 1 jonathan users 21065 2005-01-24 04:26 tls_openssl.c
-rw-r--r-- 1 jonathan users 2995 2005-02-07 02:59 todo.txt
-rw-r--r-- 1 jonathan users 89 2005-02-14 01:50 version.h
-rw-r--r-- 1 jonathan users 915 2005-01-06 05:49 win_if_list.c
-rw-r--r-- 1 jonathan users 37608 2005-02-14 01:55 wireless_copy.h
-rw-r--r-- 1 jonathan users 70102 2005-02-13 18:47 wpa.c
-rw-r--r-- 1 jonathan users 20327 2005-02-05 06:51 wpa_cli.c
-rw-r--r-- 1 jonathan users 4960 2005-01-06 05:10 wpa_ctrl.c
-rw-r--r-- 1 jonathan users 572 2004-07-04 22:15 wpa_ctrl.h
-rw-r--r-- 1 jonathan users 3497 2005-01-08 06:59 wpa.h
-rw-r--r-- 1 jonathan users 1157 2004-02-09 19:52 wpa_passphrase.c
-rw-r--r-- 1 jonathan users 65556 2005-02-05 06:51 wpa_supplicant.c
-rw-r--r-- 1 jonathan users 19036 2005-01-25 04:38 wpa_supplicant.conf
-rw-r--r-- 1 jonathan users 2829 2005-01-31 04:25 wpa_supplicant.h
-rw-r--r-- 1 jonathan users 12170 2005-01-31 04:25 wpa_supplicant_i.h

I apologize for having to bother anyone with the above listing. Can anyone make anything out of it? If I wasn't confused before, I am certainly confused now.

bini.
biniman is offline   Reply With Quote
Old 01-07-2009   #4 (permalink)
Linux Newbie
 
Join Date: Mar 2008
Location: United Kingdom
Posts: 101
Guys! Please help. I am beginning to feel like I am in a hopless situation. Learning Linux has been rather frustrating for me, but I am not turning back. Your contributions go far in urging me on. please do not relent.

Cheers!

biniman
biniman is offline   Reply With Quote
Old 01-07-2009   #5 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,106
I haven't ever tried compiling that driver, but if you look in that directory you will see a readme.txt file, open that and see what it says.
you can browse there with your file manager or you can open it from the command line.
nano /module/readme.txt
__________________
I do not respond to private messages asking for help.
Please keep it on the forums only.
MikeTbob is online now   Reply With Quote
Old 01-07-2009   #6 (permalink)
Linux Newbie
 
Join Date: Mar 2008
Location: United Kingdom
Posts: 101
Thanks Mike. I tried to follow the steps outlined on the ReadMe.txt but I could not make any progress as the wireless card is not even detected. Here's the error message.

pioneer:/belkin-driver# cd wpa_supplicant-0.3.8
pioneer:/belkin-driver/wpa_supplicant-0.3.8# ifconfig wlan0 up
wlan0: ERROR while getting interface flags: No such device
pioneer:/belkin-driver/wpa_supplicant-0.3.8#

This very same card works perfectly on the Windows partition.

Any more ideas?

biniman
biniman is offline   Reply With Quote
Old 01-08-2009   #7 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,106
Post the output of:
/sbin/ifconfig

Is this a PCMCIA device?
__________________
I do not respond to private messages asking for help.
Please keep it on the forums only.
MikeTbob is online now   Reply With Quote
Old 01-08-2009   #8 (permalink)
Linux Newbie
 
Join Date: Mar 2008
Location: United Kingdom
Posts: 101
Here it is:
pioneer:/home/jonathan# /sbin/ifconfig
eth1 Link encap:Ethernet HWaddr 00:0B:CD:16:B0:96
inet addr:192.168.1.8 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20b:cdff:fe16:b096/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16487 errors:0 dropped:0 overruns:0 frame:0
TX packets:6993 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5325746 (5.0 MiB) TX bytes:1368756 (1.3 MiB)
Interrupt:10 Base address:0x6000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:72 errors:0 dropped:0 overruns:0 frame:0
TX packets:72 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5404 (5.2 KiB) TX bytes:5404 (5.2 KiB)

Yes it is a PCMCIA device.
biniman is offline   Reply With Quote
Old 01-08-2009   #9 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,106
Do you have another Ethernet device attached to this machine?
The last output, shows you have connectivity
Quote:
eth1 Link encap:Ethernet HWaddr 00:0B:CD:16:B0:96
inet addr:192.168.1.8 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20b:cdff:fe16:b096/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16487 errors:0 dropped:0 overruns:0 frame:0
TX packets:6993 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5325746 (5.0 MiB) TX bytes:1368756 (1.3 MiB)
Interrupt:10 Base address:0x6000
I'll assume that's the wired connection only.
I would try installing the version of wpa_supplicant that Debian makes available through their repos. Use your package manager to install that, then download this driver from the RealTek website. (I found it)
ftp://202.65.194.212/cn/wlan/rtlwlan-8185(1094).zip (Hard link)
Unzip that, and then try following the README file that should be included.
__________________
I do not respond to private messages asking for help.
Please keep it on the forums only.
MikeTbob is online now   Reply With Quote
Old 01-08-2009   #10 (permalink)
Linux Newbie
 
Join Date: Mar 2008
Location: United Kingdom
Posts: 101
Hi Mike, the link above simply downloaded Windows driver. No use. I had already downloaded the Debian 3.1 package for RTL8587L. I have tried to follow the steps in the ReadMe.txt

ifconfig wlan0 up says there is no such interface.

pioneer:/belkin-driver/wpa_supplicant-0.3.8# make
cc -MMD -O2 -Wall -g -I../driver/modules -I../utils -I../hostapd -DCONFIG_DRIVER_HOSTAP -DCONFIG_DRIVER_WEXT -DCONFIG_DRIVER_PRISM54 -DCONFIG_DRIVER_ATMEL -DCONFIG_DRIVER_IPW -DEAP_TLS -DEAP_PEAP -DEAP_TTLS -DEAP_MD5 -DEAP_MSCHAPv2 -DEAP_GTC -DEAP_OTP -DEAP_LEAP -DEAP_TLV -DIEEE8021X_EAPOL -DEAP_TLS_FUNCS -DPKCS12_FUNCS -DCONFIG_WIRELESS_EXTENSION -DCONFIG_CTRL_IFACE -c -o config.o config.c
make: cc: Command not found
make: *** [config.o] Error 127

My question now is: are there no Linux drivers for Belkin wireless adapters?

How can this installation (debian.4.0.r6.i386) detect the wireless adapter?

biniman
biniman is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 05:27 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2