From 37577801683fd3e9f802058623f05afd348bfc66 Mon Sep 17 00:00:00 2001 From: GNU Hurd wiki engine Date: Tue, 13 Nov 2007 13:22:53 +0000 Subject: web commit by vincentvikram: imported from hurd.in --- qemunetworkforhurd.mdwn | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 qemunetworkforhurd.mdwn (limited to 'qemunetworkforhurd.mdwn') diff --git a/qemunetworkforhurd.mdwn b/qemunetworkforhurd.mdwn new file mode 100644 index 00000000..b0834d1f --- /dev/null +++ b/qemunetworkforhurd.mdwn @@ -0,0 +1,43 @@ +[[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 + +Note: There is no /dev/urandom in Hurd/Mach yet so you will have to trick your ssh client to make it work + Use translator + or ln -s /bin/* /dev/urandom (use at your own risk ;-) ) + +## (Other options) +Someone who use other options ... + +-- PraveenA - 14 May 2006 \ No newline at end of file -- cgit v1.2.3