Results 1 to 8 of 8

Thread: Linux on HP dc7700

  1. #1
    Gold Member
    Slicker's Avatar
    Join Date
    October 25th, 2010
    Location
    South of Cheeseland
    Posts
    1,253

    Linux on HP dc7700

    If you have an HP dc7700 and want to use it to build a multi-ISP Linux firewall, my advice is to:
    1) sell it on eBay
    2) use the money to buy a different computer

    Why?
    Our ISP provided us with a Cisco WRV210 router. It only supports one Internet connection. From the reviews, it looks like it will work like poo even with just the one. It's basically a $60 LinkSys router with "Cisco Business" on the label. For work , I really needed redundant robust firewalls that would support hundreds of concurrent users without dropping a connection and has VPN support since my business partner and I both work from our homes. After seeing researching Cisco wanted for their high-end firewall routers, I decided I could build a Linux firewall/router for a lot less money. 90% less to be exact.

    So, I picked up a couple used HP dc7700 small form factor PCs. They may be used, but their CPUs are about 12 times the speed of the WRV210. I added 3 additional gigabit NICs to each for a total of 4 (outside, inside, web dmz, and wirelss dmz) and another GB or RAM. I figured I'd try using the new version of IPCop - the first major release in a number of years. Nope. It only recognized 2 of the NICs and wouldn't let me compile the required modules (drivers) to get the other two NICs to work. Next, Smoothwall. Then ClearOS. Then Fedora. Then Ubuntu. Oops, wrong version. Needed Ubuntu 32-bit. Still didn't work and since I trust Ubuntu about as far as I can spit, I decided to move on even though it did install. It just gave me hope that another distro may work as well. I think I went through about 9 different distros altogether. CentOS and FreeBSD were about the only ones I didn't try. They all either didn't recognize the NICs and wouldn't let me build the drivers, or Linux would install but hang on the first boot.

    It turned out that the BIOS on the dc7700 was a major part of the problem. But after upgrading the BIOS, I still had issues with it hanging when booting or when starting Xwindows. After hours and hours of trial and error and turning off APIC and several other items, I finally got Debian 6 to install. Naturally, it only recognized two NICs. That meant getting the compiler, kernel headers, etc. in order to build the modules for the two unrecognized NICs. Once that was done, it was time to install and configure the Shorewall firewall. There are a couple reasons for that. First, I really don't know squat about iptables as I'd only worked with packet filters in the past. Second, Shorewall also handles multiple ISPs and can be set up to either load balance between them or use one as a primary and the other as a failover.

    What I thought should have been an hour or so to configure Shorewall took another 10 hours since there was a bug in the Shorewall code that I eventually found out about via Google and had to patch the code because it was adding the default gateway for the second ISP multiple times which wouldn't work and then it would stop running. Then came the OpenVPN install. It couldn't find a required libary. I knew the library was installed. It turns out that the VPN software was using the wrong name for the libary (openvpn-auth-pam instead of openvpm-pam-auth). A symbolic link fixed that, but it took a couple hours to track that issue down.

    I still have to configure the wireless-N NIC to act as an access point. Then I need to test all the firewall rules and the failover functionality. Once that is done, I need to clone it to the failover firewall machine since, with all the trial and error changes I made, I doubt I can remember exactly what I all had to do to get it working. That will have to wait until next week.
    Spring 2008 Race: (1st Place)

  2. #2
    Advisor - Stateside Division
    Bok's Avatar
    Join Date
    October 14th, 2010
    Location
    Wake Forest, NC
    Posts
    1,211

    Re: Linux on HP dc7700

    How was the smoothwall install ? I've rarely had any issues with smoothwall even on more esoteric hardware. OpenBSD is even better in most cases, though it's a lot less friendly and you would have to mess about with iptables directly likely. I ran that as my firewall for many years (I use smoothwall now).

    What kind of NIC's did you install extra that aren't being detected ?

  3. #3
    Past Administrator
    Fire$torm's Avatar
    Join Date
    October 13th, 2010
    Location
    In the Big City
    Posts
    7,938

    Re: Linux on HP dc7700



    Future Maker? Teensy 3.6

  4. #4
    Past Administrator
    DrPop's Avatar
    Join Date
    October 13th, 2010
    Location
    SoCal, USA
    Posts
    7,635
    Holy moley!!!

    Sent from my MB860 using Tapatalk 2

  5. #5
    Gold Member
    trigggl's Avatar
    Join Date
    November 6th, 2010
    Location
    Arkansas
    Posts
    2,077

    Re: Linux on HP dc7700

    Sounds like you tried everything but Gentoo. (and Arch)
    6r39 7r199



  6. #6
    Past Admin
    Mike029's Avatar
    Join Date
    October 24th, 2010
    Location
    Bronx, New York
    Posts
    3,377

    Re: Linux on HP dc7700

    Can you come fix my 8 track player?

    sam-8trackpic1.jpg



  7. #7
    Gold Member
    trigggl's Avatar
    Join Date
    November 6th, 2010
    Location
    Arkansas
    Posts
    2,077

    Re: Linux on HP dc7700

    Quote Originally Posted by Mike029 View Post
    Can you come fix my 8 track player?
    Does it have an internet connection?
    6r39 7r199



  8. #8
    Gold Member
    Slicker's Avatar
    Join Date
    October 25th, 2010
    Location
    South of Cheeseland
    Posts
    1,253

    Re: Linux on HP dc7700

    Quote Originally Posted by Bok View Post
    How was the smoothwall install ? I've rarely had any issues with smoothwall even on more esoteric hardware. OpenBSD is even better in most cases, though it's a lot less friendly and you would have to mess about with iptables directly likely. I ran that as my firewall for many years (I use smoothwall now).

    What kind of NIC's did you install extra that aren't being detected ?
    The ASUS Wireless N PCE-N15 and the D-LinkDGE-530T both needed the modules compiled in order for them to work. The main reason I went with Shorewall is because you can set up two ISPs on a single interface or have one per interface which is what I did. The online examples worked well. That was the easiest part of the setup so far.
    Spring 2008 Race: (1st Place)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •