This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

how to connect to a network

I work with am5728-evm and I want to test wireless connection.

root@am57xx-evm:~# ifconfig
eth0 Link encap:Ethernet HWaddr 5C:F8:21:0E:96:28
UP BROADCAST MULTICAST MTU:1500 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)
Interrupt:107

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:263 errors:0 dropped:0 overruns:0 frame:0
TX packets:263 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:271702 (265.3 KiB) TX bytes:271702 (265.3 KiB)

wlan0 Link encap:Ethernet HWaddr E0:E5:CF:9B:51:B1
inet addr:192.168.0.24 Bcast:0.0.0.0 Mask:255.255.255.255
inet6 addr: fe80::e2e5:cfff:fe9b:51b1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1540 errors:0 dropped:0 overruns:0 frame:0
TX packets:132 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:137179 (133.9 KiB) TX bytes:14478 (14.1 KiB)

root@am57xx-evm:~# iw dev wlan0 link
Connected to 78:54:2e:89:08:a1 (on wlan0)
SSID: D-Link_DIR-600
freq: 2412
RX: 101614 bytes (932 packets)
TX: 6672 bytes (88 packets)
signal: -50 dBm
tx bitrate: 72.2 MBit/s MCS 7 short GI

bss flags: short-slot-time
dtim period: 1
beacon int: 100
root@am57xx-evm:~#

I use "ping www.google.com" but I encounter the following error:

root@am57xx-evm:~# ping www.google.com
ping: bad address 'www.google.com'
root@am57xx-evm:~#

  • Software team have been notified.
  • Hi Saman,

    I suggest you to do few steps to investigate your issue:
    1. Ping the IP address of the gateway. If you are not sure for IP gateway you can check it using "route -n" command.
    If you ping IP gateway successfully you should go to next step. If ping IP gateway fails you have an issue with network (WiFi) connectivity.
    2. As you pinging www.google.com you should check your DNS configuration executing
    cat /etc/resolv.conf
    You should verify whether nameserver IP address is real DNS server and try to ping it.
    If there is no nameserver (DNS) configuration you can configure it as follow description at:
    support.rackspace.com/.../

    BR
    Tsvetolin Shulev