NSA 320: install process ?

Install Arch Linux ARM on other devices.

Re: NSA 320: install process ?

Postby loicPi » Fri Mar 22, 2013 2:47 pm

$this->bbcode_second_pass_quote('pepedog', 'I')f you get logged in -
$this->bbcode_second_pass_code('', 'ln -sf /usr/lib/systemd/system/poweroff.target /etc/systemd/system/ctrl-alt-del.target')
Now an attached USB keyboard CtrlAltDel powers off instead of reboot (you don't even have to be logged in)


Thank you pepedog but is it possible to assign the power button to this command ?

No ideas about my ssh problem ?
loicPi
 
Posts: 22
Joined: Sat Mar 09, 2013 8:54 am

Re: NSA 320: install process ?

Postby loicPi » Fri Mar 22, 2013 5:46 pm

Here my ssh output in verbose mode :
$this->bbcode_second_pass_code('', '
root@192.168.1.4's password:
debug2: we sent a password packet, wait for reply
debug1: Authentication succeeded (password).
Authenticated to 192.168.1.4 ([192.168.1.4]:22).
debug1: channel 0: new [client-session]
debug2: channel 0: send open
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug2: callback start
debug2: client_session2_setup: id 0
debug2: fd 3 setting TCP_NODELAY
debug2: channel 0: request pty-req confirm 1
debug1: Sending environment.
debug1: Sending env LC_PAPER = fr_BE.UTF-8
debug2: channel 0: request env confirm 0
debug1: Sending env LC_ADDRESS = fr_BE.UTF-8
debug2: channel 0: request env confirm 0
debug1: Sending env LC_MONETARY = fr_BE.UTF-8
debug2: channel 0: request env confirm 0
debug1: Sending env LC_NUMERIC = fr_BE.UTF-8
debug2: channel 0: request env confirm 0
debug1: Sending env LC_TELEPHONE = fr_BE.UTF-8
debug2: channel 0: request env confirm 0
debug1: Sending env LC_MESSAGES = fr_FR.UTF-8
debug2: channel 0: request env confirm 0
debug1: Sending env LC_COLLATE = fr_FR.UTF-8
debug2: channel 0: request env confirm 0
debug1: Sending env LC_IDENTIFICATION = fr_BE.UTF-8
debug2: channel 0: request env confirm 0
debug1: Sending env LANG = fr_BE.UTF-8
debug2: channel 0: request env confirm 0
debug1: Sending env LC_MEASUREMENT = fr_BE.UTF-8
debug2: channel 0: request env confirm 0
debug1: Sending env LC_CTYPE = fr_FR.UTF-8
debug2: channel 0: request env confirm 0
debug1: Sending env LC_TIME = fr_BE.UTF-8
debug2: channel 0: request env confirm 0
debug1: Sending env LC_NAME = fr_BE.UTF-8
debug2: channel 0: request env confirm 0
debug2: channel 0: request shell confirm 1
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel_input_status_confirm: type 99 id 0
debug2: PTY allocation request accepted on channel 0
debug2: channel 0: rcvd adjust 2097152
debug2: channel_input_status_confirm: type 99 id 0
debug2: shell request accepted on channel 0
')

And then... My ssh client (on ubuntu 12.04) is crashed. :shock:
loicPi
 
Posts: 22
Joined: Sat Mar 09, 2013 8:54 am

Re: NSA 320: install process ?

Postby FourOhFour » Fri Mar 22, 2013 7:17 pm

$this->bbcode_second_pass_quote('loicPi', '
')2. The ssh command don't work. It asks me the password and... nothing ! (I've changed the root password)


I had this issue. Your clock isn't set. If you have the serial cable, connect it, log in as root, set the time with the date command (`date MMDDhhmmYYYY`), and write it to the hardware clock (`hwclock -w`). Oh, set the timezone first if you haven't.

If you don't have the serial cable, you're probably going to have to pull the drive, connect it to a PC running a linux install or a livecd, and create a systemd file that'll set the time to something close enough for ntp to take over (or at least close enough for ssh to work)

(Perhaps the install guide should instruct users to boot the stock OS at least once and set the clock there to avoid this)
FourOhFour
 
Posts: 3
Joined: Sun Mar 10, 2013 12:52 pm

Re: NSA 320: install process ?

Postby loicPi » Sat Mar 23, 2013 6:47 am

It works ! Thank you ! ;)

I've used my serial console, it is almost impossible to install without it.
loicPi
 
Posts: 22
Joined: Sat Mar 09, 2013 8:54 am

Re: NSA 320: install process ?

Postby loicPi » Sat Mar 23, 2013 8:12 am

I've now written my installation procedure to help newbies like me : http://cadcadet.blogspot.be/2013/03/installer-arch-linux-sur-le-zyxel-nsa320.html

It is in French. If someone understands, do not hesitate to comment !
loicPi
 
Posts: 22
Joined: Sat Mar 09, 2013 8:54 am

Re: NSA 320: install process ?

Postby planeteater » Mon Mar 25, 2013 6:56 pm

Hi,
$this->bbcode_second_pass_quote('loicPi', '
')I have only 2 problems :
1. The power button don't works. (Even when I execute the "halt" command, the system halts but the power of the NSA is still


Put this into /etc/udev/rules.d/90-power-button.rules:
$this->bbcode_second_pass_code('', 'KERNEL=="event*", SUBSYSTEM=="input", ATTRS{name}=="gpio-keys", TAG+="power-switch" ')

After reboot, you should see this in the journal:
$this->bbcode_second_pass_code('', '# journalctl _SYSTEMD_UNIT=systemd-logind.service
...
Dec 30 15:50:48 nas systemd-logind[145]: Watching system buttons on /dev/input/event0 (gpio-keys)
...')
You can somewhat customize the power button behaviour in /etc/systemd/logind.conf, the default action is poweroff. Note: you have to hold down the button for a couple of seconds to trigger.
planeteater
 
Posts: 26
Joined: Sat Dec 29, 2012 2:44 pm
Top

Re: NSA 320: install process ?

Postby user11 » Sun Apr 07, 2013 5:08 pm

Is it possible to boot NSA320 not from HDD, but from usb flash drive and use HDD only for storage? I mean, the same way as POGO devices work?
user11
 
Posts: 7
Joined: Sat Dec 29, 2012 6:38 pm

Previous

Return to [Please read announcement] Community-Supported Devices

Who is online

Users browsing this forum: No registered users and 6 guests