想在自己机子上装个pppoe-server,pppoe发现阶段可以正常完成,但是接收到LCP数据包时却没有反应了,查看/var/log/messages 有类似下面的信息: LCP: timeout sending Config-Requests Connection terminated. tcflush failed: Bad file descriptor 所用的pppd版本是2.4.3,google了一把,好像说是跟syslog有冲突什么的,不知具体是什么原因
script可以记录屏幕的输入输出信息到文件 如下: # script script started, file is typescript # ls -l total 16 -rw-r--r-- 1 root root 1150 Feb 8 19:28 OWconfig_test -rw-r--r-- 1 root other 24 Feb 11 19:26 sh.sh -rw-r--r-- 1 root other 0 Feb 11 19:27 typescript # exit script done, file is typescript # cat typescript script started on Wed Feb 11 19:27:28 2004 #...
主要是版本问题,在centos中,pppd的版本为2.4.4,pptpd的版本为1.4.3,运行pptpd后报错如下: Core: Feb 16 11:51:33 erp pptpd[21641]: CTRL: Client 192.168.68.206 control connection started Feb 16 11:51:33 erp pptpd[21641]: CTRL: Starting call (launching pppd, opening GRE) Feb 16 11:51:33 erp pppd[21642]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so is for pppd version 2.4.3, this is 2.4.4 Feb 16 11:51:33 erp...
运行 pppd 后出现 pppd: This system lacks kernel support for PPP. This could be because the PPP kernel module could not be loaded, or because PPP was not included in the kernel configuration. If PPP was included as a module, try `/sbin/modprobe -v ppp'. If that fails, check that ppp.o exists in /lib/modules/`uname -r`/net. See README.linux file in the ppp distribution for more details.
[root@localhost ppp]# ../cxacru.service start
>;>;>; Inits Conexant AccessRunner <<<
>;>;>; Loading USB controller...
>;>;>; Loading firmware...
Conexant AccessRunner microcode upload program. 6/9/2003
Josep Comas
Shell script To Read IP Address ( Find Ip Address script )
#!/bin/sh
# Shell script scripts to read ip address
# -------------------------------------------------------------------------
# Copyright (c) 2005 nixCraft project
1. oncontextmenu="window.event.returnValue=false" 将彻底屏蔽鼠标右键 no 可用于Table 2. 取消选取、防止复制 3. onpaste="return false" 不准粘贴 4. oncopy="return false;" oncut="return false;" 防止复制 5. IE地址栏前换成自己的图标 6. 可以在收藏夹中显示出你的图标 7. 关闭输入法 8. 永远都会带着框架 9. 防止被人frame 10. 网页将不能被另存为 "; 11. 12.删除时确认 删除 13. 取得控件的绝对位置 //Javascript...