From d5b5fbf3757ee6da366d9492f4fb708263579e81 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 13 Nov 2007 20:33:27 +0100 Subject: Move to a suitable place. --- howtos.mdwn | 1 - hurd/running/qemu.mdwn | 2 ++ hurd/running/qemu/networking.mdwn | 41 +++++++++++++++++++++++++++++++++++++++ qemunetworkforhurd.mdwn | 41 --------------------------------------- 4 files changed, 43 insertions(+), 42 deletions(-) create mode 100644 hurd/running/qemu/networking.mdwn delete mode 100644 qemunetworkforhurd.mdwn diff --git a/howtos.mdwn b/howtos.mdwn index 9e8a5d50..1654db39 100644 --- a/howtos.mdwn +++ b/howtos.mdwn @@ -13,7 +13,6 @@ is included in the section entitled for example. * GNU/Hurd on qemu (external link) * [[HurdOnVMware]] Setting up Debian GNU/Hurd on VMware - * [[QemuNetworkForHurd]] Setting up Hurd Networking on Qemu * 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 diff --git a/hurd/running/qemu.mdwn b/hurd/running/qemu.mdwn index 2537f82c..4c7e20ce 100644 --- a/hurd/running/qemu.mdwn +++ b/hurd/running/qemu.mdwn @@ -60,6 +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]]. + ## Internet Access If you just want to access the internet from within QEMU, you can setup pfinet for QEMU's user-networking: diff --git a/hurd/running/qemu/networking.mdwn b/hurd/running/qemu/networking.mdwn new file mode 100644 index 00000000..f2a34938 --- /dev/null +++ b/hurd/running/qemu/networking.mdwn @@ -0,0 +1,41 @@ +[[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]]."]] + +## User mode network + +This is the default networking option for qemu. This does not require root +previleges. If you have DHCP running it will take the ip as 10.0.2.15 + +You can setup an ip 10.0.2.* +Gateway is 10.0.2.2 +Name server is 10.0.2.3 +Netmask is 255.255.255.0 + +You can setup the pfinet translator with the command + + $ settrans -fgap /servers/socket/2 /hurd/pfinet -a 10.0.2.15 -g 10.0.2.2 -m 255.255.255.0 + +Configure nameserver in /etc/resolve.conf + + nameserver 10.0.2.3 + +Setup a proxy with the command + + $ export http_proxy="http://:" + +Note: you can add this to your /etc/profile file so that every time you don't +have to setup this. + +If you are using a direct connection to internet install a proxy server on the +host os and use this. (I was not able to use it without proxy) + +You might be able to do it using iptables, some clues + + +Use scp,ftp... to transfer files (also see +[[hurd/running/debian/faq#index2h1]]). diff --git a/qemunetworkforhurd.mdwn b/qemunetworkforhurd.mdwn deleted file mode 100644 index f2a34938..00000000 --- a/qemunetworkforhurd.mdwn +++ /dev/null @@ -1,41 +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]]."]] - -## User mode network - -This is the default networking option for qemu. This does not require root -previleges. If you have DHCP running it will take the ip as 10.0.2.15 - -You can setup an ip 10.0.2.* -Gateway is 10.0.2.2 -Name server is 10.0.2.3 -Netmask is 255.255.255.0 - -You can setup the pfinet translator with the command - - $ settrans -fgap /servers/socket/2 /hurd/pfinet -a 10.0.2.15 -g 10.0.2.2 -m 255.255.255.0 - -Configure nameserver in /etc/resolve.conf - - nameserver 10.0.2.3 - -Setup a proxy with the command - - $ export http_proxy="http://:" - -Note: you can add this to your /etc/profile file so that every time you don't -have to setup this. - -If you are using a direct connection to internet install a proxy server on the -host os and use this. (I was not able to use it without proxy) - -You might be able to do it using iptables, some clues - - -Use scp,ftp... to transfer files (also see -[[hurd/running/debian/faq#index2h1]]). -- cgit v1.2.3