
Please stick to known working commands, test before rebooting. See /data/boot-cmds.sh after first boot for details, editing requires telnet/ssh using supervisor account or by escaping to busybox from admin account. Place holder script in /data partition run once every boot to allow persistent changes to target SNRM or line capping. Latest firmware from Zyxel include the A2pv6F039 v DSL modem code, other devices with the same BCM63168 chipset have received firmware with later A2pv6F039 x1 & A2pv6F039 圆 modem code, either can be included for testing.

Older telnet binaryĬhoice to include an older version of the telnetd binary from previous firmware before it was modified to only accept a single telnet connection. Increasing this number should work but has not been tested.VMG1312/8x24 Custom Firmware Build Systemĭockerfile and scripts for creating the (old) environment required to build firmware images for Zyxel VMG1312-B10A & VMG8x24-B10A modem/routers, including helper script and patches to enable: 1508 MTU 'baby' jumbo framesĬhanges to to the ethernet driver to allow > 1500 MTU ethernet frames & changes to the PTM network driver to bring the link up with an MTU of 1508 by default. Note that the number at the end indicates the size to write in hex. NSA310>nand write 0x2000000 ubi $filesize NAND erase.part: device 0 offset 0x140000, size 0x7ec0000

Use USB retry period from the environment: 15 second(s)

One for the U-Boot and one for the OpenWrt firmware NSA310>usb reset There could be the need to use two different USB Sticks. Then we proceed to flashing OpenWrt itself (which we called nsa310.bin for less typing): NSA310>setenv bootcmd 'run setenv bootargs ubi part ubi ubi read 0x800000 kernel bootm 0x800000' Now we set the correct environment variables NAND write: device 0 offset 0x0, size 0x100000Īfter the device reboots into the OpenWrt u-boot we adjust the device's MAC address (adjust the values, see the sticker under the NAS case):Īddress in environment is AB:CD:EF:00:11:11 NAND erase: device 0 offset 0x0, size 0x100000 Disconnect power from nsa310, press power button for 5 seconds (to make sure everything is discharged and power is off) You may need to try a few times, and from true power off state.
