View Single Post
  #4   (View Single Post)  
Old 30th December 2009
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,503
Default

You can try the step by step interactive approach described in the excellent ppp(8) man page and http://renaud.waldura.com/doc/freebsd/pppoe/

If you recently changed the password keep the following in mind.

Remember that ppp passes things through sh. If you password or username contains characters with special meaning for the shell like quotes, redirection symbols etc, you should escape them properly . See sh(1) starting at the Lexical Structure up to the Aliases section.

I don't remember exactly but when I had either a '~' or a "\"in my password, I could dial in with my modem under Win95, but not under FBSD 3.4 using ppp.

Code:
$ echo vice$president   
vice
$ echo "vice$president" 
vice
$ echo "vice\$president" 
vice$president
Or if you have a password like "vice\$president" only the last variation will really get your password unharmed through the shell
Code:
$ echo "vice\\$president" 
vice\
$ echo "vice\\\$president" 
vice\$president
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote