diff options
Diffstat (limited to 'hurd')
-rw-r--r-- | hurd/debugging/translator/capturing_stdout_and_stderr.mdwn | 2 | ||||
-rw-r--r-- | hurd/running/qemu.mdwn | 4 | ||||
-rw-r--r-- | hurd/translator/lwip.mdwn | 2 | ||||
-rw-r--r-- | hurd/translator/pfinet.mdwn | 2 | ||||
-rw-r--r-- | hurd/translator/wishlist.mdwn | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/hurd/debugging/translator/capturing_stdout_and_stderr.mdwn b/hurd/debugging/translator/capturing_stdout_and_stderr.mdwn index 47fbbc48..c1abc7f9 100644 --- a/hurd/debugging/translator/capturing_stdout_and_stderr.mdwn +++ b/hurd/debugging/translator/capturing_stdout_and_stderr.mdwn @@ -16,7 +16,7 @@ silently dying all the time, without any console output: $ sudo settrans -fgap ↩ /servers/socket/2 ↩ /bin/sh -c 'exec >> /root/pfinet.log 2>&1 && date && ↩ - /hurd/pfinet -i eth0 -a [...]' + /hurd/pfinet -i /dev/eth0 -a [...]' $ [...] $ cat /root/pfinet.log [date] diff --git a/hurd/running/qemu.mdwn b/hurd/running/qemu.mdwn index 369ceab6..48ab872a 100644 --- a/hurd/running/qemu.mdwn +++ b/hurd/running/qemu.mdwn @@ -240,7 +240,7 @@ Some further notes about [[networking]] and home hints about If you just want to access the internet from within QEMU, you can setup pfinet for QEMU's user-networking: - # settrans -afgp /servers/socket/2 /hurd/pfinet -i eth0 -a 10.0.2.15 -g 10.0.2.2 -m 255.255.255.0 + # settrans -afgp /servers/socket/2 /hurd/pfinet -i /dev/eth0 -a 10.0.2.15 -g 10.0.2.2 -m 255.255.255.0 # echo "nameserver 10.0.2.3" > /etc/resolv.conf If you are on [[Debian GNU/Hurd|debian]], you can even use [[debian/DHCP]]. @@ -348,7 +348,7 @@ Now it is time to start-up your QEMU Hurd system and get networking going in the Once you have logged in as `root` run the `pfinet` translator with values that apply to your network. Think of your QEMU client as another computer in your network. - # settrans -fgap /servers/socket/2 /hurd/pfinet -i eth0 -a xxx.xxx.xxx.xxx -g xxx.xxx.xxx.xxx -m xxx.xxx.xxx.xxx + # settrans -fgap /servers/socket/2 /hurd/pfinet -i /dev/eth0 -a xxx.xxx.xxx.xxx -g xxx.xxx.xxx.xxx -m xxx.xxx.xxx.xxx That should do it! Do not forget to edit/update `/etc/resolv.conf` to get DNS working. diff --git a/hurd/translator/lwip.mdwn b/hurd/translator/lwip.mdwn index 2de214f2..efa59285 100644 --- a/hurd/translator/lwip.mdwn +++ b/hurd/translator/lwip.mdwn @@ -12,7 +12,7 @@ To configure lwip for internet connectivity, use the [[`settrans`|settrans]] command, like this: # settrans -fgap /servers/socket/2 /hurd/lwip ↩ - -i eth0 -a 192.168.0.50 -g 192.168.0.1 -m 255.255.255.0 + -i /dev/eth0 -a 192.168.0.50 -g 192.168.0.1 -m 255.255.255.0 The argument /server/socket/2 is the node that the translator is to be attached to. This is followed by the translator program to run and any arguments to give it. diff --git a/hurd/translator/pfinet.mdwn b/hurd/translator/pfinet.mdwn index 6097db81..f6ceec4f 100644 --- a/hurd/translator/pfinet.mdwn +++ b/hurd/translator/pfinet.mdwn @@ -18,7 +18,7 @@ To configure Internet connectivity, the `pfinet` (*Protocol Family Internet*) [[`settrans`|settrans]] command, for example like this: # settrans -fgap /servers/socket/2 /hurd/pfinet ↩ - -i eth0 -a 192.168.0.50 -g 192.168.0.1 -m 255.255.255.0 + -i /dev/eth0 -a 192.168.0.50 -g 192.168.0.1 -m 255.255.255.0 The argument `/server/socket/2` is the node that the translator is to be attached to. This is followed by the translator program to run and any diff --git a/hurd/translator/wishlist.mdwn b/hurd/translator/wishlist.mdwn index 4d074df0..6554912e 100644 --- a/hurd/translator/wishlist.mdwn +++ b/hurd/translator/wishlist.mdwn @@ -285,7 +285,7 @@ Probably both [LVM2](http://sourceware.org/lvm2/) and the [Device-mapper](http:/ A [bridging](http://bridge.sourceforge.net/faq.html) translator could improve the Hurd's networking facilities. - # settrans -cap /dev/br0 /hurd/bridge -i eth0 -i eth1 ... + # settrans -cap /dev/br0 /hurd/bridge -i /dev/eth0 -i eth1 ... # settrans -cap /servers/socket/2 /hurd/pfinet -i /dev/br0 -a ... -g ... -m ... Perhaps Linux's bridging code and [utilities](http://bridge.sourceforge.net/) can be ported (or glued in) or code from one of the BSDs. |