LinuxSir.cn,穿越时空的Linuxsir!

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

还是关于ADSL上网的问题!高手们帮个忙看一下吧(rp-pppoe已安装)

[复制链接]
发表于 2005-3-13 22:59:53 | 显示全部楼层 |阅读模式
我是用ADSL拨号上网的,也下载安装了rp-pppoe-3.5.tar.gz也通过adsl-setup配置过了,网卡也设置为DHCP了,可是还是连不上网,请各位高手帮个忙吧。
我的系统是红帽9,内核是2。4的。
还有编译了go-gui后会自动弹出一个rp-pppoe的设置对话栏让我设置,可是却不能输入任何东西,不知道是怎么回事,运行tkpppoe也会出现这个对话栏。
各位前辈们帮帮忙吧,不能用LINUX上网真的太郁闷了,我都弄了一个星期了,各位高手帮小弟一把吧
发表于 2005-3-13 23:06:47 | 显示全部楼层
在windows下是怎么上网的呢?

要填ip地址,网关吗?还是要填用户名和密码的?

给个地址你:

http://www.chinalinuxpub.com/doc ... -zh_CN-9/index.html
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-14 13:29:06 | 显示全部楼层
晕了,楼上的大哥你耍我啊,linux和windows怎么会一样呢?
回复 支持 反对

使用道具 举报

发表于 2005-3-14 14:24:22 | 显示全部楼层
Post by sleeperd
晕了,楼上的大哥你耍我啊,linux和windows怎么会一样呢?


不是的哦

我原来linux下配置上网也花了一个多星期。(windows不说了,电信的帮搞好了,相信自已弄的话

也要十天八天的)

RH9的话,pppoe用自带的adsl-setup就可以设置了。

用root启动:

先:菜单──》系统设置──》网络──》把原来设的ppp0删除。

[root@goo ~]# adsl-setup

Welcome to the ADSL client setup.  First, I will run some checks on
your system to make sure the PPPoE client is installed properly...


LOGIN NAME

Enter your Login Name (default root): 收你钱的家伙给的用户名《──

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 ethX, where 'X' is a number.
(default 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 dynamic 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《──

PASSWORD

Please enter your Password:密码
Please re-enter your Password:重输密码

USERCTRL

Please enter 'yes' (two letters, lower-case.) if you want to allow
normal user to start or stop DSL connection (default yes): yes

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(我没要防火)

Start this connection at boot time

Do you want to start this connection at boot time?
Please enter no or yes (default no):yes《──

** Summary of what you entered **

Ethernet Interface: 回车即可
User name:          收你钱的家伙给的用户名
Activate-on-demand: Yes; idle timeout = 回车即可 seconds
DNS addresses:      Supplied by ISP's server
Firewalling:        NONE
User Control:       yes
Accept these settings and adjust configuration files (y/n)? y《──
Adjusting /etc/sysconfig/network-scripts/ifcfg-ppp0
Adjusting /etc/ppp/chap-secrets and /etc/ppp/pap-secrets
  (But first backing it up to /etc/ppp/chap-secrets.bak)
  (But first backing it up to /etc/ppp/pap-secrets.bak)



Congratulations, it should be all set up!

Type '/sbin/ifup ppp0' to bring up your xDSL link and '/sbin/ifdown ppp0'
to bring it down.
Type '/sbin/adsl-status /etc/sysconfig/network-scripts/ifcfg-ppp0'
to see the link status.

[root@goo ~]# /sbin/ifup ppp0启动即可
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-14 17:12:28 | 显示全部楼层
我就是你说的那么弄的啊,还安装了rp-pppoe-3.5.tar.gz,可是就是连不上网啊
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-14 17:23:33 | 显示全部楼层
ADSL猫用不用安装驱动啊?我这猫没有LINUX的驱动,到它主页上也没有
回复 支持 反对

使用道具 举报

发表于 2005-3-14 22:40:50 | 显示全部楼层
回复 支持 反对

使用道具 举报

为什么不能注册 该用户已被删除
发表于 2005-3-15 09:28:55 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

发表于 2005-3-15 10:26:45 | 显示全部楼层
红帽本身不是有一个自带的拨号软件吗?用它也可以拉,进入系统工具--互联网配置向导----选XDSL,然后输入上网的用户名和密码,配置完后再从新起动,再激活那个网络配置联接就可以拉。
回复 支持 反对

使用道具 举报

发表于 2005-3-15 16:21:20 | 显示全部楼层
对阿,楼上的和我的方法一样,还是简单的!
回复 支持 反对

使用道具 举报

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

本版积分规则

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