Jump to content

geruta

Members
  • Posts

    5
  • Joined

  • Last visited

  1. I ran through all of the latest images and found when the "bug" was introduced. All of the "5.10.160" images of Armbian for the Orange Pi 5 have the ifconfig cli tool removed. If we go to the next image before that, 23.02.2 - Jammy 5.10.110, ifconfig is present and the first_run config script works as expected. Here are the results summarized Failed - ifconfig cli tool missing 23.5.4 - Jammy 5.10.160 23.5.4 bookworm 5.10.160 23.5.1 - Jammy 5.10.160 23.5.1 - Bookworm 5.10.160 Success - ifconfig cli tool is present 23.02.2 - Jammy 5.10.110 Given the "desire" in the linux/debian community to deprecate ifconfig, i'm not sure how you all wish to proceed. Should the armbian images for orange pi 5 be "fixed" to include ifconfig, or should the first_run script be modified to work with the newer ip command?
  2. Based on your findings @mitu I decided to try an older release. Turns out that running an image a few versions behind works exactly as expected so somewhere along the lines the ifconfig cli tool was removed from the orangepi image, breaking compatibility with the first_run script. The version that I tested with successfully is Armbian_23.02.2_Orangepi5_jammy_legacy_5.10.110.img The version that is confirmed to not have ifconfig (and therefore break the first_run script) is Armbian_23.02.2_Orangepi5_jammy_legacy_5.10.110.img. So something after 23.02.2_Orangepi5_jammy_legacy_5.10.110 and at or before 23.02.2_Orangepi5_jammy_legacy_5.10.110 dropped ifconfig.
  3. I am using Armbian 23.5 Jammy for the orange pi 5, CLI version. Filename: Armbian_23.5.5_Orangepi5_jammy_legacy_5.10.160.img.xz
  4. Here is a copy of the var/log/syslog file fresh after the first boot. Also, here is the contents of /boot showing that the ambian_first_run.txt file is gone (which makes me assume it ran in part). root@orangepi5:~# ls -la /boot total 71912 drwxr-xr-x 3 root root 16384 Jan 1 1970 . drwxr-xr-x 19 root root 4096 Jul 12 00:09 .. -rwxr-xr-x 1 root root 213 Jul 12 00:10 armbianEnv.txt -rwxr-xr-x 1 root root 38518 Jul 6 16:37 boot.bmp -rwxr-xr-x 1 root root 3820 Jul 6 15:19 boot.cmd -rwxr-xr-x 1 root root 3892 Jul 6 16:37 boot.scr -rwxr-xr-x 1 root root 218247 Jul 6 14:08 config-5.10.160-rk35xx drwxr-xr-x 3 root root 4096 Jul 6 16:36 dtb -rwxr-xr-x 1 root root 34720256 Jul 6 14:08 Image -rwxr-xr-x 1 root root 15321275 Jul 6 16:38 initrd.img-5.10.160-rk35xx -rwxr-xr-x 1 root root 0 Jul 6 16:36 .next -rwxr-xr-x 1 root root 7970598 Jul 6 14:08 System.map-5.10.160-rk35xx -rwxr-xr-x 1 root root 15321339 Jul 6 16:38 uInitrd syslog.txt
  5. I am trying to leverage the first run script but am not having any luck. Here are the steps that I am following: 1. flashed the image onto the SD card 2. mounted SDcard on my mac (also tried steps from linux) 3. renamed the file from armbian_first_run.txt.template to armbian_first_run.txt 4. Edited the contents of the file to include the following: FR_general_delete_this_file_after_completion=1 FR_net_change_defaults=1 FR_net_ethernet_enabled=1 FR_net_wifi_enabled=0 FR_net_wifi_ssid='MySSID' FR_net_wifi_key='MyWiFiKEY' FR_net_wifi_countrycode='US' FR_net_use_static=1 FR_net_static_ip='192.168.1.201' FR_net_static_mask='255.255.255.0' FR_net_static_gateway='192.168.1.1' FR_net_static_dns='192.168.1.9' 5. saved file and unmounted the disk 6. booted into armbian by placing the microsd card into the orangepi5 and powering on From what I can tell these steps should configure the "first run" file to run on first boot and apply 192.168.1.201 as a static IP address to my ethernet interface but this doesn't happen. What am I doing wrong here? I believe the file is being read on first boot because it does actually delete itself (the very first line set to True) but the device still prefers DHCP and just grabs an IP from my DHCP server.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines