Got it working!!!!pipuppy wrote:Hi TeeSee64,
I was looking for much the same information as you and to cut a l-o-n-g story short the answer appears to be "yes" you can use the new R3 in AP mode. I asked a similar question in a duplicate posting on this forum (general and networking areas) and received a very helpful pointer from DirkS as follows...
by DirkS » Sat Mar 05, 2016 2:57 pm
Yes, can be done. See view ... 70#p919980 for (partial) info...
***** end quote *****
I hope this helps. I have not had time to test this yet myself but I am optimistic it should work. The rest of the setting-up depends on your requirements.
I hope this is somewhat helpful in pointing you in the right direction.
Regards,
pipuppy
I tried without hashing out the driver line and it didn't worked now I tried with the hashtag and I can see the Apartment as available Wifi on my smartphone. I can request a IP, too but it won't create a connection.Fletch121 wrote:Finally managed to get the bridge/hotspot up and running on the Pi3. I used the tutorial provided here https://learn.adafruit.com/setting-up-a ... t/overview and modifed the hostapd config to hash out the line including the driver to get the onboard wifi into AP mode(Info courtesy of DirkS and PiPuppy) . Im now getting my full broadband speeds through the Pi which is 30Mbps down and 4Mbps up. Hope it helps
Code: Select all
sudo ifconfig wlan0 10.11.12.1 netmask 255.255.255.0 && sudo /etc/init.d/isc-dhcp-server restart
iptables -A FORWARD -o eth0 -i wlan0 -m conntrack --ctstate NEW -j ACCEPT
iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
iptables -t nat -F POSTROUTING
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADECode: Select all
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
sudo iptables -A FORWARD -i eth0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT
sudo iptables -A FORWARD -i wlan0 -o eth0 -j ACCEPTMarcoEatsQuarko wrote:I tried without hashing out the driver line and it didn't worked now I tried with the hashtag and I can see the Apartment as available Wifi on my smartphone. I can request a IP, too but it won't create a connection.Fletch121 wrote:Finally managed to get the bridge/hotspot up and running on the Pi3. I used the tutorial provided here https://learn.adafruit.com/setting-up-a ... t/overview and modifed the hostapd config to hash out the line including the driver to get the onboard wifi into AP mode(Info courtesy of DirkS and PiPuppy) . Im now getting my full broadband speeds through the Pi which is 30Mbps down and 4Mbps up. Hope it helps
Can you help me?
Code: Select all
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.4.11-v7+ #888 SMP Mon May 23 20:10:33 BST 2016 armv7l GNU/LinuxCode: Select all
pi@raspberrypi:~ $ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
iface eth0 inet manual
allow-hotplug wlan0
#iface wlan0 inet manual
# wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
iface wlan0 inet static
#address 192.168.42.1 --> CHECK 5th TIP
#netmask 255.255.255.0 --> CHECK 5th TIP
up iptables-restore < /etc/iptables.ipv4.nat
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.confCode: Select all
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
iface eth0 inet manual
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
Should it be in "/etc/network/interfaces" as stated in adafruit tutorial?up iptables-restore < /etc/iptables.ipv4.nat
Cancelor wrote:Static addresses should now be set up as detailed here:-
viewtopic.php?f=66&t=140252
DO NOT modify the file /etc/network/interfaces it should look like this.Code: Select all
# interfaces(5) file used by ifup(8) and ifdown(8) # Please note that this file is written to be used with dhcpcd # For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf' # Include files from /etc/network/interfaces.d: source-directory /etc/network/interfaces.d auto lo iface lo inet loopback iface eth0 inet manual allow-hotplug wlan0 iface wlan0 inet manual wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
+1CJ1 wrote:This is CRAZY!!!!
Is there a definitive solution without going all over the place to have a working Pi3 Wifi Hotspot as of todays version of the OS????
Code: Select all
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install hostapd dnsmasq
Code: Select all
interface=wlan0
ssid=Pi3B-HotSpot
channel=6
hw_mode=g
ieee80211n=1
wmm_enabled=1
ht_capab=[HT40][SHORT-GI-20][DSSS_CCK-40]
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_key_mgmt=WPA-PSK
wpa_passphrase=blueberry
rsn_pairwise=CCMP
Code: Select all
DAEMON_CONF=/etc/hostapd/hostapd.conf
Code: Select all
allow-hotplug wlan0
iface wlan0 inet static
address 172.17.2.1
netmask 255.255.255.0
broadcast 255.0.0.0
Code: Select all
address=/#/172.17.2.1
interface=wlan0
dhcp-range=172.17.2.100,172.17.2.250,12h
no-resolv
# log-facility=/var/log/dnsmasq.log
# log-queries
Code: Select all
sudo update-rc.d hostapd defaults
sudo update-rc.d dnsmasq defaults
sudo reboot