From fb22695540e6c45e21d4b4e9d0575d4edceabe23 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 13 Nov 2007 20:44:35 +0100 Subject: Move to a suitable place. --- howtos.mdwn | 1 - hurd/running/qemu.mdwn | 3 ++- hurd/running/qemu/networking.mdwn | 2 +- hurd/running/qemu/networking/sharing_files.mdwn | 36 +++++++++++++++++++++++++ qemufilesharingwithhost.mdwn | 36 ------------------------- 5 files changed, 39 insertions(+), 39 deletions(-) create mode 100644 hurd/running/qemu/networking/sharing_files.mdwn delete mode 100644 qemufilesharingwithhost.mdwn diff --git a/howtos.mdwn b/howtos.mdwn index 1654db39..bfde26c1 100644 --- a/howtos.mdwn +++ b/howtos.mdwn @@ -14,7 +14,6 @@ is included in the section entitled * GNU/Hurd on qemu (external link) * [[HurdOnVMware]] Setting up Debian GNU/Hurd on VMware * Setting up translators -- [[some_examples|hurd/translator/examples]] - * [[QemuFileSharingWithHost]] File sharing between GNU on Qemu and the Host OS * [[hurd/translator/writing/Example]] about how to write a simple Hurd translator * [[hurd/libhello_example]] -- Hurd library example diff --git a/hurd/running/qemu.mdwn b/hurd/running/qemu.mdwn index 4c7e20ce..efb72e01 100644 --- a/hurd/running/qemu.mdwn +++ b/hurd/running/qemu.mdwn @@ -60,7 +60,8 @@ Now take the number of sectors for the beginning of the partition and multiply i # Networking in QEMU -Some further notes about [[networking]]. +Some further notes about [[networking]] and home hints about +[[networking/sharing_files]]. ## Internet Access diff --git a/hurd/running/qemu/networking.mdwn b/hurd/running/qemu/networking.mdwn index f2a34938..fc950118 100644 --- a/hurd/running/qemu/networking.mdwn +++ b/hurd/running/qemu/networking.mdwn @@ -38,4 +38,4 @@ You might be able to do it using iptables, some clues Use scp,ftp... to transfer files (also see -[[hurd/running/debian/faq#index2h1]]). +[[hurd/running/debian/faq#index2h1]]), read about [[sharing_files]]. diff --git a/hurd/running/qemu/networking/sharing_files.mdwn b/hurd/running/qemu/networking/sharing_files.mdwn new file mode 100644 index 00000000..f897bb68 --- /dev/null +++ b/hurd/running/qemu/networking/sharing_files.mdwn @@ -0,0 +1,36 @@ +[[meta copyright="Copyright © 2007 Free Software Foundation, Inc."]] +[[meta license="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled +[[GNU_Free_Documentation_License|/fdl]]."]] + +# SCP + +Setup OpenSSH server on host system. + +* Copying files from Guest to Host + + $ scp @: + +* Copying files from Host to Guest. + + $ scp @: + +Use scp -r for copying directories. + + +# FTP + +Setup ftp server (like proftpd) on the host. + +* Use ftp client from GNU inetutils + + $ ftp + + Use mget to copy files from host and mput to copy files to the host. + +* The GNU way - setup an ftp translator + + $ settrans -ac ftp/ /hurd/ftpfs :@: diff --git a/qemufilesharingwithhost.mdwn b/qemufilesharingwithhost.mdwn deleted file mode 100644 index f897bb68..00000000 --- a/qemufilesharingwithhost.mdwn +++ /dev/null @@ -1,36 +0,0 @@ -[[meta copyright="Copyright © 2007 Free Software Foundation, Inc."]] -[[meta license="Permission is granted to copy, distribute and/or modify this -document under the terms of the GNU Free Documentation License, Version 1.2 or -any later version published by the Free Software Foundation; with no Invariant -Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license -is included in the section entitled -[[GNU_Free_Documentation_License|/fdl]]."]] - -# SCP - -Setup OpenSSH server on host system. - -* Copying files from Guest to Host - - $ scp @: - -* Copying files from Host to Guest. - - $ scp @: - -Use scp -r for copying directories. - - -# FTP - -Setup ftp server (like proftpd) on the host. - -* Use ftp client from GNU inetutils - - $ ftp - - Use mget to copy files from host and mput to copy files to the host. - -* The GNU way - setup an ftp translator - - $ settrans -ac ftp/ /hurd/ftpfs :@: -- cgit v1.2.3