Bug 17635

Summary: ppp 4.0 no longer allows # in authname, 3.x did
Product: Base System Reporter: jay.krell <jay.krell>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description jay.krell 2000-03-28 13:00:01 UTC
Netcom ISP login accounts all start with #. This worked fine in FreeBSD 3.x.
ppp.conf:
  set authname #jaykrell
  set authkey ***
worked fine. Now in 4.0, the # is seen as the start of a comment.

Fix: 

I replaced all occurences of '#' in /usr/src/usr.sbin/ppp with '%', but this fix is not acceptable. Maybe I'll debug (find in files) it more now that I've got the source over to a machine with Visual C++..
How-To-Repeat: Get an account with netcom, if this is still possible. They've been bought/merged twice, but my account from 1996 works the same as it always has, modulo phone number changes.

Install 4.0 (I upgraded from rom 3.4-Release to 4.0-Stable, as of about March 27, 2000).

ppp -nat -auto netcom or somesuch
or
interace ppp
dial netcom
interactive gives a warning about empty pap name, and fails to connect
Comment 1 Brian Somers freebsd_committer freebsd_triage 2000-03-28 13:26:24 UTC
State Changed
From-To: open->closed

Check the README.changes file - ppp now allows comments at the end 
of lines.  You need to either quote the argument or escape the #