Results 1 to 4 of 4

Thread: usb modem and ppp

  1. #1

    Default usb modem and ppp

    Hello all,
    My last hope to make it work.
    The problem -
    1st - how to install wvdial on suse? #apt-get install wvdial doesn't work on suse and the yast can't find it.
    2nd - Is there any dialer? can't find how to install kinternet/
    3rd - ok, I make it works trought confguring couple files and then #pppd call BUT after session established i can't acces or ping any remote host. After connection aborted it shows me tat i recived some packets but didn't send any/
    PLS help! can't sleep for 48 hours ( p/s/ googling didn't help to)
    also how to make suse run modules and bash scripts auto? It easier to find info for Ubuntu or other then how to make it in SuSe.

  2. #2

    Default Re: usb modem and ppp

    ok.. unable to install wvdialer on SuSe > it requires wvstreams installed firstly.. this is what i got trying to install wvstreams

    mylinux:/home/andrey/all/wvstreams-4.4.1 # make
    Makefile:76: *** Please run the "configure" script. Останов.
    mylinux:/home/andrey/all/wvstreams-4.4.1 # ./configure
    checking for gcc... no
    checking for cc... no
    checking for cl.exe... no
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details.
    mylinux:/home/andrey/all/wvstreams-4.4.1 #
    that's to difficult for noob as I am, so f that wvdial..

  3. #3

    Default Re: usb modem and ppp

    So i got the only way (because gnome-ppp, wvdial or other I found didn't workds for me in suse) with 3 files bellow:

    #/etc/ppp/peers/myUsbModemConnection
    lock
    #defaultroute
    usepeerdns
    noipdefault
    ttyUSB0
    /dev/ttyUSB0
    460800
    connect '/usr/sbin/chat -v -f /etc/ppp/chat/myUsbModemConnection'
    crtscts
    passive
    asyncmap 0
    noccp
    name "xxxxxxxxxxxxxxxxxx"

    #/etc/ppp/chat/myUsbModemConnection
    TIMEOUT 60
    ABORT ERROR
    ABORT BUSSY
    ABORT "NO CARRIER"
    ABORT "NO DIALTONE"
    "" "AT&FH0"
    OK "atdt#777"
    TIMEOUT 75
    CONNECT

    #/etc/ppp/chap-secrets
    "mylogin" * "mypass"

    then
    #pppd call myUsbModemConnection
    mylinux:/home/andrey/all/wvstreams-4.4.1 # pppd call myUsbModemConnection
    Script /usr/sbin/chat -v -f /etc/ppp/chat/myUsbModemConnection finished (pid 17168), status = 0x0
    Serial connection established.
    Using interface ppp0
    Connect: ppp0 <--> /dev/ttyUSB0
    CHAP authentication succeeded
    CHAP authentication succeeded
    local IP address xxx.xxx.xxx.xxx
    remote IP address xxx.xxx.xxx.xxx
    primary DNS address xxx.xxx.xxx.xxx
    secondary DNS address xxx.xxx.xxx.xxx
    Script /etc/ppp/ip-up finished (pid 17170), status = 0x0
    but no ping and nothin' at all

    When I'm ctrl-c >
    ^CTerminating on signal 2
    Connect time 3.4 minutes.
    Sent 0 bytes, received 1872 bytes.
    Connection terminated.
    Script /etc/ppp/ip-down finished (pid 17408), status = 0x0
    LINUX GURU NEEDED!!!

  4. #4

    Default Re: usb modem and ppp

    the problem solved
    defaultroute in /etc/ppp/peers/file
    then route del default
    but the speed was to slow so > ifdown eth0
    extr fast now)))

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •