Installation help



  • New to pfsense and would like to go ahead and install 2.0 full to the hard drive. When looking at the downloads I don't see the newest version offered in iso or img and the 2nd latest version is only offered in img not iso. I see the most current non snapshot version offered in live cd format. This being a rookie question hopefully someone can quickly point out what I need to do. I'd like not to burn the wrong stuff. I'm also going to be installing it to an IP330. I've ran smoothwall in the past and should be good however if anyone knows of a "how to" for pfsense on an ip330 let me know. thanks



  • I just finished doing this for one of my buddies..  Like most of the posts say.. this is alpha software!

    But here is how I did it.

    Things you will need:
    Nokia IP330
    CD-ROM drive
    Y Molex power adaptor
    IDE cable with 2 channels

    1. Download pfSense-1.2.2-LiveCD-Installer.iso, burn it to a disk.  Also grab the lastest 2.0 Alpha Full-Upgrade snapshot.

    2. Connect the set the hard drive as master and CD-ROM drive as slave.  These must be done via jumpers on the device.  Dont use Cable Select.  Connect the drives to the 2 channel IDE cable.

    3. Connect a serial cable to the serial port, console if you have both, and boot the host.  Standard Cisco settings.

    4.  Press TAB to enter the BIOS.  Select BIOS Feature SETUP, Change the Boot Sequence to "CD-ROM, C, A".  ESC to exit, then F10 to save and exit.

    5. Allow the host to boot.  You will boot to the setup page.  It should look like this: http://blog.migrate.ro/wp-content/uploads/2008/01/1.JPG .  But looks like this:

    When you get to the screen that looks like the press 6.  This will put you into the bootload command prompt.  Type the following: set console=comconsole.  Then press enter a few times once you can see the OK command prompt.  Then type boot. You should see the following picture.

    6. When asked to create VLANs, say NO.

    7. I used the following settings:
    fxp0 -> LAN (Closest to the serial connection)
    fxp2 -> WAN (far right) 
    fxp1 -> OPT1 (middle)

    8. Once the host is up.. log into the web console http://192.168.1.1 username:admin password:pfsense

    9. Cancel the initial configuration by clicking the pfsense logo.  Then click System -> Advanced.  Enable the serial console. Click Save.  Enable SSH, click save.  Make sure that you do both!! otherwise the 2.0 upgrade will be a waste of time!

    10. Once SSH has been enabled, SSH into the host, username:root password:pfsense, and run option 99.

    11. Follow the on screen guide.  There are plenty of guides out there for this part.  Make sure you not install the boot block!! Otherwise if you loose power you will have hit F1.  Also after the reboot follow step #5 again, then proceed to #12.

    12. Once the installation is completed, log back into the web console.  Click System-> Firmware, Enable firmware Upload, Browse to the 2.0 image you downloaded.  For me the most recent was pfSense-Full-Update-2.0-ALPHA-ALPHA-20090407-0825.tgz.  This should be done via IE..   It doesn't always work via Firefox.. it did for me.. but in the past it has not.  Once the upgrade is complete the host will reboot.

    13.  The reboot is completed, you will loose all network connectivity!  Don't panic!    Notice the WAN interface does not get an IP address.

    *** Welcome to pfSense 2.0-ALPHA-ALPHA-pfSense on pfSense ***

    WAN(wan)                  -> fxp2       -> NONE(DHCP)
      LAN(lan)                  -> fxp0       -> 10.10.0.1
      OPT1(opt1)                -> fxp1       -> NONE

    13a. If you are configuring this behind another firewall, assign a new IP range to the LAN interface!  Using the console select option 2, LAN, IP address of interface, subnet mask (most likely 24), y.

    14. Because 2.0 doesn't fix the FF:FF:FF:FF:FF:FF problem out of the box, yet.  You need to do this manually.  From the serial console, select option 8 (Shell), type the command ifconfig.  You will get a print out like the one below.  Notice the MAC Addresses.

    ifconfig

    fxp0: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 1500
            options=8 <vlan_mtu>ether ff:ff:ff:ff:ff:ff
            inet6 fe80::7831:833c:16db:3d3%fxp0 prefixlen 64 scopeid 0x1
            inet 10.10.0.1 netmask 0xffffff00 broadcast 10.10.0.255
            media: Ethernet autoselect (100baseTX <full-duplex>)
            status: active
    fxp1: flags=8802 <broadcast,simplex,multicast>metric 0 mtu 1500
            options=8 <vlan_mtu>ether ff:ff:ff:ff:ff:ff
            media: Ethernet autoselect (none)
            status: no carrier
    fxp2: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 1500
            options=8 <vlan_mtu>ether ff:ff:ff:ff:ff:ff
            inet6 fe80::7831:833c:16db:3d3%fxp2 prefixlen 64 scopeid 0x3
            media: Ethernet autoselect (none)
            status: no carrier
    plip0: flags=108810 <pointopoint,simplex,multicast,needsgiant>metric 0 mtu 1500
    enc0: flags=0<> metric 0 mtu 1536
    pflog0: flags=100 <promisc>metric 0 mtu 33204
    pfsync0: flags=41 <up,running>metric 0 mtu 1460
            pfsync: syncdev: lo0 syncpeer: 224.0.0.240 maxupd: 128
    lo0: flags=8049 <up,loopback,running,multicast>metric 0 mtu 16384
            inet 127.0.0.1 netmask 0xff000000
            inet6 ::1 prefixlen 128
            inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8

    Notice I currently have fpx0 connected.  Now issue the following commands:

    ifconfig fxp0 link 00:00:00:8c:43:23
    ifconfig fxp1 link 00:00:00:8c:33:23
    ifconfig fxp2 link 00:00:00:8c:53:23

    I then connected my WAN interface.

    ifconfig

    fxp0: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 1500
            options=8 <vlan_mtu>ether 00:00:00:8c:43:23
            inet6 fe80::7831:833c:16db:3d3%fxp0 prefixlen 64 scopeid 0x1
            inet 10.10.0.1 netmask 0xffffff00 broadcast 10.10.0.255
            media: Ethernet autoselect (100baseTX <full-duplex>)
            status: active
    fxp1: flags=8802 <broadcast,simplex,multicast>metric 0 mtu 1500
            options=8 <vlan_mtu>ether 00:00:00:8c:33:23
            media: Ethernet autoselect (none)
            status: no carrier
    fxp2: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 1500
            options=8 <vlan_mtu>ether 00:00:00:8c:53:23
            inet6 fe80::7831:833c:16db:3d3%fxp2 prefixlen 64 scopeid 0x3
            inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
            media: Ethernet autoselect (100baseTX <full-duplex>)
            status: active

    Notice the MAC addresses!

    Exit, type exit, back to the console.

    15. On your hosts renew the DHCP addresses.  The WAN interface should now have an IP address:

    *** Welcome to pfSense 2.0-ALPHA-ALPHA-pfSense on pfSense ***

    WAN(wan)                  -> fxp2       -> 192.168.1.144(DHCP)
      LAN(lan)                  -> fxp0       -> 10.10.0.1
      OPT1(opt1)                -> fxp1       -> NONE

    16. Log back into the web console, username:admin password:pfsense, and begin configuration.  You are done!

    Yes.. I am the same person who has the guides on testmy.net for smoothwall. ;)

    A few notes.. If you reboot the MAC address will be lost.  I am working on a script that will set them again.</full-duplex></vlan_mtu></up,broadcast,running,simplex,multicast></vlan_mtu></broadcast,simplex,multicast></full-duplex></vlan_mtu></up,broadcast,running,simplex,multicast></up,loopback,running,multicast></up,running></promisc></pointopoint,simplex,multicast,needsgiant></vlan_mtu></up,broadcast,running,simplex,multicast></vlan_mtu></broadcast,simplex,multicast></full-duplex></vlan_mtu></up,broadcast,running,simplex,multicast>


Log in to reply