Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #181951

Re: pointers to material for using netbook's wireless as access point

From Dan Ritter <dsr@randomstring.org>
Newsgroups linux.debian.user
Subject Re: pointers to material for using netbook's wireless as access point
Date 2017-06-08 20:50 +0200
Message-ID <tQaFk-7QA-13@gated-at.bofh.it> (permalink)
References (2 earlier) <tPBoe-2ah-5@gated-at.bofh.it> <tPTuN-5p2-9@gated-at.bofh.it> <tQ0FX-1HV-1@gated-at.bofh.it> <tQ6in-5iV-57@gated-at.bofh.it> <tQavE-7Na-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Jun 08, 2017 at 08:31:04PM +0200, didier gaumet wrote:
> Le 08/06/2017 à 16:00, Joel Rees a écrit :
> > On Thu, Jun 8, 2017 at 5:03 PM, didier gaumet <didier.gaumet@gmail.com> wrote:
> [...]
> >>  https://wiki.debian.org/BridgeNetworkConnections#Bridging_with_a_wireless_NIC
> > 
> > Maybe I'm misunderstanding that wiki, but it seems to be describing this
> > kind of setup:
> > 
> >    WAN <--> foreign AP <-wireless-> debian box <-> more devices
> >
> > But what I'm wanting is
> > 
> >    WAN <-wired-> router/modem <-wired-> debian netbook AP <-> more devices
> > 
> > (But thanks for taking the time to mention that page.)
> 
> I think it can be understood either way, so it seems to me it is
> applicable the way you want it (the way I had already understood it)?
> I suppose the one thing you probably do not have to bother with is
> ebtables because you establish a bridge between an ethernet NIC and a
> software AP NIC, not between an ethernet NIC and a wireless client NIC.
> 
> To summarize I would suggest to:
> - not include wlan0 in /etc/interfaces because wlan0 is already declared
> in hosapd.conf and that could interfere
> - not include "pre-up iwconfig wlan0 essid $YOUR_ESSID" in the bridge
> section of /etc/interfaces because it is probably relevant for  a
> wireless client but irrelevant for an AP
> - include "bridge_hw $MAC_ADDRESS_OF_YOUR_WIRELESS_CARD"  in the bridge
> section of /etc/interfaces
> 
> (All of this being pure supposition of my part as I am almost ignorant
> of the network things: do not assume what I am saying is correct without
> verification)

Once you have br0 controlling wlan0 and eth0, all routing
decisions need to be applied to br0.

-dsr-

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

pointers to material for using netbook's wireless as access point Joel Rees <joel.rees@gmail.com> - 2017-06-06 04:00 +0200
  Re: pointers to material for using netbook's wireless as access point didier gaumet <didier.gaumet@gmail.com> - 2017-06-06 09:20 +0200
    Re: pointers to material for using netbook's wireless as access point Joel Rees <joel.rees@gmail.com> - 2017-06-07 07:10 +0200
      Re: pointers to material for using netbook's wireless as access point Joel Rees <joel.rees@gmail.com> - 2017-06-08 02:30 +0200
        Re: pointers to material for using netbook's wireless as access point didier gaumet <didier.gaumet@gmail.com> - 2017-06-08 10:10 +0200
          Re: pointers to material for using netbook's wireless as access point Joel Rees <joel.rees@gmail.com> - 2017-06-08 16:10 +0200
            Re: pointers to material for using netbook's wireless as access point rhkramer@gmail.com - 2017-06-08 16:50 +0200
              Re: pointers to material for using netbook's wireless as access point Joel Rees <joel.rees@gmail.com> - 2017-06-10 06:10 +0200
                Re: pointers to material for using netbook's wireless as access point Joel Rees <joel.rees@gmail.com> - 2017-06-10 09:00 +0200
            Re: pointers to material for using netbook's wireless as access point didier gaumet <didier.gaumet@gmail.com> - 2017-06-08 20:40 +0200
              Re: pointers to material for using netbook's wireless as access point Dan Ritter <dsr@randomstring.org> - 2017-06-08 20:50 +0200
        Re: pointers to material for using netbook's wireless as access point Joel Rees <joel.rees@gmail.com> - 2017-06-08 16:00 +0200
  Re: pointers to material for using netbook's wireless as access point Dan Ritter <dsr@randomstring.org> - 2017-06-06 12:40 +0200
    Re: pointers to material for using netbook's wireless as access point Joel Rees <joel.rees@gmail.com> - 2017-06-07 07:10 +0200

csiph-web