mathboy4life
Posts: 197
Joined: Fri Jan 08, 2016 7:29 pm

old obsolete advice about turning a PI 3 into a Router?

Wed Apr 20, 2016 8:52 pm

Since the PI 3 has build in WiFi is it capable to turn it into a router with ddwrt or openwrt and be as good as a cheap $30 router?

User avatar
MarkHaysHarris777
Posts: 1820
Joined: Mon Mar 23, 2015 7:39 am
Location: Rochester, MN
Contact: Website

Re: PI 3 into a Router?

Thu Apr 21, 2016 12:07 am

mathboy4life wrote:Since the PI 3 has build in WiFi is it capable to turn it into a router with ddwrt or openwrt and be as good as a cheap $30 router?
No. Technically, in order to be a router it would have to have at least two ethernet nics; one to the network, and one to a high speed switch (the points from which the other networks are connected).

nic Network Interface Connector

The RPi 3B can, however, be used as a bridge. A special purpose type of ´router´ that ´bridges´ another network (eth0 nic to high speed switch downstream) and the ´wifi´ network upstream. The difference is (I admit) nuanced but it is important to keep the distinction in mind. A true router needs to have wired security (hard wired ethernet connections); and the router needs to have ´two´ of these eth connections that are unique and distinct in order for the ´routing´ to occur.
marcus
:ugeek:

mikerr
Posts: 2698
Joined: Thu Jan 12, 2012 12:46 pm
Location: UK
Contact: Website

Re: PI 3 into a Router?

Tue Apr 26, 2016 11:30 am

MarkHaysHarris777 wrote:
mathboy4life wrote:Since the PI 3 has build in WiFi is it capable to turn it into a router with ddwrt or openwrt and be as good as a cheap $30 router?
No. Technically, in order to be a router it would have to have at least two ethernet nics; one to the network, and one to a high speed switch (the points from which the other networks are connected).
No. Technically a router is from one network to another - one NIC can be wireless, the other wired.
Pi3 has 2 NICs (also note the pi3 wifi doesn't share bandwidth with usb/ethernet)

If you want two wired NICs, then you can add a USB ethernet adaptor to the pi3...
performance may not be optimal though, as they'll both be sharing USB bandwidth.
Android app - Raspi Card Imager - download and image SD cards - No PC required !

User avatar
MarkHaysHarris777
Posts: 1820
Joined: Mon Mar 23, 2015 7:39 am
Location: Rochester, MN
Contact: Website

Re: PI 3 into a Router?

Tue Apr 26, 2016 11:44 am

mikerr wrote: No. Technically a router is from one network to another - one NIC can be wireless, the other wired.
Most of us call this special purpose router a bridge, that's why I said 'technically' (as in technicality, not as in technology).

A bridge is a type of router that joins two networks, typically one wired and one not (although, it does not have to be that way). You can make the RPi 3B into a bridge, but you cannot make it into a standard router (at least not with any kind of performance).

Well, when you think of a commercial router (like your home cable modem, for instance) do you expect to see a bank of ethernet ports? It may also have wifi routing capability (probably) but it must have the ability to route between subnets (or networks) in a wired setup--- unless, the entire router is wireless. I don't think the RPi can function as a wireless router.
marcus
:ugeek:

drgeoff
Posts: 8354
Joined: Wed Jan 25, 2012 6:39 pm

Re: PI 3 into a Router?

Tue Apr 26, 2016 3:32 pm

Unless you need the more esoteric features that only openwrt or DD-WRT can provide, or you only need the router for a short time (and will have other uses for the RPi3 afterwards) I suggest you consider the US$10 to US$15 pocket WiFi routers from ebay suppliers, usually in the Far East.

User avatar
EasyGoing1
Posts: 1
Joined: Sat Apr 21, 2018 7:22 am
Contact: Facebook

Re: PI 3 into a Router?

Sat Apr 21, 2018 7:50 am

Here you go ... http://qcktech.blogspot.com/2012/08/ras ... outer.html

And remember ... Google is your buddy ... not sure why everyone in this group seems to think it can't be done since the Pi is really just a small PC capable of running Linux which makes it a prime candidate for being employed as a router ... found lots of articles on this through Google...

I also posted this for future searchers out there.

User avatar
KLL
Posts: 1453
Joined: Wed Jan 09, 2013 3:05 pm
Location: thailand
Contact: Website

Re: PI 3 into a Router?

Sat Apr 21, 2018 1:57 pm

EasyGoing1 wrote:
Sat Apr 21, 2018 7:50 am
Here you go ... http://qcktech.blogspot.com/2012/08/ras ... outer.html

And remember ... Google is your buddy ... not sure why everyone in this group seems to think it can't be done since the Pi is really just a small PC capable of running Linux which makes it a prime candidate for being employed as a router ... found lots of articles on this through Google...

I also posted this for future searchers out there.
you did not say with what hardware and OS you tested this tutorial ( from 2012 ).

fruitoftheloom
Posts: 16934
Joined: Tue Mar 25, 2014 12:40 pm

Re: PI 3 into a Router?

Sat Apr 21, 2018 2:27 pm

EasyGoing1 wrote:
Sat Apr 21, 2018 7:50 am
Here you go ... http://qcktech.blogspot.com/2012/08/ras ... outer.html

And remember ... Google is your buddy ... not sure why everyone in this group seems to think it can't be done since the Pi is really just a small PC capable of running Linux which makes it a prime candidate for being employed as a router ... found lots of articles on this through Google...

I also posted this for future searchers out there.

2012 is very out of date :shock:
Adieu

drgeoff
Posts: 8354
Joined: Wed Jan 25, 2012 6:39 pm

Re: PI 3 into a Router?

Sat Apr 21, 2018 2:31 pm

KLL wrote:
Sat Apr 21, 2018 1:57 pm
you did not say with what hardware and OS you tested this tutorial ( from 2012 ).
I doubt that he did test it. Using any release of Raspbian from the last year or two and setting static IP parameters in the interfaces file is not a good way to start.

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 10711
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: PI 3 into a Router?

Sat Apr 21, 2018 10:15 pm

agreed, its not good advice to people who really want to create a router from their PI, therefore locking, changing the subject line, and moving to off topic

anyone serious about turning a PI into a router, start a new thread!

Return to “Off topic discussion”

Who is online

Users browsing this forum: No registered users and 6 guests