Hi there kb06,
No such thing as a silly question. I have already tried to install the WiFi hotspot software in this image, but can't get it to work properly. I will try again when I have time.
Simplest solution is to use an RJ45 ethernet dongle, Chinese versions are inexpensive (Euro 3,00), but delivery takes some time. Locally sourced they could be more expensive than the Zero, but then you have it the next day.
Another simple solution, if you have another single processor Pi with a RJ45 Ethernet connection (e.g. the B or B+, but
not a model B2 or B3). You can configure the SD card on the PI with an wired ethernet connection and then just plug the card in the Zero.
If you can access the Pi Zero with a keyboard and screen, you neet to create a file in:
/etc/netctl/
The file name is your sisid, e.g.: /etc/netctl/<your-sisid>
Contents of the file for WPA-PSK security:
- Code: Select all
Description='wlan0 connection'
Interface=wlan0
Connection=wireless
Security=wpa-configsection
IP=dhcp
WPAConfigSection=(
'ssid="<your-sisid>"'
'psk="<your-wifi-password>"'
'key_mgmt=WPA-PSK'
'proto=RSN'
'group=TKIP'
'pairwise=CCMP'
'priority=3'
)
You need to replace the text
<your-sisid> and
<your-wifi-password> with the relevant information.
If you use another type of WiFi security there are examples of netctl files in the directory: /etc/netctl/examples. To finish you can run the commands
- Code: Select all
cd /home
php /var/www/command/refresh_nics
The WiFi should then come to life.
I have not found a way of modifying files in the Lunix partition of the image except when it is mounted by a Pi. Maybe it could be mounted in some way on a PC or Mac to get access. If anyone knows how to do this please explain.
Janui
Edited 16-11-2017 for attached keyboard and screen explanation