Reliable USB WiFi?
28 Oct 2017 05:19 #100910
by DaOne
Reliable USB WiFi? was created by DaOne
I have tried 3 different USB wifi adapters and all 3 work but unreliably. They are very slow and disconnect frequently. Is there a known good one that fully works on 10.04?
Please Log in or Create an account to join the conversation.
28 Oct 2017 07:54 #100914
by emcPT
Replied by emcPT on topic Reliable USB WiFi?
Same here with Wheezy, I tested a lot probably 1 year ago, then I quit the idea, simply unreliable.
Did not tested with Stretch.
Did not tested with Stretch.
Please Log in or Create an account to join the conversation.
30 Oct 2017 10:23 #101007
by rodw
Replied by rodw on topic Reliable USB WiFi?
After 3 USB wifi dongles, I would be questioning your access point. I replaced a cheap TP link router I installed in my garage for LinuxCNC with a not much more expensive Netgear access point and now I have reliable wifi.
Please Log in or Create an account to join the conversation.
- InMyDarkestHour
- Offline
- User is blocked
Less
More
- Posts: 701
- Thank you received: 111
30 Oct 2017 10:46 #101008
by InMyDarkestHour
Replied by InMyDarkestHour on topic Reliable USB WiFi?
I tired a couple of different wifi routers and the best I found was a TP-Link TL-WR1043N/ND v1 with OpenWrt firmware.
Rather than go with USB dongle grab a wifi router and use it as bridge between your Ethernet port and existing wifi network.
Rather than go with USB dongle grab a wifi router and use it as bridge between your Ethernet port and existing wifi network.
Please Log in or Create an account to join the conversation.
31 Oct 2017 05:10 #101042
by DaOne
Replied by DaOne on topic Reliable USB WiFi?
Its not the router. I have many devices on this router and the only one with a problem is this machine. Its a know issue that the drivers in 10.04 are problematic. Tormach sells a USB adapter but even the one they sell has reports of being unreliable.
Please Log in or Create an account to join the conversation.
31 Oct 2017 09:08 #101043
by tecno
Replied by tecno on topic Reliable USB WiFi?
I have the same problem, access point is working OK in my workshop with other units (phone/tablet) but not my LCNC PC.
TP-Link TL-WN725N is not even detected but works just fine with my RPi:s.
Is there some drivers to be installed or what?
Tried other much older USB dongle type WiFi with same result but working OK with RPi.
USB port is fully functional with USB Memory that I use for file transfer.
Any ideas?
TP-Link TL-WN725N is not even detected but works just fine with my RPi:s.
Is there some drivers to be installed or what?
Tried other much older USB dongle type WiFi with same result but working OK with RPi.
USB port is fully functional with USB Memory that I use for file transfer.
Any ideas?
Please Log in or Create an account to join the conversation.
- InMyDarkestHour
- Offline
- User is blocked
Less
More
- Posts: 701
- Thank you received: 111
31 Oct 2017 09:16 - 31 Oct 2017 09:18 #101044
by InMyDarkestHour
Replied by InMyDarkestHour on topic Reliable USB WiFi?
Seems you need rtl8188eu driver
Ubuntu write up here:
askubuntu.com/questions/678134/how-to-in...u-ubuntu-14-04-3-lts
But I'd try lsusb and to get the vendor:device id and go from there.
To find out what driver your RPi is using run lsmod with the dongle in and lsmod with the dongle out, compare the outputs and that should give you an idea of the driver needed.
Ubuntu write up here:
askubuntu.com/questions/678134/how-to-in...u-ubuntu-14-04-3-lts
But I'd try lsusb and to get the vendor:device id and go from there.
To find out what driver your RPi is using run lsmod with the dongle in and lsmod with the dongle out, compare the outputs and that should give you an idea of the driver needed.
Last edit: 31 Oct 2017 09:18 by InMyDarkestHour.
Please Log in or Create an account to join the conversation.
31 Oct 2017 10:14 #101046
by tecno
Replied by tecno on topic Reliable USB WiFi?
lsub
ID 0bda:8187 >>> this is the older wifi dongle with RTL8187
ID:0bda:8179 >>> TL-WN725N
Am I correct assuming a RTL-8187 driver would do the job for both WiFi dongles?
ID 0bda:8187 >>> this is the older wifi dongle with RTL8187
ID:0bda:8179 >>> TL-WN725N
pi@raspberrypi:~ $ lsmod >>>>> Original RPi
Module Size Used by
bnep 12051 2
hci_uart 20020 1
btbcm 7916 1 hci_uart
bluetooth 365511 22 hci_uart,bnep,btbcm
brcmfmac 222874 0
brcmutil 9092 1 brcmfmac
cfg80211 543027 1 brcmfmac
rfkill 20851 4 bluetooth,cfg80211
snd_bcm2835 24427 1
snd_pcm 98501 1 snd_bcm2835
snd_timer 23968 1 snd_pcm
snd 70032 5 snd_timer,snd_bcm2835,snd_pcm
bcm2835_gpiomem 3940 0
evdev 12423 6
joydev 9988 0
usbtouchscreen 13983 0
fixed 3285 0
uio_pdrv_genirq 3923 0
uio 10204 1 uio_pdrv_genirq
i2c_dev 6913 0
fuse 99603 3
ipv6 408971 60
pi@raspberrypi:~ $
pi@raspberrypi:~ $ lsmod >>>>> Older RTL8187 USB Dongle
Module Size Used by
ctr 4263 4
ccm 9009 2
arc4 2211 2
rtl8187 33671 0
eeprom_93cx6 4138 1 rtl8187
mac80211 655480 1 rtl8187
bnep 12051 2
hci_uart 20020 1
btbcm 7916 1 hci_uart
bluetooth 365511 22 hci_uart,bnep,btbcm
brcmfmac 222874 0
brcmutil 9092 1 brcmfmac
cfg80211 543027 3 mac80211,brcmfmac,rtl8187
rfkill 20851 5 bluetooth,cfg80211
snd_bcm2835 24427 1
snd_pcm 98501 1 snd_bcm2835
snd_timer 23968 1 snd_pcm
snd 70032 5 snd_timer,snd_bcm2835,snd_pcm
bcm2835_gpiomem 3940 0
evdev 12423 6
joydev 9988 0
usbtouchscreen 13983 0
fixed 3285 0
uio_pdrv_genirq 3923 0
uio 10204 1 uio_pdrv_genirq
i2c_dev 6913 0
fuse 99603 3
ipv6 408971 46
pi@raspberrypi:~ $
pi@raspberrypi:~ $ lsmod >>> TL-WN725N
Module Size Used by
sg 20825 0
r8188eu 439218 0
ctr 4263 0
ccm 9009 0
arc4 2211 0
rtl8187 33671 0
eeprom_93cx6 4138 1 rtl8187
mac80211 655480 1 rtl8187
bnep 12051 2
hci_uart 20020 1
btbcm 7916 1 hci_uart
bluetooth 365511 22 hci_uart,bnep,btbcm
brcmfmac 222874 0
brcmutil 9092 1 brcmfmac
cfg80211 543027 4 mac80211,r8188eu,brcmfmac,rtl8187
rfkill 20851 5 bluetooth,cfg80211
snd_bcm2835 24427 1
snd_pcm 98501 1 snd_bcm2835
snd_timer 23968 1 snd_pcm
snd 70032 5 snd_timer,snd_bcm2835,snd_pcm
bcm2835_gpiomem 3940 0
evdev 12423 6
joydev 9988 0
usbtouchscreen 13983 0
fixed 3285 0
uio_pdrv_genirq 3923 0
uio 10204 1 uio_pdrv_genirq
i2c_dev 6913 0
fuse 99603 3
ipv6 408971 46
pi@raspberrypi:~ $
Am I correct assuming a RTL-8187 driver would do the job for both WiFi dongles?
Please Log in or Create an account to join the conversation.
- InMyDarkestHour
- Offline
- User is blocked
Less
More
- Posts: 701
- Thank you received: 111
31 Oct 2017 23:15 #101089
by InMyDarkestHour
Replied by InMyDarkestHour on topic Reliable USB WiFi?
No it's the r8188eu driver (which seems to be a vendor supplied kernel). The Ubuntu references I found mention rtl8188eu. To be honest I really haven't delved into the differences. One may have been merged into later mainline kernels.
Based on the id this is some info
wikidevi.com/wiki/TP-LINK_TL-WN725N_v2
Unfortunately I've gone to the darkside and am running machinekit on a BeagleBone Black with a custom designed & made cape and daughter boards.
For my main OS I do run Linux Mint 18.1. I do have some usb dongles that are basically a wikidevi.com/wiki/TP-LINK_TL-WN725N_v1.
After plugging in the dongle and then running dmesg i get the following output.
[ 1475.084132] usb 2-2: new high-speed USB device number 3 using ehci-pci
[ 1475.233839] usb 2-2: New USB device found, idVendor=0bda, idProduct=8176
[ 1475.233846] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1475.233851] usb 2-2: Product: 802.11n WLAN Adapter
[ 1475.233856] usb 2-2: Manufacturer: Realtek
[ 1475.233860] usb 2-2: SerialNumber: 00e04c000001
[ 1475.234829] rtl8192cu: Chip version 0x10
[ 1475.334956] rtl8192cu: Board Type 0
[ 1475.335195] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
[ 1475.335244] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
[ 1475.337858] ieee80211 phy2: Selected rate control algorithm 'rtl_rc'
[ 1476.492556] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 1476.496464] rtl8192cu: MAC auto ON okay!
[ 1476.529624] rtl8192cu: Tx queue select: 0x05
[ 1476.942504] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 1477.011286] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
As you can see the driver loaded is rtl8192cu.
If you can run uname -a on both the Rpi and your Linuxcnc machine that will nail the kernel versions and help nail the required driver. To be perfectly honest I am not overly impressed by the performance of usb wifi dongles, but that's just a personal opinion, and also could be due to computer placement and wifi AP\router locations in my house.
Yeah it can be a bit confusing...different distros, kernel versions and hardware versions of dongles. If you have the patience I can have a good go at helping you out.
Based on the id this is some info
wikidevi.com/wiki/TP-LINK_TL-WN725N_v2
Unfortunately I've gone to the darkside and am running machinekit on a BeagleBone Black with a custom designed & made cape and daughter boards.
For my main OS I do run Linux Mint 18.1. I do have some usb dongles that are basically a wikidevi.com/wiki/TP-LINK_TL-WN725N_v1.
After plugging in the dongle and then running dmesg i get the following output.
[ 1475.084132] usb 2-2: new high-speed USB device number 3 using ehci-pci
[ 1475.233839] usb 2-2: New USB device found, idVendor=0bda, idProduct=8176
[ 1475.233846] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1475.233851] usb 2-2: Product: 802.11n WLAN Adapter
[ 1475.233856] usb 2-2: Manufacturer: Realtek
[ 1475.233860] usb 2-2: SerialNumber: 00e04c000001
[ 1475.234829] rtl8192cu: Chip version 0x10
[ 1475.334956] rtl8192cu: Board Type 0
[ 1475.335195] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
[ 1475.335244] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
[ 1475.337858] ieee80211 phy2: Selected rate control algorithm 'rtl_rc'
[ 1476.492556] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 1476.496464] rtl8192cu: MAC auto ON okay!
[ 1476.529624] rtl8192cu: Tx queue select: 0x05
[ 1476.942504] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 1477.011286] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
As you can see the driver loaded is rtl8192cu.
If you can run uname -a on both the Rpi and your Linuxcnc machine that will nail the kernel versions and help nail the required driver. To be perfectly honest I am not overly impressed by the performance of usb wifi dongles, but that's just a personal opinion, and also could be due to computer placement and wifi AP\router locations in my house.
Yeah it can be a bit confusing...different distros, kernel versions and hardware versions of dongles. If you have the patience I can have a good go at helping you out.
Please Log in or Create an account to join the conversation.
01 Nov 2017 14:13 - 01 Nov 2017 14:24 #101134
by tecno
Replied by tecno on topic Reliable USB WiFi?
No Go with TP-Link. Did some digging and found old Zonet ZEW2500P that is recognized.
bengt@CNC3000:~$ uname -a
Linux CNC3000 4.9.0-3-rt-686-pae #1 SMP PREEMPT RT Debian 4.9.30-2+deb9u2 (2017-06-26) i686 GNU/Linux
WiFi is found, I have 2 different working and this PC can not go on-line, both these work OK with other devices.
But this works fine via cable to one these adapters I have, this is written from the shop.
As I only have 1 RJ45 port that will be occupied with Mesa 7i76e I need WiFi to get updates etc not having to fiddle with RJ45 cable.
This Zonet is noty tested yet on RPi but will be shortly. Results NOW TESTED and working OK on RPi
bengt@CNC3000:~$ lsusb
Bus 001 Device 002: ID 148f:2570 Ralink Technology, Corp. RT2570 Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 05d5:6781 Super Gate Technology Co., Ltd
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
bengt@CNC3000:~$ lsmod
Module Size Used by
iTCO_wdt 16384 0
iTCO_vendor_support 16384 1 iTCO_wdt
ppdev 20480 0
arc4 16384 2
joydev 20480 0
evdev 20480 10
rt2500usb 32768 0
rt2x00usb 20480 1 rt2500usb
rt2x00lib 49152 2 rt2x00usb,rt2500usb
mac80211 577536 2 rt2x00lib,rt2x00usb
cfg80211 462848 2 rt2x00lib,mac80211
rfkill 20480 3 cfg80211
coretemp 16384 0
serio_raw 16384 0
pcspkr 16384 0
sg 32768 0
lpc_ich 20480 0
mfd_core 16384 1 lpc_ich
snd_hda_codec_realtek 61440 1
snd_hda_codec_generic 65536 1 snd_hda_codec_realtek
rng_core 16384 0
parport_pc 28672 0
parport 40960 2 parport_pc,ppdev
snd_hda_intel 32768 3
snd_hda_codec 94208 3 snd_hda_intel,snd_hda_codec_generic,snd_hda_codec_realtek
i915 1175552 3
snd_hda_core 57344 4 snd_hda_intel,snd_hda_codec,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hwdep 16384 1 snd_hda_codec
video 36864 1 i915
snd_pcm 86016 3 snd_hda_intel,snd_hda_codec,snd_hda_core
drm_kms_helper 114688 1 i915
snd_timer 28672 1 snd_pcm
snd 57344 13 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_generic,snd_hda_codec_realtek,snd_pcm
drm 253952 5 i915,drm_kms_helper
soundcore 16384 1 snd
shpchp 32768 0
i2c_algo_bit 16384 1 i915
button 16384 1 i915
acpi_cpufreq 20480 0
ip_tables 20480 0
x_tables 20480 1 ip_tables
autofs4 36864 2
ext4 512000 1
crc16 16384 1 ext4
jbd2 77824 1 ext4
crc32c_generic 16384 2
fscrypto 24576 1 ext4
ecb 16384 0
xts 16384 0
lrw 16384 0
gf128mul 20480 2 lrw,xts
ablk_helper 16384 0
cryptd 20480 1 ablk_helper
aes_i586 20480 0
mbcache 16384 2 ext4
hid_generic 16384 0
usbhid 45056 0
hid 94208 2 hid_generic,usbhid
sd_mod 40960 3
ata_generic 16384 0
ata_piix 32768 2
libata 192512 2 ata_piix,ata_generic
ehci_pci 16384 0
uhci_hcd 40960 0
psmouse 114688 0
ehci_hcd 65536 1 ehci_pci
i2c_i801 24576 0
scsi_mod 180224 3 sd_mod,libata,sg
r8169 73728 0
i2c_smbus 16384 1 i2c_i801
mii 16384 1 r8169
usbcore 184320 7 rt2x00lib,usbhid,rt2x00usb,ehci_hcd,uhci_hcd,rt2500usb,ehci_pci
usb_common 16384 1 usbcore
fan 16384 0
thermal 20480 0
bengt@CNC3000:~$
bengt@CNC3000:~$ uname -a
Linux CNC3000 4.9.0-3-rt-686-pae #1 SMP PREEMPT RT Debian 4.9.30-2+deb9u2 (2017-06-26) i686 GNU/Linux
WiFi is found, I have 2 different working and this PC can not go on-line, both these work OK with other devices.
But this works fine via cable to one these adapters I have, this is written from the shop.
As I only have 1 RJ45 port that will be occupied with Mesa 7i76e I need WiFi to get updates etc not having to fiddle with RJ45 cable.
This Zonet is noty tested yet on RPi but will be shortly. Results NOW TESTED and working OK on RPi
Last edit: 01 Nov 2017 14:24 by tecno. Reason: added test result
Please Log in or Create an account to join the conversation.
Moderators: cncbasher
Time to create page: 0.142 seconds