Completly Lost

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Completly Lost

Postby calzon65 » Fri May 31, 2013 4:39 pm

I have been using my PogoPlug V2 and a BeagleBone with ArchLinux for over a year without incident. Today I ran a pacman -Syu on my BeagleBone, everything seemed to update as I've done before countless times, I rebooted the device and can see the fixed IP of the device on my network but when I try to connect using PuTTY for an SSH connection, I don't get the Login: prompt any more. I ran the same pacman -Syu on my PogoPlug and am also getting the same problem with logging in.

I am totally lost and don't even know where to begin. As I said before, everything has been working well for over a year on both devices and I have run dozens of updates using pacman -Syu without previous incident. Whatever this current updated contained, it has disrupted something in both devices. I've rebooted both devices and when I run an IP scanner, both devices show up on my network, but when I try to connect using PuTTY, I get a Network Error: Connection Refused and there not even a Login: prompt. Please can anyone give me some guidance?

Edit: Disregard ... I have a feeling the problem is related to SSH not starting up because these two systems were installed way before Systemd stuff was implemented. So I believe I will need to do a complete reinstall.
calzon65
 
Posts: 80
Joined: Wed May 25, 2011 9:06 pm

Re: Completly Lost

Postby tomcheng76 » Sun Jun 02, 2013 12:01 pm

Basically recent upgrade move sshd from sysvinit to systemd, and the sshd service is not enabled by defaults, which is painful for our headless system.

can you boot to a rescue linux by unpluging your usb/harddrive?
if you have that spare system, unplug all drive and boot it first, and then insert your usb / harddrive that containing the root filesystem.

Then, you need a chroot, please see belows for more details
https://wiki.archlinux.org/index.php/Change_Root

After chroot, run the followings and your ssh server should be back
$this->bbcode_second_pass_code('', 'systemctl enable sshd.service
')
tomcheng76
 
Posts: 130
Joined: Mon Dec 13, 2010 11:24 am

Re: Completly Lost

Postby calzon65 » Sun Jun 02, 2013 9:43 pm

Thanks for the response, I ended up reloading from scratch, changing my stuff to systemd and everything is working fine. In a way, this forced me to embrace systemd.
calzon65
 
Posts: 80
Joined: Wed May 25, 2011 9:06 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 6 guests