[raspberry-vi] Re: Raspberry Pi network problem

  • From: David Mehler <dave.mehler@xxxxxxxxx>
  • To: raspberry-vi@xxxxxxxxxxxxx
  • Date: Thu, 13 Sep 2018 17:44:57 -0400

Hello Scott,

That's what I am seeing, the specs for the 3 B+ say it's card can do
802.11bgn and can do 2.4 and 5GHZ. Can you check with yours and let me
know or let me know how to confirm 2.4 only with mine?

Thanks.
Dave.


On 9/13/18, Scott Granados <scott.granados@xxxxxxxxx> wrote:

I believe the built in card is 2.4 GHZ only.  I could be wrong but I believe
that’s how mine is set up.

On Sep 13, 2018, at 3:19 PM, David Mehler <dave.mehler@xxxxxxxxx> wrote:

Hello,

This is to users of the Raspberry Pi 3 B+ only.

Currently the Pi is connected via ethernet to a router, and i've got
it set up as an access point. This is using the internal card only at
this point no other adapters are installed. This works fine, the SSID
shows up and I can connect and I can get to the internet.

Problem1, I've not been able to get the Pi's builtin card to either
broadcast on 5GHZ or broadcast multiple access points. Currently it is
broadcasting ap1, what i'd like is a virtual point also on 2.4GHZ as
ap2.

Now as I said the builtin card, works fine, it's on 2.4GHZ and only
broadcasting 1 SSID.

I add a second card in this case a USB adapter, which is a NetGear
WNA1000M it's an 802.11bgn card and uses the Realtek RTL8188CUS
chipset.

The problem comes in when adding wlan1 the ip configuration and the AP
configuration for wlan0 does not come up, pull out wlan1 reboot and
wlan0 comes back. My config is below. I'd appreciate any help.


The wlan1 AP has the mac filter option set to yes and two Mac
addresses are in the hostapd.deny file.
This Pi is running the latest version of Raspbian Stretch.

Help appreciated.

Thanks.
Dave.

/etc/dhcpcd.conf:
# Static IP configuration for eth0.
interface eth0
static ip_address 2.168.3.2/24
static routers 2.168.3.1
static domain_name_servers=8.8.4.4 8.8.8.8

# Static IP configuration for wlan0
interface wlan0
   static ip_address .10.141.1/24
static routers .10.141.1
static domain_name_servers .10.141.1
   nohook wpa_supplicant

# Static IP configuration for wlan1
interface wlan1
static ip_address .20.225.1/24
static routers .20.225.1
static domain_name_servers .20.225.1
   nohook wpa_supplicant

/etc/network/interfaces:
auto lo
iface lo inet loopback

auto eth0
allow-hotplug eth0
iface eth0 inet manual

auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

auto wlan1
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

/etc/dnsmasq.conf:
no-hosts
domain=example.local
dhcp-optionB,0.0.0.0
dhcp-optionD,0.0.0.0     # set netbios-over-TCP/IP nameserver(s) aka
WINS server(s)
dhcp-optionE,0.0.0.0     # netbios datagram distribution server
dhcp-optionF,8           # netbios node type
dhcp-option%2,"\n"
dhcp-authoritative

interface=wlan0
 dhcp-range .10.141.50,10.10.141.125,255.255.255.0,24h

interface=wlan1
 dhcp-range .20.225.50,10.20.225.125,255.255.255.0,24h

/etc/hostapd/hostapd.conf:
interface=wlan0
driver=nl80211
ssid=ap1
hw_mode=g
channel=1
ieee80211n=1
ieee80211d=1
country_code=US
wmm_enabled=1
obss_interval00
ht_capab=[HT40][SHORT-GI-20][DSSS_CCK-40]
beacon_intP
dtim_period
basic_rates 0 240 360 480 540
macaddr_acl=0
deny_mac_file=/etc/hostapd/hostapd.deny
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=password_here
wpa_key_mgmt=WPA-PSK
wpa_pairwiseÌMP
rsn_pairwiseÌMP

interface=wlan1
driver=nl80211
ssid=ap2
hw_mode=g
channel
ieee80211n=1
ieee80211d=1
country_code=US
wmm_enabled=1
obss_interval00
ht_capab=[HT40][SHORT-GI-20][DSSS_CCK-40]
beacon_intP
dtim_period
basic_rates 0 240 360 480 540
macaddr_acl=1
deny_mac_file=/etc/hostapd/hostapd.deny
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=password_here
wpa_key_mgmt=WPA-PSK
wpa_pairwiseÌMP
rsn_pairwiseÌMP
===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views
and attitudes expressed by the subscribers to this list do not reflect
those of the Foundation.

Mike Ray, list creator, January 2013



===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and
attitudes expressed by the subscribers to this list do not reflect those of
the Foundation.

Mike Ray, list creator, January 2013


=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013

Other related posts: