Hi all,
I've been running an ARM based Seagate Dockstar for over 5 years serving out samba shares to my media center and wireless LAN. It worked awesome. A few days ago, I tried upgrading it to "kirkwood-latest" from http://archlinuxarm.org/platforms/armv5 ... e-dockstar and it's quite borked.
First off is network.
It doesn't come up. No dhcp, no link light, nothing. It's always just worked with dhcp so not sure what happened. I was going to set a static ip in /etc/network/interfaces but it's not there.. I recall the ethernet setup being a bit atypical of common Linux systems but not sure if this is missing from the upgrade or what. I assigned an IP by hand (ifconfig eth0 10.10.10.1/24 up && route add default gw 10.10.10.254) and was able to ping my router however DNS wasn't working. I looked in /etc/resolv.conf but it was empty. I added some entries for google DNS but was unable to save the file as it was a symlink to /run/systemd/resolve/resolv.conf. Naturally, the destination didn't exist. The directory didn't even exist under /run. How is it the system is configured this way with non-existant files and directories? I removed the symlink from /etc/ and put in some resolvers and things started working. I was able to pacman rsync and get my backups working again. Short term, I've added network config commands to /etc/rc.local to bring the system up from a reboot but where do I go to configure the network properly as well as populate /run/systemd/resolve/resolv.conf ?
Second is logging. Not sure what's going on but there are no system logs. All that's in /var/log is:
$this->bbcode_second_pass_code('', '
[root@Arch Linux ARM install etc]# dir /var/log/
total 32
-rw-r--r-- 1 root root 12130 Dec 31 18:00 dmesg.log
-rw-r--r-- 1 root root 0 Dec 31 18:00 netcat.log
drwxr-xr-x 4 root root 4096 Dec 31 18:13 .
-rw-r--r-- 1 root root 778 Jan 2 02:41 pacman.log
drwxr-xr-x 2 root root 4096 Feb 24 2015 old
drwxr-xr-x 12 root root 4096 Sep 2 2015 ..
drwxr-sr-x 3 root 102 4096 Sep 2 2015 journal')
What is going on here? Where is boot.log? and messages? and kernel log? auth.log? I googled /var/log/journal and found systemd journal service is supposed to write there. Ok, fine but there is nothing in there. I tried journalctl but it just says "No journal files were found". Where do I go to find out about kernel events or authentication failures? Is logging now very different?
Thirdly is samba. I tried to pacman -S samba it asks about installing some packages and then terminates with errorcode 404 "error: failed retrieving file 'samba-4.2.3-2-arm.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404
Can someone point me in the right direction on how to correctly upgrade my dockstar to make all this work? It's quite broken at this point. I have backups I can restore from, but I did not backup things like /bin and /usr so I need a system tarfile of some sort to start from. I can got back to the original install image but I got behind on updates over the years and pacman became quite broken on that system too. I tried upgrading that first but it didn't work out. There was some conflicts with dependcies that ended up leaving some things half-installed.