ESP DIGI-VIEW 4 System Uživatelský manuál Strana 14

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 30
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 13
14
6.6. Use common Linux commands
After Linux starts successfully, a basic shell is available in the Serial Console. Try entering some Linux
commands. To list files, use the ls command. To navigate through directories, use the cd command.
6.7. Check network connectivity
For development, it is important that the hardware target platform is able to communicate through the
network with the host computer.
6.7.1. Finding the IP address of the target
If the target is configured to obtain its IP address through DHCP, use this command to find the assigned IP
address:
# ifconfig eth0
Or, if the target platform has a wireless interface and no wired Ethernet, use this command:
# ifconfig wlan0
6.7.2. Ping the IP address of the host computer
To verify the network connectivity, ping the IP of the host computer and check that it responds. For
example, if the server IP is 192.168.42.1 do:
# ping 192.168.42.1
PING 192.168.42.1 (192.168.42.1) 56(84) bytes of data.
64 bytes from 192.168.42.1: icmp_seq=1 ttl=128 time=0.361 ms
64 bytes from 192.168.42.1: icmp_seq=2 ttl=128 time=0.253 ms
64 bytes from 192.168.42.1: icmp_seq=3 ttl=128 time=0.384 ms
64 bytes from 192.168.42.1: icmp_seq=4 ttl=128 time=0.255 ms
If it doesn't respond, check that both the target and host are in the same subnet. If the target is a wireless
only platform, you may need to configure it to connect to your wireless access point.
6.7.3. Configuring the wireless interface
If the hardware target platform doesn't have a wired Ethernet and it only has a wireless interface you must
correctly configure it to connect to your wireless access point.
By default, the target will try to connect to the nearest open wireless access point in range so the easiest
way to create the connection is to configure the access point to be open (no authentication or encryption).
Creating the connection to an encrypted access point requires further configuration steps using the Linux
wireless tools. Please refer to Digi ESP Online Help, accessible from menu Help > Help Contents > Digi
ESP for Embedded Linux and specifically to chapter WLAN adapter guide > Wireless connection
examples to see some examples to help you through.
Zobrazit stránku 13
1 2 ... 9 10 11 12 13 14 15 16 17 18 19 ... 29 30

Komentáře k této Příručce

Žádné komentáře