Kaj pocnem narobe? (read 1st)
Matjaz Godec
gody na elgo.si
Sob Dec 28 21:21:56 CET 1996
On Sat, 28 Dec 1996, Dragan Nedeljkovic wrote:
> V man pageih zgleda stvar simple, da ne bi mogla bolj biti!!!
>
> diald /dev/cua1 -m ppp local 127.0.0.1 remote 127.0.0.2 \
> dynamic connect "chat -f /etc/ppp/chatscript " speed 115200
>
probaj s ciframa 192.168.20.1 in 192.168.20.2 za 127.0.0.x nisem siguren,
saj so te rezervirane za backup. Dodaj se -v pri chatu, in v messages
fileju spremljaj, kaj se dogaja.
> chatscript je standardni od pppd-ja.
> -----------------------------------
> ABORT BUSY
> ABORT "NO CARRIER"
> ABORT VOICE
> "" ATL1X3=53DT1315151
CONNECT ""
> Username: Moj_Username
name:
> Password: \qMoj_Passwd
sword:
> Selection: 2
> -----------------------------------
>
> Ta stvar mi ne dela, ko sem dal pri diald se opcijo redial-time-out 30,
> mi je vrgel ven isto kot. ce bi napisal diald --help, so I am a little
> confused!
redial-timeout 5
^ brez -
>
> diald /dev/cua1 -m ppp local 127.0.0.1 remote 127.0.0.2 \
> dynamic connect "chat -f /etc/ppp/chatscript " speed 115200 \
> redial-time-out 30
poskusi te zadeve dati v fileka, da bo bolj pregledno.
Tule je file, katere opcije delajo:
# diald opcije
# ukaz: diald -f Ta_file
-m ppp
device /dev/cua2
accounting-log /var/log/Internet
mtu 1500
local 192.168.20.1
remote 192.168.20.2
# netmask 255.255.255.255
dynamic
defaultroute
connect /etc/diald/chat-it
disconnect /etc/diald/discon
fifo /etc/diald/diald
lock
speed 115200
modem
crtscts
connect-timeout 30
redial-timeout 5
>
> Mislim, da je sedaj to vse, upam da nisem cesa pozabil..
> Ce se komu sanja zakaj mi stvar ne dela..
>
> LP, Dragan!
>
___________________________________________________________________________
Matjaz Godec | "ELGO" Maribor d.o.o. | Electronics
matjaz.godec na elgo.si | Ul. Josipa Priola 35 | Telecommunications
tel/fax:+ 386 62 24 460 | SI 2ooo Maribor, Slovenija | CALDERA-LINUX
http://www.elgo.si/ | Slovenian network "SloN" | Internet consultant
Dodatne informacije o seznamu Starilist