There should be a lot of students in how to use WiFi for Raspberry Pi connection encountered some bottlenecks, the internet said that generally need a router, in fact, we download a 360 free WiFi can, equivalent to the computer as a router to share the network, Xiang Fine steps are as follows:
Step one: Download 360 free WiFi, set up your username and password.
View 360 free WiFi IP address, enter ipconfig in cmd, my 360IP is 172.21.205.1,netmask is 255.255.0.0, Note that these two addresses are important, related to Raspberry Pi WiFi configuration
Step two: Use a network cable for the Raspberry Pi WiFi configuration (if your wifi is not connected to the Raspberry Pi)
Must turn off 360 free WiFi, when measured on my computer, if you do not turn off the 360WIFI, the network cable is not even on the Raspberry Pi
Then configure the Raspberry Pi Wifi:sudo nano/etc/network/interfaces
Change interfaces to:
Auto Lo
Iface Lo inet Loopback
Iface eth0 inet DHCP
Auto Wlan0
Allow-hotplug Wlan0
Iface wlan0 inet Static
wpa-ssid " ddssff" #你要连接的wifi SSID
Wpa-psk "DDSSFF" #你的wpa连接密码
Address 172.21.205.111 # static IP address set
netmask 255.255.0.0 # Network Mask
Gateway 172.21.205. 1 # Gateways
Network 172.21.205. 1 # Network Address
#wpa-roam/etc/wpa_supplicant/wpa_supplicant.conf #注释掉这一行
Iface Default inet DHCP
Wpa-ssid is your 360WIFI name, WPA-PSK is your 360WIFI password. Step three: Restart the Raspberry Pi, unplug the network cable, open the 360WIFI
In order to detect if the Raspberry Pi is connected to your computer, enter ping 172.21.205.111 (your Raspberry Pi IP address in my settings) in cmd, and if so, indicate that your Raspberry Pi is connected to your computer, otherwise there is no connection, you have to find the reason
Fourth step: Use Putty to connect your Raspberry Pi
Fifth step: Done
I wish you all a good time.
Raspberry Pi WiFi No router connection