红联Linux门户
Linux帮助

fedora8安装多次,就是不能adsl上网,pppoe有问题

发布时间:2007-11-09 20:37:06来源:红联作者:wanghai
今天十点多的时候下载完毕,进行快速安装,第一次安装完毕就不能正常设置adsl上网。

我不知道其他的fedord8 adsl上网是怎么设置的,我用fc6时,在命令行输入adsl -setup

一直设置下去,完毕adsl -start,就能上网了。

但是在fedora8输入adsl -setup告诉我cannot find command,弄了一天,发现pppoe -setup,好使,这是为什么啊、?一路设置完毕,pppoe -start 告诉我
3934 Terminated $CONNECT "$@" > /dev/null 2>&1

和用图形设置的报错情况一样,我真是弄不明白了,重装pppoe告诉我卸载就安不上了,安的过程一切正常就是install是假的。

郁闷,你们觉得这是怎么回事,难道某个地方有错误,还是我机器不兼容??着急啊
文章评论

共有 15 条评论

  1. flytostars 于 2008-03-06 21:25:00发表:

    我的不用啊,我没出现过你们所说的问题,我用的是图型化的设置,即:系统->管理->网络。新建个XDSL,设置就不用说了。
    然后开机自动联网,没出过总题了。

  2. freectn 于 2008-03-01 14:51:25发表:

    我的问题是可以上,但是每回开机都需重新设置

  3. swg1234 于 2007-11-16 14:59:55发表:

    kankan

  4. 胡不归 于 2007-11-10 11:10:28发表:

    估计楼主没有设定DNS
    根据你所在的地方(省份,比如我是四川电信的),查到相应的DNS,填到这里即可--

  5. wanghai 于 2007-11-10 01:59:53发表:

    可能真是地区差异了

    我在fedora6下是可以用的

  6. cfttnil 于 2007-11-10 01:43:11发表:

    DVD光盘安装,安装时定制安装,打了所有的钩(也就是装了所有的包)
    我没用命令行,用的图形界面
    装好以后,就是“系统”--》“管理”--》“网络”
    然后(9楼的图)“新建”-->"xDSL" 以后的设置就不用我说了吧

    [ 本帖最后由 cfttnil 于 2007-11-10 01:45 编辑 ]

  7. wanghai 于 2007-11-10 01:17:43发表:

    详细点啊,你是pppoe-setup的吗??

    具体点,我快疯掉了

  8. cfttnil 于 2007-11-09 22:58:12发表:

    我是完全安装的,可以上的
    [attach]5353[/attach]

  9. gxf 于 2007-11-09 21:51:06发表:

    用“快速安装”是不是少了些系统工具哦

  10. wanghai 于 2007-11-09 21:43:25发表:

    谢谢你的回复,好像还是不行,怎么回事,别人说这个方法ok,那个也ok

    怎么到我手上就不行了啊


    敢问你给的链接里那个ip是怎么定的啊,有什么原理吗

  11. wanghai 于 2007-11-09 21:41:32发表:

    但是在fedora6简单的图形设置就行了啊

  12. lfgoxwqu 于 2007-11-09 20:47:33发表:

    设置跟http://www.linuxdiyf.com/bbs/thread-13275-1-1.html这个几乎一样

  13. lfgoxwqu 于 2007-11-09 20:45:56发表:

    我以前用时都没这么麻烦,在网络连接里设置下IP与DNS就可以了,都用不着那一堆英文字母或数字的东西

  14. wanghai 于 2007-11-09 20:45:51发表:

    QUOTE:
    Fedora 7系统中adsl拨号


    终端中:
    #pppoe-setup

    Welcome to the Roaring Penguin ADSL client setup. First, I will run some checks on your system to make sure the PPPoE client is installed properly... Looks good! Now, please enter some information:

    USER NAME
    >;>;>; Enter your PPPoE user name (default XXX): 在这里输入ADSL用户名

    INTERFACE
    >;>;>; Enter the Ethernet interface connected to the ADSL modem
    For Solaris, this is likely to be something like /dev/hme0.
    For Linux, it will be ethn, where 'n' is a number. (default eth0):如果一个网卡就在这里输入eth0

    Do you want the link to come up on demand, or stay up continuously? If you want it to come up on demand, enter the idle time in seconds after which the link should be dropped. If you want the link to stay up permanently, enter 'no' (two letters, lower-case.) NOTE: Demand-activated links do not interact well with dynamic IP addresses. You may have some problems with demand-activated links. >;>;>; Enter the demand value (default no):直接回车

    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:在这里输入server 即自动获得DNS

    PASSWORD
    >;>;>; Please enter your PPPoE password:输入ADSL密码
    >;>;>; Please re-enter your PPPoE password:再输入一次

    FIREWALLING
    Please choose the firewall rules to use. Note that these rules are very basic. You are strongly encouraged to use a more sophisticated firewall setup; however, these will provide basic security. If you are running any servers on your machine, you must choose 'NONE' and set up firewalling yourself. Otherwise, the firewall rules will deny access to all standard servers like Web, e-mail, ftp, etc. If you are using SSH, the rules will block outgoing SSH connections which allocate a privileged source port.

    The firewall choices are:
    0 - NONE: This script will not set any firewall rules. You are responsible for ensuring the security of your machine. You are STRONGLY recommended to use some kind of firewall rules.

    1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation

    2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway for a LAN
    >;>;>; Choose a type of firewall (0-2):这里输入0

    ** Summary of what you entered **
    Ethernet Interface: eth0
    User name: XXX
    Activate-on-demand: No
    DNS: Do not adjust
    Firewalling: MASQUERADE
    >;>;>; Accept these settings and adjust configuration files (y/n)?这里输入y即可
    配置完成!
    启动拨号:pppoe start
    停止断网:pppoe stop


    我就试了试 (这时候没删除默认的连接) 结果不行 用pppoe start命令的时候 出现乱码
    我又重新用pppoe-setup命令从头到尾弄了下 用pppoe start还是乱码 结果到睡觉时间了 就睡觉了

    今天早上起来 进入系统 --管理--网络 既然发现有3个连接 一个是 本来的默认的eth0 下面有两个 (是我后来用命令加上的 命令中

    QUOTE:
    INTERFACE
    >;>;>; Enter the Ethernet interface connected to the ADSL modem
    For Solaris, this is likely to be something like /dev/hme0.
    For Linux, it will be ethn, where 'n' is a number. (default eth0):如果一个网卡就在这里输入eth0


    这一步 虽然你输入eth0 但是好像还是新建了连接)
    发现问题 于是立刻删除三个连接 进入控制台 用pppoe-setup命令(注意:请用root帐号 不然好像提示脚本错误 提示你 需要有root权限)
    过程昨天一样
    但是 过程中会有其他两个选项:1是 问你是否开机自动连接 我选的是yes
    2是 问你是否允许其他帐号修改连接 我选的是 yes
    剩下的和上面的一样 设置好adsl帐号和密码就ok了 设置完毕后 (我没用pppoe staart命令嗯 默认是设置完毕后自动激活的 ) 系统--管理 --网络 会发现 eth0已经处于激活状态了 !!!!!打开 firefox 哦也!好了

    我是linux超级新手一个(昨天才知道怎么进控制台 才知道ctrl+alt+f1了以后怎么“变”回来 别笑我阿) 希望这点经历对那些还没有设置好的人有所帮助!!



    Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1834159

  15. wanghai 于 2007-11-09 20:40:12发表:

    第一次在家使用Linux,安装了fedora7,由于家里上网是adsl上网,所以,网络设置跟在单位的局域网上网不一样,
    在网上找了很多资料设置在fedora上通过adsl上网,不管是命令行设置,还是图形界面上的网络设置,均上不了网。
    在头两天发现fedora7下面启动Xen会占用ttyS0以后,参看http://hi.baidu.com/anna%5Fli/blog/item/50d6de07452a4dcf7a8947b4.html
    我想会不会又是这个原因呢。好,开始实验:
    启动xxbasexx的fedora启动选项。进入网络设置,用图形化界面设置网络。添加了eth0,和Xdsl。以后,激活!均激活了,打开网页,输入某个网址,ok,可以上网了。
    果然,我的猜想是正确的!真是一通百通啊。


    他是怎么修复的啊