ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: dial out problem

To:
Subject: Re: [ts-7000] Re: dial out problem
From: Kim Buckley <>
Date: Thu, 20 Apr 2006 20:41:05 -0700 (PDT)
Tom,
Big thanks, Tom. With your instructions I have gone much further. The modem now dials and tries to negotiate with my laptop. I am using an internal phone line, and I do not have an ISP. I just try to dial in my laptop.
I got the error message: Failed to authenticate ourselves to peer
 
I know that something I set in /etc/ppp/options is not right because the dump has line password ??????, but I am not sure how can I set it. The remotename appsw1 is the name of my laptop that my ts board wants to dial out to. I need to put password to log in the laptop, so I changed the /etc/ppp/options to
 
/dev/modem
115200
lock
dump
debug
logfile /var/log/pppd
defaultroute
modem
crtscts
remotename appsw1 user kimc password kimcpass
noauth
idle 95
 
My laptop name is appsw1 and I can log into the laptop with user kimc and password kimpass. ( Do now worry , appsw1 and password are not the real server and  the real password : ) ).So why it failed to authenticate?
 
My log dump is:  
 

pppd options in effect:
debug       # (from /etc/ppp/options)
idle 95           # (from /etc/ppp/options)
logfile /var/log/pppd           # (from /etc/ppp/options)
dump        # (from /etc/ppp/options)
user kimc         # (from /etc/ppp/options)
password ??????            # (from /etc/ppp/options)
remotename Appsw1            # (from /etc/ppp/options)
/dev/modem        # (from command line)
115200            # (from /etc/ppp/options)
lock        # (from /etc/ppp/options)
connect /usr/sbin/chat -t 45 -v -f /root/script.dial       # (from command line)
crtscts           # (from /etc/ppp/options)
modem       # (from /etc/ppp/options)
defaultroute            # (from /etc/ppp/options)
Serial connection established.
using channel 10
Using interface ppp0
Connect: ppp0 <--> /dev/modem
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xab0ce12c> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth chap MS-v2> <magic 0x663234fd> <pcomp> <accomp> <callback CBCP> <mrru 1614> <endpoint 13 17 01 3e 06 b7 57 5c 60 46 ee 94 c7 14 99 6a 99 2b e1 00 00 00 00> < 17 04 00 0c>]
sent [LCP ConfRej id=0x0 <callback CBCP> <mrru 1614> < 17 04 00 0c>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xab0ce12c> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x663234fd> <pcomp> <accomp> <endpoint 13 17 01 3e 06 b7 57 5c 60 46 ee 94 c7 14 99 6a 99 2b e1 00 00 00 00>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x663234fd> <pcomp> <accomp> <endpoint 13 17 01 3e 06 b7 57 5c 60 46 ee 94 c7 14 99 6a 99 2b e1 00 00 00 00>]
rcvd [CHAP Challenge id=0x0 <65deb6ef402148345ab8ce5c06c79d97>, name = "APPSW1"]
sent [CHAP Response id=0x0 <00ff0000ff00000000ffff0000ff000000000000000000001f2a68507a10d01252507b32892ffce73b3cff31531aab1600>, name = "kimc"]
rcvd [CHAP Failure id=0x0 "E=691 R=1 C=565A8870CF6A584257A7F17309D372E2 V=3"]
Unknown MS-CHAP authentication failure: E=691 R=1 C=565A8870CF6A584257A7F17309D372E2 V=3
sent [LCP TermReq id=0x2 "Failed to authenticate ourselves to peer"]
rcvd [LCP TermAck id=0x2 "Failed to authenticate ourselves to peer"]
Connection terminated.
 
 
Please help
Thanks
Kim
.


prtsoftware <> wrote:
I never had a problem with SSH.

Its probably the insmods.  You need to add the alias commands to
modules.conf as the ppp readme mentions.  Its easy to overlook.  See
my other detailed post on this subject.

Tom

--- In "kimdcb200" <> wrote:
>
> I have followed the belowed message from Lee and I do not get that
> far. My LCP did not start.
>
> The log is:
> 04/19 21:10:50 AM0   checking lockfiles, locking the line
> 04/19 21:10:50 AM0   makelock(ttyAM0) called
> 04/19 21:10:50 AM0   do_makelock: lock='/var/lock/LCK..ttyAM0'
> 04/19 21:10:50 AM0   lock made
> 04/19 21:10:50 AM0  wfr: waiting for ``RING''
> 04/19 21:10:50 AM0   got:
> 04/19 21:10:50 AM0  mdm_read_byte: read returned 0: Success
> 04/19 21:10:50 AM0  wfr: error in read(): Success
> 04/19 21:10:50 AM0   wfr: rc=-1, drn=0
> 04/19 21:10:50 AM0  huh? Junk on the line?
> 04/19 21:10:50 AM0   >>> could be a dial-out program without proper
> locking - ch
>
> 04/19 21:10:50 AM0   removing lock file
>
> I know my modem is working because I use this modem to dial out from
> my PC to my laptop, and it works well. Now I switch to COM0 of
> ts7250 and I have problems.
>
> I have mgetty running in my ts7250 and the ps-aux as:
> PID  Uid     VmSize Stat Command
>     1 root        468 S   init [3]
>     2 root            SW  [keventd]
>     3 root            SWN [ksoftirqd_CPU0]
>     4 root            SW  [kswapd]
>     5 root            SW  [bdflush]
>     6 root            SW  [kupdated]
>     7 root            SW  [mtdblockd]
>    59 1           448 S   /sbin/portmap
>    64 root        680 S   /usr/sbin/inetd
>    79 root       5120 S   /usr/sbin/apache
>    88 www-data   5128 S   /usr/sbin/apache
>    89 www-data   5128 S   /usr/sbin/apache
>    90 www-data   5128 S   /usr/sbin/apache
>    91 www-data   5128 S   /usr/sbin/apache
>    92 www-data   5128 S   /usr/sbin/apache
>    99 root        680 S   -sh
>   168 root        876 R   /usr/sbin/pppd /dev/ttyAM0 9600 kdebug 8
> debug lock n
>   169 root            Z   [sh]
>   203 root        540 S   /sbin/mgetty -s 38400 ttyAM0
>   204 root        924 S   dropbear -i
>   205 root        648 S   -sh
>   206 root        592 R   ps -aux
>
> I read one of the message in this group and someone has mentioned
> that we need to turn off ssh to run pppd. I cannot turn dropbear off
> for security reason. Can it cause the ppp dial out not working?
>
> Thanks a bunch
> Kim
>
>
>
> >I'm stuggling to get a PPP connection from the board to the ISP.
> >
> > I've disabled the console on ttyAM0 in Redboot (JP2&4) and TSlinux
> > (inittab). I've connected a USRobotics modem to ttyAM0 and a
> terminal
> > to ttyAM1.
> >
> > I've inserted the required modules using the following commands:
> >
> > insmod slhc.o
> > insmod ppp_generic.o
> > insmod ppp_async.o
> >
> >
> > Using the following chat script:
> >
> > ABORT "NO CARRIER"
> > ABORT "NO DIALTONE"
> > ABORT "NO ANSWER"
> > ABORT "BUSY"
> > ABORT "ERROR"
> > TIMEOUT 10
> > " " ATZ
> > OK "AT"
> > OK "ATD08453011535"
> > CONNECT `'
> >
> > With the following command:
> >
> > pppd /dev/ttyAM0 9600 kdebug 1 debug lock
> > nocrtscts
> > defaultroute
> > connect "/usr/sbin/chat -v -f /etc/ppp/chat.script"
> >
> > forces the modem to dial the ISP (great). Unfortunately, using a
> > sniffer tool it appears PPP never passes the LCP stage. All I can
> see
> > is duplicated LCP requests from the Linux box and the remote end
> > NAKing the magic number (acceptable).
> >
> > Anybody passed this stage???
> >
> > Regards,
> >
> > Lee
>








Celebrate Earth Day everyday! Discover 10 things you can do to help slow climate change. Yahoo! Earth Day

YAHOO! GROUPS LINKS

  •  Visit your group "ts-7000" on the web.
     
  •  To unsubscribe from this group, send an email to:
     =Unsubscribe
     
  •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU