Currently I am working with a robot project, it requires me to use a more powerful wifi dongle. So I got one, installed the driver, and the wifi dongle is not powered on when I boot it, I have to detatch it and plug it in again, then pi can reconize it, how can I solve this?
And also how can I disable the onboard wifi ---- wlan0, and just use wlan1 (my wifi dongle)?
I am using rapsberry pi 3, and the wifi dongle is RTL 8191SU
problem with extra wifi dongle
Last edited by jzlcrux on Wed Mar 08, 2017 7:37 pm, edited 1 time in total.
Re: problem with extra wifi dongle
Please provide us with more information. Which WiFi dongle? Which chipset does it have? It probably doesn't matter, but which Pi model are you using? Be specific, it will help us to help you.
Run:
and show us the output.
You might want to try something hacky like the following in /etc/rc.local:
Note: That is for a WiFi dongle I have. I'm guessing you have a different one which may require a different driver.
Run:
Code: Select all
lsusb
You might want to try something hacky like the following in /etc/rc.local:
Code: Select all
# load 8812au wifi driver module
modprobe -r 8812au
sleep 2
modprobe 8812au rtw_power_mgnt=0 rtw_enusbss=0 rtw_hwpwrp_detect=0 rtw_ips_mode=0
exit 0
Re: problem with extra wifi dongle
You can disable the onboard wifi by adding a line to /boot/config.txt:
Code: Select all
dtoverlay=pi3-disable-wifi
Re: problem with extra wifi dongle
I am using Raspberry pi 3, and the wifi dongle is RTL 8191SU.ktb wrote:Please provide us with more information. Which WiFi dongle? Which chipset does it have? It probably doesn't matter, but which Pi model are you using? Be specific, it will help us to help you.
Run:and show us the output.Code: Select all
lsusb
You might want to try something hacky like the following in /etc/rc.local:Note: That is for a WiFi dongle I have. I'm guessing you have a different one which may require a different driver.Code: Select all
# load 8812au wifi driver module modprobe -r 8812au sleep 2 modprobe 8812au rtw_power_mgnt=0 rtw_enusbss=0 rtw_hwpwrp_detect=0 rtw_ips_mode=0 exit 0
I use lsusb commands after booting, it reconize the wifi dongle, but there is no wlan1 at the wifi panel.
Re: problem with extra wifi dongle
What drivers did you install? If they are from the manufacturer they're probably not compatible with the Pi.
What exactly is the output of lsusb?
What exactly is the output of lsusb?
Re: problem with extra wifi dongle
Yea, +2 to what DirkS said^. Please show us the output, don't just tell us.
Please provide the output of the following commands as well.
Based on some quick searches, getting your dongle working might not be easy for a beginner. I'm not sure. It sounds like r8712u should be the correct module.
https://wiki.debian.org/rtl819x#Debian_8_.22Jessie.22
https://github.com/chunkeey/rtl8192su
Please provide the output of the following commands as well.
Code: Select all
apt-cache policy firmware-realtek
Code: Select all
lsmod
https://wiki.debian.org/rtl819x#Debian_8_.22Jessie.22
r8712u (supported devices)
Supports USB devices based on the RTL8188SU, RTL8191SU and RTL8192SU chips.
https://wireless.wiki.kernel.org/en/use ... rs/rtl819xDebian 8 "Jessie"
This release supports Realtek RTL8188CE, RTL8188CUS, RTL8188DE, RTL8188EE, RTL8188ETV, RTL8188EU, RTL8188SU, RTL8191SE, RTL8191SU, RTL8192CE, RTL8192CU, RTL8192DE, RTL8192E, RTL8192EE, RTL8192SE, RTL8192SU, RTL8192U, RTL8723AE, RTL8723AU, RTL8723BE, RTL8812AE and RTL8821AE-based devices.
https://github.com/chunkeey/rtl8192su
Last edited by ktb on Wed Mar 08, 2017 8:12 pm, edited 2 times in total.
Re: problem with extra wifi dongle
the chipset is RTL 8191SUDirkS wrote:What drivers did you install? If they are from the manufacturer they're probably not compatible with the Pi.
What exactly is the output of lsusb?
- Attachments
-
- s.JPG (54.56 KiB) Viewed 2012 times
Re: problem with extra wifi dongle
Thank you.
That looks pretty good to me.
Can we see the output of dmesg too?
I suggest trying something like I suggested earlier.
How about you run the following commands and post the output?
Does the dongle have an activity/status light on it? Does it show any activity after running those commands?
EDIT: added sudo, sorry.
That looks pretty good to me.
Can we see the output of dmesg too?
I suggest trying something like I suggested earlier.
How about you run the following commands and post the output?
Code: Select all
ifconfig -a
sudo modprobe -r r8712u
sudo modprobe r8712u
ifconfig -a
dmesg
EDIT: added sudo, sorry.
Re: problem with extra wifi dongle
thank you for your suggestion, however, the code is not working. and the dmesg commands has a loads of output, I only screenshot the last part of the output.ktb wrote:Thank you.
That looks pretty good to me.
Can we see the output of dmesg too?
I suggest trying something like I suggested earlier.
How about you run the following commands and post the output?Does the dongle have an activity/status light on it? Does it show any activity after running those commands?Code: Select all
ifconfig -a sudo modprobe -r r8712u sudo modprobe r8712u ifconfig -a dmesg
EDIT: added sudo, sorry.
The status light is not on during the entire process. And the wifi dongle seems completely dead after pi is rebooted, i have to unplug it manually and plug it in again to activate it, then it works perfectly fine. So I assume that you want me to run the code when wifi dongle is dead?
- Attachments
-
- 55555.GIF (58.31 KiB) Viewed 1897 times
-
- 1234.GIF (43.33 KiB) Viewed 1897 times
Re: problem with extra wifi dongle
It doesn't look like you entered the exact commands I provided. You got the name of the module wrong and you added an extra hyphen character for some reason.
Try again?
The reason I'm having you do this is that at least for one of my dongles when used with the Pi3B, I have to wait until the system has finished booting, remove the module and then load it again to get it to work.
Note: power management should be disabled by default when using the r8712u module.
Try again?
Code: Select all
ifconfig -a
sudo modprobe -r r8712u
sudo modprobe r8712u
ifconfig -a
dmesg
Note: power management should be disabled by default when using the r8712u module.
Re: problem with extra wifi dongle
Interesting line about 6 from the end of the dmesg output. Are you trying to use udev to set the wifi name?
If you don't want to use the inbuilt broadcom wifi I would suggest disabling it. Create a file /etc/modprobe.d/brcmfmac.conf and add the single line blacklist brcmfmac, reboot and then see what happens.
MrEngman
If you don't want to use the inbuilt broadcom wifi I would suggest disabling it. Create a file /etc/modprobe.d/brcmfmac.conf and add the single line blacklist brcmfmac, reboot and then see what happens.
MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra
Please post ALL technical questions on the forum. Please Do Not send private messages.
Please post ALL technical questions on the forum. Please Do Not send private messages.
Re: problem with extra wifi dongle
Show us what you have in /lib/firmware/ and /lib/firmware/realtek
Re: problem with extra wifi dongle
r8712u is the same driver that I was using for the ASUS N10.
http://www.linuxquestions.org/questions ... 175596869/
was the solution that I was given. It was easier to buy another WiFi dongle
http://www.linuxquestions.org/questions ... 175596869/
was the solution that I was given. It was easier to buy another WiFi dongle
