[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PPP Port: Cannot set gateway address
From: |
Daniel E Baumann |
Subject: |
Re: PPP Port: Cannot set gateway address |
Date: |
Tue, 6 Mar 2001 13:27:13 -0600 |
User-agent: |
Mutt/1.3.15i |
On Mon, Mar 05, 2001 at 04:40:48AM +0100, Marcus Brinkmann wrote:
> On Sun, Mar 04, 2001 at 08:00:37PM -0600, Daniel E Baumann wrote:
> > Well if I try to set it with fsysopts the first time it will tell me:
> >
> > ./fsysopts: /servers/socket/2: Network is unreachable (something like that)
> >
> > if I do it again it just hangs there and any subsequent invocations it will
> > just hang. What I typed was 'fsysopts -R /servers/socket/2
> > --gateway=10.0.0.2'.
>
> I think the configuration of the interfaces is relevant here. This bug seems
> to be triggered by setting the gateway to an address that is not the ip or
> peer address of any of the specified interfaces. See if you can make
> something out of this. I would have to dive deep into the network code to
> understand the pfinet/options.c gateway stuff. A quick look at pfinet when
> it hung (with gdb) did not reveal much to me, might be dead lock somewhere.
Well this is in the SetRoute code which I just hacked up to set the gateway as
we do not have support for fancy routing stuff (or the adding and removing of
routes either). There may be a way to get around this, but we should probably
fix this bug though. What do I not get if I recompile the hurd with debuggin
symbols, i.e. what do I not get in the cvs version that is in the deb? Can I
justs rebuild the deb with debuggin symbols for now? How do I do that? (Yes I
should learn how to make a deb ;) ).
Dan
--
Daniel E Baumann baumannd@msoe.edu
Web location: http://www.msoe.edu/~baumannd
"Life would be so much easier if we could just look at the source code."
-- Dave Olsen
And if cynics ridicule freedom, ridicule community...if ``hard nosed
realists'' say that profit is the only ideal...just ignore them, and use
copyleft all the same.
-- RMS