Jump to content

Recommended Posts

Posted

Network setup in the latest bookworm+xfce's armbian config won't allow a network setup I've been using for 25 years. Its an all ipv4 static setup using hosts files. It apparetly asumes only valid ipv6 addresses but the nearest ipv6 enabled ISP is over 100 miles away from me in north central West Virginia USA.The idea is it will query the router for any name not found in the /etc/hosts file. Thhe switch trigger being a hardcopy /etc/resolv.conf.  This is normally and instantly accomplished as dd-wrt caches previously looked up addresses. And if not found in dd-wrt's cache it relays the request to my ISP's dns server. BUT BUT BUT armbian-config refuses to accept valid ipv4 addresses by hashing them to apparently random errors, digits duplicated or left out  When looking at the results no dhcp4 or 6 of is enabled as expected.  So how do I fix this first boot problem?

This is all on a banannapi-m5 I intend to make an amanda-3.5.4 based nas out of.

 

Thanks for any help. The solved x tag is a lie as it won't post w/o it.

Posted
25 minutes ago, gene1934 said:

Network setup in the latest bookworm+xfce's armbian config won't allow a network setup


armbian-config way is limited in its use - it's intended for quick start when networking is simple. When you need something more complex, its always the manual way:

https://docs.armbian.com/User-Guide_Networking/

 

If you wanna look how Armbian deals with networking in the backstage:
https://github.com/armbian/build/tree/main/extensions/network

In case of desktop images (original, not self constructed), XFCE will have Network manager.

  • Solution
Posted

up all night, finally got it working. list of stuff I did: download latest 2505 bookworm-xfce and reburn the u-us card 3 times. copied 40 entry /etc/hosts file from working machine. edit /etc/hostname to change it to unique name amanda, then make it immutable as that did not survive a reboot. rm 10-* in etc/netplan, rename armbian.yaml to 10-armbian.yam editing it as needed, and edit /etc/nsswitch.conf to make network setup start as "hostname files dns" rebooting after each stage. So hostname now stays at amanda, and nsswitch.conf works as ordered. I can ping yahoo.com in addition to my other local machines and have now updated 208 pkgs. rebooted looks ok. Now I can get back to making a 20T lvm out of 5 4T SSD's,  But first some breakfast and a shot of insulin, and a nap while the local weather settles, its poured piss out of a cowbarn boot most of the night.  Thank you for the links, they were educational.

Posted
2 hours ago, gene1934 said:

up all night

 

🧟‍♂️🌙🛌:)

 

2 hours ago, gene1934 said:

edit /etc/hostname to change it to unique name amanda

 

Since introducing of systemd (by default in most Linux assemblies in past 10-15 years), its the systemd way:
https://www.freedesktop.org/software/systemd/man/latest/hostnamectl.html

This way is also handled if armbian-config is used.

 

Also for other things, consider looking into systemd* how-to. Netplan - i understand you might dislike it - is just a wrapper - for systemd-networkd or Network Manager.

Posted

fussing about duplicate post, yes, same problem, different but identical machine.  I have several of these bpi-m5's in service here, And its happened several times while I have reached the age of 90 where short term memory is only weeks.

 

This then. with your link to systemd stuff, is bad code you inherited, blindly. My solution to that was/is to make hostname immutable after editing it.  Much simpler than reading thru half a gigabyte of purposely opaque docs looking for clues.

 

With the advent of led backlighting for monitor screens, CRT screens no longer get burnt in.  So one thing badly needed is a bright red, much bigger mouse pointer that moves at about 1/10 th of its present speed, and an easy way to totally disable screen and mouse blanking. On a 3d printer, they are both a hindrance, adding 10 to 30 seconds to taking action when a printer malfunctions.   And because I use this OS heavily, I also donate a smallish bit of my SS income to your cause on a monthly basis.  Thank you Igor.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines