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

其他Linux/Unix/BSD/OSX等发行版讨论
头像
aerowolf
帖子: 1778
注册时间: 2006-02-25 17:09
来自: 西安

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

#1

帖子 aerowolf » 2010-01-11 14:05

登录之后输入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那个部分?
期待帮助!
早起的鸟儿有虫吃
早起的虫儿被鸟吃

http://aerowolf.blog.sohu.com/
亲,点一下免费获得Dropbox空间!
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid

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

#2

帖子 leeaman » 2010-01-11 14:07

fsck一下看看?
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
头像
aerowolf
帖子: 1778
注册时间: 2006-02-25 17:09
来自: 西安

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

#3

帖子 aerowolf » 2010-01-11 14:28

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>
早起的鸟儿有虫吃
早起的虫儿被鸟吃

http://aerowolf.blog.sohu.com/
亲,点一下免费获得Dropbox空间!
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

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

#4

帖子 adagio » 2010-01-11 17:40

看那个提示只是不能创建备份文件,原因不懂,不过只要有/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)
这样启动速度会快很多
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
aerowolf
帖子: 1778
注册时间: 2006-02-25 17:09
来自: 西安

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

#5

帖子 aerowolf » 2010-01-11 19:22

我马上试试,谢谢大家。
早起的鸟儿有虫吃
早起的虫儿被鸟吃

http://aerowolf.blog.sohu.com/
亲,点一下免费获得Dropbox空间!
头像
aerowolf
帖子: 1778
注册时间: 2006-02-25 17:09
来自: 西安

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

#6

帖子 aerowolf » 2010-01-12 13:46

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

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

http://aerowolf.blog.sohu.com/
亲,点一下免费获得Dropbox空间!
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

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

#7

帖子 adagio » 2010-01-12 14:13

你怎么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,回车
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
aerowolf
帖子: 1778
注册时间: 2006-02-25 17:09
来自: 西安

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

#8

帖子 aerowolf » 2010-01-13 13:26

谢谢楼上回复,我输入DNS地址,并运行pppoe-start地址之后提示:

代码: 全选

/usr/sbin/pppoe-start:line 191:1466 Terminated $connect "$@">/dev/null 2>&1
怎么回事呢?
早起的鸟儿有虫吃
早起的虫儿被鸟吃

http://aerowolf.blog.sohu.com/
亲,点一下免费获得Dropbox空间!
头像
速腾1994
论坛版主
帖子: 17379
注册时间: 2008-11-01 20:43
系统: Arch+gnome

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

#9

帖子 速腾1994 » 2010-01-16 16:56

同楼上。卡在这里
头像
速腾1994
论坛版主
帖子: 17379
注册时间: 2008-11-01 20:43
系统: Arch+gnome

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

#10

帖子 速腾1994 » 2010-01-16 17:00

好了,在dns:server
密码:xxx
防火?:1
保存?:y
pppoe—start
Connected!
ol :em11
头像
aerowolf
帖子: 1778
注册时间: 2006-02-25 17:09
来自: 西安

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

#11

帖子 aerowolf » 2010-01-18 14:13

10楼好运气!
我尝试n多遍,问题依旧。我的分区用的是ext4格式,与这个没有关系吧?其它都是按wiki操作的,只有分区格式是自己作主的呀。 :em20
早起的鸟儿有虫吃
早起的虫儿被鸟吃

http://aerowolf.blog.sohu.com/
亲,点一下免费获得Dropbox空间!
头像
速腾1994
论坛版主
帖子: 17379
注册时间: 2008-11-01 20:43
系统: Arch+gnome

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

#12

帖子 速腾1994 » 2010-01-19 13:40

1:用户名,密码要绝对正确
2:dns 就是server不要输入地址,假如你是adsl的话
3:pppoe-start :em09
头像
aerowolf
帖子: 1778
注册时间: 2006-02-25 17:09
来自: 西安

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

#13

帖子 aerowolf » 2010-01-19 20:51

我快疯了,几天没有顾上,今天再一番尝试,问题依旧,还是提示“Timed out”。
早起的鸟儿有虫吃
早起的虫儿被鸟吃

http://aerowolf.blog.sohu.com/
亲,点一下免费获得Dropbox空间!
头像
aerowolf
帖子: 1778
注册时间: 2006-02-25 17:09
来自: 西安

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

#14

帖子 aerowolf » 2010-01-24 11:23

:em21 问题依旧,请求帮助,难道要我就此退出Arch?
早起的鸟儿有虫吃
早起的虫儿被鸟吃

http://aerowolf.blog.sohu.com/
亲,点一下免费获得Dropbox空间!
flay
帖子: 211
注册时间: 2010-01-25 9:27

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

#15

帖子 flay » 2010-01-25 10:35

把ifconfig 和/etc/rc.conf发一下
运行/etc/rc.d/network restart
adsl用户名,密码没问题
再pppoe-start
回复