|
1.arm9开发板为s3c2410,modem为外置的串口连接的
2.在redhat9下面拨号成功,可以分到ip并且浏览网页。方法是使用命令行
pppd /dev/ttyS0 57600 connect 'chat -v "" AT OK ATDT16300 sername 16300 assword 16300'
crtscts modem
(使用ppp-on等脚本始终不行,一直没有搞懂事什么原因)
3.交叉编译ppp2.4.1,中间遇到一些问题,参照相关文档解决,把pppd,chat等烧入文件系统。然后用上
面同样的命令行,出现了几个问题。
a.拨号的时候不像redhat下面输入命令马上就可以听到拨号音,过十秒左右才能听到拨号音。加
入"local"参数的话可以马上听到拨号音
b.拨号之后可以看到CD指示灯亮,然后就没有反映了,ifconfig,没有看到ppp0
c.不知道如何看调试信息,参照相关文档,将syslogd交叉编译,并且将syslog.conf放到相关路径下,
然后在/var下面建立了log目录。运行syslogd之后ps可以看到在运行,但是vi /var/log/messeges之后什
么都看不到,tail -f /var/log/messeges也是一片空白。后来运行syslogd -d后看到以下
Allocated parts table for 1024 file descriptors.
Starting.
Called logerr, msg: network logging disabled (syslog/udp service unknown).
logmsg: syslog.err<43>, flags 4, from (none), msg syslogd: network logging disab
led (syslog/udp service unknown).
Called fprintlog, logging to CONSOLE /dev/console
syslogd: network logging disabled (syslog/udp service unknown).
Called logerr, msg: see syslogd( for details of whether and how to enable it.
logmsg: syslog.err<43>, flags 4, from (none), msg syslogd: see syslogd( for de
tails of whether and how to enable it.: No such file or directory
Called fprintlog, logging to CONSOLE /dev/console
syslogd: see syslogd( for details of whether and how to enable it.: No such
file or directory
Debugging disabled, SIGUSR1 to turn on debugging.
然后就没有响应了,除非ctr+c中止
这就是我遇到的问题,虽然繁琐一些,但是希望有经验的兄弟姐妹能帮一把手,现在急需想看到调试信息
请大家帮帮忙,多谢! |
|