@fda installiert hab ich schon und dachte, so muß es ablaufen:
~/7x-ng$ ncftp
NcFTP 3.2.5 (Feb 02, 2011) by Mike Gleason (
Sie müssen registriert sein, um Links zu sehen.
).
ncftp> make push-firmware...
dann raus und so weiter:
ps. über die ip 192.168.178.1 komme ich auf die fb 7590 webgui drauf. ist somit erreichbar.
cd 7x-ng
freetz@freetz-server:~/7x-ng$ make push-firmware
* Using command: ncftpput
* Target host: 192.168.178.1
* Outgoing IP: 192.168.178.82
* Flash mode: ram-boot
* Allowed memory size: 512 MB
* Designated linux_fs_start: <current>
* MAPSTART=0x80000000
* FULLSIZE=0x20000000 (512 MB)
* MAPLIMIT=0xa0000000
* FILESIZE=0x203dc00 (32 MB)
* FREESIZE=0x1dfc2400 (479 MB)
* MTDSTART=0x9dfc2400
!!! WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!!
!!! THERE IS NO WARRANTY AT ALL !!! USE AT YOUR OWN RISK !!!
* Are you sure, that you want to flash this file to the device?
images/7590_07.12.ger_freetz-ng-15986M_20190824-034401.image
Proceed? (y/[n]) y
* You should now reboot your box (192.168.178.1). Waiting for shut down.
Switch off, if reboot is not detected because it happens too quickly.
Some newer bootloader versions allow to flash on power-cycle only.
* No reply from box. Assuming switch-off or restart. Trying to re-detect box.
.......
* Box is back up again, initiating transfer.
LibNcFTP 3.2.5 (January 17, 2011) compiled for linux-x86_64-glibc2.23
Uname: Linux|freetz-server|4.15.0-58-generic|#64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019|x86_64
Contents of /etc/debian_version:
buster/sid
Contents of /etc/issue:
Ubuntu 18.04.2 LTS \n \l
Glibc: 2.27 (stable)
Could not connect to 192.168.178.1: Connection refused.
Sleeping 20 seconds.
Retry Number: 1
Could not connect to 192.168.178.1: Connection refused.
Sleeping 20 seconds.
Retry Number: 2
Could not connect to 192.168.178.1: Connection refused.
ncftpput: cannot open 192.168.178.1: remote host refused connection.
Makefile:336: recipe for target 'push-firmware' failed
make: *** [push-firmware] Error 1
freetz@freetz-server:~/7x-ng$
ab 20 sek-> Stromunterbrechung manuel und so gings weiter:
Code:
* No reply from box. Assuming switch-off or restart. Trying to re-detect box.
........
* Box is back up again, initiating transfer.
LibNcFTP 3.2.5 (January 17, 2011) compiled for linux-x86_64-glibc2.23
Uname: Linux|freetz-server|4.15.0-58-generic|#64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019|x86_64
Contents of /etc/debian_version:
buster/sid
Contents of /etc/issue:
Ubuntu 18.04.2 LTS \n \l
Glibc: 2.27 (stable)
Could not connect to 192.168.178.1: Connection refused.
Sleeping 20 seconds.
Retry Number: 1
Could not connect to 192.168.178.1: Connection refused.
Sleeping 20 seconds.
Retry Number: 2
220: ADAM2 FTP Server ready
Connected to 192.168.178.1.
Cmd: USER adam2
331: Password required for adam2
Cmd: PASS xxxxxxxx
230: User adam2 successfully logged in
Logged in to 192.168.178.1 as adam2.
Cmd: MEDIA SDRAM
200: Media set to MEDIA_SDRAM
Cmd: SETENV memsize 0x1f345000
200: SETENV command successful
Cmd: SETENV kernel_args_tmp mtdram1=0x9f345000,0xa0000000
200: SETENV command successful
Cmd: TYPE I
200: Type set to BINARY
Cmd: MLST 0x9f345000 0xa0000000
502: Command not implemented
Cmd: PASV
227: Entering Passive Mode (192,168,178,1,12,16)
Cmd: STOR 0x9f345000 0xa0000000
150: Opening BINARY data connection
/tmp/freetz_wCJ/ramboot.flash: ETA: 133:04 0.12/ 12.73 MB 1.62 kB/s =Remote write failed after 131072 bytes had been sent: Connection reset by peer.
Could not read reply from control connection -- timed out.
/tmp/freetz_wCJ/ramboot.flash: 12.73 MB 610.35 B/s
ncftpput 0x9f345000 0xa0000000: socket write error.
Makefile:336: recipe for target 'push-firmware' failed
make: *** [push-firmware] Error 3
freetz@freetz-server:~/7x-ng$