telnet傳送檔案 - Linux

Madame avatar
By Madame
at 2019-03-07T00:17

Table of Contents


目前在用一個embedded linux的裝置有點卡關~~

這裝置可透過putty然後telnet連進到系統

這系統裡有個bin檔是控置裝置外接的東西

有source code改了些東西並已在開發環境build好成bin檔

但要怎麼傳送至這系統裡面,透過telnet不知怎麼傳?

我知道ssh可以用pscp的樣子~~


還有個問題~

在source code中有埋些debug 例:fprintf(stderr, "debug message")

我有透過ps看到我要改得bin檔已在執行,

但要去哪看這debug的訊息??

感謝各位高手了!!


--
Tags: Linux

All Comments

Faithe avatar
By Faithe
at 2019-03-09T00:03
tftp? serial console?
Zora avatar
By Zora
at 2019-03-09T23:02
用 nc 直接傳?
Wallis avatar
By Wallis
at 2019-03-14T04:58
看 busybox 有沒有 built-in netcat
Hamiltion avatar
By Hamiltion
at 2019-03-15T22:50
uuencode and uudecode
Elvira avatar
By Elvira
at 2019-03-19T22:16
telnet <<EOF
Hazel avatar
By Hazel
at 2019-03-23T02:59
base64 -d > new_binary
$(base64 new_binary)
Puput avatar
By Puput
at 2019-03-27T10:17
好像不對
Dorothy avatar
By Dorothy
at 2019-03-27T21:08
( echo "base64 -d >new_binary <<EOF"
Valerie avatar
By Valerie
at 2019-03-30T03:21
base64 new_binary; echo EOF ) | telnet $ip
Doris avatar
By Doris
at 2019-04-01T10:40
如果傳多個檔案可以改成 base64 -d <<EOF | tar xf -
Kristin avatar
By Kristin
at 2019-04-05T22:01
如果是 init.d 的 log 是在 /var/log/syslog
Doris avatar
By Doris
at 2019-04-07T14:08
busybox 好像沒有 base64 ……
Kumar avatar
By Kumar
at 2019-04-10T14:29
(echo "cat >new_binary"; cat new_binary)| telnet ip
Wallis avatar
By Wallis
at 2019-04-15T07:18
Alpine 的 busybox 有 base64 耶
Agnes avatar
By Agnes
at 2019-04-18T13:56
(BusyBox v1.29.3 (2019-01-24 07:45:07 UTC) )
Brianna avatar
By Brianna
at 2019-04-19T22:38
我發現 android 的 toybox 也有 base64
Eartha avatar
By Eartha
at 2019-04-24T08:40
已可用tftp傳送~感謝!!我也有看到base64但這要怎用??
Sierra Rose avatar
By Sierra Rose
at 2019-04-25T19:04
就把你要傳的檔案編成 base64 ,複製到剪貼簿,
登入 embed 後 base64 -d >file ,然後貼上再按 ctrl-d

中文論壇討論Linux?

Noah avatar
By Noah
at 2019-03-06T20:42
除了PTT的Linux板、LinuxDev板 還有什麼「中文」論壇 會有踴躍發問討論Linux使用上的問題 PTT每日的新文章不多 中文的 thanks - ...

取代at的opensource

Caroline avatar
By Caroline
at 2019-03-06T11:14
在開發embedded system需要讓系統排程執行指令 因為是遠端下過來的,沒辦法預先寫好 但busybox似乎沒有at這個指令可以用 不知道有沒有類似的opensource可以用的? - ...

有人買過"Linux设备驱动开发详解"這本嗎

Bethany avatar
By Bethany
at 2019-03-06T00:10
請問一下 有人買過and#34;Linux设备驱动开发详解:基于最新的Linux 4.0内核and#34; 這本講Linux driver的書嗎? 我想下載裡頭的範例code 但微博不太會操作 勉強安裝app連進去後 找到了一個網址 https://mp.weixin.qq.com/s/fuPgpugqJe ...

關於big5轉utf8的問題

Poppy avatar
By Poppy
at 2019-03-05T12:13
是這樣的。 因為各種網路建言 想把上古時代完全沒有宣告編碼的Mysql+big5 server全部改成utf8編碼 但是在dumpandamp;reload的時候碰壁 目前是已經成功用各種偏方 可以看到dump出來的.sql裡面有顯示正確中文 (那個把.sql先用latin1 reload回Mysql 再 ...

資料的列印問題 (卡關在array或是loop

Kristin avatar
By Kristin
at 2019-03-04T23:01
有個資料列印的問題卡住了 一直搞不清楚這個要用宣告array解還是要用awk去分析後在列印出來 資料格式的來源是xml 已經先用xmllint --format 把資料都取出再用sed去把符號去調 ========原始結構(範例)======== andlt;退租andgt;andlt;/退租andg ...