LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 05-23-2010, 02:52 PM   #1
scotty2024
LQ Newbie
 
Registered: May 2010
Posts: 17

Rep: Reputation: 0
Question Setting up pci wireless card


Hello,

I am having trouble setting up my pci wireless card. Bellow are some steps I have taken.

I followed this guide. I started out by installing wireless-tools.
Code:
aptitude install wireless-tools
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done         
The following NEW packages will be installed:
  wireless-tools 
The following packages will be REMOVED:
  bsh{u} bsh-gcj{u} fastjar{u} gcj-4.3-base{u} gij-4.3{u} java-common{u} 
  java-gcj-compat{u} java-gcj-compat-headless{u} libbcel-java{u} 
  libblas3gf{u} libcurl3{u} libgcj-bc{u} libgcj-common{u} libgcj9-0{u} 
  libgcj9-0-awt{u} libgcj9-jar{u} libgfortran3{u} libhsqldb-java{u} 
  libhsqldb-java-gcj{u} libhyphen0{u} libicu38{u} libjaxp1.3-java{u} 
  libjaxp1.3-java-gcj{u} libjline-java{u} liblapack3gf{u} 
  liblog4j1.2-java{u} libmx4j-java{u} libneon27{u} libregexp-java{u} 
  libservlet2.4-java{u} libssh2-1{u} libstlport4.6ldbl{u} 
  libsuitesparse-3.1.0{u} libwps-0.1-1{u} libxalan2-java{u} 
  libxalan2-java-gcj{u} libxerces2-java{u} libxerces2-java-gcj{u} 
  lp-solve{u} ttf-liberation{u} ttf-opensymbol{u} 
0 packages upgraded, 1 newly installed, 41 to remove and 0 not upgraded.
Need to get 111kB of archives. After unpacking 114MB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Get:1 http://ftp.us.debian.org lenny/main wireless-tools 29-1.1 [111kB]
Fetched 111kB in 0s (190kB/s)      
(Reading database ... 90145 files and directories currently installed.)
Removing bsh-gcj ...
Removing bsh ...
Removing libxalan2-java-gcj ...
Removing libxerces2-java-gcj ...
Removing libxalan2-java ...
Removing libxerces2-java ...
Removing libhsqldb-java-gcj ...
Removing libhsqldb-java ...
Removing libservlet2.4-java ...
Removing libjaxp1.3-java-gcj ...
Removing libjaxp1.3-java ...
Removing libjline-java ...
Removing java-gcj-compat ...
Removing java-gcj-compat-headless ...
Removing libmx4j-java ...
Removing fastjar ...
Removing libgcj9-jar ...
Removing libgcj9-0-awt ...
Removing libgcj-bc ...
Removing lp-solve ...
Removing libsuitesparse-3.1.0 ...
Removing liblapack3gf ...
Removing libblas3gf ...
Removing libcurl3 ...
Removing libgfortran3 ...
Removing libhyphen0 ...
Removing libicu38 ...
Removing libneon27 ...
Removing libssh2-1 ...
Removing libstlport4.6ldbl ...
Removing libwps-0.1-1 ...
Removing ttf-liberation ...
Updating fontconfig cache for /usr/share/fonts/truetype/ttf-liberation
Removing ttf-opensymbol ...
Updating fontconfig cache...
Removing libbcel-java ...
Removing libregexp-java ...
Removing liblog4j1.2-java ...
Removing gij-4.3 ...
Removing libgcj9-0 ...
Removing gcj-4.3-base ...
Removing java-common ...
Removing libgcj-common ...
Processing triggers for menu ...
Processing triggers for man-db ...
Selecting previously deselected package wireless-tools.
(Reading database ... 89406 files and directories currently installed.)
Unpacking wireless-tools (from .../wireless-tools_29-1.1_i386.deb) ...
Processing triggers for man-db ...
Setting up wireless-tools (29-1.1) ...
Reading package lists... Done             
Building dependency tree       
Reading state information... Done
Reading extended state information       
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
I then ran lspci -nn and found the wireless card was a RaLink RT2561/RT61 802.11g.
Code:
lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 82915G/P/GV/GL/PL/910GL Memory Controller Hub [8086:2580] (rev 04)
00:01.0 PCI bridge [0604]: Intel Corporation 82915G/P/GV/GL/PL/910GL PCI Express Root Port [8086:2581] (rev 04)
00:02.0 VGA compatible controller [0300]: Intel Corporation 82915G/GV/910GL Integrated Graphics Controller [8086:2582] (rev 04)
00:02.1 Display controller [0380]: Intel Corporation 82915G Integrated Graphics Controller [8086:2782] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 [8086:2660] (rev 03)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 [8086:2658] (rev 03)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 [8086:2659] (rev 03)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 [8086:265a] (rev 03)
00:1d.3 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 [8086:265b] (rev 03)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller [8086:265c] (rev 03)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev d3)
00:1e.2 Multimedia audio controller [0401]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller [8086:266e] (rev 03)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge [8086:2640] (rev 03)
00:1f.1 IDE interface [0101]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller [8086:266f] (rev 03)
00:1f.2 IDE interface [0101]: Intel Corporation 82801FB/FW (ICH6/ICH6W) SATA Controller [8086:2651] (rev 03)
00:1f.3 SMBus [0c05]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller [8086:266a] (rev 03)
03:00.0 Network controller [0280]: RaLink RT2561/RT61 802.11g PCI [1814:0301]
03:08.0 Ethernet controller [0200]: Intel Corporation 82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Ethernet Controller [8086:1064] (rev 03)
Based on my wireless card, I was linked to this new guide. I ran an aptitude update.
Code:
aptitude update
Hit http://ftp.us.debian.org lenny Release.gpg
Ign http://ftp.us.debian.org lenny/main Translation-en_US                       
Hit http://volatile.debian.org lenny/volatile Release.gpg                       
Ign http://volatile.debian.org lenny/volatile/main Translation-en_US            
Hit http://ftp.us.debian.org lenny Release                                      
Hit http://security.debian.org lenny/updates Release.gpg                   
Ign http://security.debian.org lenny/updates/main Translation-en_US  
Ign http://ftp.us.debian.org lenny/main Packages/DiffIndex           
Hit http://volatile.debian.org lenny/volatile Release
Ign http://ftp.us.debian.org lenny/main Sources/DiffIndex           
Get:1 http://ftp.us.debian.org lenny/non-free Sources [48.8kB]       
Hit http://security.debian.org lenny/updates Release                 
Ign http://security.debian.org lenny/updates/main Packages/DiffIndex    
Ign http://volatile.debian.org lenny/volatile/main Packages/DiffIndex
Ign http://security.debian.org lenny/updates/main Sources/DiffIndex
Ign http://volatile.debian.org lenny/volatile/main Sources/DiffIndex
Hit http://security.debian.org lenny/updates/main Packages
Hit http://security.debian.org lenny/updates/main Sources
Hit http://volatile.debian.org lenny/volatile/main Packages
Hit http://volatile.debian.org lenny/volatile/main Sources
Hit http://ftp.us.debian.org lenny/main Packages
Hit http://ftp.us.debian.org lenny/main Sources
Fetched 48.8kB in 1s (25.3kB/s)
Reading package lists... Done
Then it said to install firmware-ralink wireless-tools. This is where I started to run into problems because it couldn't find the firmware-ralink package.
Code:
aptitude install firmware-ralink wireless-tools
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Reading task descriptions... Done  
Couldn't find any package whose name or description matched "firmware-ralink"
Couldn't find any package whose name or description matched "firmware-ralink"
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package lists... Done             
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Reading task descriptions... Done
The rest of the guide continued to fail.
Code:
modprobe rt61pci
iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11  ESSID:""  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
          Tx-Power=0 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B   
          Encryption key:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

ifconfig wlan0 up
SIOCSIFFLAGS: No such file or directory
Does anyone have any suggestions on how I can get this working? Thank you for your help!
 
Old 05-23-2010, 03:07 PM   #2
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Check your /etc/apt/sources.list you need "contrib non-free"

deb http://http.us.debian.org/debian/ lenny main contrib non-free

Change it then run aptitude update, aptitude install firmware-ralink
 
Old 05-23-2010, 03:13 PM   #3
scotty2024
LQ Newbie
 
Registered: May 2010
Posts: 17

Original Poster
Rep: Reputation: 0
Hello craigevil,

Thank you for the reply. I tried that out and it still failed.
Code:
# 
# deb cdrom:[Debian GNU/Linux 5.0.4 _Lenny_ - Official i386 NETINST Binary-1 20100201-16:45]/ lenny main

#deb cdrom:[Debian GNU/Linux 5.0.4 _Lenny_ - Official i386 NETINST Binary-1 20100201-16:45]/ lenny main

deb http://ftp.us.debian.org/debian/ lenny main
deb-src http://ftp.us.debian.org/debian/ lenny main contrib non-free

deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main

deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
Code:
aptitude update
Hit http://ftp.us.debian.org lenny Release.gpg
Ign http://ftp.us.debian.org lenny/main Translation-en_US
Hit http://ftp.us.debian.org lenny Release     
Hit http://security.debian.org lenny/updates Release.gpg            
Ign http://security.debian.org lenny/updates/main Translation-en_US  
Hit http://volatile.debian.org lenny/volatile Release.gpg            
Ign http://volatile.debian.org lenny/volatile/main Translation-en_US 
Ign http://ftp.us.debian.org lenny/main Packages/DiffIndex           
Ign http://ftp.us.debian.org lenny/main Sources/DiffIndex
Get:1 http://ftp.us.debian.org lenny/contrib Sources [39.1kB]
Hit http://security.debian.org lenny/updates Release                     
Hit http://volatile.debian.org lenny/volatile Release                     
Ign http://security.debian.org lenny/updates/main Packages/DiffIndex      
Ign http://security.debian.org lenny/updates/main Sources/DiffIndex
Ign http://volatile.debian.org lenny/volatile/main Packages/DiffIndex
Hit http://security.debian.org lenny/updates/main Packages
Hit http://security.debian.org lenny/updates/main Sources
Ign http://volatile.debian.org lenny/volatile/main Sources/DiffIndex
Hit http://volatile.debian.org lenny/volatile/main Packages
Hit http://volatile.debian.org lenny/volatile/main Sources
Ign http://ftp.us.debian.org lenny/non-free Sources/DiffIndex
Hit http://ftp.us.debian.org lenny/main Packages
Hit http://ftp.us.debian.org lenny/main Sources
Hit http://ftp.us.debian.org lenny/non-free Sources
Fetched 39.1kB in 4s (7912B/s)
Reading package lists... Done

aptitude install firmware-ralink
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Reading task descriptions... Done  
Couldn't find any package whose name or description matched "firmware-ralink"
Couldn't find any package whose name or description matched "firmware-ralink"
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Reading task descriptions... Done
 
Old 05-23-2010, 03:19 PM   #4
scotty2024
LQ Newbie
 
Registered: May 2010
Posts: 17

Original Poster
Rep: Reputation: 0
I just noticed I had -src inlcuded (deb-src http://ftp.us.debian.org/debian/ lenny main contrib non-free). I removed that and ran it again.
Code:
aptitude update
Hit http://ftp.us.debian.org lenny Release.gpg
Ign http://ftp.us.debian.org lenny/main Translation-en_US                       
Hit http://security.debian.org lenny/updates Release.gpg                        
Ign http://security.debian.org lenny/updates/main Translation-en_US             
Hit http://security.debian.org lenny/updates Release                 
Hit http://volatile.debian.org lenny/volatile Release.gpg           
Ign http://volatile.debian.org lenny/volatile/main Translation-en_US 
Ign http://ftp.us.debian.org lenny/contrib Translation-en_US         
Ign http://ftp.us.debian.org lenny/non-free Translation-en_US
Hit http://ftp.us.debian.org lenny Release     
Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
Hit http://volatile.debian.org lenny/volatile Release
Ign http://security.debian.org lenny/updates/main Sources/DiffIndex 
Hit http://security.debian.org lenny/updates/main Packages
Ign http://volatile.debian.org lenny/volatile/main Packages/DiffIndex
Hit http://security.debian.org lenny/updates/main Sources
Ign http://volatile.debian.org lenny/volatile/main Sources/DiffIndex
Ign http://ftp.us.debian.org lenny/main Packages/DiffIndex
Get:1 http://ftp.us.debian.org lenny/contrib Packages [76.2kB]
Hit http://volatile.debian.org lenny/volatile/main Packages
Hit http://volatile.debian.org lenny/volatile/main Sources
Get:2 http://ftp.us.debian.org lenny/non-free Packages [100kB]                  
Hit http://ftp.us.debian.org lenny/main Packages                                
Fetched 177kB in 38s (4562B/s)                                                  
Reading package lists... Done
W: Duplicate sources.list entry http://ftp.us.debian.org lenny/main Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_lenny_main_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems

Current status: 662 new [+662].
apt-get update
Hit http://security.debian.org lenny/updates Release.gpg
Ign http://security.debian.org lenny/updates/main Translation-en_US            
Hit http://security.debian.org lenny/updates Release                           
Ign http://security.debian.org lenny/updates/main Packages/DiffIndex           
Ign http://security.debian.org lenny/updates/main Sources/DiffIndex            
Hit http://ftp.us.debian.org lenny Release.gpg 
Hit http://security.debian.org lenny/updates/main Packages           
Ign http://ftp.us.debian.org lenny/main Translation-en_US            
Ign http://ftp.us.debian.org lenny/contrib Translation-en_US
Ign http://ftp.us.debian.org lenny/non-free Translation-en_US
Hit http://security.debian.org lenny/updates/main Sources
Hit http://volatile.debian.org lenny/volatile Release.gpg
Ign http://volatile.debian.org lenny/volatile/main Translation-en_US
Hit http://volatile.debian.org lenny/volatile Release
Hit http://ftp.us.debian.org lenny Release    
Ign http://volatile.debian.org lenny/volatile/main Packages/DiffIndex
Ign http://ftp.us.debian.org lenny/main Packages/DiffIndex
Ign http://ftp.us.debian.org lenny/contrib Packages/DiffIndex
Ign http://ftp.us.debian.org lenny/non-free Packages/DiffIndex
Ign http://volatile.debian.org lenny/volatile/main Sources/DiffIndex
Hit http://ftp.us.debian.org lenny/main Packages
Hit http://ftp.us.debian.org lenny/contrib Packages
Hit http://ftp.us.debian.org lenny/non-free Packages
Hit http://volatile.debian.org lenny/volatile/main Packages
Hit http://volatile.debian.org lenny/volatile/main Sources
Reading package lists... Done
aptitude install firmware-ralink
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Reading task descriptions... Done  
The following NEW packages will be installed:
  firmware-ralink 
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 11.8kB of archives. After unpacking 69.6kB will be used.
Writing extended state information... Done
Get:1 http://ftp.us.debian.org lenny/non-free firmware-ralink 0.14+lenny2 [11.8kB]
Fetched 11.8kB in 0s (16.8kB/s)      
Selecting previously deselected package firmware-ralink.
(Reading database ... 89445 files and directories currently installed.)
Unpacking firmware-ralink (from .../firmware-ralink_0.14+lenny2_all.deb) ...
Setting up firmware-ralink (0.14+lenny2) ...
Reading package lists... Done             
Building dependency tree       
Reading state information... Done
Reading extended state information       
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
It looks like it was successfull this time. If so how do I now use it to connection to a wireless point?
 
Old 05-23-2010, 03:25 PM   #5
scotty2024
LQ Newbie
 
Registered: May 2010
Posts: 17

Original Poster
Rep: Reputation: 0
Nevermind about my last question. It is working! Thanks you your help!
 
  


Reply



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
Setting up a broadcom 43xx wireless PCI card joshr1041 Slackware 4 11-17-2008 06:56 PM
need help setting up a pci wireless card d1l2w3 Linux - Wireless Networking 9 05-23-2008 09:46 AM
Setting up wireless connection with Topcom (Skyr@cer Pro PC Card 3054/ PCI 154) anigma Linux - Wireless Networking 4 01-02-2006 01:38 PM
desktop wireless card (PCI) and wireless router recommendations lobo78 Linux - Wireless Networking 1 04-30-2004 10:27 PM
setting up Belkin PCI WiFi card Hotfeet Linux - Wireless Networking 9 03-15-2004 02:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:03 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration