ChinaUnix.net
相关文章推荐:

pppd script

现在在看 pppd-2.4.4代码,发现好难看: 不知道前辈们是如何阅读的? 感觉状态部分和协议还是很好的对应的,但是开始部分的处理,不太明白: 作为pppd是怎么和内核交互分组,又是怎么和peer交流的? tty和/dev/ppp的作用是什么呢? 还有几个简单概念,我还不清楚: multilink? loop? 请达人们指导?

by newliner - 服务器应用 - 2007-12-27 22:28:25 阅读(2405) 回复(0)

相关讨论

想在自己机子上装个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有冲突什么的,不知具体是什么原因

by arnina - 网络技术 - 2007-09-05 22:58:02 阅读(1487) 回复(0)

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/6138/showart_25426.html

by w3g8 - BSD文档中心 - 2005-05-12 10:11:38 阅读(600) 回复(0)

[code] #!/bin/ksh for line in $(grep -rl oldstring /pathdir/*);do ed $line<

by 寂寞烈火 - Shell - 2004-11-22 21:46:44 阅读(685) 回复(5)

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 #...

by amiao - Shell - 2004-02-12 10:42:58 阅读(470) 回复(0)

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/103638/showart_2053874.html

by vinnacy - 网络技术文档中心 - 2009-09-16 16:28:49 阅读(606) 回复(0)

主要是版本问题,在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...

by gracet3 - 服务器应用 - 2008-08-07 13:53:26 阅读(3459) 回复(4)

运行 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.

by mjgzln - Linux论坛 - 2005-07-21 13:25:37 阅读(375) 回复(1)

[root@localhost ppp]# ../cxacru.service start >;>;>; Inits Conexant AccessRunner <<< >;>;>; Loading USB controller... >;>;>; Loading firmware... Conexant AccessRunner microcode upload program. 6/9/2003 Josep Comas ; See credits in documentation I found ADSL modem with VendorID = 0572 & ProductID = cb00 Loading and sending /usr/sbin/cxfirm4.bin... Firmware is sent! Setting config...

by hitro - Linux论坛 - 2004-08-31 13:06:46 阅读(682) 回复(2)

Shell script To Read IP Address ( Find Ip Address script ) #!/bin/sh # Shell script scripts to read ip address # ------------------------------------------------------------------------- # Copyright (c) 2005 nixCraft project # This script is licensed under GNU GPL version 2.0 or above # ------------------------------------------------------------------------- # This scr...

by 啊泰 - BSD - 2008-06-28 20:06:40 阅读(1342) 回复(0)

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...

by zrh4734 - Java文档中心 - 2007-05-02 13:27:24 阅读(315) 回复(0)