gene1934 Posted 8 hours ago Posted 8 hours ago This system has been running for several months months as a backup server with a nobel release about a year old, maybe some older, using two usb3 7 port hubs because 1 hub could not handle the current draw of 5 TSMC 4T SSD's using startech usb3.1 cables to connect 5 if them in a /raid6 configuration for an 11.1 Tb drive. But I decided to do an as sudo -i, "apt update" and was advised that would update about 430 files so I figured I'd do an apt update -y, then and apt --purge autoremove". Unforch it went into lala land while making a new initrd. After about 20 minutes I did a powerdown to be greeted by a repeating loop indicating there was no network. So I dl'd & wrote the month old 26.03 release. Which after getting chrony to work using my own local ntpsec, finally got the correct time and I'm able to login both directions using ssh me@machine assigned address, but no outside my local net addresses are found, dhcp isn't working. It is supposed to first query /etc/hosts wich does work, but if that doesn't resolve the name in dnsmasq, the router then query's the dns server at my ISP, which works for the rest of my 8 machines here, but does Not work for the 26.03 just released a month ago. ip a reports: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: end0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether be:63:9c:35:dd:4f brd ff:ff:ff:ff:ff:ff inet 192.168.71.2/24 brd 192.168.71.255 scope global noprefixroute end0 valid_lft forever preferred_lft forever inet6 fe80::bc63:9cff:fe35:dd4f/64 scope link valid_lft forever preferred_lft forever ip r reports: 192.168.71.0/24 dev end0 proto kernel scope link src 192.168.71.2 metric 100 gene@amanda:~$ A ping -c1 yahoo.com kills enough time its several seconds before it reports "network is unreachable" Can you see whats wrong, or give me the newer tracing tools to find the error? Thank you. 0 Quote
gene1934 Posted 8 hours ago Author Posted 8 hours ago no wireless is configured except the BT mouse, which works fine. 0 Quote
bedna Posted 8 hours ago Posted 8 hours ago (edited) What's in your /etc/resolv.conf? And what do you mean with "dhcp isn't working"? Is 192.168.71.2 not the correct ip? Where is your dhcp? Your router? Edited 8 hours ago by bedna 0 Quote
gene1934 Posted 8 hours ago Author Posted 8 hours ago the router reflashed with a recent dd-wrt runs dnsmasq, which caches the ISP. If that fails it query's the ISP's server, which works fine for the other 7 machines here. 0 Quote
gene1934 Posted 7 hours ago Author Posted 7 hours ago untouched and wrong as can be: # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search . Damn, doesn't anyone use /etc/hosts for small home networks anymore? Toss in that you don't install ANY manpages so us users are running blind 99% of the time. Thanks bedna. 0 Quote
gene1934 Posted 7 hours ago Author Posted 7 hours ago gene@amanda:~$ resolvectl status Global Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported resolv.conf mode: stub Link 2 (end0) Current Scopes: DNS Protocols: +DefaultRoute -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported Current DNS Server: 192.168.71.0 DNS Servers: 192.168.71.0 0 Quote
bedna Posted 7 hours ago Posted 7 hours ago (edited) 42 minutes ago, gene1934 said: nameserver 127.0.0.53 Either the config on the device is wrong, there is supposed to be a dns ON the device or the dhcp server is handing out wrong dns to the device. 42 minutes ago, gene1934 said: Damn, doesn't anyone use /etc/hosts for small home networks anymore? Not on every specific device if there is a local dns server available on the network. Then it's normally done on the local dns itself by first checking local configs (like /etc/hosts) and if not available, resolve using online dns servers and then send the response to the device. And the dhcp server is obv configured to point to the local dns server. That way the configs gets propagated via the dhcp lease to all devices on the network. Edit As far as I know, network manager is default on armbian (correct me if I'm wrong) and that should have edited your /etc/resolv.conf. So since it's not, you have made changes outside of default config somehow. Could be that the specific release and device you use does not utilize network manager. But since you have not disclosed that info, hard to know. But it looks like you use systemd-resolved so you should check how that works. Edit2 I was wrong about network manager, see https://docs.armbian.com/User-Guide_Networking/ Edited 7 hours ago by bedna 0 Quote
gene1934 Posted 7 hours ago Author Posted 7 hours ago NetworkManager is how I have been trying of configure end0 but it won't run by itself, ONLY when armbian-config runs it as a client. IDK if I can copy/paste its show me output. 0 Quote
bedna Posted 6 hours ago Posted 6 hours ago (edited) If you want to use network manager you have to make sure systemd is not overriding your configs, ie disable relevant systemd services. To me, it sounds easier to just use what is installed default, in this case systemd and use networkctl to interact. But it should be irrelevant. If you configure your dhcp server and dns server correctly, both systemd and network manager should pick up correct config in default config state so you should not even have to interact with either of them. (I started assuming you are using a minimal image, therefore systemd as default. You haven't disclosed what version you use, just something 26.3) Edited 6 hours ago by bedna 0 Quote
gene1934 Posted 1 hour ago Author Posted 1 hour ago the xfce4 desktop version, specficallly: Armbian_26.2.1_Bananapim5_noble_current_6.18.15_xfce_desktop.img after unpacking the xz version. The previous version that needed 430 some updates also had the mdadm stuff preloaded and had no trouble recovering the /raid6 once I had created the mount point with a mkdir /raid6. this one fails on all counts so, no entries other than control in /dev/mapper. So I'm assuming the first thing I need to install once networking is working is mdadm. But without an external network I'm locked out of everything else. Very frustrating. gene@amanda:~$ ls /dev/sd* /dev/sda /dev/sdb /dev/sdc /dev/sdd /dev/sdd2 /dev/sde1 /dev/sdf1 /dev/sdg1 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde /dev/sdf /dev/sdg So all the drives are there but not recognized as the raid6. The odd /dev/sdd is probably the 1T 2.5" lappy drive I put in for a faster /swap and had plans for its use as a scratchpad drive for amanda's use but is essentially just 50G of swap now. So what do I edit to fix the network ??? 0 Quote
Recommended Posts
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.