Solved

serial device looped back?!

Posted on 1997-05-09
1
211 Views
Last Modified: 2010-03-18
In trying to set up PPP, I've been unable to fix this problem:

I dial into the ISP (and I've tried 2 different ones - same results) with minicom, then I quit without a modem reset, and type "pppd -d -detach /dev/modem &"
at this point the modem always just hangs up.
If I look in /var/log/messages, I always get a "serial device looped back" message right after ppp connects. All the docs that I've found assume a problem with a script or something like that, but I'm not using one yet! help?
0
Comment
Question by:jon-o
1 Comment
 
LVL 2

Accepted Solution

by:
dux earned 200 total points
ID: 1584615
Try this script:
(you must modify some variables)

/usr/sbin/pppd debug lock modem crtscts /dev/modem 38400 \
asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT

DIALER_SCRIPT is:


exec chat -v                                            \
        TIMEOUT         5                               \
        ABORT           '\nBUSY\r'                      \
        ABORT           '\nNO ANSWER\r'                 \
        ABORT           '\nRINGING\r\n\r\nRINGING\r'    \
        ''              \rAT                            \
        'OK-+++\c-OK'   ATH0                            \
        TIMEOUT         60                              \
        OK              ATDP$TELEPHONE                  \
        CONNECT         ''                              \
        sername:--sername:      $ACCOUNT                \
        assword:        $PASSWORD




0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now