dev/ttyd0 (was: dmesg; modem?)

Ranger at oldpathsbaptistchurch.org Ranger at oldpathsbaptistchurch.org
Sat Nov 25 21:28:58 PST 2006


Quoting Mark Jose <mwjose at optusnet.com.au>:

> Does kppp keep a log somewhere? You have sio0 and sio1 so you
should also
> have a /dev/ttyd0 & ttyd1 for those.
> Check your /etc/ttys to see if the ttyd0 is being used by something
else.
> I guess we need more information - have you checked the
/var/log/messages?
> Anything in there?

Devices:
total 4
dr-xr-xr-x   4 root  wheel          512 Dec 31  1969 ./
drwxr-xr-x  19 root  wheel          512 Nov 25 19:57 ../
crw-r-----   1 root  operator    0,  82 Nov 25 20:22 acd0
crw-r--r--   1 root  wheel       0,  29 Nov 25 20:22 acpi
crw-r-----   1 root  operator    0,  81 Nov 25 20:22 ad0
crw-r-----   1 root  operator    0,  83 Nov 25 20:22 ad0s1
crw-r-----   1 root  operator    0,  89 Nov 25 13:22 ad0s1a
crw-r-----   1 root  operator    0,  90 Nov 25 20:22 ad0s1b
crw-r-----   1 root  operator    0,  91 Nov 25 20:22 ad0s1c
crw-r-----   1 root  operator    0,  92 Nov 25 13:22 ad0s1d
crw-r-----   1 root  operator    0,  93 Nov 25 13:22 ad0s1e
crw-r-----   1 root  operator    0,  94 Nov 25 13:22 ad0s1f
crw-------   1 root  wheel       0,  31 Nov 25 20:22 agpgart
crw-rw-r--   1 root  operator    0,  30 Nov 25 20:22 apm
crw-------   1 root  operator    0,  28 Nov 25 20:22 ata
crw-------   1 root  wheel       0,  41 Nov 25 20:22 atkbd0
crw-rw-rw-   1 root  wheel       0,  44 Nov 25 20:22 bpsm0
crw-------   1 root  wheel       0,   8 Nov 25 20:22 console
crw-------   1 root  wheel       0,  73 Nov 25 20:22 consolectl
crw-rw-rw-   1 root  wheel       0,   9 Nov 25 20:22 ctty
crw-rw----   1 uucp  dialer      0,  48 Nov 25 21:40 cuad0
crw-rw----   1 uucp  dialer      0,  49 Nov 25 20:22 cuad0.init
crw-rw----   1 uucp  dialer      0,  50 Nov 25 20:22 cuad0.lock
crw-rw----   1 uucp  dialer      0,  54 Nov 25 20:22 cuad1
crw-rw----   1 uucp  dialer      0,  55 Nov 25 20:22 cuad1.init
crw-rw----   1 uucp  dialer      0,  56 Nov 25 20:22 cuad1.lock
crw-------   1 root  wheel       0,   5 Nov 25 20:22 devctl
cr--------   1 root  wheel       0,  78 Nov 25 20:22 devstat
dr-xr-xr-x   2 root  wheel          512 Dec 31  1969 fd/
crw-r-----   1 root  operator    0,  79 Nov 25 20:22 fd0
crw-------   1 root  wheel       0,  12 Nov 25 20:22 fido
crw-r-----   1 root  operator    0,   4 Nov 25 20:22 geom.ctl
crw-------   1 root  wheel       0,  20 Nov 25 20:22 io
lrwxr-xr-x   1 root  wheel            6 Dec 31  1969 kbd0@ -> atkbd0
lrwxr-xr-x   1 root  wheel            7 Dec 31  1969 kbd1@ -> kbdmux0
crw-------   1 root  wheel       0,  22 Nov 25 20:22 kbdmux0
crw-------   1 root  wheel       0,   6 Nov 25 20:22 klog
crw-r-----   1 root  kmem        0,  25 Nov 25 20:22 kmem
lrwxr-xr-x   1 root  wheel           12 Nov 25 20:22 log@ -> /var/run/log
crw-------   1 root  wheel       0,  38 Nov 25 20:22 lpt0
crw-------   1 root  wheel       0,  39 Nov 25 20:22 lpt0.ctl
crw-------   1 root  wheel       0,  77 Nov 25 20:22 mdctl
crw-r-----   1 root  kmem        0,  24 Nov 25 20:22 mem
dr-xr-xr-x   2 root  wheel          512 Dec 31  1969 net/
lrwxr-xr-x   1 root  wheel            8 Dec 31  1969 net1@ -> net/fxp0
lrwxr-xr-x   1 root  wheel            9 Dec 31  1969 net2@ -> net/plip0
lrwxr-xr-x   1 root  wheel            7 Dec 31  1969 net3@ -> net/lo0
lrwxr-xr-x   1 root  wheel            8 Nov 25 21:20 net4@ -> net/tun0
crw-------   1 root  wheel       0,   3 Nov 25 20:22 network
crw-------   1 root  wheel       0,  74 Nov 25 20:22 nfs4
crw-------   1 root  kmem        0,  13 Nov 25 20:22 nfslock
crw-rw-rw-   1 root  wheel       0,  26 Nov 25 22:33 null
crw-r--r--   1 root  wheel       0,   7 Nov 25 20:22 pci
crw-------   1 root  wheel       0,  40 Nov 25 20:22 ppi0
crw-rw-rw-   1 root  wheel       0,  43 Nov 25 20:22 psm0
crw-rw-rw-   1 root  wheel       0,  88 Nov 25 20:22 ptyp0
crw-rw-rw-   1 root  wheel       0,  96 Nov 25 22:42 ptyp1
crw-rw-rw-   1 root  wheel       0,  10 Nov 25 13:22 random
lrwxr-xr-x   1 root  wheel            4 Dec 31  1969 stderr@ -> fd/2
lrwxr-xr-x   1 root  wheel            4 Dec 31  1969 stdin@ -> fd/0
lrwxr-xr-x   1 root  wheel            4 Dec 31  1969 stdout@ -> fd/1
crw-------   1 root  wheel       0,  21 Nov 25 20:22 sysmouse
crw-------   1 root  wheel       0,  45 Nov 25 20:22 ttyd0
crw-------   1 root  wheel       0,  46 Nov 25 20:22 ttyd0.init
crw-------   1 root  wheel       0,  47 Nov 25 20:22 ttyd0.lock
crw-------   1 root  wheel       0,  51 Nov 25 20:22 ttyd1
crw-------   1 root  wheel       0,  52 Nov 25 20:22 ttyd1.init
crw-------   1 root  wheel       0,  53 Nov 25 20:22 ttyd1.lock
crw--w----   1 root  tty         0,  95 Nov 25 20:22 ttyp0
crw-------   1 root  tty         0,  97 Nov 25 22:42 ttyp1
crw-------   1 root  tty         0,  57 Nov 25 22:40 ttyv0
crw-------   1 root  wheel       0,  58 Nov 25 20:22 ttyv1
crw-------   1 root  wheel       0,  59 Nov 25 20:22 ttyv2
crw-------   1 root  wheel       0,  60 Nov 25 20:22 ttyv3
crw-------   1 root  wheel       0,  61 Nov 25 20:22 ttyv4
crw-------   1 root  wheel       0,  62 Nov 25 20:22 ttyv5
crw-------   1 root  wheel       0,  63 Nov 25 20:22 ttyv6
crw-------   1 root  wheel       0,  64 Nov 25 20:22 ttyv7
crw-------   1 root  wheel       0,  65 Nov 25 20:22 ttyv8
crw-------   1 root  wheel       0,  66 Nov 25 20:22 ttyv9
crw-------   1 root  wheel       0,  67 Nov 25 20:22 ttyva
crw-------   1 root  wheel       0,  68 Nov 25 20:22 ttyvb
crw-------   1 root  wheel       0,  69 Nov 25 20:22 ttyvc
crw-------   1 root  wheel       0,  70 Nov 25 20:22 ttyvd
crw-------   1 root  wheel       0,  71 Nov 25 20:22 ttyve
crw-------   1 root  wheel       0,  72 Nov 25 20:22 ttyvf
crw-------   1 uucp  dialer      0,  85 Nov 25 20:22 tun0
lrwxr-xr-x   1 root  wheel            6 Dec 31  1969 urandom@ -> random
crw-rw----   1 root  operator    0,  33 Nov 25 20:22 usb
crw-rw----   1 root  operator    0,  32 Nov 25 20:22 usb0
crw-------   1 root  operator    0,  80 Nov 25 20:22 xpt0
crw-rw-rw-   1 root  wheel       0,  27 Nov 25 20:22 zero


AND NOW, cat /var/log/ppp.log FOLLOWS:

Nov 24 22:02:02 elijah newsyslog[292]: logfile first created
Nov 24 23:17:39 elijah ppp[732]: Phase: Using interface: tun0
Nov 24 23:17:39 elijah ppp[732]: Phase: deflink: Created in closed state
Nov 24 23:17:39 elijah ppp[732]: tun0: Command: default: ident user-ppp 
VERSION
(built COMPILATIONDATE)
Nov 24 23:17:39 elijah ppp[732]: tun0: Command: default: set device /dev/cuad1
Nov 24 23:17:39 elijah ppp[732]: tun0: Command: default: set speed 115200
Nov 24 23:17:39 elijah ppp[732]: tun0: Command: default: set dial ABORT BUSY
ABORT NO\sCARRIER TIMEOUT 5            "" AT OK-AT-OK ATE1Q0 OK \dATDT\T
TIMEOUT 40 CONNECT
Nov 24 23:17:39 elijah ppp[732]: tun0: Command: default: set timeout 180
Nov 24 23:17:39 elijah ppp[732]: tun0: Command: default: enable dns
Nov 24 23:17:39 elijah ppp[732]: tun0: Phase: PPP Started (interactive mode).
Nov 24 23:17:49 elijah ppp[732]: tun0: Command: /dev/ttyv0: quit
Nov 24 23:17:49 elijah ppp[732]: tun0: Phase: PPP Terminated (normal).
Nov 25 21:20:38 elijah ppp[714]: Phase: Using interface: tun0
Nov 25 21:20:38 elijah ppp[714]: Phase: deflink: Created in closed state
Nov 25 21:20:38 elijah ppp[714]: tun0: Command: default: ident user-ppp 
VERSION
(built COMPILATIONDATE)
Nov 25 21:20:38 elijah ppp[714]: tun0: Command: default: set device /dev/cuad1
Nov 25 21:20:38 elijah ppp[714]: tun0: Command: default: set speed 115200
Nov 25 21:20:38 elijah ppp[714]: tun0: Command: default: set dial ABORT BUSY
ABORT NO\sCARRIER TIMEOUT 5            "" AT OK-AT-OK ATE1Q0 OK \dATDT\T
TIMEOUT 40 CONNECT
Nov 25 21:20:38 elijah ppp[714]: tun0: Command: default: set timeout 180
Nov 25 21:20:38 elijah ppp[714]: tun0: Command: default: enable dns
Nov 25 21:20:38 elijah ppp[714]: tun0: Phase: PPP Started (interactive mode).
Nov 25 21:21:25 elijah ppp[714]: tun0: Command: /dev/ttyv0: dial ISP
Nov 25 21:21:52 elijah ppp[714]: tun0: Command: /dev/ttyv0: quit
Nov 25 21:21:52 elijah ppp[714]: tun0: Phase: PPP Terminated (normal).
Nov 25 21:23:00 elijah ppp[732]: Phase: Using interface: tun0
Nov 25 21:23:00 elijah ppp[732]: Phase: deflink: Created in closed state
Nov 25 21:23:00 elijah ppp[732]: tun0: Command: default: ident user-ppp 
VERSION
(built COMPILATIONDATE)
Nov 25 21:23:00 elijah ppp[732]: tun0: Command: default: set device /dev/cuad0
Nov 25 21:23:00 elijah ppp[732]: tun0: Command: default: set speed 115200
Nov 25 21:23:00 elijah ppp[732]: tun0: Command: default: set dial ABORT BUSY
ABORT NO\sCARRIER TIMEOUT 5            "" AT OK-AT-OK ATE1Q0 OK \dATDT\T
TIMEOUT 40 CONNECT
Nov 25 21:23:00 elijah ppp[732]: tun0: Command: default: set timeout 180
Nov 25 21:23:00 elijah ppp[732]: tun0: Command: default: enable dns
Nov 25 21:23:00 elijah ppp[732]: tun0: Phase: PPP Started (interactive mode).
Nov 25 21:23:07 elijah ppp[732]: tun0: Command: /dev/ttyv0: dial 6841500
Nov 25 21:23:14 elijah ppp[732]: tun0: Command: /dev/ttyv0: quit
Nov 25 21:23:14 elijah ppp[732]: tun0: Phase: PPP Terminated (normal).
Nov 25 21:25:54 elijah ppp[737]: Phase: Using interface: tun0
Nov 25 21:25:54 elijah ppp[737]: Phase: deflink: Created in closed state
Nov 25 21:25:54 elijah ppp[737]: tun0: Command: default: ident user-ppp 
VERSION
(built COMPILATIONDATE)
Nov 25 21:25:54 elijah ppp[737]: tun0: Command: default: set device /dev/cuad0
Nov 25 21:25:54 elijah ppp[737]: tun0: Command: default: set speed 115200
Nov 25 21:25:54 elijah ppp[737]: tun0: Command: default: set dial ABORT BUSY
ABORT NO\sCARRIER TIMEOUT 5            "" AT OK-AT-OK ATE1Q0 OK \dATDT\T
TIMEOUT 40 CONNECT
Nov 25 21:25:54 elijah ppp[737]: tun0: Command: default: set timeout 180
Nov 25 21:25:54 elijah ppp[737]: tun0: Command: default: enable dns
Nov 25 21:25:54 elijah ppp[737]: tun0: Phase: PPP Started (interactive mode).
Nov 25 21:26:18 elijah ppp[737]: tun0: Command: /dev/ttyv0: dial ISP
Nov 25 21:26:18 elijah ppp[737]: tun0: Command: ISP: set phone 6841500
Nov 25 21:26:18 elijah ppp[737]: tun0: Command: ISP: set authname
opbc at oldpathsbaptistchurch.org
Nov 25 21:26:18 elijah ppp[737]: tun0: Command: ISP: set authkey ********
Nov 25 21:26:18 elijah ppp[737]: tun0: Command: ISP: set ifaddr 10.0.0.1/0
10.0.0.2/0 255.255.255.0 0.0.0.0
Nov 25 21:26:18 elijah ppp[737]: tun0: Command: ISP: add default HISADDR
Nov 25 21:26:18 elijah ppp[737]: tun0: Phase: bundle: Establish
Nov 25 21:26:18 elijah ppp[737]: tun0: Phase: deflink: closed -> opening
Nov 25 21:26:18 elijah ppp[737]: tun0: Phase: deflink: Connected!
Nov 25 21:26:18 elijah ppp[737]: tun0: Phase: deflink: opening -> dial
Nov 25 21:26:18 elijah ppp[737]: tun0: Chat: Phone: 6841500
Nov 25 21:26:18 elijah ppp[737]: tun0: Chat: deflink: Dial attempt 1 of 1
Nov 25 21:26:18 elijah ppp[737]: tun0: Chat: Send: AT^M
Nov 25 21:26:18 elijah ppp[737]: tun0: Chat: Expect(5): OK
Nov 25 21:26:23 elijah ppp[737]: tun0: Chat: Expect timeout
Nov 25 21:26:23 elijah ppp[737]: tun0: Chat: Send: AT^M
Nov 25 21:26:23 elijah ppp[737]: tun0: Chat: Expect(5): OK
Nov 25 21:26:28 elijah ppp[737]: tun0: Chat: Expect timeout
Nov 25 21:26:28 elijah ppp[737]: tun0: Warning: Chat script failed
Nov 25 21:26:28 elijah ppp[737]: tun0: Phase: deflink: dial -> hangup
Nov 25 21:26:28 elijah ppp[737]: tun0: Phase: deflink: Disconnected!
Nov 25 21:26:28 elijah ppp[737]: tun0: Phase: deflink: Connect time: 10 
secs: 0
octets in, 0 octets out
Nov 25 21:26:28 elijah ppp[737]: tun0: Phase: deflink: 0 packets in, 0 packets
out
Nov 25 21:26:28 elijah ppp[737]: tun0: Phase:  total 0 bytes/sec, peak 0
bytes/sec on Sat Nov 25 21:26:18 2006
Nov 25 21:26:28 elijah ppp[737]: tun0: Phase: deflink: hangup -> closed
Nov 25 21:26:28 elijah ppp[737]: tun0: Phase: bundle: Dead
Nov 25 21:26:34 elijah ppp[737]: tun0: Command: /dev/ttyv0: quit
Nov 25 21:26:34 elijah ppp[737]: tun0: Phase: PPP Terminated (normal).
Nov 25 21:40:04 elijah ppp[881]: Phase: Using interface: tun0
Nov 25 21:40:04 elijah ppp[881]: Phase: deflink: Created in closed state
Nov 25 21:40:04 elijah ppp[881]: tun0: Command: default: ident user-ppp 
VERSION
(built COMPILATIONDATE)
Nov 25 21:40:04 elijah ppp[881]: tun0: Command: default: set device /dev/cuad0
Nov 25 21:40:04 elijah ppp[881]: tun0: Command: default: set speed 115200
Nov 25 21:40:04 elijah ppp[881]: tun0: Command: default: set dial ABORT BUSY
ABORT NO\sCARRIER TIMEOUT 5            "" AT OK-AT-OK ATE1Q0 OK \dATDT\T
TIMEOUT 40 CONNECT
Nov 25 21:40:04 elijah ppp[881]: tun0: Command: default: set timeout 180
Nov 25 21:40:04 elijah ppp[881]: tun0: Command: default: enable dns
Nov 25 21:40:04 elijah ppp[881]: tun0: Phase: PPP Started (interactive mode).
Nov 25 21:40:09 elijah ppp[881]: tun0: Command: /dev/ttyp1: dial ISP
Nov 25 21:40:09 elijah ppp[881]: tun0: Command: ISP: set phone 6841500
Nov 25 21:40:09 elijah ppp[881]: tun0: Command: ISP: set authname
opbc at oldpathsbaptistchurch.org
Nov 25 21:40:09 elijah ppp[881]: tun0: Command: ISP: set authkey ********
Nov 25 21:40:09 elijah ppp[881]: tun0: Command: ISP: set ifaddr 10.0.0.1/0
10.0.0.2/0 255.255.255.0 0.0.0.0
Nov 25 21:40:09 elijah ppp[881]: tun0: Command: ISP: add default HISADDR
Nov 25 21:40:09 elijah ppp[881]: tun0: Phase: bundle: Establish
Nov 25 21:40:09 elijah ppp[881]: tun0: Phase: deflink: closed -> opening
Nov 25 21:40:09 elijah ppp[881]: tun0: Phase: deflink: Connected!
Nov 25 21:40:09 elijah ppp[881]: tun0: Phase: deflink: opening -> dial
Nov 25 21:40:09 elijah ppp[881]: tun0: Chat: Phone: 6841500
Nov 25 21:40:09 elijah ppp[881]: tun0: Chat: deflink: Dial attempt 1 of 1
Nov 25 21:40:09 elijah ppp[881]: tun0: Chat: Send: AT^M
Nov 25 21:40:09 elijah ppp[881]: tun0: Chat: Expect(5): OK
Nov 25 21:40:14 elijah ppp[881]: tun0: Chat: Expect timeout
Nov 25 21:40:14 elijah ppp[881]: tun0: Chat: Send: AT^M
Nov 25 21:40:14 elijah ppp[881]: tun0: Chat: Expect(5): OK
Nov 25 21:40:19 elijah ppp[881]: tun0: Chat: Expect timeout
Nov 25 21:40:19 elijah ppp[881]: tun0: Warning: Chat script failed
Nov 25 21:40:19 elijah ppp[881]: tun0: Phase: deflink: dial -> hangup
Nov 25 21:40:19 elijah ppp[881]: tun0: Phase: deflink: Disconnected!
Nov 25 21:40:19 elijah ppp[881]: tun0: Phase: deflink: Connect time: 10 
secs: 0
octets in, 0 octets out
Nov 25 21:40:19 elijah ppp[881]: tun0: Phase: deflink: 0 packets in, 0 packets
out
Nov 25 21:40:19 elijah ppp[881]: tun0: Phase:  total 0 bytes/sec, peak 0
bytes/sec on Sat Nov 25 21:40:09 2006
Nov 25 21:40:19 elijah ppp[881]: tun0: Phase: deflink: hangup -> closed
Nov 25 21:40:19 elijah ppp[881]: tun0: Phase: bundle: Dead
Nov 25 21:40:25 elijah ppp[881]: tun0: Command: /dev/ttyp1: ?
Nov 25 21:40:33 elijah ppp[881]: tun0: Command: /dev/ttyp1: q
Nov 25 21:40:33 elijah ppp[881]: tun0: Phase: PPP Terminated (normal).


Sure hope this helps.....I'm about ready to reinstall  4.2

THanks in advance!

Z. Wade Hampton
Twin Bridges, Montana


Links:
------
[1]
/horde/services/go.php?url=http%3A%2F%2Flists.freebsd.org%2Fmailman%2Flistinfo%2Ffreebsd-questions
[2]
/horde/services/go.php?url=http%3A%2F%2Flists.freebsd.org%2Fmailman%2Flistinfo%2Ffreebsd-questions



More information about the freebsd-questions mailing list