回复帖子:(yl(171.214.*.*))gprs已经连接上了。去掉有线...

用户名:   *您没有注册?
密码:   *忘记论坛密码?    标题采用“回复:XXX....”
验证码 点击获取验证码
主题标题:  *不得超过 200 个汉字
当前心情
上一页 发帖表情 下一页
内容
  

主题最新回顾(发布时间:2012-8-7 16:18:00)
--  作者:zhl(171.214.*.*)
--  
在userinfo.txt文件中,需要将网关设置为0.0.0.0,否则系统将会把此ip设置为缺省的网关。如:

[LOCAL_MACHINE]
DHCP="DisableDHCP"
DefaultGateway="0.0.0.0" 
IPAddress="192.168.201.212" 
SubnetMask="255.255.255.0" 

主题最新回顾(发布时间:2012-8-7 9:31:00)
--  作者:wyz365889(27.151.*.*)
--  
[root@EM9X60 /var/run]#ifconfig eth0 down
拔掉网线了,可是还是不行
[root@EM9X60 /var/run]#ls
inetd.pid       ppp0.pid        pppd2.tdb       wpa_supplicant
[root@EM9X60 /var/run]#ifconfig
ppp0      Link encap:Point-to-Point Protocol  
          inet addr:10.116.151.101  P-t-P:192.168.254.254  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:64 (64.0 B)  TX bytes:82 (82.0 B)

[root@EM9X60 /var/run]#ping www.baidu.com
ping: bad address <|>www.baidu.com<|>
[root@EM9X60 /var/run]#

需要什么特别操作吗??

主题最新回顾(发布时间:2012-8-7 9:28:00)
--  作者:yl(171.214.*.*)
--  
gprs已经连接上了。去掉有线网再试试

主题最新回顾(发布时间:2012-8-7 9:27:00)
--  作者:wyz365889(27.151.*.*)
--  Linux GPRS 拨号
1.连接成功,可是ping不通外网
[root@EM9X60 /mnt/nandflash/ESupMonitor]#./AutoDial 
EM9160 GPRS Autodial..
GPRS Power Off
delay 1 s
GPRS state = 0
ERROR: PPP link is not active on ppp0
GPRS Power On
GPRS state = 1
.
.
.
.
.
.
.
.
.
.
1
2
3
4
5
6
7
8
GPRS Connected
[root@EM9X60 /mnt/nandflash/ESupMonitor]#ping www.baidu.com

2.连接后,ifconfig显示
[root@EM9X60 /mnt/nandflash/ESupMonitor]#ping www.baidu.com
ping: bad address <|>www.baidu.com<|>
[root@EM9X60 /mnt/nandflash/ESupMonitor]#ifconfig
eth0      Link encap:Ethernet  HWaddr D0:9B:05:00:F8:BC  
          inet addr:192.168.1.186  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:21 Base address:0x4000 

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:10.116.151.101  P-t-P:192.168.254.254  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:64 (64.0 B)  TX bytes:82 (82.0 B)