LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-27-2012, 11:41 AM   #1
arijspieter
Member
 
Registered: Oct 2012
Location: /home
Distribution: Debian
Posts: 32

Rep: Reputation: 1
wifi USB dongle "wlan0 no scan results"


first of all, hello everyone! i'm a belgian student and i'm new to linux and new to this forum (but i am an experienced Windows tweaker)

I started with Debian Squeeze a few days ago and i already love it (minimal installation with XFCE)
The problem is that i want my wireless lan to work in debian, but it doesn't

My USB Wifi dongle: D-Link DWL-G122 (USB: 07D1:3C0F)
Debian wiki told me i needed the RT2870 driver so i went to this page and followed the steps: http://wiki.debian.org/rt2870sta

It now looks as if the adapter works as its light blinks and it is listed
- lsusb lists my wifi dongle correct
- iwconfig show it to (and it shows "managed access point: not associated"
- iwlist scanning returns no results as i said earlier...

anybody who can help me out? thanks in advance
 
Old 10-29-2012, 02:32 AM   #2
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Debian like
Posts: 710
Blog Entries: 2

Rep: Reputation: 68
First step: make an extensive posting here of diverse outputs.
Which outputs? look at "troubleshooting wireless networking" in the internet and you will find diverse pages with recommendations http://www.linuxhomenetworking.com/w...ess_Networking or http://www.ubuntugeek.com/how-to-tro...in-ubuntu.html or..
My first Idea would be: have you loaded all modules required? In TinyCoreLinux you would need wireless_tools.tcz, wireless-3.0.21-tinycore.tcz, firmware.tcz, libiw.tcz, wpa_supplicant.tcz, openssl-1.0.0.tcz
For the reason I never installed wifi on debian, I dont know what is needed. Have a look at the debian wiki. Here http://wiki.debian.org/de/WiFi.
Personally, I would load WICD: I had sucess with it on ubuntu.

Last edited by floppy_stuttgart; 10-29-2012 at 02:34 AM.
 
Old 10-29-2012, 06:56 AM   #3
arijspieter
Member
 
Registered: Oct 2012
Location: /home
Distribution: Debian
Posts: 32

Original Poster
Rep: Reputation: 1
thanks your help

unfortunately i have don't have a menu bar in the terminal so i can't copy anything from terminal in here (problem posted here: http://www.linuxquestions.org/questi...nu-4175434340/)

anyway, i installed debian squeeze as minimal as possible and then added the following packages:
xorg xfce4 synaptic gdebi wicd slim iceweasel geany wireless-tools firmware-ralink

as you can see wicd is installed and wireless-tools and firmware-ralink to
as soon as i've got a terminal menu (i never had one, still don't know why) i'll post the output of several commands

Last edited by arijspieter; 10-29-2012 at 06:59 AM. Reason: wrong package name
 
Old 10-30-2012, 02:44 AM   #4
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Debian like
Posts: 710
Blog Entries: 2

Rep: Reputation: 68
Post an output? use the ">" command sign.
In a terminal, make for example "dmesg". You can create the output in a file with "dmesg > dmesgfile.txt".
Then with "leafpad dmesgfile.txt" you can edit that file with leafpad.
This file can be putted onto an usb stick or send via a mail application (howto? this is another story..).
The file from the usb stick can be loaded on another PC.
 
Old 10-30-2012, 08:12 AM   #5
arijspieter
Member
 
Registered: Oct 2012
Location: /home
Distribution: Debian
Posts: 32

Original Poster
Rep: Reputation: 1
ifconfig
Code:
eth0      Link encap:Ethernet  HWaddr 54:04:a6:da:5f:58  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:20 Memory:f6500000-f6520000 

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:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:560 (560.0 B)  TX bytes:560 (560.0 B)

wlan0     Link encap:Ethernet  HWaddr f0:7d:68:61:03:ca  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
iwconfig
Code:
wlan0     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=8 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
lsusb
Code:
Bus 004 Device 009: ID d904:0003  
Bus 004 Device 006: ID 0b05:179c ASUSTek Computer, Inc. 
Bus 004 Device 005: ID 046d:c31c Logitech, Inc. Keyboard K120 for Business
Bus 004 Device 003: ID 07d1:3c0f D-Link System AirPlus G DWL-G122 Wireless Adapter(rev.E) [Ralink RT2870]    <------------------- WIFI DONGLE
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
/etc/network/interfaces (i've tried changing this file without success)
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
you can find dmesg in attachment (too long to post here)
Attached Files
File Type: txt odmesg.txt (59.0 KB, 33 views)
 
Old 10-30-2012, 03:08 PM   #6
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Debian like
Posts: 710
Blog Entries: 2

Rep: Reputation: 68
with google "firmware requesting rt2870.bin" of your dmesg you find few indications.
here http://wiki.debian.org/rt2870sta say you should have at least the firmware-ralink 0.17 and...
Troubleshooting
You may be required to blacklist the in-tree rt2800usb driver to allow your device to be claimed by rt2870sta.
...
Here http://forums.opensuse.org/english/g...ng-11-2-a.html
here http://www.linuxquestions.org/questi...see-it-809590/
1. as root, edit the file "/etc/modprobe.d/blacklist.conf" and add the line "blacklist rt2800usb" to the end of the file.
2. turn your computer off and back on again. (shutdown and reboot, don't just yank the cord out!)
So, I think, blacklist in debian ? Had you done it? or not..?

Last edited by floppy_stuttgart; 10-30-2012 at 04:27 PM.
 
1 members found this post helpful.
Old 10-30-2012, 04:52 PM   #7
arijspieter
Member
 
Registered: Oct 2012
Location: /home
Distribution: Debian
Posts: 32

Original Poster
Rep: Reputation: 1
thanks man! got it working now

i gave google another try with the dmesg output and i found a complete answer here: http://forums.debian.net/viewtopic.p...f5647&start=30
this is what i did
Code:
/etc/modprobe.d/blacklist-rt2800usb.conf
    blacklist rt2800usb

/etc/NetworkManager/NetworkManager.conf
    [main]
    plugins=ifupdown,keyfile

    [ifupdown]
    managed=true

Run this command as root:
    update-initramfs -u
 
Old 11-02-2012, 01:52 PM   #8
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Debian like
Posts: 710
Blog Entries: 2

Rep: Reputation: 68
Can you please put here the result of "lsmod | grep rt" here ?
I am having myself an issue with the debian testing version.. http://www.linuxquestions.org/questi...cd-4175435256/
 
Old 11-11-2012, 03:18 PM   #9
arijspieter
Member
 
Registered: Oct 2012
Location: /home
Distribution: Debian
Posts: 32

Original Poster
Rep: Reputation: 1
i'm sorry about the late reply, copletely forgot about your question

anyway, i'm using wheezy now and everything works
here is the output you requested:

Code:
snd_virtuoso           34917  1 
snd_oxygen_lib         32809  1 snd_virtuoso
snd_mpu401_uart        13507  1 snd_oxygen_lib
rt2800usb              17753  0 
rt2x00usb              17679  1 rt2800usb
snd_rawmidi            23060  2 snd_seq_midi,snd_mpu401_uart
rt2800lib              43713  1 rt2800usb
rt2x00lib              38335  3 rt2800lib,rt2x00usb,rt2800usb
mac80211              192768  3 rt2x00lib,rt2800lib,rt2x00usb
cfg80211              137193  2 mac80211,rt2x00lib
iTCO_vendor_support    12704  1 iTCO_wdt
crc_ccitt              12347  1 rt2800lib
snd                    52850  13 snd_timer,snd_seq_device,snd_seq,snd_hda_codec,snd_pcm,snd_hwdep,snd_rawmidi,snd_hda_intel,snd_mpu401_uart,snd_oxygen_lib,snd_virtuoso,snd_hda_codec_hdmi
usbcore               128640  7 ehci_hcd,xhci_hcd,usbhid,ath3k,rt2x00usb,rt2800usb
 
  


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
[SOLVED] Connecting USB 3G dongle device as "modem" Isix Linux - Hardware 14 01-02-2011 06:49 AM
iwlist no scan results: wlan0 still worked clementis Linux - Wireless Networking 2 03-24-2008 06:20 AM
net working eth0 eth1 wlan0 "no connection" "no LAN" "no wi-fi" Cayitano Linux - Newbie 5 12-09-2007 08:11 PM
ndiswrapper + bcmwl5, no scan results from "hidden" networks enigma_0Z Linux - Wireless Networking 2 10-06-2006 01:02 AM
"wlan0" interface not recognized with NETGEAR WG111 USB Wireless Network Adapter lasindi Slackware - Installation 3 09-24-2005 06:51 PM


All times are GMT -5. The time now is 02:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration