for your eyes only
Knowledge Hurts – a blog of thoughts, things and stuff.

Calling PPPCTL under FreeBSD

Seems like the most active time this blog has lived till today… Well, anyway.
It doesn’t seem like a good idea to set the config of ppp in the ppp.conf file like this

set server /tmp/pppoe-in "pppoe-in" 0177

as this doesn’t have the effect of changing at every call of a ppp session.

It’s this code, that will work for you:

set server /tmp/pppoe-in\%d "" 0177

Now you can call pppctl like this: sudo pppctl -p "" /tmp/pppoe-in0
and you won’t get any more of this ugly stuff:

pppctl: cannot connect to socket /tmp/pppoe-in: Connection refused

Am I happy? Yes I am!


No Responses to “Calling PPPCTL under FreeBSD”

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: