Wvdial a ppp

Sekcia: Aplikácie & Desktop 05.05.2008 | 01:48
makmak   Návštevník
Nainstaloval som si - pretoze mam winmodem - ovladac modemu pod Fedora core 6 - funguje OK. Avsak ked spustim wvdial (mam nakonfigurovany wvdial.conf), vypise sa mi toto :
** ---------------- **
[root@localhost ~]# wvdial
--> WvDial: Internet dialer version 1.54.0
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: AT S11=50
AT S11=50
OK
--> Modem initialized.
--> Sending: ATDT01920
--> Waiting for carrier.
ATDT01920
CONNECT 57600
--> Carrier detected. Waiting for prompt.
Welcome in ISDN ST_OnLine, Enter Your Username:
--> Looks like a login prompt.
--> Sending: internet
internet
Enter Your Access Password:
--> Looks like a password prompt.
--> Sending: (password)
ba-nas-3>
--> Hmm... a prompt. Sending "ppp".
ppp
IP address or hostname:
--> Looks like a login prompt.
--> Sending: internet
internet
Translating "INTERNET"
% Bad IP address
ba-nas-3>
--> Hmm... a prompt. Sending "ppp".
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Sun May 4 23:16:07 2008
--> pid of pppd: 2875
--> Using interface ppp0
--> Disconnecting at Sun May 4 23:16:38 2008
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> Auto Reconnect will be attempted in 5 seconds
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: AT S11=50
AT S11=50
OK
--> Modem initialized.
Caught signal #2! Attempting to exit gracefully...
--> Disconnecting at Sun May 4 23:16:42 2008
[root@localhost ~]#

** ---------- **
Samozrejme, ze posldne riadky su po Ctrl-C.

Nevie niekto, kde moze byt problem ?

Mam dial-up modem a pripajam sa na SlovakTelecom :01920

    • Re: Wvdial a ppp 06.05.2008 | 17:00
      Avatar lime Debian 3, Red Hat 6, Fedora Core 3  Používateľ
      Inicializacne prikazy pre dany modem vies?
      Prejdite z modrej obrazovky k linuxu :))
    • Re: Wvdial a ppp 07.05.2008 | 17:09
      Avatar Jaroslav Bernát BackTrack 3  Používateľ
      pastni wvdial.conf a odpovedz na prvu otazku
      ked nevieš, tak nefušuj
      • Re: Wvdial a ppp 08.05.2008 | 01:26
        makmak   Návštevník
        [Dialer Defaults]
        Takto vyzera moj wvdial.conf :

        ** ----- **
        Modem = /dev/ttySHSF0
        Baud = 57600
        Init = ATZ
        Init2 = AT S11=50
        Phone = 01920
        Username = internet
        Password = internet

        [Dialer shh]
        Init3 = ATM0

        [Dialer pulse]
        Dial Command = ATDP
        ** ---------- **
        S pozdravom makmak
        • Re: Wvdial a ppp 08.05.2008 | 21:03
          Avatar Jaroslav Bernát BackTrack 3  Používateľ
          ten vypada ok, máš na tom zariadení signál ? a je to zariadenie inicializované pred zalovaním wvdialu ?
          ked nevieš, tak nefušuj
          • Re: Wvdial a ppp 17.05.2008 | 00:12
            makmak   Návštevník
            Je to normalny modem, pod Win funguje, ale ci je inicializovany, to neviem - ako ? - cez minicom ?