Raspberry pie
WiFi network card is purchased from Taobao. If you want to use WiFi, you need to:
Connect the monitor, keyboard, etc. for configuration, or plug in the WAN port from the router to raspberry pie, check the IP address of raspberry pie on the router, and then connect the WiFi file of raspberry pie configuration with Android Application: juicessh or ConnectBot
After successfully connecting raspberry pie, you need to:
1、 Start configuring WiFi
modify /etc/network/interfaces
File (this file defines the network configuration)
The contents of the revised document are as follows:
Auto lo
Iface Lo INET loopback
Iface eth0 INET DHCP
auto wlan0
allow hotplug wlan0
Iface wlan0 INET DHCP
WPA SSID "myhome" / / change WiFi name (this comment is not copied)
WPA PSK "password" / / change WiFi password (this comment is not copied)
After the above definition, if there is a network cable connection, the DHCP automatic connection is adopted. If the WiFi network named myhome is connected automatically, DHCP is used to obtain the address.
2、 Connecting to WiFi network
Use the command: sudo /etc/init.d/networking restart
After success, use ifconfig
The command can see the WLAN 0 device and have an IP address (connected)
After each startup, the system will automatically connect to the WiFi network named myhome
OK, your raspberry pie is free. You don't have to drag it. Whatever you want!
PS: if you use a mobile phone charger, you don't need a power outlet. Raspberry pie is more free.
Use Alipay, wechat and QQ clients to scan code and reward
Reward the author
This paper is written by SangSir Creation, adoption Knowledge sharing signature 4.0 International license agreement
In addition to the reprint / source, all articles are original or translated. Please sign before reprinting