![]() At least they didn’t work for me when I tried them, but maybe they have been fixed since then. Full documentation of the options can be found in a sample configuration file at few things I’ve learned from testing options on the Raspberry pi are that trying to enable the Automated Channel Selection (ACS) algorithm via “channel=0” does not work, and setting “hw_mode=any” does not work. It has to be at least 8 characters long.There are many, many other options which can be set in this configuration file, but these are the ones needed in most cases to get up and running. In that case, add the following to the nf file:wpa=2 wpa_passphrase=”RaspberryWiFi” wpa_key_mgmt=WPA-PSK wpa_pairwise=TKIP rsn_pairwise=CCMP You should, of course, pick a better password. To turn on WPA for security and add a password. In some cases that is what you want, but in other cases you will want Anybody can connect to it without having to give a password. ![]() ![]() Configure: Create and edit the configuration file, at /etc/hostapd/nf.įor starters, include the following:interface=wlan1 #If this fails, try rt1871xdrv a driver=nl80211 # Name of the new network: best use the hostname ssid=wifipi # Pick a channel not already in use channel=6 # Change to b for older devices? hw_mode=g macaddr_acl=0 auth_algs=3 # Disable this to insure the AP is visible: ignore_broadcast_ssid=0This creates an open, unsecured access point.Install: Install hostapd with the following command$ sudo apt-get install hostapd.2 The process originally involved building the daemon from source code to get support for the nl80211 driver, but that is now included with the prepackaged version you can install using apt-get. I originally learned to set up hostapd from instructions on Pastebin written by user Dryfire117, 1 andlater found useful instructions on the Raspberry Pi website.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |