LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 07-23-2009, 11:47 PM   #1
mrj
Member
 
Registered: Jun 2007
Location: Orange County, California
Distribution: debian
Posts: 41

Rep: Reputation: 15
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?
 
Old 07-24-2009, 01:40 AM   #2
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,785

Rep: Reputation: Disabled
Quote:
Originally Posted by mrj View Post
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
 
Old 07-24-2009, 03:28 AM   #3
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,733
Blog Entries: 12

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
try running lspci or lsusb and posting the results.
 
Old 07-24-2009, 01:11 PM   #4
mrj
Member
 
Registered: Jun 2007
Location: Orange County, California
Distribution: debian
Posts: 41

Original Poster
Rep: Reputation: 15
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.
 
Old 07-24-2009, 01:26 PM   #5
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 673
Blog Entries: 11

Rep: Reputation: 36
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
 
Old 07-25-2009, 12:28 AM   #6
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,785

Rep: Reputation: Disabled
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
 
Old 07-27-2009, 03:58 PM   #7
mrj
Member
 
Registered: Jun 2007
Location: Orange County, California
Distribution: debian
Posts: 41

Original Poster
Rep: Reputation: 15
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.
 
Old 07-28-2009, 12:47 AM   #8
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,785

Rep: Reputation: Disabled
Does your wifi connection use wpa or wep? If the former you may need to install wpa_supplicant.
cheers,
jdk
 
Old 08-05-2009, 08:21 AM   #9
jim_p
Member
 
Registered: Aug 2009
Distribution: Debian testing
Posts: 493

Rep: Reputation: 111Reputation: 111
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.
 
Old 08-05-2009, 10:21 AM   #10
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,476

Rep: Reputation: Disabled
You'll need the backports repo enabled to get wicd for Lenny:

http://packages.debian.org/lenny-backports/wicd

http://backports.org/dokuwiki/doku.php

Last edited by the trooper; 08-05-2009 at 10:23 AM.
 
Old 08-05-2009, 11:35 AM   #11
mrj
Member
 
Registered: Jun 2007
Location: Orange County, California
Distribution: debian
Posts: 41

Original Poster
Rep: Reputation: 15
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.
 
Old 08-05-2009, 01:33 PM   #12
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,785

Rep: Reputation: Disabled
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
 
Old 08-05-2009, 05:27 PM   #13
mrj
Member
 
Registered: Jun 2007
Location: Orange County, California
Distribution: debian
Posts: 41

Original Poster
Rep: Reputation: 15
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).
 
Old 08-05-2009, 11:19 PM   #14
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,785

Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting the internal wireless card on Hp 6530b laptop to work on Debian 2.6.24.4 JohnJayMack Linux - Newbie 6 02-24-2009 09:30 PM
IP config problem on laptop wifi port (ip2100) - Debian Etch/KDE alias59 Linux - Wireless Networking 1 08-22-2008 02:22 PM
Compaq V5305WM Laptop, Debian Etch, can't connect to wifi bubazoo Linux - Wireless Networking 3 04-19-2007 07:33 PM
Trouble getting built in Wifi to work with Suse 9.1 (HP laptop) mello Linux - Wireless Networking 1 09-14-2004 01:24 PM


All times are GMT -5. The time now is 01:35 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration