分页: 1 / 2

急!Arch2009.08安装完成,如何联网?

发表于 : 2010-01-11 14:05
aerowolf
登录之后输入pppoe-setup命令,按提示设置,到最后一步提示“Accept these settings and adjust configuration file(y/n)”时选择y,然后提示:

代码: 全选

cp:cannot creat regular file '/etc/ppp/pppoe.conf-bak':Read-only file system
***Error copying /etc/ppp/pppoe.conf to /etc/ppp/pppoe.conf-bak
不会是/的ext4文件系统只读吧?

使用adsl-setup,提示没有此命令。

另,我使用电信adsl上网,/etc/rc.conf中应当怎么设置DHPC那个部分?
期待帮助!

Re: 急!Arch2009.08安装完成,如何联网?

发表于 : 2010-01-11 14:07
leeaman
fsck一下看看?

Re: 急!Arch2009.08安装完成,如何联网?

发表于 : 2010-01-11 14:28
aerowolf
leeaman 写了:fsck一下看看?
谢谢。
fsck之后提示:
fsck 1.41.8(11-July-2009)
e2fsck 1.41.8(11-July-2009)
fsck.ext4:No such file or directory while trying to open /dev/hdc9.
The superblock could not be read or dose not describe a correct ext2 filesystem.If the device is valid and it really contains an ext2 filesystem(and not swap or ufs or something else),then the superblock is corrupt,and you might try running e2fsck with an alterrate superblock:
e2fsck -b 8193 <device>

Re: 急!Arch2009.08安装完成,如何联网?

发表于 : 2010-01-11 17:40
adagio
看那个提示只是不能创建备份文件,原因不懂,不过只要有/etc/ppp/pppoe.conf就没问题了

动态IP你就写成 eth0="dhcp"就行,不过的ADSL可以自己指定一个静态的

代码: 全选

#Static IP example
eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255 up"
INTERFACES=(eth0)
这样启动速度会快很多

Re: 急!Arch2009.08安装完成,如何联网?

发表于 : 2010-01-11 19:22
aerowolf
我马上试试,谢谢大家。

Re: 急!Arch2009.08安装完成,如何联网?

发表于 : 2010-01-12 13:46
aerowolf
谢谢2、4楼。
怪我没有阅读登录前的提示,提示中说/是只读属性,建议使用使用“mount -n -o remount,rw /”命令重新挂载,结果成功了,之后使用pppoe-setup命令配置pppoe成功。

但又有了一个新问题,pppoe-start之后提示“timeout”超时,无法连接网络,怎么办?

Re: 急!Arch2009.08安装完成,如何联网?

发表于 : 2010-01-12 14:13
adagio
你怎么pppoe-setup的?
有个地方会提示你这个:

代码: 全选

DNS

Please enter the IP address of your ISP's primary DNS server.
If your ISP claims that 'the server will provide DNS addresses',
enter 'server' (all lower-case) here.
If you just press enter, I will assume you know what you are
doing and not modify your DNS setup.
>>> Enter the DNS information here: 
如果你直接回车,就没有DNS了,要自己敲入server,回车

Re: 急!Arch2009.08安装完成,如何联网?

发表于 : 2010-01-13 13:26
aerowolf
谢谢楼上回复,我输入DNS地址,并运行pppoe-start地址之后提示:

代码: 全选

/usr/sbin/pppoe-start:line 191:1466 Terminated $connect "$@">/dev/null 2>&1
怎么回事呢?

Re: 急!Arch2009.08安装完成,如何联网?

发表于 : 2010-01-16 16:56
速腾1994
同楼上。卡在这里

Re: 急!Arch2009.08安装完成,如何联网?

发表于 : 2010-01-16 17:00
速腾1994
好了,在dns:server
密码:xxx
防火?:1
保存?:y
pppoe—start
Connected!
ol :em11

Re: 急!Arch2009.08安装完成,如何联网?

发表于 : 2010-01-18 14:13
aerowolf
10楼好运气!
我尝试n多遍,问题依旧。我的分区用的是ext4格式,与这个没有关系吧?其它都是按wiki操作的,只有分区格式是自己作主的呀。 :em20

Re: 急!Arch2009.08安装完成,如何联网?

发表于 : 2010-01-19 13:40
速腾1994
1:用户名,密码要绝对正确
2:dns 就是server不要输入地址,假如你是adsl的话
3:pppoe-start :em09

Re: 急!Arch2009.08安装完成,如何联网?

发表于 : 2010-01-19 20:51
aerowolf
我快疯了,几天没有顾上,今天再一番尝试,问题依旧,还是提示“Timed out”。

Re: 急!Arch2009.08安装完成,如何联网?

发表于 : 2010-01-24 11:23
aerowolf
:em21 问题依旧,请求帮助,难道要我就此退出Arch?

Re: 急!Arch2009.08安装完成,如何联网?

发表于 : 2010-01-25 10:35
flay
把ifconfig 和/etc/rc.conf发一下
运行/etc/rc.d/network restart
adsl用户名,密码没问题
再pppoe-start