Okay, I'm seriously desperate and want to punch this Pi right in it's tiny computer face. For a class I'm in, we get to pick our own project. Our group decided to make a Raspberry Pi into a wireless Tor router. The first thing is to make it into a wifi access point. I'm following this tutorial.
All is well until this command, towards the end of "Install Software":
sudo /usr/sbin/hostapd /etc/hostapd/hostapd.conf
I get the following error:
ioctl[SIOCSIWMODE]: Invalid argument
Could not set interface to mode (3)!
Could not set interface to master mode!
rtl871xdrv driver initialization failed.
rmdir[ctrl_interface]: No such file or directory
In the /etc/hostapd/hostapd.confg file I've tried commenting out the driver line, same error. I've tried other drivers which result in the following error:
Line 2: invalid/unknown driver 'nl80211'
1 errors found in configuration file '/etc/hostapd/hostapd.config
I've tried to find the driver for the wifi adapter and several times thought I had, but the installation process is not... not... comprehensible. I'll be following along, either using directions from the internet or the driver's readme file, and it just becomes so convoluted. Another person in class (doing a different project, but still needed wifi) said his was fixed just by putting in a different driver.
I've also read that it has something to do with trying to go into master mode, but didn't see any fix that made any sense. Oh, the adapter I have is not the one used in the tutorial, BUT a member of my group had that exact adapter and is getting the same error as me.
Running lsusb returns:
5370 Ralink Technology, Corp. RT5370 Wireless Adapter
This has the capability to do what I'm asking it to do, but it is refusing.
All is well until this command, towards the end of "Install Software":
sudo /usr/sbin/hostapd /etc/hostapd/hostapd.conf
I get the following error:
ioctl[SIOCSIWMODE]: Invalid argument
Could not set interface to mode (3)!
Could not set interface to master mode!
rtl871xdrv driver initialization failed.
rmdir[ctrl_interface]: No such file or directory
In the /etc/hostapd/hostapd.confg file I've tried commenting out the driver line, same error. I've tried other drivers which result in the following error:
Line 2: invalid/unknown driver 'nl80211'
1 errors found in configuration file '/etc/hostapd/hostapd.config
I've tried to find the driver for the wifi adapter and several times thought I had, but the installation process is not... not... comprehensible. I'll be following along, either using directions from the internet or the driver's readme file, and it just becomes so convoluted. Another person in class (doing a different project, but still needed wifi) said his was fixed just by putting in a different driver.
I've also read that it has something to do with trying to go into master mode, but didn't see any fix that made any sense. Oh, the adapter I have is not the one used in the tutorial, BUT a member of my group had that exact adapter and is getting the same error as me.
Running lsusb returns:
5370 Ralink Technology, Corp. RT5370 Wireless Adapter
This has the capability to do what I'm asking it to do, but it is refusing.

Comment