Jump to content

How to bridge wlan1 to br-lan?


KonKeller
 Share

Recommended Posts

Do you mean realy bridging or mean routing ?

Bridging so that the ip range on both wireless devices are the same and traffic like netbios pass thru it.

Or routing that your pineapple does dhcp for 1 wifi and you are connected as a client with your other wifi?

Basic bridging example:

http://bwachter.lart.info/linux/bridges.html

Not exactly sure which one I would need. What I want to achieve is having those connected to the Pineapple from Karma have internet access from the ALFA as if the Pineapple was connected to the internet through Ethernet or a 3G Hotspot.

Link to comment
Share on other sites

Then i think the easyest way is to run your pineapple as a router.

I think there are a few episode where Darren explains a lot of this stuf.

In Short:

1) setup 1 wireless as an Access point

2) Config the dhcpserver on that wireless

3) Connect the pineapple to the internet ( ethernet or 3G, make sure it can connect out )

4) enable ip_forward

http://www.ducea.com/2006/08/01/how-to-enable-ip-forwarding-in-linux/

Link to comment
Share on other sites

Then i think the easyest way is to run your pineapple as a router.

I think there are a few episode where Darren explains a lot of this stuf.

In Short:

1) setup 1 wireless as an Access point

2) Config the dhcpserver on that wireless

3) Connect the pineapple to the internet ( ethernet or 3G, make sure it can connect out )

4) enable ip_forward

http://www.ducea.com/2006/08/01/how-to-enable-ip-forwarding-in-linux/

The Pineapple is already a router. It's running Karma. All I want to do it provide access for those captured by Karma through the second wifi card.

Link to comment
Share on other sites

Then i think the easyest way is to run your pineapple as a router.

I think there are a few episode where Darren explains a lot of this stuf.

In Short:

1) setup 1 wireless as an Access point

2) Config the dhcpserver on that wireless

3) Connect the pineapple to the internet ( ethernet or 3G, make sure it can connect out )

4) enable ip_forward

http://www.ducea.com/2006/08/01/how-to-enable-ip-forwarding-in-linux/

Whyyyyyyyyyyy would you ever do that?

The Pineapple is already a router. It's running Karma. All I want to do it provide access for those captured by Karma through the second wifi card.

I think you should be able to just add wlan1 to the br-lan and all is good.

The  command  brctl  show  shows  all current instances of the ethernet bridge.
 
The command brctl addif <brname> <ifname> will make the interface <ifname> a port of the bridge <brname>. This means that all frames received on <ifname> will be processed as if destined for the bridge. Also, when sending frames on <brname>, <ifname> will be considered as a potential output interface.

The command brctl delif <brname> <ifname> will detach the interface <ifname> from the bridge <brname>.
Link to comment
Share on other sites

there is an infusion for this it makes it easy. its called network manager. for fw 3 its called wifi manager but i couldnt get wifi manager to work so i downgraded to 2.8.1 and i was up and running in a few min.

hope this helps and makes it easy for you.

haroo

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...