Cant get installation to work (Zyxel 325v2)

This forum is for topics dealing with problems with software specifically in the ARMv5 repo.

Re: Cant get installation to work (Zyxel 325v2)

Postby WarheadsSE » Thu Jan 01, 2015 4:37 pm

This sounds to me like there is either a bad key for ssh, or the rootfs is indeed mounted readonly.

So:
- login via usb keyboard blindly
- remove the sshd server keys (rm -f /etc/ssh/ssh_host_*)
- start sshd (systemctl start sshd)
- Wait up to one minute, then see if the port is open.

If that does not work:
- remount / as rw (mount -o remount,rw /)
- repeat above.

Once you are in, check the cmdline (cat /proc/cmdline) and see if there is an 'ro' in there. If there is, we'll have to fix that.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Cant get installation to work (Zyxel 325v2)

Postby Jakodns » Thu Jan 01, 2015 4:46 pm

Roger that, will get working on it in a few hours.
Jakodns
 
Posts: 16
Joined: Sun Dec 28, 2014 1:32 pm

Re: Cant get installation to work (Zyxel 325v2)

Postby Jakodns » Fri Jan 02, 2015 4:27 pm

I hope I am doing something wrong...


Tried to rm -f /etc/ssh/ssh_host_* (The * should be there in the command right?) and start the ssh service. Didn't work

Tried to remount / as rw. didn't work (and start the ssh service after)
Jakodns
 
Posts: 16
Joined: Sun Dec 28, 2014 1:32 pm

Re: Cant get installation to work (Zyxel 325v2)

Postby WarheadsSE » Fri Jan 02, 2015 4:38 pm

Yes, include the *
$this->bbcode_second_pass_code('', '
mount -o remount,rw /
rm -rf /etfc/sshd/ssh_host_*
systemctl daemon-reexec
')
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Cant get installation to work (Zyxel 325v2)

Postby Jakodns » Fri Jan 02, 2015 7:29 pm

Same old. Same old...


But it seems like something is happening since when i start the SSHD service the nic lights flash more than regularly (aka, more than just for the ARP request)
Jakodns
 
Posts: 16
Joined: Sun Dec 28, 2014 1:32 pm

Re: Cant get installation to work (Zyxel 325v2)

Postby pepedog » Fri Jan 02, 2015 8:43 pm

I think time to buy a serial adapter, ftdi based is best, never connect 5V
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Cant get installation to work (Zyxel 325v2)

Postby Jakodns » Fri Jan 02, 2015 8:48 pm

Can't I use the same ghetto version i used before? Got perfect connection to the serial link. (Arduino while pulling reset to ground)


edit: Also could you provide instructions what i should do when i have serial connection
Jakodns
 
Posts: 16
Joined: Sun Dec 28, 2014 1:32 pm

Re: Cant get installation to work (Zyxel 325v2)

Postby WarheadsSE » Sun Jan 04, 2015 8:12 pm

That certainly is qhetto.

Temember that it is a 3.3v TTL, so it might be 5v tolerant, but DO NOT connect the Vcc!
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Cant get installation to work (Zyxel 325v2)

Postby Jakodns » Mon Jan 05, 2015 2:10 pm

It worked last time i plugged it in so it should be fine.

So I have everything plugged in, what should i do? Run the command for fetching that log?
Jakodns
 
Posts: 16
Joined: Sun Dec 28, 2014 1:32 pm

Re: Cant get installation to work (Zyxel 325v2)

Postby WarheadsSE » Mon Jan 05, 2015 2:37 pm

You should be able to get a shell. Otherwise, watch the boot and get the logs of that.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

PreviousNext

Return to ARMv5

Who is online

Users browsing this forum: No registered users and 2 guests