![](https://csdnimg.cn/release/download_crawler_static/80786736/bg1.jpg)
第一步:下载 ppp-2.4.4.tar.gz ,
第二步:解压软件 tar zxvf ppp.2.4.4.tar.gz -C /
第三步: cd ppp2.4.4/ 配置文件。
# ./configure
# make CC=arm-linux-gcc
第三步: 编译基本完成, 在当前目录下的 pppd 目录和 chat 目录下分别生成有 pppd
和 chat 两个可执行文件。
将目录下 pppd chat pppdump pppstats 下可执行程序 pppd, chat, pppdump, pppstats
拷贝到开发板 /usr/sbin 目录下
第四步:建立三个文件夹
mkdir /etc/ppp; mkdir /etc/ppp/peers ; mkdir /etc/ppp/chat
第五步:把 ppp2.4.4 文件夹中的 etc.ppp 中的 pap-secrets 和 chap-secerts 复制到 /etc/ppp/
下修改两个文件为
我使用的是 CDMA 的卡,现在是电信服务的设置, 登陆名密码我咨询了电信的客服的。
# Secrets for authentication using CHAP
# client server secret IP addresses
####### redhat-config-network will overwrite this part!!! (begin) ##########
"ctnet@mycdma.cn" "*" "vnet.mobi"
####### redhat-config-network will overwrite this part!!! (end) ############
# Secrets for authentication using PAP
# client server secret IP addresses
####### redhat-config-network will overwrite this part!!! (begin) ##########
"ctnet@mycdma.cn" "*" "vnet.mobi"