usb wifi

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
hatahata
Posts: 26
Joined: Thu Jul 07, 2016 3:42 am

usb wifi

Post by hatahata »

hi ll .

RTL8188EUS is easely recognized and it works.

i dettach RTL8188EUS and attach Ralink Technology, Corp. RT5370 .

but
RT5370 does not work .
i erase rhe contet of '/etc/udev/rules.d/70-persistent-net.rules'
then
RT5370 begins to work well .

-----

Code: Select all

root@DietPi:/home/pi# lsusb
Bus 001 Device 005: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Bus 001 Device 004: ID 1d57:ad03 Xenta 
Bus 001 Device 003: ID 05e3:0751 Genesys Logic, Inc. 
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@DietPi:/home/pi# 
root@DietPi:/home/pi# ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 00:13:ef:bb:00:78  
          inet addr:192.168.80.104  Bcast:192.168.80.255  Mask:255.255.255.0
          inet6 addr: fe80::213:efff:febb:78/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:229 errors:0 dropped:0 overruns:0 frame:0
          TX packets:150 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:26524 (25.9 KiB)  TX bytes:32035 (31.2 KiB)


User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Re: usb wifi

Post by Fourdee »

Hi,

Thanks for the report.

Which device are you running?
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
hatahata
Posts: 26
Joined: Thu Jul 07, 2016 3:42 am

Re: usb wifi

Post by hatahata »

i like Ralink Technology, Corp. RT5370 .
because it has 10cm rod antena .
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Re: usb wifi

Post by Fourdee »

hatahata wrote:i like Ralink Technology, Corp. RT5370 .
because it has 10cm rod antena .
Thanks.
i erase rhe contet of '/etc/udev/rules.d/70-persistent-net.rules'
then
RT5370 begins to work well .
This file /etc/udev/rules.d/70-persistent-net.rules doesn't exist on DietPi (at least on a default installation). Could it be possible its something you may of added manually?
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
hatahata
Posts: 26
Joined: Thu Jul 07, 2016 3:42 am

Re: usb wifi

Post by hatahata »

no

i did dietpi-config .
because 70-persistent-net.rules is too complex to edit it by hand .

the problem is that recognizing ralink after rtl is impossible by dietpi-config .
but
after rm the content of /etc/udev/rules.d/70-persistent-net.rules , dietpi-config works and ralink works .

Code: Select all

cat /etc/udev/rules.d/70-persistent-net.rules
# USB device 0x:0x (rt2800usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:13:ef:bb:00:78", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
i think 64bit OS is dificult , so openssh-server does not work completely .


your saing is also right .
i again change wifi ralink to rtl .
i do dietpi-config ,

Code: Select all

cat /etc/udev/rules.d/70-persistent-net.rules
cat /etc/network/interfaces
#/etc/network/interfaces
#Please use DietPi-Config to modify network settings.

# Local
auto lo
iface lo inet loopback

# Ethernet
allow-hotplug eth0
iface eth0 inet dhcp
metric 0
address 192.168.0.100
netmask 255.255.255.0
gateway 192.168.0.1
#dns-nameservers 8.8.8.8 8.8.4.4

# Wifi
allow-hotplug wlan1
iface wlan1 inet dhcp
metric 1
address 192.168.0.100
netmask 255.255.255.0
gateway 192.168.0.1
wireless-essid tenda
wireless-key 22222222222222222
wireless-mode Managed
wireless-power off
wpa-ssid tenda
wpa-psk 222222222222222222
#dns-nameservers 8.8.8.8 8.8.4.4
[/color]

----
regards
Post Reply