首先配置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服务即可~~
fedora9 adsl上网解决方案fedora9 adsl上网解决方案fedora9 adsl上网解决方案fedora9 adsl上网解决方案fedora9 adsl上网解决方案fedora9 adsl上网解决方案fedora9 adsl上网解决方案fedora9 adsl上网解决方案fedora9 adsl上网解决方案fedora9 adsl上网解决方案
阅读(430) | 评论(0) | 转发(0) |