topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday April 16, 2024, 3:05 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: [Project] Combining network devices into one SOHO Router/Server  (Read 4409 times)

Kamel

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 138
    • View Profile
    • Donate to Member
First just would like to say I wanted to post this somewhere to document what I'm doing, but I did not know where to post it. Please move to a more appropriate section if available.

SOHO Router/Server Project

What:
    I'll be building a linux based router PC (If all goes well), which will also act as a normal SOHO (small office home office) style server.

Why:
  • Electricity - I need to run a SOHO server PC anyway, so combining the SOHO with the router will have some power saving benefits
  • Power - A standard home router is generally on much weaker hardware, such as a slower embedded processor such as a RISC processor with 16 megs of ram. While I admire how much has been accomplished through custom firmware, I am looking for something much more capable.
  • Flexibility - With a full blown linux server as my gateway, I will not be restricted in hardware or software compared to an embedded router solution which the entire unit must be changed in order to upgrade a single component (wireless hardware, networking bridge, ram, cpu, etc). Software for a 32 bit/386 platform is vastly available, while building software for the different processors for embedded devices can be a difficult and tasking process. I do understand an impressively large number of apps have been ported and designed to work very well with OpenWRT, but it is no comparison to the number of applications available to the 32 bit platform.
  • Connectability - Using a linux server pc as a router will allow one to connect and route any type of layer2 network that can be ran on a standard linux box. Basically this means it will be more or less trivial to add a bluetooth tethered connection and route my entire network through that in the event of an outage. I could also use a 3G cell service without much headache, while getting these services to work under an embedded solution is quite difficult. Finally, dual WAN failover is very interesting to me. With DSL direct only being $20/month and ISP's beginning to monitor and restrict bandwidth, getting 2 ISP's and having dual wan failover is something we all may have an interest in as power users someday. I am preempting this a bit by getting a setup with dual wan failover which will ensure reliability of service and the ability to see the internet from 2 completely different vantage points without the need for purchasing commercial or dedicated lines such as a T1 for my residence.

Why Not?:
    It's a good question worth asking. I have had many suggest already to not do this, so if you're thinking this may be a good project for you to delve into yourself, you may want to consider some things. It will be very difficult to get this system working properly without purposely selected hardware and a rather difficult set up. To be entirely honest, BSD might even be a better OS to run on something like this, but I'm not as familiar with it so I have chosen linux for the time. Since I am just using the cheapest hardware I can get, or am simply using the stuff I already have laying around, getting it to play nice might be one of my biggest challenges. If this is something you're considering trying yourself, please first fully understand the challenges involved, and the alternative solutions that may be more suitable

    Also, there's a great risk the configuration may be just an SSH interface, rather than a pretty web GUI that we all love with those off the shelf routers. I might be able to use webmin or something similar, but doing so may incur a security risk as well as not really have the routing options available (more system maintenance than anything, really)

    Finally, as has been mentioned many times, price. The price of this may be much higher than a regular WRT54GL router which you can buy off of the shelf, load OpenWRT/DD-WRT/Tomato on and get up and routing your network in a matter of an hour or less. This setup will be far more costly as far as price to purchase and maintain equipment, and the time required to put into it. I would not recommend this for everyone, but it may be something we begin to see more of in the future.

Services:
    I hope to have this server act as a routing platform for routing my home network through unlimited amount of gateways to the internet. I may be using cable, dsl, cell phone service, 56k, etc. This will change depending on availability to me and what I feel like playing with. I also use skype (soon switching to magic jack) for my home phone service, I need to have this server run this as well, since one of my primary objectives is to combine all of my server needs into one machine. This may be challenging due to lack of linux support both skype and magic jack hardware have. Finally, I have some standard services I'd like to serve, including: NFS, Squid, httpd, ftpd, identd, pybnc, and openvpn. I will be adjusting this list constantly according to needs of course.

How:
    I have not entirely decided yet, but since there seems to be no viable existing linux distros which will allow what I am trying to accomplish, I am leaning towards Gentoo due to its flexibility, and lack of a "standard build". IPCop and pfsense are very appealing, but do not offer the amount of expansion I'm hoping for. It would be silly to go through all the effort then be limited by the distro I chose. eBox ubuntu based SOHO distro is _very_ appealing, but unfortunately makes my current box chug quite a bit because of how much it has on it.

Hardware:
  • Processor: P3 1Ghz
  • Ram:512mb pc133 (non-ECC)
  • Network:3Com 3C920 Integrated 100mbit NIC, Linksys NC100 100mbit NIC, Foxconn 54g pci Wireless card (rt2500 chipset)
  • Expansion:5 PCI slots (2 in use), 2 USB slots (1 in use)
  • VOIP:Zoom Skype ATA 5900
  • Cost:$30 (so far)
Anyway, that's about it for the overview. I am going to be updating this thread with pictures and information as I progress.

If you have any suggestions for good hardware to use, especially for wireless (range+linux compatability most important) and VOIP (magicjack+skype) please let me know.

Current pic of setup:
I'm the guy you yell at when your DSL goes down...
« Last Edit: February 17, 2010, 10:34 AM by Kamel »

JavaJones

  • Review 2.0 Designer
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 2,739
    • View Profile
    • Donate to Member
Re: [Project] Combining network devices into one SOHO Router/Server
« Reply #1 on: February 18, 2010, 12:25 AM »
I doubt I'll ever attempt anything like this as I have a fear of Linux. ;) But it's an interesting project and I'll certainly be watching your progress.

2 comments. First, do you have any experience with MagicJack, or at least looked into it a fair amount? I ask because we've tried to use it in 2 totally separate locations, with different 'net connections, in different states, one of which has a pretty fat pipe and very solid connection, and in both cases it has been *miserable*. Intermittent audio dropouts, beeps and clicks, dropped calls, busy signals, on and on. I wouldn't recommend it. Skype is at least less of a "closed box", and I think there are even other audio chat systems that might interface better with Linux. If it's connection to standard land lines you're after (as I suspect), your options are probably more limited, but I bet there's a VOIP provider out there that has Linux support either directly, or through 3rd party software.

Second, you mentioned eBox, so it's probably safe to assume you've looked into all the other existing Linux variants that focus on routing/firewall/gateway. But just in case, here's a reminder: look into it. ;) I'm fairly sure there are some good off-the-shelf solutions. Whether they will work with your hardware is another question, and whether they'll offer you the customization you want is another question still, but I reckon the latter is surely satisfied by at least one distro out there...

- Oshyan

Innuendo

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 2,266
    • View Profile
    • Donate to Member
Re: [Project] Combining network devices into one SOHO Router/Server
« Reply #2 on: February 18, 2010, 08:33 PM »
I've never used MagicJack, but I've talked to a few people who have & I have yet to hear a good review of the product. Everyone's experiences echo JavaJones's.

And a comment on the pic - Ahhhh, the wondrous computing products of yesteryear. That pic is a sea of beige. :)   Oh, and great labeling.  ;D   

Kamel

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 138
    • View Profile
    • Donate to Member
Re: [Project] Combining network devices into one SOHO Router/Server
« Reply #3 on: February 19, 2010, 09:02 AM »
Thanks for your response JJ. I have not tried magic jack yet, I have a trial coming in the mail. If I have trouble with it similar to what you described, I will definitely be kicking it to the curb. From what I've heard it's pretty good, but I've only heard from less advanced users.

I did some research and I saw some other adapter options, it looks like this one seems to be the one I am most interested in currently >>
http://www.newegg.co...239&Tpk=SPA-3102

It would be preferable to combine the VOIP into the SOHO server (purely looking at cost in that statement), but it may not be practical in many different senses. A hardware solution will offer more reliability and with an FXO port, I will be able to combine it with a POTS line which is very interesting to me.

I am seriously considering many different aspects of this, I may end up changing the design a lot, but in the end I will definitely be using a SOHO server pc of some sort, it's just the types of things I'll put on it I am still considering.

I may end up with a setup more similar to this dual internet gateways >> SOHO router >> off the shelf router >> network, but still working out the kinks. Apparently, what I'm trying to accomplish hasn't been done before, and no one seems to care lol.

It's my thought that it can be done with advanced iptables scripts etc but my knowledge is limited in the area of making my own. Perhaps this project will be a revenue for me learning these things, but I would prefer not expend the energy if it will not payoff ultimately with the setup I intend.

We'll see what happens, I'll keep this post updated as I progress :)
I'm the guy you yell at when your DSL goes down...

JavaJones

  • Review 2.0 Designer
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 2,739
    • View Profile
    • Donate to Member
Re: [Project] Combining network devices into one SOHO Router/Server
« Reply #4 on: February 19, 2010, 05:44 PM »
Sounds good. I'll definitely be watching. :)

- Oshyan

Kamel

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 138
    • View Profile
    • Donate to Member
Re: [Project] Combining network devices into one SOHO Router/Server
« Reply #5 on: February 25, 2010, 11:35 AM »
I've still not decided on a VOIP provider or an ATA for the said provider. I like skype a lot, and am very interested in the dial plans available in the advanced VOIP/SIP boxes out there. I hate having to use USB, that makes me cringe. If I could find a decent skype ethernet adapter I'd be all over it.

Anyway, that's my current snag, as well as wife lost job, funds dwindling, mom sick, the standard my life sucks crap
I'm the guy you yell at when your DSL goes down...