Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.networking > #3158 > unrolled thread
| Started by | Mark Casazza <markcasazza@gmail.com> |
|---|---|
| First post | 2014-11-20 03:30 -0800 |
| Last post | 2014-11-23 04:19 +0000 |
| Articles | 5 — 5 participants |
Back to article view | Back to comp.os.linux.networking
Help needed building a personal gateway Mark Casazza <markcasazza@gmail.com> - 2014-11-20 03:30 -0800
Re: Help needed building a personal gateway Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2014-11-20 14:23 +0200
Re: Help needed building a personal gateway Thad Floryan <thad@thadlabs.com> - 2014-11-20 04:55 -0800
Re: Help needed building a personal gateway Frank Stutzman <stutzman@cat2.kjsl.com> - 2014-11-20 13:20 +0000
Re: Help needed building a personal gateway Gordon <Gordon@clear.net.nz> - 2014-11-23 04:19 +0000
| From | Mark Casazza <markcasazza@gmail.com> |
|---|---|
| Date | 2014-11-20 03:30 -0800 |
| Subject | Help needed building a personal gateway |
| Message-ID | <76595c5c-4936-43da-93f2-26598a893d6b@googlegroups.com> |
Let me start by apologizing for my complete lack of knowledge in the command line area for configuring networks. This my challenge: I want to build a universal gateway to use in my RV to make connecting to the Internet easy. I frequent many locations with different wifi or no wifi connectivity. For the no wifi areas I have a hotspot. In the RV I generally have a server (Win 2008 R2), 3 laptops (Win 7), 2 smart phones (Android), and a mini tablet (Android). I want to make a universal gateway out of an Acer A0751h-1545. My research took me to ClearOS as my OS choice, but I cannot seem to configure it as needed. These are my requirements: * The connection to the Internet must be made with a USB NIC with a high gain antenna * Internal wireless must be provided by the built in wifi adapter * Internal wired network access must be provided by the built in wired network adapter * The Gateway must provide DHCP services on the LAN * I only want 1 internal LAN or if I must have two, I need to route traffic from one to the other. My devices frequently remote into each other and share files. * I would strongly prefer the DHCP server to remember clients and reassign then the same IP time after time. * I want a GUI or web based way to connect to the Internet via the wifi adapter. Connecting to various wifi sources at the command line level will be a pain and not something I can teach to those traveling with me. ClearOS managed to recognize all my network adapters: * Realtek RTL8101E/RTL8102E (Built in wired) * Qualcomm Atheros AR242x/AR542x (Built in Wireless) * Ralink RT2501/RT2573 (USB Wireless) But the ClearOS network configuration tools do not allow me to configure a wireless adapter as the "External Connection" The last time I explored configuring routing tables I was working in SCO Unix and I have long since forget everything I knew about command line tools and configuration files. If you can point me in the right direction I'm sure I can get this going but I can't promise I won't ask some novice follow up questions. If ClearOS is not a good choice, I would prefer CentOS as I use that as my Web Host OS and I am very comfortable with it. Thanks, Mark Casazza http://casazza.net Home of the Clear Sky Alarm Clock and Tonight's Sky
[toc] | [next] | [standalone]
| From | Tauno Voipio <tauno.voipio@notused.fi.invalid> |
|---|---|
| Date | 2014-11-20 14:23 +0200 |
| Message-ID | <m4kmfl$16b$1@dont-email.me> |
| In reply to | #3158 |
On 20.11.14 13:30, Mark Casazza wrote: > Let me start by apologizing for my complete lack of knowledge in the command line area for configuring networks. > > This my challenge: > > I want to build a universal gateway to use in my RV to make connecting to the Internet easy. I frequent many locations with different wifi or no wifi connectivity. For the no wifi areas I have a hotspot. In the RV I generally have a server (Win 2008 R2), 3 laptops (Win 7), 2 smart phones (Android), and a mini tablet (Android). I want to make a universal gateway out of an Acer A0751h-1545. My research took me to ClearOS as my OS choice, but I cannot seem to configure it as needed. These are my requirements: > > * The connection to the Internet must be made with a USB NIC with a high gain antenna This is just a routing/firewall setup issue. It is possible using Linux tools, but it may be that the graphic tools do not bend so far. You *do* need an address translating (NAT) firewall in the setup. The standard iptables package of Linux is good for this. > * Internal wireless must be provided by the built in wifi adapter This is a pain. A wireless network needs a base station, and few built-in WiFi adapters can be bent so far. You could get a WiFi router and connect it to the wired internal network instead. > * Internal wired network access must be provided by the built in wired network adapter OK > * The Gateway must provide DHCP services on the LAN This can be done with many different tools. My favorite is dnsmasq which also provides a DNS cache and local network host name service. > * I only want 1 internal LAN or if I must have two, I need to route traffic from one to the other. My devices frequently remote into each other and share files. Both are doable. The external WiFi router solves this to one network, but for several adapters, it is easier to set each to a separate network, and provide routing between them. There is also a possibility to bridge the wired adapter and WiFi together, but all WiFi drivers are not happy with it. A bridged connection is seen as an Ethernet switch, with all the participating adapters in the same subnet. > * I would strongly prefer the DHCP server to remember clients and reassign then the same IP time after time. This is actually a function of the clients. A well-behaving DHCP client asks for the addres it had previously. The DCHP server can be configured so that a certain MAC (hardware) address will get a pre-defined fixed address. > * I want a GUI or web based way to connect to the Internet via the wifi adapter. Connecting to various wifi sources at the command line level will be a pain and not something I can teach to those traveling with me. The NetworkManager present in many modern distributions will do this. > ClearOS managed to recognize all my network adapters: > * Realtek RTL8101E/RTL8102E (Built in wired) > * Qualcomm Atheros AR242x/AR542x (Built in Wireless) > * Ralink RT2501/RT2573 (USB Wireless) > > But the ClearOS network configuration tools do not allow me to configure a wireless adapter as the "External Connection" The last time I explored configuring routing tables I was working in SCO Unix and I have long since forget everything I knew about command line tools and configuration files. If you can point me in the right direction I'm sure I can get this going but I can't promise I won't ask some novice follow up questions. If ClearOS is not a good choice, I would prefer CentOS as I use that as my Web Host OS and I am very comfortable with it. > It seems that ClearOS is based on Red Hat, so google for instructions setting up networking in RH. And, sorry, my recent experience is from Debian -based distributions, so please don't ask me for specific instructions. -- Tauno Voipio
[toc] | [prev] | [next] | [standalone]
| From | Thad Floryan <thad@thadlabs.com> |
|---|---|
| Date | 2014-11-20 04:55 -0800 |
| Message-ID | <546DE4C4.1050306@thadlabs.com> |
| In reply to | #3158 |
On 11/20/2014 3:30 AM, Mark Casazza wrote:
> [...]
> ClearOS managed to recognize all my network adapters:
> * Realtek RTL8101E/RTL8102E (Built in wired)
> * Qualcomm Atheros AR242x/AR542x (Built in Wireless)
> * Ralink RT2501/RT2573 (USB Wireless)
Cool! You lucked-out bigtime! :-)
> [...]
> But the ClearOS network configuration tools do not allow
> me to configure a wireless adapter as the "External
> Connection" The last time I explored configuring routing
> tables I was working in SCO Unix and I have long since
> forget everything I knew about command line tools and
> configuration files. If you can point me in the right
> direction I'm sure I can get this going but I can't promise
> I won't ask some novice follow up questions. If ClearOS
> is not a good choice, I would prefer CentOS as I use that
> as my Web Host OS and I am very comfortable with it.
Two things:
1. Though it appears you're located in Pennsylvania, the
ba.internet (San Francisco Bay Area (aka Silicon Valley)
group has a ton of WiFi experts on configuration and
hardware. I don't do much with WiFi since all my boxes
are on a gigabit LAN.
2. I never heard of ClearOS before, so I checked here:
http://distrowatch.com/table.php?distribution=clearos
" ClearOS Enterprise is a server, network, and gateway platform
" designed for small businesses and distributed enterprise
" environments. ClearOS Enterprise is based upon ClearOS Core
" which is a rebuild of Red Hat Enterprise Linux.
And CentOS is a white-box unbranded RHEL so you "should" be
right at home using either ClearOS or CentOS.
Though I snipped it already (at the beginning of your article) I
noticed this:
" I would strongly prefer the DHCP server to remember clients
" and reassign then the same IP time after time.
That's trivial in the dhcpd.conf file. All my LAN computers have
fixed static addresses but I often boot Live CD and Lice DVD distros
and I prefer the physical hardware acquiring the same IP. Here are
a few example template entries from my dhcpd.conf noting a system's
MAC address is the "hardware ethernet" address:
host ubuntu {
hardware ethernet 00:06:5B:D5:0D:25;
fixed-address 172.20.20.56;
}
# cygnus' GiGE PCIe card
host cygnus {
hardware ethernet 00:1B:21:B0:70:B2;
fixed-address 172.20.20.59;
}
[...]
host lanserv2 {
hardware ethernet 00:50:43:01:D0:8A;
fixed-address 172.20.20.81;
}
Thad
[toc] | [prev] | [next] | [standalone]
| From | Frank Stutzman <stutzman@cat2.kjsl.com> |
|---|---|
| Date | 2014-11-20 13:20 +0000 |
| Message-ID | <m4kpr5$11o5$1@news.kjsl.com> |
| In reply to | #3160 |
Didn't really take a close look your trials and tribulations, but you should be aware that there are commercial products to meet all your requirements. Cradlepoint is one producer of such a router. One of their MBR95 routers run about a $100. Sometimes its just quicker and easier to just buy something. I can understand though its not always as satisfying. -- Frank Stutzman
[toc] | [prev] | [next] | [standalone]
| From | Gordon <Gordon@clear.net.nz> |
|---|---|
| Date | 2014-11-23 04:19 +0000 |
| Message-ID | <cdd5ijFi7lmU3@mid.individual.net> |
| In reply to | #3161 |
On 2014-11-20, Frank Stutzman <stutzman@cat2.kjsl.com> wrote: > Didn't really take a close look your trials and tribulations, but > you should be aware that there are commercial products to meet all > your requirements. Cradlepoint is one producer of such a router. One > of their MBR95 routers run about a $100. > > Sometimes its just quicker and easier to just buy something. I can > understand though its not always as satisfying. > Also leads to the lazy getting lazier. Also getting dumber as they do exercise their brains.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.os.linux.networking
csiph-web