- 论坛徽章:
- 0
|
我装了solaris9 x86之后,要用adsl拨号上网,在网上找了一些相关的文章,看后进行配置,但好几天了,还是不行.\r\n配置是否主要是建\r\n1 建一个连接isp的配置文件/etc/ppp/peers/adsl,内容大致就是\r\nsppptun # what device to use\r\nplugin pppoe.so # initialize the\r\nconnect \"/usr/lib/inet/pppoec pcn0\" #注意这里和pppd带的模板文件中不同\r\npersist # if the connection dies, bring it back up\r\nuser \"username\"\r\nnoauth\r\n# Do not make the other side authenticate itself\r\nnoipdefault\r\n# Let them give you what IP they want to give you\r\nnoccp # No compression\r\nnovj # No compression\r\nnoaccomp # No compression\r\nnopcomp # No compression\r\ndefaultroute # add an appropriate default route\r\n\r\n2 改用户验证文件/etc/ppp/pap-secrets和/etc/ppp/chat-secrets\r\n#user isp password\r\nusername * passwd\r\n\r\nusername, *, passwd之间使用 [TAB] 而不是空格\r\n\r\n3 最后拨号\r\n/usr/bin/pppd call adsl\r\n\r\n\r\n而且我用pppoec -i pcn0查看链路,可以看到类似0:90:1a:10:11:f6 Name:\"GZ-700_01\" Uniq:00000001 Svc:\"\" coki:F3CA05F5973E967476DD6DAB3C4B3362(具体没有拷贝下来,但大致是这样),链路应该没问题的,为什么拨号后却不行呢?始终看不到\r\nsppp0: flags=10008d1 mtu 1492 index 3\r\ninet 218.108.204.62 -->; 210.83.128.121 netmask ffffff00\r\nether 0:0:0:0:0:0\r\n这样的信息,只有我自己设的地址类似\r\npcn0: flags=1000843 mtu 1500 index 2\r\ninet 192.168.0.119 netmask ffffff00 broadcast 192.168.0.255\r\nether 0:50:56:40:0:53\r\n\r\n到底是哪里出了问题呢?我在网上查了很长时间也没解决,看了很多相关文章配置大都类似.有谁配通过,或者见过类似这样问题的帮帮我. |
|