Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Apr 1998 14:58:34 -0700
From:      Dima Dorfman <dima@apc.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Fed up with PPP
Message-ID:  <3.0.5.32.19980417145834.0097b7b0@mail.apc.net>

next in thread | raw e-mail | index | archive | help
Ok I got it to work (finally :-) The problem was the fact that tun0 wasn't
compiled into the kernel(wired error message?)

Now, it's dialing in, and it says

Dial OK!
login OK!

I also get the following message when I start PPP:
	...
	Warning: Add route failed: 0.0.0.0: errno: Network is unreachable
	...
along with everything else

However, I can't pnig a remote host.  Below is part of my ppp.conf file:

apc:
 set phone 9300502
# set login "TIMEOUT 5 login::dima password::***"
 set timeout 120
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0
 delete ALL
 add 0 0 HISADDR
 dial


If I uncomment the "set login..." line, it will have a message in the
ppp.log file that says that it expect "28000/AQ?^M" and didn't get it.  See
below for the whole log file.


Since the ppp.conf and ppp.log files are huge (at least mine are), I've
decided to put them up on the web rather than have everyone download them. :-)

They can be found at:
http://www.apc.net/dima/fbsd/ppp.conf
http://www.apc.net/dima/fbsd/ppp.log


At 03:58 PM 4/16/98 -0700, you wrote:
>On Thu, 16 Apr 1998, Dima Dorfman wrote:
>
>> >If it says the modem is locked, check
>> >
>> >1.  Permissions.  You may have to be in group `dialer'.
>> 
>> no such group
>
>Odd.  Do a `ls -l /dev/cu*' and post it.
>
>> >2.  /var/spool/lock for a stale LCK..cuaa1 file.
>> 
>> no such file (that's good, right?)
>
>Should be.  I assume the directory exists?
>
>> >Generally, exact error messages are preferred.
>> 
>> /var/log/ppp.log
>> 
>> Apr 15 21:27:32 zserver ppp[1462]: Phrase: Using interface: tun0
>> Apr 15 21:27:32 zserver ppp[1462]: Phrase: PPP Started.
>> Apr 15 21:27:32 zserver ppp[1462]: Phrase: Modem /dev/cuaa1 is in use:
>> uu_lock: creat error: No suck file or directory
>> Apr 15 21:27:32 zserver ppp[1462]: Phrase: Modem /dev/cuaa1 is in use:
>> uu_lock: creat error: No suck file or directory
>
>Odd.  (how did s/such/suck/ happen?)  Make sure that /var/spool/lock
>exists and is writable.  
>
>Doug White                              | University of Oregon  
>Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
>http://gladstone.uoregon.edu/~dwhite    | Computer Science Major
>
>
>


---
Dima Dorfman (dima@apc.net)

"640k ought to be enough for anybody." - Bill Gates, 1981
Micro$oft $ucks!  FreeBSD Rules!  http://www.freebsd.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.19980417145834.0097b7b0>