bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fwd: Questions on isc-dhcp]


From: Svante Signell
Subject: Re: [Fwd: Questions on isc-dhcp]
Date: Wed, 23 Feb 2011 10:20:43 +0100

Back on-list again. dhclient almost works, see below:

(Thanks Samuel for your help so far.)

On Tue, 2011-02-22 at 21:02 +0100, Svante Signell wrote:
> On Tue, 2011-02-22 at 20:33 +0100, Samuel Thibault wrote:
> ..
> > > inetutils-ifonfig -i eth0
> > > eth0 (2):
> > >   inet address  10.0.2.15
> > >   netmask       255.255.255.0
> > >   broadcast     10.0.2.255
> > >   flags         UP BROADCAST RUNNING MULTICAST
> > >   mtu           1500
> > >   metric        1
> > 
> > Good!
> > 
> > > How do I start/stop the network interfaces?
> > 
> > You don't :)

On Linux you have ifupdown, and it seems to ba available on Hurd too.
The problem is that ifconfig (and route) from net-tools is not
available. A partial replacement seems to be inetutils-ifconfig.

> ifup eth0
/bin/sh: ifconfig: not found
Failed to bring up eth0.
> ifdown eth0
ifdown: interface eth0 not configured

Something still seems to be wrong with the dhclient, since I cannot get
out externally with eth0 set up with dhcp, and apt-get does not work.
iface eth0 inet dhcp

ssh -v external.site
OpenSSH_5.8p1 Debian-2, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to external.site [IPv6 address] port 22.
socket: Address family not supported by protocol
debug1: Connecting to external.site [IPv4 address] port 22.
debug1: connect to address 194.71.11.69 port 22: Network is unreachable
ssh: connect to host external.site port 22: Network is unreachable

In linux you have the route command from net-tools to check the routing
table, but it seems to FTBFS on Hurd. Looks like pfinet is aware of the
gateway address, but it still does not seem to work.

root 80  0.1  0.2  132M 2.04M  - So    8:40PM  0:55.75 /hurd/pfinet
--interface=eth0 --address=10.0.2.15 --netmask=255.255.0.0
--gateway=10.0.2.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]