On 7/27/07, J.D. Bronson <[EMAIL PROTECTED]> wrote:
> At 11:34 AM 07/27/2007, you wrote:
> >I'm sorry -- could you clarify, where were you starting ppp before,
> >when it syslogd was not logging? I can't find this in your last email
> >either?
> >
> >You are saying it works fine under rc.local, and fine under
> >hostname.tun0, where else would you start it?
>
> the issue is that syslogd comes up AFTER /etc/rc.network is ran
> so since I am using PPP (via hostname.tun0 to start) ppp does not
> log.
i wanted to ask again because i start ppp from hostname.tun0 without
any syslog issues.
you don't connect() to syslog or open a channel like a tcp/ip socket.
it just kinda throws it. syslogd can catch, it if it wants. probobly
the reason for udp over the network
my setup is for evdo modem, not pppoe, and im a release behind. thats
the only thing i can think of.
maybe you missed something.
$ cat /etc/hostname.tun0
inet 99.0.0.1 255.255.255.0 99.0.0.2
up
!ppp -ddial -nat
$ grep -A 2 ppp /etc/syslog.conf
!ppp
*.* /var/log/ppp
$ cat /etc/ppp/ppp.conf
default:
set log Phase Chat Warning
set device /dev/cuaU0
set speed 230400
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT OK-AT-OK ATE1Q0s7=60 OK \\dATDT\\T TIMEOUT 40 CONNECT"
set phone "#777"
set login
set authname [EMAIL PROTECTED]
set authkey lies
set timeout 0
add! default HISADDR
add! 192.168.0/24 HISADDR
set resolv readonly
disable vjcomp deflate
add! default HISADDR6
$ uname -a
OpenBSD gateway.1984.ws 4.0 GENERIC#1107 i386
$ sudo reboot
(time passes, we login after its done rebooting...)
$ tail -n 10 /var/log/ppp
Jul 15 08:58:54 gateway ppp[14386]: Phase: deflink: login -> lcp
Jul 15 08:58:54 gateway ppp[14386]: Phase: deflink: lcp -> open
Jul 15 08:59:01 gateway ppp[14386]: Phase: bundle: Network
Jul 15 08:59:01 gateway ppp[14386]: Phase: deflink: IPV6CP protocol
reject closes IPV6CP !
Jul 15 08:59:01 gateway ppp[14386]: Phase: deflink: IPV6CP protocol
reject closes IPV6CP !
Jul 15 08:59:01 gateway ppp[14386]: Error: rt_Set: Cannot add a route
with gateway 0.0.0.0
Jul 15 08:59:01 gateway ppp[14386]: Warning: 0.0.0.0/0: Change route
failed: errno: No such process
Jul 15 08:59:01 gateway ppp[14386]: Warning: ff02:9::/32: Change route
failed: errno: Network is unreachable
Jul 15 08:59:04 gateway ppp[14386]: Phase: deflink: IPV6CP protocol
reject closes IPV6CP !
Jul 15 08:59:13 gateway last message repeated 3 times
$ date
Sat Jul 15 09:00:00 EDT 2034
so nobody tells me or asks -- I know the date is wrong, i need a new
battery, and sprint routes to reachable machines in the 192.168.0/24
range, i thought it was neat so i checked it out.
i show you mine, now you show me yours?