[ LUGOS ] Re:_[_LUGOS_]_PPP+INTERNET_rabim_pomoč_...
Vlado Umek
vlado na interblod.com
Pet Mar 26 15:12:35 CET 1999
Hm... recimo da se mel js kr neke podobne tezave...
preberi si podatke na www2.arnes.si za linux;
uporabi komando netconf in vpisi te podatke...
Jaz raje uporabljam MiniCom ker se mi zdi cisto preprost...
Umnik
>Pozdravljeni!
>
>Nujno bi rabil pomoc kako z Linuxom na internet, ker sem sam ze obupal.
>Zadnje tri mesece se ze ukvarjam s to zadevo, pa mi nikakor ne rata.
>Prebrav sem ze skoraj vso mozno literaturo, ki obstaja na internetu in
>prav tako vse HOW-TO-**, ki imajo kaj veze z mojim problemom (tudi
>prevode). Problem je pa sledec, da modem sicer poklice arnes (v tem
>primeru), vendar takoj po nekaj sekundah pade dol (verjetno ko se
>vkljuci PPP). Poskusal sem tako z PPP skriptami(s temi nisem imel niti
>malo srece)(/etc/ppp/), kot tudi z raznimi programcki (npr. EzPPP,
>XISP). EzPPP mi javi : "The pppd daemon died unexpectedly."
>
>Debug pa zgleda takole:
>ATZ
>
>OK
>ATDT1797000
>
>CONNECT 115200/PPP 64000/NONE
>~˙}#Ŕ!}!r} }4}"}&} } } } }#}$Ŕ#}%}&w§ŽËü}&~˙}#Ŕ!}!s} }4}"}&} } } }
>}#}$Ŕ#}%}&w§ŽËľ~˙}#Ŕ!}!t} }4}"}&} } } } }#}$Ŕ#}%}&w§ŽËyu~˙}#Ŕ!}!u}
>}4}"}&} } } } }#}$Ŕ#}%}&w§ŽË0ć~˙}#Ŕ!}!v} }4}"}&} } } }
>}#}$Ŕ#}%}&w§ŽËú[~˙}#Ŕ!}!w} }4}"}&} }
>
>Uporabljam Red Hat Linux distribucijo 5.2 (kernel 2.2.2 / 2.0.36), ZyXEL
>TA128 (ISDN modem). Pod Winsuxxi 9x/NT nisem nikoli imel kakrsnih koli
>tezav, v linuxu pa zal ne najdem kje bi bila lahko napaka.
>
>Prilagam se PPP-ON/PPP-ON-DIALER datoteki ..
>PPP-ON
>
>!/bin/sh
>#
># Script to initiate a ppp connection. This is the first part of the
># pair of scripts. This is not a secure pair of scripts as the codes
># are visible with the 'ps' command. However, it is simple.
>#
># These are the parameters. Change as needed.
>TELEPHONE=1797000 # The telephone number for the connection
>ACCOUNT=asraka2 # The account name for logon (as in 'George
>Burns')
>PASSWORD=******** # The password for this account (and 'Gracie
>Allen')
>LOCAL_IP=0.0.0.0 # Local IP address if known. Dynamic = 0.0.0.0
>REMOTE_IP=0.0.0.0 # Remote IP address if desired. Normally 0.0.0.0
>
>NETMASK=255.255.255.0 # The proper netmask if needed
>#
># Export them so that they will be available at 'ppp-on-dialer' time.
>export TELEPHONE ACCOUNT PASSWORD
>#
># This is the location of the script which dials the phone and logs
># in. Please use the absolute file name as the $PATH variable is not
># used on the connect option. (To do so on a 'root' account would be
># a security hole so don't ask.)
>#
>DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
>#
># Initiate the connection
>#
># I put most of the common options on this command. Please, don't
># forget the 'lock' option or some programs such as mgetty will not
># work. The asyncmap and escape will permit the PPP link to work with
># a telnet or rlogin connection. You are welcome to make any changes
># as desired. Don't use the 'defaultroute' option if you currently
># have a default route to an ethernet gateway.
>#
>exec /usr/sbin/pppd debug lock modem crtscts /dev/cua1 38400 \
> asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
> noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT
>
>PPP-ON-DIALER
>#!/bin/sh
>#
># This is part 2 of the ppp-on script. It will perform the connection
># protocol for the desired connection.
>#
># exec chat -v
>/usr/sbin/chat -V \
> TIMEOUT 3 \
> ABORT '\nBUSY\r' \
> ABORT '\nNO ANSWER\r' \
> ABORT '\nRINGING\r\n\r\nRINGING\r' \
> '' \rAT \
> 'OK-+++\c-OK' ATH0 \
> TIMEOUT 30 \
> OK ATDT$TELEPHONE \
> CONNECT '' \
> ogin:--ogin: $ACCOUNT \
> assword: $PASSWORD
>
>V /etc/ppp/CONNECT-ERRORS je tole:
> /etc/ppp/ppp-on-dialer: TIMEOUT: command not found
> /etc/ppp/ppp-on-dialer: TIMEOUT: command not found
>predvidevam, da je nekaj narobe z PPPD, ali kako
>
>/etc/ppp/PAP-SECRETS je trenutno prazen, vendar tudi ce sem vnesel
>podatke ni bilo nobenega vidnega uspeha.
>/etc/resolv.conf pa vsebuje DNSje od Arnesa
>
>Prosim, ce mi lahko kdo kako pomaga. Vnaprej hvala ..
>
>--
>Andraz
>
>
Dodatne informacije o seznamu Starilist