Hardware Reference
In-Depth Information
6.
The extra
ap_scan
directive is necessary for proper ad hoc support. Change
ssid
to the name you'd like for your ad hoc network and change
psk
to a
passphrase that connecting computers would have to supply.
7.
Now save and exit
nano
, then reboot your Pi.
Connecting to an ad hoc Wi-Fi network in
Windows
Let's set up the other end of the ad hoc Wi-Fi connection:
1. From the Start menu, open the
Control Panel
and search for
wireless
using
the search box.
2. Under
Network and Sharing Center
, click on
Manage wireless networks
.
3. Click on the
Add
button and select
Manually create a network profile.
.
4. Fill in the
Network name
of your ad hoc network, select
WPA2-Personal
from the
Security type
drop-down menu and
AES
from the
Encryption type
drop-down menu, then fill in your passphrase, and click on the
Next
button.
5. Close the dialog confirming that your network was successfully added, then
click on the
Adapter properties
button next to the
Add
button.
6.
Select
Internet Protocol Version 4 (TCP/IPv4)
from the list and click on the
Properties
button.
7.
Check the
Use the following IP address
checkbox, fill in
192.168.10.2
for
the
IP address
and
255.255.255.0
for the
Subnet mask
, then click on the
OK
button.
8.
Now you need to switch over to your newly created ad hoc network.
On your taskbar to the far right, there's an icon to switch Wi-Fi networks.
Click on it and select your ad hoc network from the list.