ubuntu linux ppp ²¦ºÅ GPRS
Ò» Ê×ÏÈ°²×°ppp£¬ ÓÃsudo apt-get install ppp
¶þ ²¦ºÅÉÏÍø£¬ Ò»¹²ÓÐ3ÖÖ·½Ê½
1.ʹÓÃÃüÁî pppd call somescript µÄ·½Ê½
- ÔÚ /etc/pppĿ¼Ï£¬½¨Á¢3¸öÎļþ£ºpap-secrets,chap-secrets,gprs-connect-chat
ºÍÒ»¸öĿ¼:peers
ÔÚpeersĿ¼Ï½¨Á¢Ò»¸öÎļþgprs
Õâ4¸öÎļþµÄÄÚÈÝÈçÏ£º
------------------------------------------
pap-secretsºÍchap-secretsÎļþÄÚÈÝÏàͬ£¬Á½ÖÖ²»Í¬µÄÑéÖ¤Îļþ£¬Ò»ÖÖ»ùÓÚPAPÐÒ飬ÁíÒ»ÖÖ»ùÓÚCHAPÐÒé¡£
chap-secretsÎļþÄÚÈÝÈçÏ£º
# Secrets for authentication using CHAP
# client server secret IP addresses
####### redhat-config-network will overwrite this part!!! (begin) ##########
####### redhat-config-network will overwrite this part!!! (end) ############
cmnet * cmnet *
pap-secretsÎļþÄÚÈÝÈçÏ£º
# Secrets for authentication using PAP
# client server secret IP addresses
####### redhat-config-network will overwrite this part!!! (begin) ##########
####### redhat-config-network will overwrite this part!!! (end) ############
cmnet * cmnet *
ÓеãµØÇøµÄGPRS¿ÉÄÜʹÓÃpap·½Ê½ÈÏÖ¤½ÓÈëÓû§£¬ËùÒÔÔÚͬһ¼¶Ä¿Â¼Ï£¬´´½¨pap-secetsÎļþ£¬ÄÚÈÝÓëchap-secetsÀàËÆÓÐ4ÏîµÄÄÚÈÝ:client,server,secret,ip,µÚ2ºÍµÚ4ÏîÒ»°ã²»ÏÞÖƾÍÓÃ*£¨ÐǺţ©´ú±í¡£·´ÕýÒªÄãÔÚ/etc/ppp/Ï·Å×ÅÕâÁ½¸öÎļþ¾ÍºÃ¡£
------------------------------------------
/etc/ppp/peers/gprsÎļþÄÚÈÝÈçÏ£º
# Usage: root>pppd call gprs
/dev/ttyS0 #¸Ä³É×Ô¼ºµÄ¶Ë¿ÚÃû
115200 #¸Ä³É×Ô¼ºµÄ´®¿Ú²¨ÌØÂÊ
nocrtscts #ÎÞÁ÷¿Ø Èç¹ûÄãµÄ´®¿ÚÐèÒªÓ²¼þÁ÷¿Ø ¾Í¸ÄΪcrtscts
modem
lock
noauth
debug
nodetach
#hide-password
usepeerdns
noipdefault
defaultroute
asyncmap 0
user cmnet #ÉèÖýÓÈëµÄÓû§Ãû£¬ÔÚchap-secrets»òÕßpap-secetsÖÐʹÓÃ
0.0.0.0:0.0.0.0 #±¾µØºÍÔ¶¶ËµÄip¶¼ÉèΪ0ʹµÃ½ÓÈëµÄisp·ÖÅä±¾µØµÄipµØÖ·
ipcp-accept-local #ÒªÇópeerÒ²¾ÍÊÇisp¸ø×Ô¼º·ÖÅ䶯̬µÄIPµØÖ·
#ipcp-accept-remote
#lcp-echo-failure 12
#lcp-echo-interval 3
#ÒÔÉÏ2ÏîÒâ˼ÊÇ£¬Èç¹û36ÃëÖ®ÄÚ£¬·þÎñÆ÷ûÓиø»Øecho-replyÐźţ¬Ubuntu¾Í»áÈÏΪÍøÂçÒѾ³öÁËÎÊÌ⣬ÂíÉ
Ïà¹ØÎĵµ£º
»¨ÁË°ëÌìÅäÖúÃÁËcygwinµÄ½çÃ棬 ÏÂÃæ×öÒ»¼Í¼£¬ÒÔ±¸Ï´βéÔÄ
1. ¹ØÓÚtermµÄÎÊÌ⣬ Èç¹ûÏÓ°²×°µÄterm²»¹»pp£¬¿ÉÒÔʹÓÃputty£¬ÄǾÍÐèÒª°²×°openssh°ü£¬ÒÔ±ã¿ÉÒÔʹÓÃputty£¬
opensshµÄ°²×°¹ý³Ì²ÎÔÄhttp://pigtail.net/LRP/printsrv/cygwin-sshd.html ÀïÃæ½éÉܵĺÜÏêϸ¡£ÏÂÃæÌô¼¸¸ö¹Ø¼üµã¼Ç¼ÈçÏ£º
(2b) Download ......
ÔÎĵØÖ·£ºhttp://lhsblog01.blog.163.com/blog/static/1020045192010221104237126/
GPIOÊÇÓëÓ²¼þÌåϵÃÜÇÐÏà¹ØµÄ£¬linuxÌṩһ¸öÄ£ÐÍÀ´ÈÃÇý¶¯Í³Ò»´¦ÀíGPIO£¬¼´¸÷¸ö°å¿¨¶¼ÓÐʵÏÖ×Ô¼ºµÄgpio_chip¿ØÖÆÄ£¿é£ºrequest, free, input,output, get,set,i ......
wine Ò»¸ö1.1°æ±¾µÄËѹ·ä¯ÀÀÆ÷£º
$ ln -s
Îļþ¼Ð·¾¶/SogouExplorer/ .wine/drive_c/Program\ Files/SogouExplorer
$ wine "C:\Program
Files\SogouExplorer\SogouExplorer.exe" -proxy
PID:8
PORT:8081
CPORT:8082
PAC:http://127.0.0.1:8082/proxy.pac?t=1349
RET:SUCCESS
¼´
¿ÉÔÚ Fi ......
LinuxÖն˻·¾³Ï£¬ÀûÓÃÖÕ¶ËÃüÁîÐòÁпÉÒÔÉèÖÃ×ÖÌåµÄÑÕÉ«£¬Æä¸ñʽÈçÏ£º
<ESC>[<C1>;<C2>;<C3>m
ÆäÖÐ<ESC>µÄֵΪ ......
…………………………………………×ܽáÓʼþ·þÎñÆ÷ÅäÖùý³Ì(Red Hat Enterprise Linux 4)
Red Hat Enterprise LinuxÌṩÁËSendmailºÍPosfixÁ½ÖÖSTMPÓʼþ·þÎñÈí¼þ.
ĬÈÏÇé¿öÒѾ°²×°Sendmail.Èç¹ûҪʹÓÃPostfix,¾Í±ØÐëÏÈ ......