Hat auch nicht geklappt
Es gibt ja noch eine Anleitung die was mit den UDEV macht die Klappt auch nicht?
Quellen-Anfang
Variante B - Geräte-ID zum System hinzufügen
Sollte das nicht funktionieren, gibt es eine zweite Möglichkeit. Mit einen kleinen Trick kann die benötigte Geräte ID zum System hinzugefügt werden. Dann wird der Systemtreiber rt2870sta verwendet. Sofern installiert muss zuvor der selbst gebaute Treiber V2.3.0.0 wieder entfernt werden.
Treiber entfernen wenn manuell kompiliert und in das System eingebunden:
cd
cd RT2870_LinuxSTA_V2.3.0.0
sudo make uninstall
Geräte-ID hinzufügen:
echo 'install rt2870sta modprobe --ignore-install rt2870sta ; /bin/echo "1737 0078" > /sys/bus/usb/drivers/rt2870/new_id' | sudo tee /etc/modprobe.d/rt2870sta.conf
07d1 3c0f
Was ich machen muss:
echo 'install rt2870sta modprobe --ignore-install rt2870sta ; /bin/echo "07d1 3c0f" > /sys/bus/usb/drivers/rt2870/new_id' | sudo tee /etc/modprobe.d/rt2870sta.conf
oder muss das so sein???:Alles nur Geraten
echo 'install rt3370sta modprobe --ignore-install rt3370sta ; /bin/echo "07d1 3c0f" > /sys/bus/usb/drivers/ rt3370/new_id' | sudo tee /etc/modprobe.d/ rt3370sta.conf
Testen:
sudo modprobe -rf rt2870sta
sudo modprobe -v rt2870sta
dmesg | egrep 'rt28|usb|Phy'
iwconfig
Treiber automatisch laden:
echo rt2870sta | sudo tee -a /etc/modules
oder eleganter wenn der Stick tatsächlich verwendet wird mittels udev-Regel:
sudo gedit /etc/udev/rules.d/10-wusb100.rules
Inhalt:
# UDEV-Rule for wusb-100v2 ID 1737:0078
SUBSYSTEM=="usb", ATTR{idVendor}=="1737", ATTR{idProduct}=="0078", RUN+="/sbin/modprobe rt2870sta"
Udev-System neu laden
sudo service udev reload
Quelle:http://forum.ubuntuusers.de/post/2264257/
Quellen-Ende
Was ist den Damit?
Mit dem Befehl sollte man doch schauen können b.z.w die WLAN Kanäle für Deutschland einstellen.
Weil unten Channel 0 steht?
chintter@chintter-laptop:~$ sudo iw reg set DE
[sudo] password for chintter:
nl80211 not found.
Gibt es überhaupt einen Channel 0?
Naja Blinken Tut der WLAN-Stick auch nicht
chintter@chintter-laptop:~$ iwlist chan
lo no frequency information.
eth0 no frequency information.
ra0 0 channels
pan0 no frequency information.
Ob das Richtig war? habe überall rt3370sta eingefügt und es hat irgendwas gemacht
chintter@chintter-laptop:~$ cd
chintter@chintter-laptop:~$ cd RT2870_LinuxSTA_V2.3.0.0
bash: cd: RT2870_LinuxSTA_V2.3.0.0: Datei oder Verzeichnis nicht gefunden
chintter@chintter-laptop:~$ echo 'install rt2870sta modprobe --ignore-install rt2870sta ; /bin/echo "1737 0078" > /sys/bus/usb/drivers/rt2870/new_id' | sudo tee /etc/modprobe.d/rt2870sta.conf
[sudo] password for chintter:
install rt2870sta modprobe --ignore-install rt2870sta ; /bin/echo "1737 0078" > /sys/bus/usb/drivers/rt2870/new_id
chintter@chintter-laptop:~$ sudo modprobe -rf rt2870sta
FATAL: Module rt2870sta not found.
chintter@chintter-laptop:~$ cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
snd_powermac
apm_emu
snd-powermac
therm_adt746x
chintter@chintter-laptop:~$ grep rt2 /etc/modprobe.d/*
/etc/modprobe.d/blacklist.conf:blacklist rt2800usb
/etc/modprobe.d/blacklist.conf:blacklist rt2870sta
/etc/modprobe.d/rt2870sta.conf:install rt2870sta modprobe --ignore-install rt2870sta ; /bin/echo "1737 0078" > /sys/bus/usb/drivers/rt2870/new_id
chintter@chintter-laptop:~$ ls -l /etc/modprobe.d/
insgesamt 32
-rw-r--r-- 1 root root 2386 2010-01-29 01:01 alsa-base.conf
-rw-r--r-- 1 root root 325 2010-04-14 06:30 blacklist-ath_pci.conf
-rw-r--r-- 1 root root 1643 2012-04-02 18:42 blacklist.conf
-rw-r--r-- 1 root root 213 2010-04-14 06:30 blacklist-firewire.conf
-rw-r--r-- 1 root root 660 2010-04-14 06:30 blacklist-framebuffer.conf
-rw-r--r-- 1 root root 156 2010-01-29 01:01 blacklist-modem.conf
lrwxrwxrwx 1 root root 41 2012-04-02 16:48 blacklist-oss.conf -> /lib/linux-sound-base/noOSS.modprobe.conf
-rw-r--r-- 1 root root 1077 2010-04-14 06:30 blacklist-watchdog.conf
lrwxrwxrwx 1 root root 21 2012-04-02 16:48 oss-compat.conf -> /lib/oss-compat/linux
-rw-r--r-- 1 root root 115 2012-04-04 16:57 rt2870sta.conf
chintter@chintter-laptop:~$ echo 'install rt2870sta modprobe --ignore-install rt2870sta ; /bin/echo "07d1 3c0f" > /sys/bus/usb/drivers/rt2870/new_id' | sudo tee /etc/modprobe.d/rt2870sta.conf
[sudo] password for chintter:
install rt2870sta modprobe --ignore-install rt2870sta ; /bin/echo "07d1 3c0f" > /sys/bus/usb/drivers/rt2870/new_id
chintter@chintter-laptop:~$ sudo modprobe -rf rt2870sta
FATAL: Module rt2870sta not found.
chintter@chintter-laptop:~$ echo 'install rt3370sta modprobe --ignore-install rt3370sta ; /bin/echo "07d1 3c0f" > /sys/bus/usb/drivers/ rt3370/new_id' | sudo tee /etc/modprobe.d/ rt3370sta.conf
tee: /etc/modprobe.d/: Ist ein Verzeichnis
install rt3370sta modprobe --ignore-install rt3370sta ; /bin/echo "07d1 3c0f" > /sys/bus/usb/drivers/ rt3370/new_id
chintter@chintter-laptop:~$ sudo modprobe -rf rt3370sta
chintter@chintter-laptop:~$ sudo modprobe -v rt3370sta
insmod /lib/modules/2.6.32-40-powerpc/kernel/drivers/net/wireless/rt3370sta.ko
chintter@chintter-laptop:~$ dmesg | egrep 'rt33|usb|Phy'
[ 0.031209] usbcore: registered new interface driver usbfs
[ 0.031253] usbcore: registered new interface driver hub
[ 0.031368] usbcore: registered new device driver usb
[ 4.056212] usb usb1: configuration #1 chosen from 1 choice
[ 4.131693] usb usb2: configuration #1 chosen from 1 choice
[ 4.207670] usb usb3: configuration #1 chosen from 1 choice
[ 4.283690] usb usb4: configuration #1 chosen from 1 choice
[ 4.368067] usb 1-1: new high speed USB device using ehci_hcd and address 2
[ 4.525621] usb 1-1: configuration #1 chosen from 1 choice
[ 4.944071] usb 2-1: new full speed USB device using ohci_hcd and address 2
[ 5.148313] usb 2-1: configuration #1 chosen from 1 choice
[ 5.451972] usb 4-1: new low speed USB device using ohci_hcd and address 2
[ 5.663326] usb 4-1: configuration #1 chosen from 1 choice
[ 5.715455] usbcore: registered new interface driver hiddev
[ 5.723190] input: PS/2+USB Mouse as /devices/pci0001:10/0001:10:1b.1/usb4/4-1/4-1:1.0/input/input5
[ 5.723641] generic-usb 0003:04F3:0210.0001: input,hidraw0: USB HID v1.11 Mouse [PS/2+USB Mouse] on usb-0001:10:1b.1-1/input0
[ 5.723722] usbcore: registered new interface driver usbhid
[ 5.724064] usbhid: v2.6:USB HID core driver
[ 25.779147] rtusb init --->
[ 25.822747] usbcore: registered new interface driver rt2870
[ 26.390078] usbcore: registered new interface driver btusb
[ 5513.107117] usb 1-1: USB disconnect, address 2
[ 5513.107396] rtusb_disconnect: unregister usbnet usb-0001:10:1b.2-1
[ 5516.899961] usb 1-1: new high speed USB device using ehci_hcd and address 4
[ 5517.050401] usb 1-1: configuration #1 chosen from 1 choice
[ 6190.829476] usbcore: deregistering interface driver rt2870
[ 6190.829564] rtusb_disconnect: unregister usbnet usb-0001:10:1b.2-1
[ 6190.845663] <--- rtusb exit
[ 6213.391667] rtusb init --->
[ 6213.409455] usbcore: registered new interface driver rt2870
chintter@chintter-laptop:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
pan0 no wireless extensions.
ra0 Ralink STA
chintter@chintter-laptop:~$ echo rt3370sta | sudo tee -a /etc/modules
rt3370sta
Habe versucht Manuell diesen Eintrag zu machen im UDEV Ordner also die Datei
# UDEV-Rule for wusb-100v2 ID 07d1:3c0f
SUBSYSTEM=="usb", ATTR{idVendor}=="07d1", ATTR{idProduct}=="3c0f", RUN+="/sbin/modprobe rt3370sta"
Stehen tut das drin
# This file maintains persistent names for network interfaces.
# See udev(7) for syntax.
#
# Entries are automatically added by the 75-persistent-net-generator.rules
# file; however you are also free to add your own entries.
# PCI device 0x106b:0x0032 (gem)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0a:95:e6:79:42", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# USB device 0x07d1:0x3c0f (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="34:08:04:99:fb:e0", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
# USB device 0x07d1:0x3c0f (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="08:34:99:04:e0:fb", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="ra*", NAME="ra0"