求救求了一周了,也不见有好贴。。结果还是得自己摸索,辛苦~
下面就来说说偶的经验,给不能上网的兄弟们~
Fedora7系统中adsl拨号
终端中:
#pppoe-setup
WelcometotheRoaringPenguinADSLclientsetup.First,IwillrunsomechecksonyoursystemtomakesurethePPPoEclientisinstalledproperly...Looksgood!Now,pleaseentersomeinformation:
USERNAME
>;>;>;EnteryourPPPoEusername(defaultXXX):在这里输入ADSL用户名
INTERFACE
>;>;>;EntertheEthernetinterfaceconnectedtotheADSLmodem
ForSolaris,thisislikelytobesomethinglike/dev/hme0.
ForLinux,itwillbeethn,where''n''isanumber.(defaulteth0):如果一个网卡就在这里输入eth0
Doyouwantthelinktocomeupondemand,orstayupcontinuously?Ifyouwantittocomeupondemand,entertheidletimeinsecondsafterwhichthelinkshouldbedropped.Ifyouwantthelinktostayuppermanently,enter''no''(twoletters,lower-case.)NOTE:Demand-activatedlinksdonotinteractwellwithdynamicIPaddresses.Youmayhavesomeproblemswithdemand-activatedlinks.>;>;>;Enterthedemandvalue(defaultno):直接回车
DNS
PleaseentertheIPaddressofyourISP''sprimaryDNSserver.IfyourISPclaimsthat''theserverwillprovideDNSaddresses'',enter''server''(alllower-case)here.Ifyoujustpressenter,IwillassumeyouknowwhatyouaredoingandnotmodifyyourDNSsetup.
>;>;>;EntertheDNSinformationhere:在这里输入server即自动获得DNS
PASSWORD
>;>;>;PleaseenteryourPPPoEpassword:输入ADSL密码
>;>;>;Pleasere-enteryourPPPoEpassword:再输入一次
FIREWALLING
Pleasechoosethefirewallrulestouse.Notethattheserulesareverybasic.Youarestronglyencouragedtouseamoresophisticatedfirewallsetup;however,thesewillprovidebasicsecurity.Ifyouarerunninganyserversonyourmachine,youmustchoose''NONE''andsetupfirewallingyourself.Otherwise,thefirewallruleswilldenyaccesstoallstandardserverslikeWeb,e-mail,ftp,etc.IfyouareusingSSH,theruleswillblockoutgoingSSHconnectionswhichallocateaprivilegedsourceport.
Thefirewallchoicesare:
0-NONE:Thisscriptwillnotsetanyfirewallrules.Youareresponsibleforensuringthesecurityofyourmachine.YouareSTRONGLYrecommendedtousesomekindoffirewallrules.
1-STANDALONE:Appropriateforabasicstand-aloneweb-surfingworkstation
2-MASQUERADE:AppropriateforamachineactingasanInternetgatewayforaLAN
>;>;>;Chooseatypeoffirewall(0-2):这里输入0
**Summaryofwhatyouentered**
EthernetInterface:eth0
Username:XXX
Activate-on-demand:No
DNS:Donotadjust
Firewalling:MASQUERADE
>;>;>;Acceptthesesettingsandadjustconfigurationfiles(y/n)?这里输入y即可
配置完成!
启动拨号:pppoestart
停止断网:pppoestop
上面是抄某位大大的
但是过程中我发现还有二个选项,英文不好,没看懂,就全选了Y,后来才知道什么意思:
1是问你是否开机自动连接
2是问你是否允许其他帐号修改连接
因为有二选项看不懂,多做了次,结果进入系统--管理--网络既然发现有3个连接一个是本来的默认的eth0下面有两个
于是立刻删除一个连接
系统--管理--网络会发现PPOE0用已经处于激活状态了!!!!!pppoestaart命令,打开firefox哦也!好了
搞了一周终于能上网了。。。。。谢天谢地。。。。搞了一周终于能上网了。。。。。谢天谢地。。。。搞了一周终于能上网了。。。。。谢天谢地。。。。搞了一周终于能上网了。。。。。谢天谢地。。。。搞了一周终于能上网了。。。。。谢天谢地。。。。搞了一周终于能上网了。。。。。谢天谢地。。。。搞了一周终于能上网了。。。。。谢天谢地。。。。搞了一周终于能上网了。。。。。谢天谢地。。。。搞了一周终于能上网了。。。。。谢天谢地。。。。搞了一周终于能上网了。。。。。谢天谢地。。。。
阅读(713) | 评论(0) | 转发(0) |