[Feiling OK113i-C Allwinner T113-i development board] Use of WiFi and Ethernet
[Copy link]
WiFi and Ethernet usage
Feiling's t113-t development board has a WiFi+Bluetooth module and a Gigabit Ethernet. It already supports WiFi drivers when it leaves the factory. In the previous experiment, the WiFi module function has been turned on and the AP hotspot has been manually scanned and connected. This time, we will use the configuration file to let the development board automatically connect to the specified AP hotspot when it is powered on, so that you don't have to use the serial port to log in every time.
Confirm the support of wpa_supplicant
Open
Configure Wi-Fi
Changing the Configuration
Confirm the configuration after saving
udhcpc -i wlan0 starts the link, then pings the router, indicating that the network link is connected
In addition, the board is equipped with a gigabit network port, and its device can be found as eth0 through ifconfig.
Use vim to open the file below and change the IP and gateway address indicated by the arrow to the router address.
Change to the following value
Confirm by cat file content
Run ip addr flush dev eth0, and then run the ifdown -a and ifup -a commands to restart the configuration so that the configuration file can take effect.
Ifconfig confirms ip configuration
Then you can successfully ping the router
You can also see the device information on the router.
At this time, you can use Mobaxterm to connect to the development board
The default login name is root
In addition, you can also use the sftp service, and Mobaxterm has integrated this service tool, which makes file transfer very convenient.
The OK113i-S development board is pre-installed with the lighttpd web server, and the lighttpd service is automatically started when the system starts. Enter the IP address of the development board in the browser to browse the web pages in the development board webserver.
|