LINUX下如何配置上网

发布网友 发布时间:2022-04-23 12:22

我来回答

4个回答

热心网友 时间:2023-05-18 22:42

首先应该确定您是否安装了pppoe的应用程序。

如果确实已经安装了,可以在终端用 adsl-setup命令启动adsl配置,提示过程为英文。

大概为:

[root@localhost root]# 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...

The following DSL config was found on your system:

Device: Name:
ppp0 DSLppp0

Please enter the device if you want to configure the present DSL config
(default ppp0) or enter 'n' if you want to create a new one: ppp0 //默认为ppp0

LOGIN NAME

Enter your Login Name (default SJ00411210A1): anthrax //这里用你自己的用户名代替我的anthrax:)

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): 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): no //这里使用默认no就可以了,断线后不自动拨号。

热心网友 时间:2023-05-18 22:42

ADSL = PPPoE (PPP over Ethernet);
如果没有工具的话,配置下/etc/network/interfaces文件;
有工具的话,直接设置PPPoE方式的参数即可;

热心网友 时间:2023-05-18 22:42

红旗是中文的啊,照提示就行了

热心网友 时间:2023-05-18 22:43

红旗 4 ……
我是来拜古董的……

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com