STMP157-OLinuXino-LIME2-IND failed to connect to internet

Started by yugandharbabu, March 27, 2023, 03:30:48 PM

Previous topic - Next topic

yugandharbabu

Hi,



I am newbie to olimex linux boards. I flashed STM32MP1-OLinuXino-LIME-bullseye-base-20220928-143706.img available at https://images.olimex.com/release/stm32-lime/ to STMP157-OLinuXino-LIME2-IND board and tried to check internet connection with ping command, it is showing as below.

root@stm32mp1-olinuxino-lime:~# ping www.google.com
ping: www.google.com: Name or service not known


Then, I used dhclient command as mentioned in olimage guide doc. After running dhclient command, the console is as below.

root@stm32mp1-olinuxino-lime:~# ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 30:1f:9a:d1:3a:8c  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 57  base 0xa000

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 56  bytes 5294 (5.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 56  bytes 5294 (5.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@stm32mp1-olinuxino-lime:~# dhclient eth0
root@stm32mp1-olinuxino-lime:~# ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 30:1f:9a:d1:3a:8c  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 57  base 0xa000

eth0:avahi: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 169.254.10.235  netmask 255.255.0.0  broadcast 169.254.255.255
        ether 30:1f:9a:d1:3a:8c  txqueuelen 1000  (Ethernet)
        device interrupt 57  base 0xa000

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 123  bytes 10697 (10.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 123  bytes 10697 (10.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@stm32mp1-olinuxino-lime:~# ping www.google.com
ping: www.google.com: Name or service not known


When I connect same ethernet cable to my PC, I am getting internet and failing with olimex board.


Please help me to fix the issue. Thank you.

LubOlimex

Technical support and documentation manager at Olimex

yugandharbabu

Hi,

Thanks for your reply. The issue is with ethernet cable. I tried with different cables and finally working with one. Now the same cable when I connect to my PC, no internet.


Any how, olimex board got internet and I am able to install packages.