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

Re: Postgres



> settrans -fg /servers/socket/2 /hurd/pfinet --interface=eth0 --address=10.0.0.NN --gateway=10.0.0.NN --netmask=255.255.255.0
> 
> But I think this will only set up the LAN. So how do I set up the 
> loopback ( that's what I need, isn't it ) ?

The loopback is set up automatically, there is no need to do anything for it.
The settrans command above should be fine (with real IP addresses, of course).

> So, because I'm naive enough, I did the next step :
> 
> settrans -cfg /servers/socket/3 /hurd/pfinet --interface=lo --address=127.0.0.1 --netmask=255.0.0.0

I don't know what you thought this would do, but it certainly doesn't do
anything you wanted.  /servers/socket/3 is the location for the PF_IMPLINK
protocol family's server (PF_IMPLINK is 3, as PF_INET is 2 and PF_LOCAL is 1).
/hurd/pfinet does not implement that protocol family, and unless you've
fallen into a time warp, you surely don't have an IMP protocol network that
you need to support.  (If you are in a time warp and do want to put your
Hurd machine on the original ARPAnet, then by all means we encourage you to
write a pfimplink server.)


Reply to: