I am trying to install the Onion pi kit I bought from adafruit and I keep getting an error when I follow the instructions. I bought the kit rather than parts because I am doing this for fun and really don't want to Make my own drivers etc. The error I'm getting is:
Configuration file: /etc/hostapd/hostapd.conf
Line 2: invalid/unknown driver 'rt1871xdrv '
Line 4: unknown hw_mode 'g '
2 errors found in configuration firl '/etc/hostapd/hostapd.conf'
I followed the instructions exactly, verified every file, and used the 'copy code' whenever possible. I am using the USB wifi adapter from the Onion pi kit.
I don't want to send it back, but I am not interested in fighting this thing with google searches and Makefile work.
Help??
Gerry Howser
[email protected]
hostapd errors with Onion Pi kit
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: hostapd errors with Onion Pi kit
did you fully complete this tutorial
http://learn.adafruit.com/setting-up-a- ... ess-point/
particularly this step
http://learn.adafruit.com/setting-up-a- ... te-hostapd
http://learn.adafruit.com/setting-up-a- ... ess-point/
particularly this step
http://learn.adafruit.com/setting-up-a- ... te-hostapd
-
- Posts: 2
- Joined: Fri Jun 21, 2013 11:09 am
Re: hostapd errors with Onion Pi kit
I too am having the error upon first test. After getting through the tutorial to the point of the test and double-verifying the lines in /etc/hostapd/hostapd.conf, I typed:
sudo /usr/sbin/hostapd /etc/hostapd/hostapd.conf
(per the tutorial instruction) and received this error:
Line 2: invalid/unknown driver 'rt1871xdrv'
What should I do to remedy this error and successfully move forward in this project?
Thanks in advance for you assistance in this matter!
Best regards,
Scott [email protected]
sudo /usr/sbin/hostapd /etc/hostapd/hostapd.conf
(per the tutorial instruction) and received this error:
Line 2: invalid/unknown driver 'rt1871xdrv'
What should I do to remedy this error and successfully move forward in this project?
Thanks in advance for you assistance in this matter!
Best regards,
Scott [email protected]
-
- Posts: 2
- Joined: Fri Jun 21, 2013 11:09 am
Re: hostapd errors with Onion Pi kit
Okay I found a solution on the interwebs:
http://rpiexperimenter.blogspot.com/201 ... nning.html
Basically, I removed the driver line that was producing the error and everything worked. I hope that helps others who may run into this issue.
Cheers,
Scott
http://rpiexperimenter.blogspot.com/201 ... nning.html
Basically, I removed the driver line that was producing the error and everything worked. I hope that helps others who may run into this issue.
Cheers,
Scott
- calvinn
- Posts: 1
- Joined: Mon Apr 22, 2013 2:19 pm
Re: hostapd errors with Onion Pi kit
I ran into the same problem. I had typed in the driver name incorrectly. It is rtl (a small L not 1) 871xdrv
-
- Posts: 1
- Joined: Sat Aug 24, 2013 1:00 am
Re: hostapd errors with Onion Pi kit
What should I do to remedy this error and successfully move forward in this project?
-
- Posts: 1
- Joined: Sat Aug 24, 2013 3:06 pm
Re: hostapd errors with Onion Pi kit
As an answer to the top guys comment, the problem with his apd file is that there are spaces after those 2 lines. It shouldn't be = 'g ' it should read = 'g', and the same with the driver. I had the exact some error he had and that fixed it no problem
- goodsayan
- Posts: 10
- Joined: Wed Jan 14, 2015 9:50 am
Re: hostapd errors with Onion Pi kit
Hi,
I have a similar problem with driver
Line 2: invalid/unknown driver 'nl80211'
1 errors found in configuration file '/etc/hostapd/hostapd.conf'
My wireless card is totolink N300UA. How I can find my driver name?
https://wikidevi.com/wiki/TOTOLINK_N300UA
When I try this:
I have try:
drive=rt2800usb
driver=rt3072
drive=rt2870sta
but always an error in line 2...
Can you help me?
I have a similar problem with driver
Line 2: invalid/unknown driver 'nl80211'
1 errors found in configuration file '/etc/hostapd/hostapd.conf'
My wireless card is totolink N300UA. How I can find my driver name?
https://wikidevi.com/wiki/TOTOLINK_N300UA
When I try this:
Code: Select all
dmesg | grep usb
Code: Select all
[ 0.928818] usbcore: registered new interface driver usbfs
[ 0.934523] usbcore: registered new interface driver hub
[ 0.940084] usbcore: registered new device driver usb
[ 1.406011] usbcore: registered new interface driver smsc95xx
[ 1.923047] dwc_otg bcm2708_usb: DWC OTG Controller
[ 1.929322] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[ 1.937976] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[ 1.954853] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.963039] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.971620] usb usb1: Product: DWC OTG Controller
[ 1.977653] usb usb1: Manufacturer: Linux 3.12.35+ dwc_otg_hcd
[ 1.984777] usb usb1: SerialNumber: bcm2708_usb
[ 2.002807] usbcore: registered new interface driver usb-storage
[ 2.131384] usbcore: registered new interface driver usbhid
[ 2.138430] usbhid: USB HID core driver
[ 2.416843] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.637420] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[ 2.646530] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.946912] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 3.057428] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 3.069145] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.167168] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:38:44:db
[ 3.287020] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[ 3.415017] usb 1-1.2: New USB device found, idVendor=148f, idProduct=3072
[ 3.430257] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.449847] usb 1-1.2: Product: 802.11 n WLAN
[ 3.455821] usb 1-1.2: Manufacturer: Ralink
[ 3.475965] usb 1-1.2: SerialNumber: 1.0
[ 6.246943] usb 1-1.2: reset high-speed USB device number 4 using dwc_otg
[ 7.129101] usbcore: registered new interface driver [b]rt2800usb[/b]
drive=rt2800usb
driver=rt3072
drive=rt2870sta
but always an error in line 2...
Can you help me?
Please be positive and constructive with your questions and comments.