Solved

serial device looped back?!

Posted on 1997-05-09
1
234 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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 Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

773 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