Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 24 lines (19 sloc) 0.807 kB
f1a44b2 @flytreeleft modify README.md
authored
1 adhoc is a command tool to make your wireless device as an Access Point,
2 other device such as PC or Notebook can connect network through your wireless device.
2c7df72 @flytreeleft adhoc: make your wireless device as an Access Point
authored
3
f1a44b2 @flytreeleft modify README.md
authored
4 first you use adhoc, you must install dnsmasq following:
5 $ sudo apt-get install dnsmasq
6 and kill dnsmasq server process after install it:
7 $ pkill -f dnsmasq
2c7df72 @flytreeleft adhoc: make your wireless device as an Access Point
authored
8
e3e5569 @flytreeleft modify README: do not forget make adhoc executable
authored
9 en, don't forget make it executable:
df710a6 @flytreeleft modify README: do not forget make adhoc executable
authored
10 $ chmod +x adhoc
11
f1a44b2 @flytreeleft modify README.md
authored
12 then, run command to start following:
13 $ sudo ./adhoc wlan0 essid YourNetworkName key YourNetworkAccessPassword start
14 stop or restart your network, you can run command:
15 $ sudo ./adhoc wlan0 stop
16 or
17 $ sudo ./adhoc wlan0 restart
2c7df72 @flytreeleft adhoc: make your wireless device as an Access Point
authored
18
f1a44b2 @flytreeleft modify README.md
authored
19 of course, you can use adhoc as a system command,
20 just mv it to /usr/bin or /usr/local/bin:
21 $ sudo mv adhoc /usr/bin
22 or
23 $ sudo mv adhoc /usr/local/bin
Something went wrong with that request. Please try again.