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
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|