Debian This forum is for the discussion of Debian Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-23-2009, 11:47 PM
|
#1
|
|
Member
Registered: Jun 2007
Location: Orange County, California
Distribution: debian
Posts: 41
Rep:
|
wifi doesn't work with debian on laptop
I have installed Lenny on my Lenovo thinkpad laptop. When Vista was installed, I was able to establish a wireless connection, but now that lenny is installed, I can't. I presume this is because lenny does not have the correct drivers for my laptop's wifi card or something. Could I just get a usb transmitter or something? I don't know what wifi card is installed. How can I find this out without re-loading vista? Any solutions?
|
|
|
|
07-24-2009, 01:40 AM
|
#2
|
|
Senior Member
Registered: Dec 2008
Location: Gorizia, Italy
Distribution: Debian Testing Amd64
Posts: 3,090
Rep: 
|
Quote:
Originally Posted by mrj
I have installed Lenny on my Lenovo thinkpad laptop. When Vista was installed, I was able to establish a wireless connection, but now that lenny is installed, I can't. I presume this is because lenny does not have the correct drivers for my laptop's wifi card or something. Could I just get a usb transmitter or something? I don't know what wifi card is installed. How can I find this out without re-loading vista? Any solutions?
|
It's kind of hard to help if you don't tell us what wifi card you're using. Or are you waiting for us to guess? 
jdk
|
|
|
|
07-24-2009, 03:28 AM
|
#3
|
|
Senior Member
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
|
try running lspci or lsusb and posting the results.
|
|
|
|
07-24-2009, 01:11 PM
|
#4
|
|
Member
Registered: Jun 2007
Location: Orange County, California
Distribution: debian
Posts: 41
Original Poster
Rep:
|
The output of lspci follows:
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
02:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
0c:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
0d:00.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
0d:00.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
0d:00.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
0d:00.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
0d:00.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff
************************************************************************
There are two lines in here that could be the wireless card description:
02:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
or
0d:00.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
I hope this helps.
|
|
|
|
07-24-2009, 01:26 PM
|
#5
|
|
Member
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 650
Rep:
|
It seems your card is the atheros one, and that it uses madwifi. Even knowing this, support for your card seems pretty recent, so you may still have trouble. I think the starting place is installing the packages 'madwifi-source' and 'madwifi-tools' (... maybe 'madwifi-doc'...). Here is a recent post on this matter I got by googling 'ar242x linux'.
http://www.linuxquestions.org/questi....11abg-646443/
for the record, I use different hardware.
EDIT: maybe this page would be more interesting. Essentially they explain how to use 'module-assistant' tool to build the madwifi software from the 'madwifi-source' package.
http://www.debian-resources.org/node/6
Last edited by radiodee1; 07-24-2009 at 01:43 PM.
Reason: found new link
|
|
|
|
07-25-2009, 12:28 AM
|
#6
|
|
Senior Member
Registered: Dec 2008
Location: Gorizia, Italy
Distribution: Debian Testing Amd64
Posts: 3,090
Rep: 
|
Depending on what kernel you're using, you may have the ath5k driver. I believe that's the one you want. No need for madwifi.
Cheers,
jdk
|
|
|
|
07-27-2009, 03:58 PM
|
#7
|
|
Member
Registered: Jun 2007
Location: Orange County, California
Distribution: debian
Posts: 41
Original Poster
Rep:
|
I installed the wireless tool package:
aptitude update
aptitude install wireless-tools
I loaded the necessary kernel module:
modprobe ath5k
I verified my device has an available interface:
iwconfig
I raised the interface to activqte the radio:
ifconfig wlan0 up
I then configured the wireless interface by installing the network-manager-gnome package and enabling the connection. Still, I am not able to establish a connection. Any suggestions?
Thanks for the responses.
|
|
|
|
07-28-2009, 12:47 AM
|
#8
|
|
Senior Member
Registered: Dec 2008
Location: Gorizia, Italy
Distribution: Debian Testing Amd64
Posts: 3,090
Rep: 
|
Does your wifi connection use wpa or wep? If the former you may need to install wpa_supplicant.
cheers,
jdk
|
|
|
|
08-05-2009, 08:21 AM
|
#9
|
|
Member
Registered: Aug 2009
Distribution: Debian testing
Posts: 454
Rep:
|
Why depend on network manager junk when there is wicd and its in the repos (testing and unstable) ?
I am 99% sure that network manager makes a mess somewhere. Please do a "iwlist scan" as root to verify that the card works with the given module.
|
|
|
|
08-05-2009, 10:21 AM
|
#10
|
|
Senior Member
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,467
Rep: 
|
Last edited by the trooper; 08-05-2009 at 10:23 AM.
|
|
|
|
08-05-2009, 11:35 AM
|
#11
|
|
Member
Registered: Jun 2007
Location: Orange County, California
Distribution: debian
Posts: 41
Original Poster
Rep:
|
This problem was solved using another thread (wicd doesn't "see" my available router). It was solved by installing the latest kernal (even though I previously installed the latest dvd of lenny).
Also I did install wicd.
|
|
|
|
08-05-2009, 01:33 PM
|
#12
|
|
Senior Member
Registered: Dec 2008
Location: Gorizia, Italy
Distribution: Debian Testing Amd64
Posts: 3,090
Rep: 
|
What was the latest kernel? 2.6.30? Is that what you installed and then used the ath5k driver? It will be useful to have the details of your solution for other users. 
cheers,
jdk
|
|
|
|
08-05-2009, 05:27 PM
|
#13
|
|
Member
Registered: Jun 2007
Location: Orange County, California
Distribution: debian
Posts: 41
Original Poster
Rep:
|
I installed ALL the files in the kernel section, using synaptic. The versions for all of the kernel files were 2.6.30. Note that prior to installing the new kernel files, I did, at one point, type:
modprobe ath5k. However, I don't know if this last step is necessary (but you may want to try typing this if you are not having any luck and you are using a wifi interface that requires this driver which can be determined by reading: http://wiki.debian.org/ath5k).
|
|
|
|
08-05-2009, 11:19 PM
|
#14
|
|
Senior Member
Registered: Dec 2008
Location: Gorizia, Italy
Distribution: Debian Testing Amd64
Posts: 3,090
Rep: 
|
Thanks MRJ,
Now if you are happy, can you just go into Thread Tools at the top of these posts and mark this thread as "solved".
Thanks,
jdk
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:19 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|