Hosting WIFI AP

Ask questions about Arch Linux ARM. Please search before making a new topic.

Hosting WIFI AP

Postby marslars » Fri Aug 05, 2016 9:22 am

Hello, im quite new to this forum, so i'm not sure if this question is in the right place :)

I have a Raspberry Pi 2 running Arch Linux ARM and i'm very happy for it.
I have an official raspberry pi wifi adapter (the white one), and I would like to host my own access point, no dhcp and dns, just an access point.

But im having some problems using it.

I have tried this guide:
https://wiki.archlinux.org/index.php/Network_bridge

I can get hostapd to work and see my access point and connect to it. (wlan0)
And my eth0 has a static IP from netctl.

But when i try to create a bridge connecting the two interfaces, i tried using netctl to create a bridge, it doesn't really work. I connect to the access point (hostapd), but I don't get an ip from the rest of the network (coming in from eth0).
Is there anyone who knows of another guide, or maybe can recommend another type of setting static ip's on the interfaces, and then creating a bridge between the two?
- or maybe im just stupid :)


Thanks in advance
marslars
 
Posts: 1
Joined: Fri Aug 05, 2016 9:16 am

Re: Hosting WIFI AP

Postby moonman » Fri Aug 05, 2016 9:35 pm

The problem is that you assigned a static ip to eth0 and trying to add it to the bridge. In the bridge mode the brX interface should have an IP, nothing else.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Hosting WIFI AP

Postby pepedog » Fri Aug 05, 2016 9:43 pm

One of these? https://thepihut.com/collections/raspberry-pi-wifi/products/official-raspberry-pi-wifi-adapter
They say "•Works with Raspbian out of the box (Currently no other operating systems are supported)", I told them they are wrong.
Next page starts to make amends https://thepihut.com/blogs/raspberry-pi-tutorials/16018016-how-to-setup-wifi-on-the-raspberry-pi-raspbian
Which chipset is it, dmesg will show, some need older hostap
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK


Return to User Questions

Who is online

Users browsing this forum: No registered users and 27 guests