Solved

serial device looped back?!

Posted on 1997-05-09
1
251 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

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…

710 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