element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • 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
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • 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
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Raspberry Pi as an Access Point.
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 29 replies
  • Subscribers 708 subscribers
  • Views 5803 views
  • Users 0 members are here
  • access
  • raspberry
  • current
  • in
  • act
  • to
  • as
  • are
  • a;
  • these
  • my;
  • like
  • wireless
  • the;
  • point.;
  • settings
  • ;/etc/network/interfaces:
  • would
  • i
  • pi;
Related

Raspberry Pi as an Access Point.

wallarug
wallarug over 13 years ago

I would like my Raspberry Pi to act as a wireless access point.  These are the current settings in /etc/network/interfaces:

 

auto lo

 

 

iface lo inet loopback

iface eth0 inet dhcp

 

 

allow-hotplug wlan0

 

 

iface wlan0 inet static

        wireless-essid "wireless"

        wireless-mode ad-hoc

        wireless-channel auto

        address 192.168.12.1

        netmask 255.255.255.0

        gateway 192.168.12.2

#wpa-psk "robotics"

 

 

Any ideas how I can turn this into a dhcp server that can give out IP addresses?  I really am getting tired of changing to manual ever time on PC.

 

Any help will be apreciated.

  • Sign in to reply
  • Cancel
Parents
  • e14 Contributor
    e14 Contributor over 13 years ago

    A few screenshots of what the configuration page looks like at the moment are on my blog at http://sirlagz.net/2013/02/06/script-web-configuration-page-for-raspberry-pi/

     

    Live demo at http://sirlagz.ath.cx:8880

     

    Though if you turn on hostapd, you will probably wreak havoc with my wireless haha

    Not very pretty but I'm working on the GUI image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 13 years ago in reply to e14 Contributor

    What code are you using?

     

    html5? php?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 13 years ago in reply to wallarug

    I'm using php on my Pi at the moment

    Just finished up doing the first version, very very messy though haha.

    Will upload it somewhere for you guys to try image

     

    Linky to the blog post - at the moment it's just the php script and supporting files.

    http://sirlagz.net/2013/02/08/raspap-webgui/

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 13 years ago in reply to e14 Contributor

    I was told that html5 (html+CSS+Java Script) is the way to go.

     

    I don't know why many people are not using this coding langauge.  I am going to start learning this langauge very soon and then see if I can host this on a websever running on the raspberry pi.  I will create something (I don't know what) and let you know how well it works (IN THE DISTANT FUTURE).

     

    I wish you the best of luck with your project and I will be following it intently.  I like the idea of a GUI setup for hostapd and wireless.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 13 years ago in reply to wallarug

    I haven't looked into html5 much as I'm already familiar with php.

    I may look into porting it over to html5 later though.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • e14 Contributor
    e14 Contributor over 13 years ago in reply to wallarug

    I haven't looked into html5 much as I'm already familiar with php.

    I may look into porting it over to html5 later though.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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 © 2026 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.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube