johang / sd-card-images

Scripts to build bootable SD card images with Debian for various single-board computers
https://sd-card-images.johang.se
GNU General Public License v3.0
151 stars 33 forks source link

ubuntu-noble-arm64-bi7bae no editor in system ( no vi, no nano, no ex) #95

Open stepanovdg opened 10 months ago

stepanovdg commented 10 months ago

also not getting by default address from dhcp ( not able to create netplan as no editor to check) so no internet access to install any editor.

https://sd-card-images.johang.se/boards/orange_pi_3.html

P.S. tried older image (ubuntu jammy) - see the same behavior (no editor, no network)

johang commented 10 months ago

It's a minimal image so no editor is included by default. Make sure it's connected to a wired network with a DHCP server. Post logs (console, dmesg, ip addr) if it doesn't work.

stepanovdg commented 10 months ago

@johang Thank you for clarification. I just throught maybe something broken during build or i have some block corrupted.

The board connected to switch ( access port to network with dhcp) - i just not seeing any network communication between board and switch (link is down). So now not sure if it is hardware failure or some configuration ( I reinstalling image due to sdcard failure with previous install as power outage).

ifconfig just show looopback.

So I am not sure if eth module is loaded.

Please find dmesg attached. log_dmesg.txt

I used flash drive to save log there.

Not really know what to do - could you please advice what other commands i can use to gather more logs.

Thank you again

johang commented 10 months ago

Do lsmod as see if dwmac-sun8i.ko is loaded. Also try the Debian images.

stepanovdg commented 10 months ago

lsmod log log_mods.txt

Trying debian now.

stepanovdg commented 10 months ago

@johang the same with debian log_ifconfig_debian.txt log_dmesg_debian.txt log_lsmod_debian.txt

stepanovdg commented 10 months ago

Trying to manually load that module result in: modprobe dwmac-sun8i its loaded and appear in list of modules in lsmod lsmod | grep dwmac dwmac_sun8i 28672 0 stmmac_platform 24576 1 dwmac_sun8i stmmac 237568 2 dwmac_sun8i,stmmac_platform mdio_mux 16384 1 dwmac_sun8i