Welcome! Log In Create A New Profile

Advanced

ZyXEL NSA320S Mods and Hacks

Posted by jochar 
ZyXEL NSA320S Mods and Hacks
February 17, 2015 03:55PM
Hello,

I will place all the hack info into this topic

1) internal ttl mod

2) debian running on NSA320S (in progress)



Edited 2 time(s). Last edit at 02/20/2015 02:46PM by jochar.
Re: ZyXEL NSA320S Hacks
February 17, 2015 04:17PM
1) Built in ttl console

I have built in a ttl to usb adapter for direct access with usb printer cable (check photos in url)

ttl port speed: 115200

pinout
black = ground
grey = rx
white = tx
(rx and tx might be interchanged, all depends on your ttl module)

NSA320S Photo Album

Components used:
FT232 USB TO TTL 5V 3.3V Serial Adapter Module €2.14
Jumper wires female to female €1.02
USB type B female panel mount cable €1.70
Total cost: €4.86 + Free shipping
Attachments:
open | download - uboot.txt (1.1 KB)
Re: ZyXEL NSA320S Hacks
February 17, 2015 04:42PM
To boot into linux, interrupt boot with any key and use commands:

setenv mainlineLinux 'yes'
setenv device '0:1'
setenv rootdelay '10'
setenv rootfstype 'ext3'
setenv usb_root '/dev/sda1'
setenv usb_load_uimage 'ext2load usb $(device) 0x800000 /boot/uImage'
setenv usb_load_uinitrd 'ext2load usb $(device) 0x1100000 /boot/uInitrd'
setenv usb_boot 'run usb_load_uimage; run usb_load_uinitrd; bootm 0x800000 0x1100000'
setenv set_bootargs_usb 'setenv bootargs console=ttyS0,115200 root=/dev/sda1  rootdelay=10  rootfstype=ext3'
setenv usb_init 'mw.l f1010100 0020c000; usb reset'
setenv bootcmd_usb 'run usb_init; run set_bootargs_usb; run usb_boot;'
setenv bootcmd 'run bootcmd_usb; reset'
boot

rootfs is here:
http://forum.doozan.com/read.php?2,12096

Issues:
No network (no light on the back of the unit, switch does not detect the port, i have tested the cable with the tester and tryed the port with a pc, but no luck)

Plase help to resolve this network issue
Re: ZyXEL NSA320S Hacks
February 17, 2015 06:51PM
@jochar,

> Issues:
> No network (no light on the back of the unit,
> switch does not detect the port, i have tested the
> cable with the tester and tryed the port with a
> pc, but no luck)
>
> Plase help to resolve this network issue

Please post your dmesg output after booting and logged in as root with serial console.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: ZyXEL NSA320S Hacks
February 17, 2015 07:13PM
Also see this thread: Debian Linux on Zyxel NSA320S (success)

It might or might not be because you're booting with the NSA320 DTB. chrlee has a new DTS for NSA320S which I'm going to include in the next kernel release to see if it will be enough.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: ZyXEL NSA320S Mods and Hacks
February 18, 2015 01:45PM
Hello and thanks for getting back to me

hope this type of topic is ok, i plan on keeping it up to date

Theres something about the RJ45 port on my box.... sometimes the light comes up sometimes it does not but i believe that makes me fail and so everything else fails

very nice blog that is but pitty is in hungarian, need to do some google translate

i will keep you posted

EDIT:

This is wery weird network card on NSA320s runs on 10mbit for some reason, its port 18, not sur why it worn claim full speed, also it wont obtain ip from dhcp nor will release the static one which does not work either

Also gbit link comes up when i load up the standard zyxel image, but i can not access or ping it, looks like the network is gone on the board, i have ordered a USB > LAN adapter maybe ill have more luck with that

EDIT 2:
I have attached dmesg output

EDIT 3:
with a lot of probing and testing between 3 routers and switches finally gbit network came up, not sure how but im updating it now vai apt-get update



Edited 5 time(s). Last edit at 02/18/2015 03:00PM by jochar.
Attachments:
open | download - port.jpg (26.7 KB)
open | download - dmesg.txt (6.8 KB)
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: