Network Configuration
1. Networking Capability
The current Pico-G1 system supports network connections only via wired Ethernet; it does not support Wi-Fi, USB networking, or other wireless communication. The device communicates with the external network (such as a router or switch) through the onboard Ethernet interface (eth0) to access the LAN and the internet.
2. Network Connection and Static Configuration
Plug in the Ethernet cable and log in to the Pico-G1 command-line terminal:
2.1 View the Network Configuration
ifconfig -aExpected output:
eth0 Link encap:Ethernet HWaddr 12:76:87:78:E4:F1
inet addr:192.168.49.243 Bcast:192.168.49.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3435 errors:1 dropped:103 overruns:0 frame:1
TX packets:4380 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:232241 (226.7 KiB) TX bytes:1022554 (998.5 KiB)
Interrupt:35 Memory:100d0000-100d017f
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)Log notes
- MAC address (HWaddr): 12:76:87:78:E4:F1
- IP address (Inet addr): 192.168.49.243
- Broadcast address (Bcast): 192.168.49.255
- Subnet mask (Mask): 255.255.255.0
2.2 Assigning a Static IP
Step 1: Manually assign a static IP
ifconfig eth0 <ip-address> netmask <subnet-mask>Expected output:
ftgmac030 100d0000.ethernet eth0: Link is Down
ftgmac030 100d0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control offStep 2: Configure the default gateway
route add default gw <gateway-ip>Step 3: After configuration, view the result
ifconfig -aExpected output
eth0 Link encap:Ethernet HWaddr BE:B9:44:92:69:7E
inet addr:192.168.49.151 Bcast:192.168.49.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:367 errors:0 dropped:54 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:27282 (26.6 KiB) TX bytes:0 (0.0 B)
Interrupt:35 Memory:100d0000-100d017f
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:840 (840.0 B) TX bytes:840 (840.0 B)3. Network Test
This section uses the ping tool for a simple network test of the Pico-G1.
ping
ping (Packet Internet Groper) is a tool for testing network connectivity and response status. It is commonly used to determine whether the network between hosts is reachable and to measure latency.
It works by sending ICMP packets (Echo Request) of a specified size to the target network address. If the target host is online and the network is reachable, it returns the same kind of packet (Echo Reply). Whether a response is received and the round-trip time (RTT) indicate whether the network is connected and the quality of the connection.
If no return packet is received within the specified time, the request is considered timed out — typically meaning the target host is unreachable or the network is abnormal.
3.1 Intra-LAN Communication Test
ping <gateway-ip>If the gateway can be pinged, the following log is printed:
PING 192.168.49.1 (192.168.49.1): 56 data bytes
64 bytes from 192.168.49.1: seq=0 ttl=255 time=2.370 ms
64 bytes from 192.168.49.1: seq=1 ttl=255 time=0.722 ms
64 bytes from 192.168.49.1: seq=2 ttl=255 time=0.776 ms
64 bytes from 192.168.49.1: seq=3 ttl=255 time=0.772 ms
64 bytes from 192.168.49.1: seq=4 ttl=255 time=0.686 ms
64 bytes from 192.168.49.1: seq=5 ttl=255 time=0.670 ms
64 bytes from 192.168.49.1: seq=6 ttl=255 time=0.660 ms
......If the gateway cannot be pinged, this usually indicates a LAN connection problem. Possible causes include: incorrect IP address configuration, mismatched subnet mask, physical link not connected (such as a cable or switch port issue), or a network device not working properly. Therefore, pinging the gateway is a basic validation step for troubleshooting LAN connectivity.
3.2 Internet Communication Test
ping 8.8.8.8 # Provided by Google; a public DNS server addressIf it can be pinged, the following log is printed:
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=1 ttl=103 time=169.530 ms
64 bytes from 8.8.8.8: seq=2 ttl=103 time=168.256 ms
64 bytes from 8.8.8.8: seq=3 ttl=103 time=168.688 ms
64 bytes from 8.8.8.8: seq=4 ttl=103 time=170.348 ms
64 bytes from 8.8.8.8: seq=5 ttl=103 time=173.833 ms
64 bytes from 8.8.8.8: seq=6 ttl=103 time=176.207 ms
64 bytes from 8.8.8.8: seq=7 ttl=103 time=167.836 msThis indicates that the Pico-G1 has internet access.
