On Mon, Oct 31, 2005 at 09:20:11PM +0100, Antoine Jacoutot wrote:
> 
> If I keep my hostname.pppoe0 like the previous one, then the application 
> does not start (since the DSL connexion isn't up yet and the app cannot 
> bind to the public IP).
> So I though I would change one line in my hostname.pppoe0 (where 1.2.3.4 
> is my public IP):
> 
> !/sbin/ifconfig \$if inet 1.2.3.4 0.0.0.1 netmask 0xffffffff
> 
> But this does _not_ work, it just never connects (and I cannot find any 
> logs).
> Is there a way to specify an IP in hostname.pppoe0 or do one have to put 
> 0.0.0.0 all the time ? I read the man page but can't find a definitive 
> answer.
> 

my hostname.pppoe0 file does this without problem. i guess the problem
is you specify an exact ip, but a wildcard for your gateway.

pppoe(4) is not ultra clear about this (maybe we can fix that). it says
the only choice is hard coded address or wildcard. but not whether you
can mix.

try specifying your gateway too. let us know.

whether it will fix your problem (app binding in rc.local) i don't know.

jmc

Reply via email to