Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I seem to get my Diamond hardware modem going on the laptop after having connected it to a usb-to-serial adapter since there are no serial ports on the laptop. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2005
    Location
    Athens, Greece
    Posts
    1

    Hardware modem - Connection problem


    Hi,

    I seem to get my Diamond hardware modem going on the laptop after having connected it to a usb-to-serial adapter since there are no serial ports on the laptop. The connection is established but some time later (usually 5-15 minutes) it seems to disconnect. I have set idle-time to 0 seconds after a recommendation made in an earlier posting on the forum! I have also set it to higher values!Still nothing!
    This is the log i get:
    SuSE Meta pppd (smpppd-ifcfg), Version 1.59 on linux.
    Status is: disconnected
    trying to connect to smpppd
    connect to smpppd
    Status is: disconnected
    Status is: connecting
    pppd[0]: Plugin passwordfd.so loaded.
    pppd[0]: --> WvDial: Internet dialer version 1.54.0
    pppd[0]: --> Initializing modem.
    pppd[0]: --> Sending: ATZ
    pppd[0]: ATZ
    pppd[0]: OK
    pppd[0]: --> Sending: AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    pppd[0]: AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    pppd[0]: OK
    pppd[0]: --> Sending: ATM1
    pppd[0]: ATM1
    pppd[0]: OK
    pppd[0]: --> Sending: ATX3
    pppd[0]: ATX3
    pppd[0]: OK
    pppd[0]: --> Modem initialized.
    pppd[0]: --> Sending: ATDT8015002005
    pppd[0]: --> Waiting for carrier.
    pppd[0]: ATDT8015002005
    pppd[0]: CONNECT 9600
    pppd[0]: --> Carrier detected. Waiting for prompt.
    pppd[0]: ~[7f]}#@!}!!} }8}"}&} }*} } }#}$@#}%}&[01]X}=b}'}"}(}"[Q~
    pppd[0]: --> PPP negotiation detected.
    pppd[0]: Serial connection established.
    pppd[0]: Renamed interface ppp0 to modem0
    pppd[0]: Using interface modem0
    Status is: connecting
    pppd[0]: Connect: modem0 <--> /dev/ttyUSB0
    pppd[0]: PAP authentication succeeded
    pppd[0]: local IP address 84.254.54.160
    pppd[0]: remote IP address 62.169.255.9
    pppd[0]: primary DNS address 62.169.194.17
    pppd[0]: secondary DNS address 62.169.194.18
    pppd[0]: Script /etc/ppp/ip-up finished (pid 14641), status = 0x0
    Status is: connected
    pppd[0]: No response to 4 echo-requests
    pppd[0]: Serial link appears to be disconnected.
    pppd[0]: Connect time 7.5 minutes.
    pppd[0]: Sent 17282 bytes, received 419608 bytes.
    pppd[0]: Script /etc/ppp/ip-down finished (pid 14920), status = 0x0
    Status is: disconnected
    pppd[0]: Connection terminated.
    Status is: disconnecting
    pppd[0]: Terminating on signal 15
    pppd[0]: Modem hangup
    Status is: disconnected
    pppd[0] died: A modem hung up the phone (exit code 16)

    Can someone help? I even tried enabling stupid mode but still nothing! Also i checked the connectors on the adapter to the modem and the USB hub, but all seems ok too!
    Thanks in advance!
    BYTHEWAY i use Kinternet to dial

  2. #2
    Linux Newbie
    Join Date
    Apr 2005
    Location
    NJ, USA
    Posts
    104
    It seems as if your modem isn't sending out the packets neccessay to keep the connection alive. Your ISP looks for these pakets and if it doesn't get them in a certain amount of time(in your case 7.5 min) it disconnects you.

    The line:
    Code:
    pppd&#91;0&#93;&#58; No response to 4 echo-requests
    led me to beleive this is the problem
    However i have no idea how to fix this problem
    My New years Resolution is 1280x1024

  3. #3
    Just Joined!
    Join Date
    Sep 2006
    Posts
    1

    my solution

    I was able to fix this by putting the following 2 lines in my file that is in /etc/ppp/peers

    lcp-echo-failure 0
    lcp-echo-interval 0

  4. $spacer_open
    $spacer_close

Posting Permissions

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