|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
在这里你会学到更多的知识,学习linux,更要学习一种geek的精神,python之禅中也说过:以总结分享为荣,以跪求其解为耻;
起首设置pppoe拨号上彀步骤以下
在终端中输出:#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:Thisscript.willnotsetanyfirewallrules.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便可,输出n就是重头设置过。
设置完成!
设置完成以后固然不要健忘激活我们的网卡eth0啦!我就在这里想了很久都没想到~呵呵说其实的是偶然傍边想到这办法就特地尝尝的没想到真乐成了!
详细步骤以下~
我装的是双体系(xp+fedora9)起首在xp下用ipconfig/all猎取eth0的ip地点和dns固然咯这里的默许网关大概为空(我的就是),不外不妨,把这里显现的ip和dns纪录上去,然后转进fedora9把刚纪录的ip和dns数据写进eth0手动设置ip和dns里边~重启体系,出去以后大概你会发明仍是不可,不急,再在终端里输出“servicenetworkrestart”重启network服务便可
</p>
如果你只是想应付一下操作系统的课程,劝你最好别学,或者说不要指望能用的怎么样。 |
|