@related: [[file]] [[transfer]] [[Protocol]] [[busybox]] [[ftps]] [[sftp]] [[ssh]] [[raid]] [[armv5]]
==== HARMATTAN ====
http://rzr.online.fr/q/ftp# using #FtP #ClI on #MeeGo/ #HarmattaN : #NcFtp for backup/sync and #LFtp upgraded thx @itsnotabigtruck !n950club
check http://rzr.online.fr/q/harmattan to InstalL
For "OldSkewl Mobile DiY blogging" , I write using redak then recursive upload w/ ncftp my online dokuwiki ... KisS ...
apt-get install ncftp
cd ~/mnt/notes/
redak ~/mnt/notes/index.txt
ncftpput -R -u $u -p $w $h $dest .
Alternative is to use lftp or RSync ...
* https://build.pub.meego.com/package/show?package=lftp&project=home%3Arzr%3Aharmattan
@TaG: RSynC FilE TransfeR ProtocoL HarmattaN HandSet
{{http://www.turfnet.com/wilber/wp-content/uploads/2010/02/blogging_monkeys.jpg}}
==== OBSOLETE ====
* http://packages.qa.debian.org/v/vsftpd.html
* http://lftpfs.sourceforge.net
* http://packages.qa.debian.org/curlftpfs
* http://packages.qa.debian.org/c/curl.html
==== ftps ====
"A record packet with illegal version was received."
put: Fatal error: gnutls_record_recv: A record packet with illegal version was received.
* GnuTLS recv error (-8): A record packet with illegal version was received.
* http://www.question-defense.com/2010/02/04/vsftpd-error-gnutls-error-9-a-tls-packet-with-unexpected-length-was-received
* http://bugs.debian.org/377020 http://bugs.debian.org/574373
* http://oschgan.com/drupal/node/14 ssl_request_cert=NO
* http://minimallinux.com/post/750130430/ubuntu-openbox-submitted-by-hpsych
==== curlftpfs ====
is there a way to set the '-k' option of curl (ie : curl -k --ftp-ssl $url )
here is the anoying issue i'd like to workaround
> PASV
* Connect data stream passively
* GnuTLS recv error (-8): A record packet with illegal version was received.
* Closing connection #0
ftpfs: operation ftpfs_getdir failed because Input/output error
unique: 4, error: -5 (Input/output error), outsize: 16
unique: 5, opcode: RELEASEDIR (29), nodeid: 1, insize: 64
unique: 5, success, outsize: 16
* https://sourceforge.net/tracker/?group_id=160565&atid=816358
==== tftp server test ====
sudo aptitude install tftpd busybox
busybox tftp -g -l /dev/stdout -r uImage.buffalo localhost | xxd | less
sudo less /var/log/syslog
#| Nov 26 13:56:34 lap in.tftpd[13346]: connect from 127.0.0.1 (127.0.0.1)
#| Nov 26 13:56:34 lap tftpd[13347]: tftpd: trying to get file: uImage.buffalo
#| Nov 26 13:56:34 lap tftpd[13347]: tftpd: serving file from /srv/tftp
==== tftpboot ====
* http://forum.buffalo.nas-central.org/viewtopic.php?f=39&t=22321&p=150395#p150395
==== busybox ====
busybox tftp client seems to have a 32MB limit
* http://osdir.com/ml/busybox/2003-05/msg00011.html
* http://packages.qa.debian.org/b/busybox.html
i=33554432
dd if=/dev/zero of=/tftpboot/home/$USER/tmp.tmp bs=$i count=1 ; busybox tftp -g -l /dev/null -r home/$USER/tmp.tmp localhost
1+0 records in
1+0 records out
33554432 bytes (34 MB) copied, 0.167244 s, 201 MB/s
using server "127.0.0.1", remotefile "home/rzr/tmp.tmp", localfile "/dev/null".
sending 28 bytes
00 01 68 6f 6d 65 2f 63 6f 76 61 6c 70 2f 74 6d 70 2e 74 6d 70 00 6f 63 74 65 74 00
received 25 bytes: 0005 0000
tftp: server says: Undefined error code
i=33554431
dd if=/dev/zero of=/tftpboot/home/$USER/tmp.tmp bs=$i count=1 ; busybox tftp -g -l /dev/null -r home/$USER/tmp.tmp localhost
received 515 bytes: 0003 0000
sending 4 bytes
00 04 00 00
===== windows =====
* ftp://24.153.165.234/array1/share/nas-recovery/TFTP%20Boot%20Recovery%20LS-WTGL-v3%203.08.exe
* http://dl.free.fr/hnfpcB1JI
* http://demo.ovh.com/download/58c43ce5b1710dd7185b52552b3acb0a/TFTP%20Boot%20Recovery%20LS-WTGL-v3%203.08.dir.zip
copy images
On WindowS :
* NaS: switch off, plug out
* WiN: boot win ; ncpa.cpl 192.168.11.1 ; start 'TFTP Boot.exe'
* NaS: press funct, plug in, switch on, blink blue repeat, release funct, press funct, wait,
* WiN: tfp message, start navi, wait 60s, once found launch updater, debug, change ip, update
ToDo :
If using VirtualBox / BridgE disable FireWall set Host to 192.168.11.54 and guest gateway to same ip
===== LINKS =====
* https://blog.mozilla.org/addons/2020/04/13/what-to-expect-for-the-upcoming-deprecation-of-ftp-in-firefox/
===== MORE =====
@TaG: TftP BooT NaS [[armv5]]
{{http://files.petapixel.com/assets/uploads/2012/06/beesting_mini.jpg}}