Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-15-2016, 07:24 PM
|
#1
|
Member
Registered: Apr 2013
Distribution: Gentoo
Posts: 79
Rep: 
|
raspberry pi router distro
I have a raspberry pi, and I would like to know if there is a distro that turns the raspberry pi into a WiFi router? The key feature I am looking for is flexibility, the router will be in an RV that is moved from place to place, at different location I will want to reprogram the router to operate in different modes.
For now, at it's main location, I want the router to act as WiFi to WiFi router using two USB WiFi adapters. At the secondary location I would like to connect a cable modem to the Pi's built-in Ethernet and use it similar to a normal WiFi router. When the router is moved to new locations I may wish to operate in modes that I have yet to consider.
If there are no distros specifically made for that purpose, is there software that I can add to an embedded Linux distro that will add a web/curses based interface for easy Linux-based router configuration.
|
|
|
06-16-2016, 08:31 AM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,632
|
It depends on the wifi chip (which I don't know in the different Pi models) whether managed mode is available. That said, most distros can act as a router, because they contain the requisite software or have it in repository.
Just looking at your requirements, it strikes me that you could probably configure all 3 interfaces (eth0, wlan0, & wlan1)and set routes for them. In location one, there'd be no cable in the eth0, but the wifi would both be working. Best to set this up from startup. In the other, the cable would go in for eth0, and a wifi nic would be idle. A simple script could automate changeover to location 2.
|
|
|
06-16-2016, 08:35 AM
|
#3
|
Moderator
Registered: Aug 2002
Posts: 26,811
|
There are many howtos on configuring the Pi as a WiFi router but I'm not aware of any specific distribution or configuration interface. One caveat is the USB and ethernet ports share the same bus so as you consider different modes (maybe NAS, media server etc) be aware that the Pi may only work well doing only one thing at a time.
If you are only considering router modes then there are typicaly 6 types.
http://www.speedguide.net/faq/what-d...y-routerap-297
The Pi 3 is the only model with built in WiFi. But business_kid is correct that the adapter has to be capable of managed i.e AP mode.
Last edited by michaelk; 06-16-2016 at 08:37 AM.
|
|
|
07-02-2016, 10:26 PM
|
#4
|
Member
Registered: Apr 2013
Distribution: Gentoo
Posts: 79
Original Poster
Rep: 
|
Quote:
Originally Posted by michaelk
There are many howtos on configuring the Pi as a WiFi router but I'm not aware of any specific distribution or configuration interface.
|
I guess I was a bit vague in what I was talking about. Up until 2011, I used the DD-WRT software to controle my router. DD-WRT had an easy to use HTML user interface for adjusting the routing. I was wondering if there is a project that would bring that sort of interface into a role-your-own Linux base router.
Quote:
Originally Posted by michaelk
If you are only considering router modes then there are typicaly 6 types.
|
I guess the terminology would be than in the main location, I want the Pi to act as an ap mode bridge, because the Pi will have it's own essid, encryption key and DHCP server independent from that of the ap router that the Pi connects to.
Quote:
Originally Posted by business_kid
It depends on the wifi chip (which I don't know in the different Pi models) whether managed mode is available.
|
Thanks for your reminder about the USB adapter being capable of AP Mode. Thankfully the adapters I own are rt2800usb and they have that capability.
Quote:
Originally Posted by michaelk
One caveat is the USB and ethernet ports share the same bus so as you consider different modes (maybe NAS, media server etc) be aware that the Pi may only work well doing only one thing at a time.
|
In the RV, I will spend the majority of time in rural and in/near small towns, so I do not expect I will have the fastest Internet available. I have grown accustom to WiFi-b speeds and will be happy to achieve those speeds even with a WiFi-n router. I have a wired LAN inside the RV to transfer files between my computers.
|
|
|
09-02-2016, 12:20 PM
|
#5
|
LQ Newbie
Registered: Nov 2007
Posts: 17
Rep:
|
Excuse the silly question, but what are it's applications ?
|
|
|
09-03-2016, 08:37 AM
|
#6
|
Moderator
Registered: Aug 2002
Posts: 26,811
|
Quote:
Originally Posted by snake eyes
Excuse the silly question, but what are it's applications ?
|
If you are asking what can I do with a Pi then it is whatever your mind can envision. Robotics, home automation, media server etc, games, Amateur Radio, as a PC and so on...
https://www.raspberrypi.org/
|
|
|
01-22-2018, 06:11 PM
|
#7
|
Member
Registered: Apr 2013
Distribution: Gentoo
Posts: 79
Original Poster
Rep: 
|
Quote:
Originally Posted by TheLexx
I guess I was a bit vague in what I was talking about. Up until 2011, I used the DD-WRT software to controle my router. DD-WRT had an easy to use HTML user interface for adjusting the routing. I was wondering if there is a project that would bring that sort of interface into a role-your-own Linux base router.
|
It looks like there is a similar project called OpenWrt that supports Raspberry Pi. I will address my questions to there forum.
|
|
|
01-22-2018, 06:43 PM
|
#8
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,399
|
Thanks for the post back. I had looked at that a while back, and it seemed they didn't support the pi3. I have a spare one I might look at configuring.
|
|
|
01-22-2018, 07:08 PM
|
#9
|
Member
Registered: Apr 2013
Distribution: Gentoo
Posts: 79
Original Poster
Rep: 
|
Quote:
Originally Posted by syg00
Thanks for the post back. I had looked at that a while back, and it seemed they didn't support the pi3. I have a spare one I might look at configuring.
|
I have an older model 1 B+ version that is supported. I'm not sure if the model 3 is supported, but sense the Pi uses SD cards, I think it would be a safe to try the software for model 2. If it did not work I would think there was little risk "bricking" your router.
If flexibility is the feature that you consider most important (more than ease of use), I think you can get a Pi1 or Pi2 way cheaper than any "advanced" router. (most sub $50 routers, have very limited features).
Haven't tried out the pi as a router yet. I"ll post my results here Is a learn more.
|
|
|
01-22-2018, 07:27 PM
|
#10
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,399
|
I have (er, had) a pi3 as a router-firewall using Arch and iptables. Goes in and out the single wifi interface - not the recommended way, but what I needed/decided to do on the LAN side of my ADSL router.
Have recently gone to our national (so-called) fibre based network, so I got a new router from the ISP. I pulled the pi out as there was so many reports of problems (nation-wide). Seems to have settled down (I had to get a router replacement), so might look at openWRT if/when I get bored. Gotta be a bit careful not to break Internet access, or I'll be in real strife (at home), and the ISP has no real idea.
|
|
|
04-27-2018, 12:24 AM
|
#11
|
Member
Registered: Feb 2004
Location: SFBayArea, CA
Distribution: Debian-based, Slackware 10x+
Posts: 185
Rep:
|
Next round of WiFi Router distro advice for RPi
Quote:
I have a raspberry pi, and I would like to know if there is a distro that turns the raspberry pi into a WiFi router? The key feature I am looking for is flexibility, the router will be in an RV that is moved from place to place, at different location I will want to reprogram the router to operate in different modes.
|
Was actually just looking at this today, and apparently Alpine Linux ( https://alpinelinux.org/ and https://alpinelinux.org/about/ ) does support the Raspberry Pi as a WiFi Wireless Access Point. Specific instructions for this are at https://wiki.alpinelinux.org/wiki/Ra...point_-AP_Mode and the general Alpine Linux documentation Wiki is at https://wiki.alpinelinux.org/wiki/Main_Page
Yes, I fully realize this is going out much too late, but perhaps someone else will see this and take advantage of this late suggestion? 
|
|
|
All times are GMT -5. The time now is 07:32 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|