Dial-up spojeni

Zbynek Houska zbynh at seznam.cz
Wed Aug 6 22:23:12 CEST 2003


> 	Prelozeno do lidske reci - pozadas modem, aby tonovou volbou vytocil 
> "zadne" cislo (ATDT). A on to udela a pochopitelne se nikam nedovola.
> 
> 	Lepsi by bylo vytacet nejake neprazdne cislo. Pokud jsi vysel z 
> defaultniho konfiguraku a provedl jen ty zmeny, o kterfych jsem mluvil, 
> pak je nejak divne zapsano ono telefonni cislo.
> 
> 	Pokud chybu nezdetekujes sam, pak bych rad bych videl vystup prikazu:
> 'show link'

Ahoj,

posilam vypis "show link" a take konfigurak ppp.conf. Nezda se mi, ze bych vytacel prazdna cisla.

Script started on Wed Aug  6 22:23:12 2003
You have mail.
root at skippy# ppp papchap
Working in interactive mode
Using interface: tun1
ppp ON skippy> show link
Name: deflink
 State:              closed
 Peer name:          N/A
 Discriminator:      Null Class

Defaults:
 Phone List:         
 Dial tries:         1, delay 3s/30s
 Reconnect tries:    0, delay 3s
 Callback requested: none
 Dial Script:        ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5            "" AT OK-AT-OK ATE1Q0 OK \dATDT\T TIMEOUT 40 CONNECT
 Login Script:       
 Logout Script:      
 Hangup Script:      
ppp ON skippy> q
root at skippy# mc

#################################################################
# PPP  Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by wself at cdrom.com
#
# See /usr/share/examples/ppp/ for some examples
#
# $FreeBSD: src/etc/ppp/ppp.conf,v 1.2.2.5 2001/07/13 10:55:23 brian Exp $
#################################################################

default:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)

 # Ensure that "device" references the correct serial port
 # for your modem. (cuaa0 = COM1, cuaa1 = COM2)
 #
 set device /dev/cuaa0

 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set timeout 180			# 3 minute idle timer (the default)
 enable dns				# request DNS info (for resolv.conf)

papchap:
 #
 # edit the next three lines and replace the items in caps with
 # the values which have been assigned by your ISP.
 #
Tiscali:
 set phone 971100811
 set authname MOJEJMENO at TISCALI.CZ
 set authkey MOJEHESLO

 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR			# Add a (sticky) default route


Takze opravdu nevim kde muzu delat chybu.

Zbynek


____________________________________________________________
Oskar dává podnikatelům mobily za 1 Kč a tisíce volných minut k tomu!
Volejte zdarma OskarBusinessKontakt 800 77 77 00! http://www.oskarmobil.cz/business/getting_started/sada.php




More information about the Users-l mailing list