配置了.很长时间也没配好,希望高手指点,对此深表感谢.!服务器
我的OS是R.HAS3,ETH1接着MODEN.,配置是: 杀毒
192.168.1.5/24
255.255.255.0
GATEWAY:192.168.1..1投资
DNS1:.211.98.2.4( 游戏 )
DN.S2:61.234.254.5
adsl-s.etup的情况如下:域名
r.oot@server roo.t]# adsl-setup电脑
Welcome to the ADSL clie.nt .setup. First, I will run some checks on.
your s.ystem to make sure the PPPoE c.lient is installed properly...域名
. . . --------------彩票
. . .
LOGIN NAME
. . . 杀毒
Enter your Login Name (default root):cs_23.4342543.(广告)
. . . 汽车
INTERFACE
. . . 服务器
Enter the Ethernet interface connected .to the ADSL mo.dem 健康
For Solaris, this is likely to be som.ething lik.e /dev/hme0. 鲜花
For Linux, it will b.e ethX, where 'X' is a numb.er.电影
(d.efault eth0): eth1电脑
. . .电影
Do you want the link to come up on demand, .or stay up continuous.ly? 女人
If you want it to come up on demand, enter the idle t.ime in secon.ds服务器
after which the link shoul.d be drop.ped. If you want the link to 电子
stay up permanently,. enter 'no' (two letter.s, lower-case.) 杀毒
NOTE: Dem.and-activated links do not interact well with dynami.c IP[成人用品]
addresses. You ma.y have some problems with dem.and-activated links.服务器
Enter the demand value (de.fault .no): no.
. . . [成人用品]
DNS
. . . --------------彩票
Please enter the IP address of your .I.SP's primary DNS server. 杀毒
If your ISP claims that 'the server will .provide dynamic DN.S addresses', 乙肝
enter 'server' (all lower-c.a.se) here..
If you just press enter, I wil.l assume you know what. you are 杀毒
doing.. and not modify your DNS setup.域名
Enter the DNS information .here: 211.98..2.4 婚庆
Pl.ease enter the IP address of your ISP's secon.dary DNS server.--------------彩票
If you. just press enter, I will assume there is only one .DNS server.(广告)
Enter the secon.dary DNS server address here: 61.23.4.254.5 健康
PASSWORD
Pleas.e enter y.our Password:
Please re-ent.er your. Password: 建材
USERCTRL
Please en..ter 'yes' (two letters, lower-case.) if you want to allow 汽车
normal user to s.tart or stop DSL .connection (default yes): yes 乙肝
FIREWALLING
Please choose the fi.rewall rules to use. Note that t.hese rules are学习
very basic. You are strongly enco.urage.d to use a more sophisticated<性病>
firew.all setup; however, these will provide basic security. If yo.u域名
ar.e running any servers on your machine, you must choose 'NONE' a.nd外贸
set up firewalling yourself. .Othe.rwise, the firewall rules will deny--------------彩票
access to all standard servers like Web, e-mail, ft.p,. etc. If you 建材
are using SSH, the rules will block outg.oing SSH connect.ions which电影
allo.cate a pr.ivileged source port.--- 印刷
The fir.ewall choices are:电影
0 - NONE: This script will no.t set any firewall rules. You are resp.onsible健康
for e.nsuring the security of your machin.e. You are STRONGLY[成人用品]
recommended to use so.me kind of f.irewall rules..
1 - STANDALONE: Appropria.te for a basic stand.-alone web-surfing workstation--------------彩票
2 - MASQUERA.DE: Appropriate for a machine acting. as an Internet gateway 女人
. for a LAN.
Choose a type of firewa.ll (0-2): .0 汽车
Start this connect..ion at boot time电脑
Do you want to start this .connection at boot time?.电影
Please enter. no or yes (defau.lt no):no.
** Summary .of what you ent.ered ** 外汇
Ethernet Int.erface: eth1( 游戏 )
User name: . cs_.2695714.
Activate-on-.demand: No 女人
Primary DNS: . . 211.98.2.4 女人
Sec.ondary DNS: 61..234.254.5投资
Firewalling: NON.E 电子
User Control:. yes 健康
Accept .these settings and adjust configur.ation files (y/n)? y 婚庆
Adjusting /etc/sysconfig/network-script.s/ifcfg.-ppp0 汽车
Adjusti.ng /et.c/resolv.conf教育
Adjusting /etc/.ppp/chap-secrets and ./etc/ppp/pap-secret健康
完