Solved

serial device looped back?!

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

820 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