Linux - NewbieThis 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
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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...
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 01:34 AM.
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 05:59 AM.
Reason: wrong package name
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.
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)
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 03:27 PM.
/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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.