Home Operating Systems FreeBSD Installing pfSense on the Toshiba Magnia SG30
Installing pfSense on the Toshiba Magnia SG30 PDF Print E-mail
Written by Matthew Abel   
Wednesday, 28 December 2011 12:22

 

Required hardware:
A PC with at LEAST TWO network interfaces.
A 2.5" laptop hard disk adapter, either USB or an Internal type.
If you use a USB adapter, make sure your PC can boot from a USB device

1. Remove the hard disk from your SG30. This is accomplished by using the thumbscrew on the back of the system. Unscrew the thumbscrew, then pull to remove the hard drive cover.

The primary hard drive is on the left-hand side if you are looking at the rear of the SG30. That is the drive you want. Remove the two screws holding the drive in place, then slide the drive towards the rear of the SG30.

2. Connect the SG30 hard to a USB-to-IDE adapter and connect it to a PC that is capable of booting from a USB device. (If you have an internal IDE adapter for 2.5" hard drives, you can use it instead.) Disconnect the data cable from the existing hard drive in the computer to eliminate the chance of formatting the wrong disk. (All you need is the hard drive from the SG30 and a CD or DVD drive configured as a boot device.

3. Insert your pfSense disc, and boot your system from it.

4. This step may vary depending on which pfSense image you dowloaded. The live CD I have requires that you press "I" to launch the installer. Do this if you need to.

5. Most settings in here are up to you. The Easy installer asks fewer questions. You basically want to perform a default install here.

6. After the installation has completed, remove the pfSense install disc, and boot from your SG30 hard drive.

7. pfSense asks some questions about interfaces the first time it starts. It doesn't really matter which interfaces you choose here. If by chance you happen to have rl0 and fxp0 listed, you can save a step here by choosing rl0 as the LAN interface and fxp0 as the WAN interface. If you do NOT have these, just assign them something.

8. Log in to the shell (option 8 at the console menu)

9. If you had rl0 and fxp0 available, you can skip to step 11.

10. Use ee to edit the config file:

Look for the <interfaces> line. Within the <interfaces> section you will find a
<lan> and a <wan> tag.

Change the interface name between <lan>???</lan> to <lan>rl0</lan>
Change the interface name between <wan>???</wan> to <wan>fxp0</wan>

Hit escape, and choose exit, then save.

11. Insert your pfSense disc into your CD-ROM drive again.

12. Mount the disc:

If the above does not work, you'll need to find the name of your CD-ROM device.

You can do that by running:

Search through this list of devices. Look for DVDRW or CDRW etc.

 

13. Now we'll install the serial (embedded) kernel.

When the disc is mounted, run (Note that -C is upper case!):

14. Change the device entries in fstab:

If you used a USB adapter, you will probably see two lines that start with /dev/da0. If not, no big deal.

change the first couple letters of the device name on both lines to ad.

If you had:

It should now read:

Press escape, choose exit, then save.

15. Shutdown the machine (gracefully! or you'll wind up with filesystem errors).

Press your power button. If the OS doesn't begin shutting down, run:

16. Remove the SG30 hard disk from the adapter and replace it into the SG30.

17. Power the SG30 on, and watch the LCD. YOu should eventually see boot output from pfSense begin to scroll over the screen.

18. Connect a PC to one of the LAN ports (1-7) on the SG30. Make sure the network card on the PC is set to gets it's adress via DHCP. Try connecting to

Using a web browser. You should get a login prompt. Login using:

User: admin
Password: pfsense

Now, if all went according to plan, you should have a working pfSense installation on your Magnia.

 

©1996-2014