Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 14, 2015 06:12AM |
Registered: 9 years ago Posts: 9 |
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 14, 2015 01:51PM |
Admin Registered: 13 years ago Posts: 18,993 |
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 14, 2015 02:34PM |
Registered: 9 years ago Posts: 9 |
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 14, 2015 02:43PM |
Registered: 11 years ago Posts: 80 |
ethprime=egiga0 ethact=egiga0 ethaddr=5C:F4:AB:40:5B:23 ipaddr=192.168.0.100 netmask=255.255.255.0 serverip=192.168.0.254
ping 192.168.0.254 Using egiga0 device ping failed; host 192.168.0.100 is not alive
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 14, 2015 02:59PM |
Admin Registered: 13 years ago Posts: 18,993 |
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 14, 2015 03:06PM |
Admin Registered: 13 years ago Posts: 18,993 |
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 14, 2015 03:11PM |
Registered: 11 years ago Posts: 80 |
NSA325> run preboot_nc Using egiga0 device ping failed; host 192.168.0.254 is not alive Using egiga0 device ping failed; host 192.168.0.254 is not alive Using egiga0 device ping failed; host 192.168.0.254 is not alive Using egiga0 device ping failed; host 192.168.0.254 is not alive Using egiga0 device ping failed; host 192.168.0.254 is not alive
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 14, 2015 03:28PM |
Admin Registered: 13 years ago Posts: 18,993 |
> NSA325> run preboot_nc > Using egiga0 device > ping failed; host 192.168.0.254 is not alive > Using egiga0 device > ping failed; host 192.168.0.254 is not alive > Using egiga0 device > ping failed; host 192.168.0.254 is not alive > Using egiga0 device > ping failed; host 192.168.0.254 is not alive > Using egiga0 device > ping failed; host 192.168.0.254 is not alive >>
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 14, 2015 03:33PM |
Admin Registered: 13 years ago Posts: 18,993 |
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 14, 2015 05:31PM |
Registered: 11 years ago Posts: 80 |
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 14, 2015 06:11PM |
Admin Registered: 13 years ago Posts: 18,993 |
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 15, 2015 02:47AM |
Registered: 9 years ago Posts: 9 |
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 15, 2015 05:06AM |
Admin Registered: 13 years ago Posts: 18,993 |
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 15, 2015 11:48AM |
Registered: 11 years ago Posts: 80 |
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 15, 2015 12:34PM |
Registered: 9 years ago Posts: 9 |
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 15, 2015 02:30PM |
Admin Registered: 13 years ago Posts: 18,993 |
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 15, 2015 03:19PM |
Registered: 11 years ago Posts: 80 |
NSA325> printenv DTBAddr=0x1c00000 arcNumber=4495 baudrate=115200 boot_from_hdd=ide reset; if run hdd_load_DTB && run hdd_load_uImage && run hdd_load_uInitramfs; then run hdd_setbootargs; bootm ${loadaddr} ${uInitramfsAddr} ${DTBAddr}; fi boot_from_usb=usb reset; if run usb_load_DTB && run usb_load_uImage && run usb_load_uInitramfs; then run usb_setbootargs; bootm ${loadaddr} ${uInitramfsAddr} ${DTBAddr}; fi bootargs=console=ttyS0,115200 rootfstype=ext4 root=LABEL=usb-root usb-storage.delay_use=0 rootdelay=10 :::orion:eth0:none bootargs_end=:::orion:eth0:none bootcmd=echo test bootdelay=10 console=ttyS0,115200 ethact=egiga0 ethaddr=5C:F4:AB:40:5B:23 ethmtu=1500 ethprime=egiga0 filesize=99fd1 hdd_load_DTB=ext2load ide 0:3 ${DTBAddr} /boot/kirkwood-nsa325.dtb || ext2load ide 1:3 ${DTBAddr} /boot/kirkwood-nsa325.dtb hdd_load_uImage=ext2load ide 0:3 ${loadaddr} /boot/uImage || ext2load ide 1:3 ${loadaddr} /boot/uImage hdd_load_uInitramfs=ext2load ide 0:3 ${uInitramfsAddr} /boot/uInitramfs || ext2load ide 1:3 ${uInitramfsAddr} /boot/uInitramfs hdd_setbootargs=setenv bootargs console=ttyS0,115200 rootfstype=ext4 root=LABEL=hdd-root rootdelay=10 ${bootargs_end} if_netconsole=ping $serverip ipaddr=192.168.0.100 led_error=orange blinking led_exit=green off led_init=green blinking loadaddr=0x800000 mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) nc_ready=0 netmask=255.255.255.0 preboot=setenv stderr serial; setenv stdin serial; setenv stdout serial; setenv baudrate 115200; setenv console ttyS0,115200; setenv bootdelay 10 preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi serverip=192.168.0.254 stderr=serial stdin=serial stdout=serial uInitramfsAddr=0x1100000 usb_load_DTB=fatload usb 0:1 ${DTBAddr} /boot/kirkwood-nsa325.dtb || ext2load usb 0:1 ${DTBAddr} /boot/kirkwood-nsa325.dtb usb_load_uImage=fatload usb 0:1 ${loadaddr} /boot/uImage || ext2load usb 0:1 ${loadaddr} /boot/uImage usb_load_uInitramfs=fatload usb 0:1 ${uInitramfsAddr} /boot/uInitramfs || ext2load usb 0:1 ${uInitramfsAddr} /boot/uInitramfs usb_setbootargs=setenv bootargs console=ttyS0,115200 rootfstype=ext4 root=LABEL=usb-root usb-storage.delay_use=0 rootdelay=10 ${bootargs_end} Environment size: 2431/131068 bytes
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 15, 2015 03:23PM |
Admin Registered: 13 years ago Posts: 18,993 |
preboot=setenv stderr serial; setenv stdin serial; setenv stdout serial; setenv baudrate 115200; setenv console ttyS0,115200; setenv bootdelay 10 preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi
preboot=run preboot_nc
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 22, 2015 04:23PM |
Registered: 9 years ago Posts: 9 |
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 24, 2015 01:10AM |
Admin Registered: 13 years ago Posts: 18,993 |
Dannii
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 24, 2015 09:43PM |
Starting Nmap 6.47 ( http://nmap.org ) at 2015-07-25 02:44 BST Nmap scan report for 192.168.0.xx Host is up (0.00049s latency). PORT STATE SERVICE 22/tcp closed ssh Nmap done: 1 IP address (1 host up) scanned in 1.33 seconds
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 24, 2015 10:03PM |
Admin Registered: 13 years ago Posts: 18,993 |
> Starting Nmap 6.47 ( http://nmap.org ) at > 2015-07-25 02:44 BST > Nmap scan report for 192.168.0.xx > Host is up (0.00049s latency). > PORT STATE SERVICE > 22/tcp closed ssh > > Nmap done: 1 IP address (1 host up) scanned in > 1.33 seconds >>
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 24, 2015 10:31PM |
Registered: 9 years ago Posts: 9 |
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 25, 2015 12:25AM |
Registered: 9 years ago Posts: 9 |
root@debian:~# fw_printenv ethact=egiga0 bootdelay=3 baudrate=115200 mainlineLinux=yes console=ttyS0,115200 led_init=green blinking led_exit=green off led_error=orange blinking mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) mtdids=nand0=orion_nand partition=nand0,2 stdin=serial stdout=serial stderr=serial rescue_installed=0 rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi force_rescue=0 force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi ubifs_mtd=3 ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done usb_scan_list=1 2 3 4 usb_scan_1=usb=0:1 dev=sda1 usb_scan_2=usb=1:1 dev=sdb1 usb_scan_3=usb=2:1 dev=sdc1 usb_scan_4=usb=3:1 dev=sdd1 usb_init=run usb_scan usb_device=0:1 usb_root=/dev/sda1 usb_rootfstype=ext2 usb_rootdelay=10 usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset ethaddr=00:25:31:00:60:EF arcNumber=3542 machid=dd6 preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi preboot=run preboot_nc ipaddr=192.168.0.xx serverip=192.168.0.xx
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 25, 2015 01:13AM |
Admin Registered: 13 years ago Posts: 18,993 |
ipaddr=192.168.0.xx serverip=192.168.0.xx
ipaddr=192.168.0.100 serverip=192.168.0.200
nc -lup 6666 192.168.0.100 6666
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 25, 2015 06:08AM |
Registered: 9 years ago Posts: 9 |
$ nc -lup 6666 192.168.0.15 6666 nc: cannot use -p and -l $ nc -lu 6666 192.168.0.15 6666 nc: getaddrinfo: nodename nor servname provided, or not known
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 25, 2015 06:34AM |
Admin Registered: 13 years ago Posts: 18,993 |
nc -lup 6666 192.168.0.15 6666or
nc -kup 6666 192.168.0.15 6666
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 25, 2015 07:08AM |
Registered: 9 years ago Posts: 9 |
brew install netcat
nc --help GNU netcat 0.7.1, a rewrite of the famous networking tool. Basic usages: connect to somewhere: nc [options] hostname port [port] ... listen for inbound: nc -l -p port [options] [hostname] [port] ... tunnel to somewhere: nc -L hostname:port -p port [options] Mandatory arguments to long options are mandatory for short options too. Options: -c, --close close connection on EOF from stdin -e, --exec=PROGRAM program to exec after connect -g, --gateway=LIST source-routing hop point[s], up to 8 -G, --pointer=NUM source-routing pointer: 4, 8, 12, ... -h, --help display this help and exit -i, --interval=SECS delay interval for lines sent, ports scanned -l, --listen listen mode, for inbound connects -L, --tunnel=ADDRESS:PORT forward local port to remote address -n, --dont-resolve numeric-only IP addresses, no DNS -o, --output=FILE output hexdump traffic to FILE (implies -x) -p, --local-port=NUM local port number -r, --randomize randomize local and remote ports -s, --source=ADDRESS local source address (ip or hostname) -t, --tcp TCP mode (default) -T, --telnet answer using TELNET negotiation -u, --udp UDP mode -v, --verbose verbose (use twice to be more verbose) -V, --version output version information and exit -x, --hexdump hexdump incoming and outgoing traffic -w, --wait=SECS timeout for connects and final net reads -z, --zero zero-I/O mode (used for scanning) Remote port number can also be specified as range. Example: '1-1024'
nc -l -u -p 6666 & # and got... [1] 74703
nc -l -u 192.168.0.15 6666
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 25, 2015 03:07PM |
Admin Registered: 13 years ago Posts: 18,993 |
Re: 2014.07 U-Boot Kirkwood - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile, Sheevaplug, NSA325, NSA320 July 25, 2015 07:11PM |
Registered: 9 years ago Posts: 9 |