element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi Projects
  • Products
  • Raspberry Pi
  • Raspberry Pi Projects
  • More
  • Cancel
Raspberry Pi Projects
Blog Raspberry Pi Access Point
  • Blog
  • Documents
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi Projects to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: linuxengineer
  • Date Created: 1 Sep 2019 5:19 PM Date Created
  • Views 3189 views
  • Likes 4 likes
  • Comments 8 comments
  • wifi
  • raspberry pi 3 b plus
  • raspberrypi4
  • access point
  • raspberry_pi_projects
  • github_repository
Related
Recommended

Raspberry Pi Access Point

linuxengineer
linuxengineer
1 Sep 2019

This Project automates the configuration of a Raspberry Pi into a WiFi Access Point using my opensource Github Repo "pi-ap". If you can edit a file with nano and change a few values in a variables file, you  can do this project. Wireless Communications Technology Wireless

 

SOFTWARE:

- My Opensource repo Github repo "pi-ap"

 

HARDWARE:

- Raspberry Pi 3B+ or 4 running Raspbian Stretch or Buster.

 

ADDITIONAL REQUIREMENTS:

- DHCP enabled port in a router or switch to connect the Pi's eth0 Ethernet port to.

- Ethernet Cable: Good quality *24* AWG Cat6 cable is recommended for uplink from the Pi to the Router

- POE Hat (optional): If lacking free mains sockets, could use a POE Hat to power your Pi.

 

NOTE: Avoid using a metal case for your pi-ap: this can impede the signal and cause Layer 1 problems.

 

INSTRUCTIONS:

1. Connect Pi's eth0 interface to a DHCP enabled port on an Internet-connected router.

2. ssh into Pi (as "pi" user) on IP the Router asssigned to Pi's eth0 interface.

3. Once logged in execute: git clone https://github.com/f1linux/pi-ap

4. Change working path: cd pi-ap

5. Edit the variables file: nano variables.sh. This is the ONLY file in repo you need to edit!

6. Execute the install file: sudo ./install.sh. This script call all the other scripts in the repo which source the variables.sh file you edited.

 

Feedback is echo'ed to your screen as install progresses allowing you to review the progress or notify of any errors

 

Wiki/Video Help:

Wiki:         https://github.com/f1linux/pi-ap/wiki

YouTube:   https://youtu.be/NUyRc2_YHzI

And of course the README.md included in the pi-ap repo with the scripts

 

Terrence Houlahan, Linux & Network Engineer

www.linkedin.com/in/terrencehoulahan

www.YouTube.com/user/LinuxEngineer

  • Sign in to reply

Top Comments

  • colporteur
    colporteur over 5 years ago +2
    To think, I spent a few sleepless nights getting this to work reliably and now it can be scripted. Nice work. Sean
  • krogerking
    krogerking over 5 years ago +1
    Used this yesterday and it worked just as described. Super Simple and easy to configure! Only one file!!!
  • volly
    volly over 5 years ago +1
    Great Job.... Thanks.
  • clem57
    clem57 over 5 years ago in reply to diazer

    Check if you have set the AP properties correctly.

    Search for the keyword `ignore_broadcast_ssid` to see the explanation:

    # 1 = send empty (length=0) SSID in beacon and ignore probe request for # broadcast SSID

    Change to 0 if you do not want the name hidden

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • diazer
    diazer over 5 years ago

    HI,

    I have tried different ways to get an AP to work but it even with this script on a fresh install of the latest Buster i am getting an AP but it is always showing as hidden.  Any help would be greatly appreciated image

     

    -Erica

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • linuxengineer
    linuxengineer over 5 years ago in reply to clem57

    I've only tested it on Stretch & Buster on a Pi 3B+ and a Pi 4. I haven't tried running it on a Pi with Ubuntu Server, but "pi-ap" **should** be largely extensible though: eth0 is expected to get an IP via DHCP from the router(no static IP set anywhere), but "pi-ap" assigns a static IP for the WLAN0 IF in /etc/dhcpcd.conf.  The firewall is UFW and the key programs which are shaped by "pi-ap" to configure the AP functionality are hostapd, wpa_supplicant, dnsmasq & dhcpcd. If their config files live in expected paths and have the same default values (I use sed a lot to modify values), then "pi-ap" ***should*** "just work" on a Pi running Ubuntu **SERVER**.  Ubuntu Core however is a different ballgame- it uses snap packages and it's a different beast altogether.

     

    Having said that, I've abstracted the hell out of everything, so a lot of paths and directive values in config files are aliased as variables allowing users to tweak them centrally in "variables.sh" if thigs differ from the Raspbian setup.

     

    Give it a go Clem and let me know how you got on.  If shoot me the results of your testing- including model of  Pi and flavour of Ubuntu it's running,  I'll update the Wiki and the "README.md" in respect to compatibility.

     

    -Terrence

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • clem57
    clem57 over 5 years ago

    Is this dependent on Rasbian or any Debian release should work?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • linuxengineer
    linuxengineer over 5 years ago in reply to colporteur

    Yeah, that was a big pain in the wazoo.  Figured I'd save other folks the grief of that exercise in self-abuse ;-).  Glad it helped you out-

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube