LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 857|回复: 2

LFS liveCD 如何设置pppoe上网?[solved]

[复制链接]
发表于 2006-2-24 22:46:51 | 显示全部楼层 |阅读模式
漫长的安装过程,居然上不了网:beat ,情况如下:
0、fslivecd-x86-6.1.1-4.iso
1、双网卡。eth0 nforce2内置卡,弃之不用;eth1 realtek8139 , 接adsl modem。
2、启动LiveCD时,dhcpd自动为eth0分配ip失败,没有为eth1分配ip。
3、进入Live System后, ping localhost 居然没任何回应,就像ping不通一样。
4、用net-setup 和 pppoe-setup 设置 eth1 为 pppoe, 仍旧无法拨号。
5、ifdown eth1 && ifup eth1 之后,仍旧无法ping localhost 。
6、重复4, 继续失败。
7、居然没有ifconfig , liveCD下改用ifcfg了,不会设置。。。:beat


最奇怪的是3, 搞不懂为什么。
初装LFS, 希望哪位大大帮忙:thank :thank
发表于 2006-2-24 23:08:38 | 显示全部楼层
localhost 怎么会ping不到呢。奇怪。2条命令,ip link / ip addr 结果是什么?

你试试把 cable modem 关30秒,再打开,然后重新 pppoe 连接。

liveCD用的是 iproute2。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-2-25 10:52:27 | 显示全部楼层
solved.

I should not have used "net-setup" to modify any network-settings.Just run "pppoe-setup", and fill the blanks then "pppoe-start" will do.

I guess "net-setup" could destroy my original live-system configs and something weird happened
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表