Ethernet does not work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-26 03:18 PM
Hello everybody,
Here is my problem. I am using the buildroot distro instead of OpenSTLinux and want to
connect my STM32 via ethernet using SSH. I use MobaXterm as remote control software.
P.s After a system boot I get the following response although the ethernet LEDs are not blinking
buildroot login: [ 4.237860] stm32-dwmac 5800a000.ethernet eth0: Link
is Up - 1Gbps/Full - flow control rx/tx
[ 4.251707] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
After ifconfig -a I get the following response:
eth0 Link encap:Ethernet HWaddr 00:80:E1:42:6B:16
inet addr:192.168.8.45 Bcast:192.168.8.255
Mask:255.255.255.0
inet6 addr: fe80::280:e1ff:fe42:6b16/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:107 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10299 (10.0 KiB) TX bytes:866 (866.0 B)
Interrupt:60 Base address:0x8000
This configuration was generated manually by etc / network and then nano
Interfaces where it says:
auto lo
iface lo inet loopback
# Configure eth0 with static IP
auto eth0
iface eth0 inet static
address 192.168.8.45
network 192.168.8.0
netmask 255.255.255.0
broadcast 192.168.8.255
gateway 192.168.8.1
dns-nameservers 192.168.8.1
# Configure eth0 with dhcp IP
# auto eth0
# iface eth0 inet dhcp
My setup is made like this. My PC is connected to WiFi through one Huawei Giga Cube and the STM32 are connected to my PC by a Ethernet cable.
If I go into Windows cmd and use ipconfig / all then I get the following output:
Windows IP Configuration
Host Name . . . . . . . . . . . . : ...
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Broadcast
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Ethernet:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) Ethernet Connection (6)
I219-V
Physical Address. . . . . . . . . : 48-2A-E3-50-1B-76
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Unknown adapter NordLynx:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : NordLynx Tunnel
Physical Address. . . . . . . . . :
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . :
fe80::8df6:2969:45f4:3946%14(Preferred)
Autoconfiguration IPv4 Address. . : 169.254.57.70(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Ethernet 2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek USB GbE Family Controller
Physical Address. . . . . . . . . : 00-E0-4C-68-2E-FD
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . :
fe80::ddff:5546:f233:2654%19(Preferred)
Autoconfiguration IPv4 Address. . : 169.254.38.84(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 419487820
DHCPv6 Client DUID. . . . . . . . :
00-01-00-01-24-C3-57-40-48-2A-E3-50-1B-76
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Ethernet 4:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TAP-NordVPN Windows Adapter V9
Physical Address. . . . . . . . . : 00-FF-E3-A4-9C-52
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Ethernet adapter Ethernet 5:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet
Adapter
Physical Address. . . . . . . . . : 0A-00-27-00-00-1A
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . :
fe80::b4ff:a90a:c8d:424a%26(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.206.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 1024065575
DHCPv6 Client DUID. . . . . . . . :
00-01-00-01-24-C3-57-40-48-2A-E3-50-1B-76
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Unknown adapter LAN-Verbindung:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TAP-Windows Adapter V9
Physical Address. . . . . . . . . : 00-FF-6A-9C-8E-76
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter LAN-Verbindung* 1:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual
Adapter #3
Physical Address. . . . . . . . . : 24-EE-9A-7C-90-D0
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter LAN-Verbindung* 12:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual
Adapter #4
Physical Address. . . . . . . . . : 26-EE-9A-7C-90-CF
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter WLAN:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) Wireless-AC 9560 160MHz
Physical Address. . . . . . . . . : 24-EE-9A-7C-90-CF
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . :
fe80::ac7a:f511:a7ab:a012%23(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.8.124(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Monday, October 26, 2020 9:45:02
PM
Lease Expires . . . . . . . . . . : Tuesday, October 27, 2020
10:28:23 PM
Default Gateway . . . . . . . . . : 192.168.8.1
DHCP Server . . . . . . . . . . . : 192.168.8.1
DHCPv6 IAID . . . . . . . . . . . : 287633050
DHCPv6 Client DUID. . . . . . . . :
00-01-00-01-24-C3-57-40-48-2A-E3-50-1B-76
DNS Servers . . . . . . . . . . . : fe80::5625:eaff:fe6f:3ce6%23
192.168.8.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Bluetooth-Netzwerkverbindung:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Bluetooth Device (Personal Area
Network)
Physical Address. . . . . . . . . : 24-EE-9A-7C-90-D3
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Ethernet adapter vEthernet (Default Switch):
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter
Physical Address. . . . . . . . . : 00-15-5D-65-E6-15
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . :
fe80::74c4:a88f:e305:e735%22(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.238.241(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.240
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 369104221
DHCPv6 Client DUID. . . . . . . . :
00-01-00-01-24-C3-57-40-48-2A-E3-50-1B-76
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter vEthernet (WSL):
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter
#2
Physical Address. . . . . . . . . : 00-15-5D-3A-2A-A7
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . :
fe80::2165:e63f:cd0d:3e86%80(Preferred)
IPv4 Address. . . . . . . . . . . : 172.18.18.17(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.240
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 1342182749
DHCPv6 Client DUID. . . . . . . . :
00-01-00-01-24-C3-57-40-48-2A-E3-50-1B-76
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
I hope that you can help me. Thank you all
- Labels:
-
Ethernet
-
STM32MP15 Lines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-05 07:17 AM
Hi @SigmaPrime​ ,
Be aware that ST is not supporting buildroot solution directly, but only through some partner ( eg Bootlin) .
I suggest to have a look in our wiki , in case an article may guide you in the right direction, else try to get help from partner community.
Olivier
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-05 07:27 AM
Thank you for your response.
I would say that they are not serious when responding to people. I managed to resolve the solution alone after multiple tries.
It appeared that my system configuration wasn't correct and that some packages were missing. I had to contact Rasp community to get the right info.
Buildroot forum is messy and when I want to upload multiple files with a modest size I can't do that so explaining my situation is really difficult when turning to them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-05 10:18 PM
Hi,
for people wanting to start using buildroot for the STM32MP1 there is a GitHub Repo with a buildroot example for the STM32MP1. I'm pretty sure it doesn't contain a ssh packet at the start but you can easily use this as a starting point and activate something like dropbear. Helped me at the start using buildroot a lot besides some Bootlin blog articles.
Github repo:
https://github.com/schenkmi/buildroot-op-tee-stm32mp1
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-06 01:45 AM
Thank you gonna check it out