by Devin Yang
(This article was automatically translated.)

Published - 4 years ago ( Updated - 4 years ago )

About Wifi settings
ID can be obtained

content_copysudo iwlist wlan0 scan
then execute
content_copywpa-supplicant <ESSID>

E.g:
content_copywpa_passphrase "dodoro"
#reading passphrase from stdin
1234
enter password.
will print out the settings on the screen
content_copynetwork={
ssid="dodoro"
#psk="1234"
psk=dd146fb333a9d3ef6cad9f7224791102cd4bc5eda3973edbd360231f65af540c
}
Or direct the results directly to the settings.
content_copywpa_passphrase "dodoro" >> /etc/wpa_supplicant/wpa_supplicant.conf
You can make up for the network that needs to be shared with the iPhone using the iPhone. key_mgmt=WPA-PSK.
We can have a lot of networks down like this, and then set the priority, the higher the priority number, the higher the priority.
The following is my wpa_supplicant.conf content
content_copyctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=TW

network={
        ssid="ccc"
        psk="password"
        key_mgmt=WPA-PSK
        priority=2
}

#reading passphrase from stdin
network={
        ssid="dodoro"
        psk=dd146fb333a9d3ef6cad9f7224791102cd4bc5eda3973edbd360231f65af540c
        key_mgmt=WPA-PSK
        priority=1
}
After setting, turn off the network card and recapture the IP to see, I test the results, or try to reboot.
content_copyifconfig wlan0 down;dhclient wlan0
Schematic diagram, add a mobile power supply, my laptop egg is born..


For example: Start a VNC and you will have a remote desktop. There is also an SSH Client on iOS. :)


or VNC

Tags: raspberry wifi

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


linux,docker,wifi

Use docker to build a WPA2/EAP enterprise Radius authentication server, and the backend uses a mysql database

AP provides WPA2/EAP function, but it won't work? This article introduces how I can quickly build a Radius server through docker's ubuntu:21.04 image. Related applications such as WPA2/EAP of Wifi.

linux,raspberry

Install VNC Server on Raspberry Pi

Checklist introduces how to start VNC Server on Raspberry Pi

Raspberry

Raspberry plays midi files

Raspberry play midi music

In order to provide you with better services, this website uses cookies. By continuing to browse the web, you agree to our cookies policy. To understanding