Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

serial device looped back?!

Posted on 1997-05-09
1
Medium Priority
?
269 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 600 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

824 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