Hi all, I have a problem to establish a connection with ppp automatically, or from commndline. below is my ppp.conf file. with this file in place I can dial manually using ppp:
# ppp Working in interactive mode Warning: iface rm: ioctl(SIOCDIFADDR_IN6, fe80:a::240:5ff:feaf:4c5f/64): Can't a ssign requested address Using interface: tun0 ppp ON wormhole> term deflink: Entering terminal mode on /dev/cua01 Type `~?' for help at OK atdt0101901929 CONNECT 49333/ARQ/V90/LAPM/V42BIS ppp ON wormhole> Ppp ON wormhole> PPp ON wormhole> Warning: 0.0.0.0/0: Change route failed: errno: No such process Warning: ff02:a::/32: Change route failed: errno: Network is unreachable PPP ON wormhole> despite the warning, everything is fine and working as expected, starting ppp with ppp -foreground ends up after the connect with closing the connection because of a NO CARRIER. any hint what I can do to dial out automatically? greetz Sebastian my ppp.conf default: set log Phase Chat LCP IPCP CCP tun command set device /dev/cua01 set speed 115200 set phone 0101901929 set cd off #set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 10000 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 400 CONNECT" set dial "ABORT BUSY TIMEOUT 10000 \"\" ATZ OK-ATZ-OK ATDT\\T TIMEOUT 400 CONNECT" set authname MyName set authkey MyKey set login "TIMEOUT 5000 ogin:-\\r-ogin: ppp word: ppp ocol: PPP HELLO" #set login "TIMEOUT 5000 ogin:-\\r-ogin: ppp word: ppp" set timeout 1200 set ifaddr 1.0.0.1/0 1.0.0.2/0 255.255.255.0 0.0.0.0 set filter dial 0 permit MYADDR 0.0.0.0/0 tcp dst gt 0 set filter dial 0 permit MYADDR 0.0.0.0/0 udp dst gt 0 set filter alive 0 deny 0.0.0.0/0 MYADDR tcp dst gt 0 syn timeout 120 set filter alive 1 deny 0.0.0.0/0 MYADDR tcp dst gt 0 finrst timeout 120 set filter alive 2 deny 0.0.0.0/0 MYADDR udp dst gt 0 timeout 120 add default HISADDR enable dns the ppp log when running ppp -foreground: Oct 20 23:18:26 wormhole ppp[30769]: tun0: Phase: Caught signal 2, abort connection(s) Oct 20 23:18:26 wormhole ppp[30769]: tun0: Phase: deflink: Disconnected! Oct 20 23:18:26 wormhole ppp[30769]: tun0: Phase: deflink: login -> logout Oct 20 23:18:26 wormhole ppp[30769]: tun0: Phase: deflink: logout -> hangup Oct 20 23:18:26 wormhole ppp[30769]: tun0: Phase: deflink: Disconnected! Oct 20 23:18:26 wormhole ppp[30769]: tun0: Phase: deflink: Connect time: 105 secs: 0 octets in, 0 octets out Oct 20 23:18:26 wormhole ppp[30769]: tun0: Phase: deflink: 0 packets in, 0 packets out Oct 20 23:18:26 wormhole ppp[30769]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Thu Oct 20 23:16:41 2005 Oct 20 23:18:26 wormhole ppp[30769]: tun0: Phase: deflink: hangup -> closed Oct 20 23:18:26 wormhole ppp[30769]: tun0: Phase: bundle: Dead Oct 20 23:18:26 wormhole ppp[30769]: tun0: Phase: PPP Terminated (normal). Oct 20 23:18:26 wormhole ppp[30769]: tun0: Warning: iface rm: ioctl(SIOCDIFADDR_IN6, fe80:a::240:5ff:feaf:4c5f/64): Can't assign requested address Oct 20 23:18:26 wormhole ppp[30769]: tun0: Warning: iface rm: ioctl(SIOCDIFADDR_IN6, fe80:a::240:5ff:feaf:4c5f/64): Can't assign requested address Oct 20 23:18:31 wormhole ppp[1011]: Phase: Using interface: tun0 Oct 20 23:18:31 wormhole ppp[1011]: Phase: deflink: Created in closed state Oct 20 23:18:31 wormhole ppp[1011]: Warning: iface rm: ioctl(SIOCDIFADDR_IN6, fe80:a::240:5ff:feaf:4c5f/64): Can't assign requested address Oct 20 23:18:31 wormhole ppp[1011]: Warning: iface rm: ioctl(SIOCDIFADDR_IN6, fe80:a::240:5ff:feaf:4c5f/64): Can't assign requested address Oct 20 23:18:31 wormhole ppp[1011]: tun0: Command: default: set device /dev/cua01 Oct 20 23:18:31 wormhole ppp[1011]: tun0: Command: default: set speed 115200 Oct 20 23:18:31 wormhole ppp[1011]: tun0: Command: default: set phone 0101901929 Oct 20 23:18:31 wormhole ppp[1011]: tun0: Command: default: set cd off Oct 20 23:18:31 wormhole ppp[1011]: tun0: Command: default: set dial ABORT BUSY TIMEOUT 10000 "" ATZ OK-ATZ-OK ATDT\\T TIMEOUT 400 CONNECT Oct 20 23:18:31 wormhole ppp[1011]: tun0: Command: default: set authname MyName Oct 20 23:18:31 wormhole ppp[1011]: tun0: Command: default: set authkey ******** Oct 20 23:18:31 wormhole ppp[1011]: tun0: Command: default: set login TIMEOUT 5000 ogin:-\\r-ogin: ppp word: ppp ocol: PPP HELLO Oct 20 23:18:31 wormhole ppp[1011]: tun0: Command: default: set timeout 1200 Oct 20 23:18:31 wormhole ppp[1011]: tun0: Command: default: set ifaddr 1.0.0.1/0 1.0.0.2/0 255.255.255.0 0.0.0.0 Oct 20 23:18:31 wormhole ppp[1011]: tun0: Command: default: set filter dial 0 permit MYADDR 0.0.0.0/0 tcp dst gt 0 Oct 20 23:18:31 wormhole ppp[1011]: tun0: Command: default: set filter dial 0 permit MYADDR 0.0.0.0/0 udp dst gt 0 Oct 20 23:18:31 wormhole ppp[1011]: tun0: Command: default: set filter alive 0 deny 0.0.0.0/0 MYADDR tcp dst gt 0 syn timeout 120 Oct 20 23:18:31 wormhole ppp[1011]: tun0: Command: default: set filter alive 1 deny 0.0.0.0/0 MYADDR tcp dst gt 0 finrst timeout 120 Oct 20 23:18:31 wormhole ppp[1011]: tun0: Command: default: set filter alive 2 deny 0.0.0.0/0 MYADDR udp dst gt 0 timeout 120 Oct 20 23:18:31 wormhole ppp[1011]: tun0: Command: default: add default HISADDR Oct 20 23:18:31 wormhole ppp[1011]: tun0: Command: default: enable dns Oct 20 23:18:31 wormhole ppp[1011]: tun0: Phase: PPP Started (foreground mode). Oct 20 23:18:31 wormhole ppp[1011]: tun0: Phase: bundle: Establish Oct 20 23:18:31 wormhole ppp[1011]: tun0: Phase: deflink: closed -> opening Oct 20 23:18:31 wormhole ppp[1011]: tun0: Phase: deflink: Connected! Oct 20 23:18:31 wormhole ppp[1011]: tun0: Phase: deflink: opening -> dial Oct 20 23:18:31 wormhole ppp[1011]: tun0: Chat: Phone: 0101901929 Oct 20 23:18:31 wormhole ppp[1011]: tun0: Chat: deflink: Dial attempt 1 of 1 Oct 20 23:18:31 wormhole ppp[1011]: tun0: Chat: Send: ATZ\^M Oct 20 23:18:31 wormhole ppp[1011]: tun0: Chat: Expect(10000): OK Oct 20 23:18:31 wormhole ppp[1011]: tun0: Chat: Received: ATZ\^M\^M Oct 20 23:18:31 wormhole ppp[1011]: tun0: Chat: Received: OK\^M Oct 20 23:18:31 wormhole ppp[1011]: tun0: Chat: Send: ATDT0101901929\^M Oct 20 23:18:31 wormhole ppp[1011]: tun0: Chat: Expect(400): CONNECT Oct 20 23:18:54 wormhole ppp[1011]: tun0: Chat: Received: ATDT0101901929\^M\^M Oct 20 23:18:54 wormhole ppp[1011]: tun0: Chat: Received: CONNECT Oct 20 23:18:54 wormhole ppp[1011]: tun0: Phase: deflink: dial -> carrier Oct 20 23:18:54 wormhole ppp[1011]: tun0: Phase: deflink: carrier -> login Oct 20 23:18:54 wormhole ppp[1011]: tun0: Chat: Expect(5000): ogin: Oct 20 23:18:54 wormhole ppp[1011]: tun0: Chat: Received: 49333/ARQ/V90/LAPM/V42BIS\^M Oct 20 23:19:17 wormhole ppp[1011]: tun0: Chat: Received: [EMAIL PROTECTED] \M-8} }8}"}&} }*} } [EMAIL PROTECTED]&\M-?\M-M\M-|\M-D}'}"}(}"X\M-/[EMAIL PROTECTED] \M-9} }8}"}&} }*} } [EMAIL PROTECTED]&\M-?\M-M\M-|\M-D}'}"}(}"\M^Q&[EMAIL PROTECTED] \M-:} }8}"}&} }*} } [EMAIL PROTECTED]&\M-?\M-M\M-|\M-D}'}"} (}"[EMAIL PROTECTED];} }8}"}&} }*} } [EMAIL PROTECTED]&\M-?\M-M\M-| \M-D}'}"}(}"[EMAIL PROTECTED]<} }8}"}&} }*} } [EMAIL PROTECTED]&\M-?\M-M\M-| \M-D}'}"}(}"[EMAIL PROTECTED] }8}"}&} }*} } [EMAIL PROTECTED]&\M-?\M-M\M-| \M-D}'}"}(}"[EMAIL PROTECTED]>} }8}"}&} }*} } [EMAIL PROTECTED]&\M-?\M-M\M-| \M-D}'}"}(}"[EMAIL PROTECTED] }8}"}&} }*} } [EMAIL PROTECTED]&\M-? \M-M\M-|\M-D}'}"}(}"[EMAIL PROTECTED]@} }8}"}&} }*} } [EMAIL PROTECTED]&\M-? \M-M\M-|\M-D}'}"}(}">[EMAIL PROTECTED] }8}"}&} }*} } [EMAIL PROTECTED]&\M-? \M-M\M-|\M-D}'}"}(}"\M-wL~\^M Oct 20 23:19:17 wormhole ppp[1011]: tun0: Chat: Received: NO CARRIER\^M

