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

IP handling in Mach/Hurd - route & ifconfig functionality



OK, after much effort I finally got my network card working under the
GnuMach!  Yeah!!!  The email I found via googling "hurd ne2000" was:

http://lists.debian.org/debian-hurd/2000/debian-hurd-200010/msg00025.html

I got it running by hard coding eth0 to IRQ 10 and address 0x240 into
the file "gnumach-20020421/linux/dev/drivers/net/Space.c".
 
-----

Now comes another "hurd"le - directing IP packets in the kernel.  I'm so
close and yet so far away from getting it working.  I followed the
directions for '/hurd/pfinet --help' but when I try to ping I see:

hurd:~# settrans -fgap /servers/socket/2 /hurd/pfinet -i eth0 -a 192.168.0.2 \
-g 192.168.0.1 -m 255.255.255.0

hurd:~# ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
64 bytes from hurd.grantbow.com (192.168.0.2): Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst Data
 4  5  c0 8400 4200   0 0000  ff  01 2239 192.168.0.2  192.168.0.2 
64 bytes from hurd.grantbow.com (192.168.0.2): Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst Data
 4  5  c0 8400 4300   0 0000  ff  01 2139 192.168.0.2  192.168.0.2 

After some poking around I understand that netbase is NOT used for the
Hurd.  Instead there's inetutils.  It doesn't feel like Debian without
netbase and it's trappings.  Seems like some good wrapper scripts are
appropriate.  OK, fine, I'm getting over it.  However there's no route
command!  The ifconfig command also isn't very verbose even using
--verbose.  It seems like pfinet should handle default gateways, but
it's not.   

Suggestions?

-- 
-- Grant Bowman                                <grantbow@grantbow.com>


-- 
To UNSUBSCRIBE, email to debian-hurd-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: