If you get any error, possibly your card doesn't support g mode. Stop it with the command sudo service hostapd stop In your mobile device now you can see a wireless network and can authenticate. Then start the hostapd service using the following command, Edit the file /etc/default/hostapd and modify the line of DAEMON_CONF like this: DAEMON_CONF="/etc/hostapd/nf" A more detailed instruction to build configuration file can be found here The configuration above creates a wpa & wpa2 enabled access point in g mode. (If you have one wireless card it should be wlan0) Change interface=wlan0 to your wireless card name.Please make sure there are no trailing white space and the end of the line! Hostapd is very sensitive to ending white spaces that are hard to troubleshoot! Paste the following code, interface=wlan0 In gedit, press ctrl+ o, ctrl+ l & paste it in location box /etc/hostapd/nf.Press alt + F2 and type gksu gedit & press enter.Software required: hostapd (install it).For more tests follow ubuntu documentation on master mode. But those cards aren't in scope of this tutorial. If your driver doesn't shows this AP, It doesn't mean it can't create wireless hotspot. Look for supported interface section, where it should be a entry called AP like below Supported interface modes: Install iw & execute following sudo aptitude install iw As told earlier following test is for mac80211 framework based driver. Whether your wireless card support Access Point mode.įirst thing to be done is perform the test whether your wireless card support going into wireless access point mode.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |