Vous êtes sur la page 1sur 3

10/29/12

How to setup bridge between wlan0 and eth0


UserName Password Login RememberMe?

Help

Register

BackTrackLinuxPenetrationTestingDistribution
HOME COMMUNITY
Forum
ForumActions QuickLinks AdvancedSearch

BLOG

DOWNLOADS

HOWTO

TRAINING

IMAGES

FAQ

DEVEL

ABOUT

What'sNew?

ForumHome NewPosts FAQ Calendar

Forum

BackTrack4Forums

BeginnersForum

Howtosetupbridgebetweenwlan0andeth0

Ifthisisyourfirstvisit,besuretocheckouttheForumRulesbyclickingthelinkabove.Youmayhavetoregisterbeforeyoucanpost:clicktheregisterlinkaboveto proceed.Tostartviewingmessages,selecttheforumthatyouwanttovisitfromtheselectionbelow. Results1to4of4

Thread:Howtosetupbridgebetweenwlan0andeth0
Like SignUptoseewhatyourfriendslike. ThreadTools SearchThread Display

03172010,05:06AM

#1

masry
JustburnedhisISO JoinDate: Posts: Mar2010 7

Howtosetupbridgebetweenwlan0andeth0
Hello, Ihavedonesomeresearchonhowtosharemywirelessconnectionwith theethernetportonmylaptop,butIhaveranintosomeproblemsandI'm lookingforfurthersupport. Iinstalledbacktrack4ontheHDDsoit'spersistent.Iconnecttomy homerouterusingmywirelesscardandIwanttoenableICSonthe ethernetportsoIcanconnectaFonerarouterthatIhave.

Router

Find Router Jobs In Singapore W/t STJobs!


STJobs.sg/Router

1OnceIbootintobacktrackandrunifconfigIseeonlythel0interface listed. 2Irunthiscommandwhichbringsupeth0andwlan0 Code:


/ e t c / i n i t . d / w i c ds t a r t

3Iconnecttotheinternetandabletoaccessallwebsites.Mywlan0IP is192.168.1.X 4IsetastaticIPtomyeth0using: Code:


s u d oi f c o n f i ge t h 11 9 2 . 1 6 8 . 0 . 1s u b n e t2 5 5 . 2 5 5 . 2 5 5 . 0

www.backtrack-linux.org/forums/showthread.php?t=2287

1/3

10/29/12

How to setup bridge between wlan0 and eth0


41IcheckedandIverifiedthattheIPaddressandsubnetaresetasI requested 5IplugintheFoneraroutertotheethernetportandrunthefollowing commandsinthisexactorder: Code:
s u d os hc" e c h o1>/ p r o c / s y s / n e t / i p v 4 / i p _ f o r w a r d " i p t a b l e sX i p t a b l e sF i p t a b l e sAF O R W A R Diw l a n 0oe t h 0s1 9 2 . 1 6 8 . 0 . 0 / 2 4ms t a t es t a t eN E WjA C C E P T i p t a b l e sAF O R W A R Dms t a t es t a t eE S T A B L I S H E D , R E L A T E DjA C C E P T i p t a b l e sAP O S T R O U T I N Gtn a tjM A S Q U E R A D E r o u t ed e ld e f a u l t r o u t ea d dd e f a u l tg w1 9 2 . 1 6 8 . 1 . Xw l a n 0

(where192.168.1.XistheIPfromwlan0) ThoseareallthestepsthatIfollowedsofar,andsofarnoluck. InoticedthatIcan'tbeconnectedtoboththewiredandwireless connectionatthesametime.SoifIneedtogoonlineIneedtogotothe wicdmanagerandconnecttothewirelessandifIneedtoaccessthe fonerarouterIneedtoconnecttowiredconnectionwhichthen disconnectsmefromthewireless. Note:Ihavegatheredthisinformationfromdifferentforumpoststhanks togoogle.IamnotsureifitappliestoBT4ornot Myquestionsare: WhatamImissing? AmIdoingthosestepsintherightorder? HowcanIgettoconnecttoboththewlan0andeth0atthesametimeso IcanpasstheinternetconnectiontotheFoneraontheotherend? Yourfeedbackismuchappreciated.

03172010,07:11AM

#2

MrProtocol
Member

Re:Howtosetupbridgebetweenwlan0andeth0
Sowhatyouwanttodo...ishave"clients"connecttoyourFonrouter,havethefonwiredtoyourlaptopEthernetporttoget internetfromyourlaptop'swifi?IfthisiscorrectIhavedonethis...Withmyownfon/Jasager.Thingis...youhavetousewicd toconfigureyourwirelessfirst.ClosetheGUIandthensetastaticIPtoyoureth0(wired)card.Theissueyouarehaving(if youflashedyourfontomakeaJasagerbox)isintheFonitself.IfyouareusingaJasagerboxthenconsultthehak5forums. TheinformationisthereregardlessofwhatyourfonisrunningbecauseIhavepostedthemthereaswellasothers.Your issueisn'taBT4relatedoneIfeel,sorry. Butifyouflashedyourfonwithjasagerfirmware,andyoucan'tgetitworking...It'sthefonsettings.Stillabridgingissue.. justinternaltothefon .

JoinDate: Location: Posts:

Jan2010 Ohio 142

LasteditedbyMrProtocol03172010at07:17AM.

03172010,08:10AM

#3

masry
JustburnedhisISO JoinDate: Posts: Mar2010 7

HeyMrProtocol, Ihavereadlotsofyourpostsonthehak5forumaboutJasager,andyou'reright,I'mtryingtosetupaboxtohavetheclients connecttoo. IthinktheproblemI'mhavingisnotwiththefon(atthemoment),butwithhowI'msettingupthebridgebetweenwlan0 (wireless)andeth0(ethernet).Ihavetriedthestepsyouwroteinyourreply Thingis...youhavetousewicdtoconfigureyourwirelessfirst.ClosetheGUIandthensetastaticIPtoyour eth0(wired)card. andIstillcan'taccessthefonwhilebeingconnectedtotheinternetusingwlan0.WhenIdisconnectfromthewirelessand connectthewiredconnectionthroughthewicdguiIcanaccessthefonboxandIcanaccesswebifandKarma,butonceI connecttothewirelessIlosetheconnectiontheethernet. Letsforgetaboutthefonfornow.Isn'ttheideaofhavingabridgeismaintainingboththewiredandwirelessatthesame time?wellthat'snothappeningwithme.SofarIcanonlyconnecttooneatatime.Ialsoreadsomewhereaboutcreatinga br0,maybebridgeinterface?wellafterIfollowallthestepsIlistedearlierandinthesameorderyoutoldmetodo,Idoa Code:
i f c o n f i g

anddon'tseeanynewinterfacecalledbr0.

www.backtrack-linux.org/forums/showthread.php?t=2287

2/3

10/29/12

How to setup bridge between wlan0 and eth0


IhonestlythinksofartheproblemI'mhavingrightnowisbecauseI'mdoingsomethingwrongtodoabridgeconnection betweenthewlan0andeth0. Anyideawhattheproblemis?justgivemesomedirectionsandIwillsearchitingoogle. ItseemsthatI'munabletomaintainaconnectiontoeth0andwlan0atthesametime.

LasteditedbyArchangelAmael03182010at06:16PM.

03182010,06:44PM

#4

halfdone
Member JoinDate: Location: Posts: Jan2010 Helsinki,Finland 235

Re:Howtosetupbridgebetweenwlan0andeth0
HiImjustorderFON+Howlongdidyouwaituntillyougotyours,IminFinland,sofondeliversitfromspain. ItriedtouseDLinkwirelessroutertosharenetworkconnection.IpgivesipandIcanjointothatwlan,butitdoesntgiveme internetconnection. ThesamehappendswhenIuseairbasengtocreate"fakeAP"Icanjointoit,andIgetipaddress,butnointernet connection.Soitseemsthatsomethingisblockingconnectionwithwlan0andeth0 Ivtriedalotofthings.CanIsomehowdisablewholefirewalltotestiffirewallisblockingit?orwhatshouldIdo?

QuickNavigation

BeginnersForum Top

PreviousThread|NextThread
SimilarThreads

Eth0Issues
BysirwolfganginforumBeginnersForum

Replies:8
LastPost:06172010,10:08PM

WindowstoLinuxEthernetBridge
BySilentBroncoinforumBeginnersForum

Replies:3
LastPost:03022010,10:18AM

Littlehelpwithairmonngstartwlan0
BysnejainforumBeginnersForum

Replies:3
LastPost:03012010,06:27PM

Noeth0orwlan0accessinvmware
ByxxxdirtyfrankxxxinforumBeginnersForum

Replies:6
LastPost:02192010,06:20AM

wlan0error?
BymixitinforumBeginnersForum

Replies:4
LastPost:01312010,08:40PM

TagsforthisThread

bridge,eth0&wlan0,ics ViewTagCloud
PostingPermissions

Youmaynotpostnewthreads Youmaynotpostreplies Youmaynotpostattachments Youmaynotedityourposts

BBcodeisOn SmiliesareOn [IMG]codeisOn [VIDEO]codeisOn HTMLcodeisOff ForumRules

Test

English(US)

ContactUs BackTrackForums Archive Top

AlltimesareGMT.Thetimenowis10:42AM. vBulletinOptimisationbyvBOptimise.

www.backtrack-linux.org/forums/showthread.php?t=2287

3/3

Vous aimerez peut-être aussi