Linux.com

BlueToast

BlueToast

  • Linux.com Member
  • Posts: 20
  • Member Since: 24 Sep 10
  • Last Logged In: 16 Jan 12

Latest Posts

Posted by
Topic
Post Preview
Posted
  • BlueToast
    DHCP Servers
    I am trying to figure out which servers on the network are acting as DHCP servers. Then I would like to stop them from being DHCP servers and have the pfSense server be the DHCP server. All the servers run Linux (Debian I think), and are of course outdated versions. Please help me to do this. What is the first thing I should do and how? EDIT: Nevermind, found out by doing [b]pgrep dhcpd[/b] on all the servers via SSH.
    Link to this post 23 Dec 10

    I am trying to figure out which servers on the network are acting as DHCP servers. Then I would like to stop them from being DHCP servers and have the pfSense server be the DHCP server. All the servers run Linux (Debian I think), and are of course outdated versions. Please help me to do this. What is the first thing I should do and how?

    EDIT: Nevermind, found out by doing pgrep dhcpd on all the servers via SSH.

  • BlueToast
    RE: FreeBSD (pfSense) -- Can't boot after install
    Problem solved! FreeBSD didn't like large capacities for /. [b]Source:[/b] http://hardforum.com/showpost.php?p=1036454153&postcount=10 [quote][quote=YeOldeStonecat;1036453932]Using the IDE only....check Burning at slowest....check Hmmm....can you go into the BIOS and disable the onboard SATA ports? Just to ensure that they're out of the way?[/quote]They are disabled. :p Everything below are BIOS defaults unless otherwise stated. [list] [*]Advanced [list] [*]CPU Configuration [list] [*]Ratio CMOS Settings: 255 [*]HyperThreading: Enabled [/list] [*]IDE Configuration [list] [*]IDE Legacy COnfiguration: P-ATA Only [*]S-ATA Running Enhanced Mode: [b]No (default is Yes)[/b] [*]P-ATA Channel Selection: Both [*]Only if S-ATA Running Enhanced Mode is not [i]No[/i] -- S-ATA Ports Definition: P0-3rd./P1-4th. [*]Only if S-ATA Running Enhanced Mode is not [i]No[/i] -- Configure S-ATA as RAID: No [*]Channel 0 Master: Hard Disk [list] [*]Type: Auto [*]LBA/Large Mode: Auto [*]Block (Multi-Sector Transfer): Auto [*]PIO Mode: Auto [*]DMA Mode: Auto [*]S.M.A.R.T.: Auto [*]32Bit Data Transfer: Disabled [/list] [*]Channel 1 Slave: ATAPI CDROM [list] [*]Type: Auto [*]PIO Mode: Auto [*]DMA Mode: Auto [/list] [*]Hard Disk Write Protect: Disabled [*]IDE Detect Time Out (sec): [b]15 (default is 35)[/b] [*]ATA(PI) 80Pin Cable Detection: Host & Device [/list] [*]Floppy Configuration [list] [*]Floppy A: [b]Disabled (default is 1.44 MB 31/2")[/b] [*]Floppy B: Disabled [/list] [*]SuperIO Configuration [list] [*]OnBoard Floppy Controller: [b]Disabled (default is Enabled)[/b] [*]Serial Port1 Address: [b]Disabled (default is 3F8/IRQ4)[/b] [*]Serial Port2 Address: [b]Disabled (default is 2F8/IRQ3)[/b] [*]Only if Serial Port2 Address is not [i]Disabled[/i] -- Serial Port2 Mode: Normal [*]Parallel Port Address: Disabled (default is) [/list] [*]ACPI Configuration [list] [*]ACPI Aware O/S: Yes [*]Advanced ACPI Configuration [list] [*]ACPI 2.0 Features: [b]Yes (default is No)[/b] [*]ACPI APIC support: Enabled [*]AMI OEMB table: Enabled [*]Headless mode: Disabled [/list] [*]WOL S4&S5 Support: Enabled [*]Power Button Instant Off: [b]Disabled (default is Enabled)[/b] [*]After Power Failure: Always Off [/list] [*]Event Log Configuration [*]Remote Access Configuration [list] [*]Remote Access: [b]Disabled (default is SMDC)[/b] [/list] [*]USB Configuration [list] [*]USB Function: [b]Disabled (default is 4 USB Ports)[/b] [*]Only if USB Function is not [i]Disabled[/i] -- Legacy USB Support: Enabled [*]Only if USB Function is not [i]Disabled[/i] -- USB 2.0 Controller: Enabled [*]Only if USB 2.0 Controller is not [i]Disabled[/i] -- USB 2.0 Controller Mode: HiSpeed [*]USB Mass Storage Device Configuration [list] [*]USB Mass Storage Reset Delay: 20 sec [/list] [/list] [*]OnBoard Devices Configuration [list] [*]Onboard ATI Video: Enabled [*]Onbaord 82551 LAN: Enabled [*]Remote Boot OS by 82551: Disabled [*]Onboard 82546 DualPort LAN: Enabled [*]Remote Boot OS by 82546: Disabled [/list] [*]Hardware Monitor [list] [*]Auto-Control Fan's Speed: Disabled [*]Chassis Instrusion Detect: Disabled [/list] [*]Back Plan Fan Speed [/list] [*]PCIPnP [list] [*]Plug & Play O/S: Yes [*]PCI Latency Timer: 64 [*]Allocate IRQ to PCI VGA: Yes [*]Palette Snooping: Disabled [*]PCI IDE BusMaster: Enabled [*]IRQ3: Available [*]IRQ4: Available [*]IRQ5: Available [*]IRQ7: Available [*]IRQ9: Available [*]IRQ10: Available [*]IRQ11: Available [*]IRQ14: Available [*]IRQ15: Available [*]DMA Channel 0: Available [*]DMA Channel 1: Available [*]DMA Channel 3: Available [*]DMA Channel 5: Available [*]DMA Channel 6: Available [*]DMA Channel 7: Available [*]Reserved Memory Size: Disabled [*]Extended BIOS Data Area: Enabled [/list] [*]Boot [list] [*]Boot Settings Configuration [list] [*]Quick Boot: [b]Enabled (default is Disabled)[/b] [*]Quiet Boot: Disabled [*]AddOn ROM Display Mode: Force BIOS [*]Bootup Num-Lock: On [*]PS/2 Mouse Support: Auto [*]Wait for 'F1' If Error: Enabled [*]Hit 'DEL' Message Display: Enabled [*]Interrupt 19 Capture: Enabled [*]Primary Display Device: Auto [/list] [*]Boot Device Priority [list] [*]1st Boot Device: PM-WDC WD1600AAJB-00J3A0 [*]2nd Boot Device: SS-ATAPI-CD ROM-DRIVE-56MAX [/list] [*]Hard Disk Drives [*]ATAPI CDROM Drives [/list] [*]Security [list] [*]Boot Sector Virus Protection: Disabled [/list] [*]Chipset [list] [*]Intel E7500/E7501 North Bridge Configuration [list] [*]Chipset Memory Remap Feature: Enabled [*]CAS Latency: Auto [/list] [*]South Bridge Configuration [list] [*]MPS Revision: 1.4 [/list] [*]Intel PCI-64 Hub 2 Configuration [list] [*]PCI Bus Frequency: Auto [/list] [*]Clock Gen. Spread Spectrum: Disabled [/list] [/list] Now, before I wrote this up and was actually preparing to write this up, I attempted to install pfSense through Advanced/Expert installation. Through this, I formatted and partitioned the harddisk, and set [b]/ to be 1024M[/b] and [b]swap to be 8192M[/b] (this I did differently from all other installs, although I have tried partitioning the harddisk as 16GB before but without changing these values for [b]/[/b] and [b]swap[/b] here). This time it actually [b][u]fully successfully booted[/u][/b] into pfSense without a problem. I am going to try this again but [b]partitioned to 100%[/b] (it worked like this in previous paragraph) with [b]16GB on /[/b] instead of 1GB, and [b]8GB on swap[/b]. I am also going to enable [i]32Bit Data Transfer[/i] on the harddrive. (EDIT: Added a third one as [b]storage to be * (remaining capacity of primary partition)[/b].) [b][u][color=#2DFF10]Success[/color][/u][/b]. [b]Trial 2:[/b] partitioned 100%, / to be 32GB, swap to be 8GB, storage to be *, BIOS settings unchanged from first trial... [b][u][color=#2DFF10]Success[/color][/u][/b] [b]Trial 3:[/b] partitioned 100%, / to be 64GB, swap to be 8GB, storage to be *... [b][u][color=#FF000A]Failure[/color][/u][/b] FreeBSD must have a thing about large capacities.[/quote]
    Link to this post 20 Nov 10

    Problem solved! FreeBSD didn't like large capacities for /.

    Source: http://hardforum.com/showpost.php?p=1036454153&postcount=10

    [quote=YeOldeStonecat;1036453932]Using the IDE only....check
    Burning at slowest....check

    Hmmm....can you go into the BIOS and disable the onboard SATA ports? Just to ensure that they're out of the way?
    They are disabled. :p

    Everything below are BIOS defaults unless otherwise stated.

    • Advanced

      • CPU Configuration

        • Ratio CMOS Settings: 255

        • HyperThreading: Enabled


      • IDE Configuration

        • IDE Legacy COnfiguration: P-ATA Only

        • S-ATA Running Enhanced Mode: No (default is Yes)

        • P-ATA Channel Selection: Both

        • Only if S-ATA Running Enhanced Mode is not No -- S-ATA Ports Definition: P0-3rd./P1-4th.

        • Only if S-ATA Running Enhanced Mode is not No -- Configure S-ATA as RAID: No

        • Channel 0 Master: Hard Disk

          • Type: Auto

          • LBA/Large Mode: Auto

          • Block (Multi-Sector Transfer): Auto

          • PIO Mode: Auto

          • DMA Mode: Auto

          • S.M.A.R.T.: Auto

          • 32Bit Data Transfer: Disabled


        • Channel 1 Slave: ATAPI CDROM

          • Type: Auto

          • PIO Mode: Auto

          • DMA Mode: Auto


        • Hard Disk Write Protect: Disabled

        • IDE Detect Time Out (sec): 15 (default is 35)

        • ATA(PI) 80Pin Cable Detection: Host & Device


      • Floppy Configuration

        • Floppy A: Disabled (default is 1.44 MB 31/2")

        • Floppy B: Disabled


      • SuperIO Configuration

        • OnBoard Floppy Controller: Disabled (default is Enabled)

        • Serial Port1 Address: Disabled (default is 3F8/IRQ4)

        • Serial Port2 Address: Disabled (default is 2F8/IRQ3)

        • Only if Serial Port2 Address is not Disabled -- Serial Port2 Mode: Normal

        • Parallel Port Address: Disabled (default is)


      • ACPI Configuration

        • ACPI Aware O/S: Yes

        • Advanced ACPI Configuration

          • ACPI 2.0 Features: Yes (default is No)

          • ACPI APIC support: Enabled

          • AMI OEMB table: Enabled

          • Headless mode: Disabled


        • WOL S4&S5 Support: Enabled

        • Power Button Instant Off: Disabled (default is Enabled)

        • After Power Failure: Always Off


      • Event Log Configuration

      • Remote Access Configuration

        • Remote Access: Disabled (default is SMDC)


      • USB Configuration

        • USB Function: Disabled (default is 4 USB Ports)

        • Only if USB Function is not Disabled -- Legacy USB Support: Enabled

        • Only if USB Function is not Disabled -- USB 2.0 Controller: Enabled

        • Only if USB 2.0 Controller is not Disabled -- USB 2.0 Controller Mode: HiSpeed

        • USB Mass Storage Device Configuration

          • USB Mass Storage Reset Delay: 20 sec



      • OnBoard Devices Configuration

        • Onboard ATI Video: Enabled

        • Onbaord 82551 LAN: Enabled

        • Remote Boot OS by 82551: Disabled

        • Onboard 82546 DualPort LAN: Enabled

        • Remote Boot OS by 82546: Disabled


      • Hardware Monitor

        • Auto-Control Fan's Speed: Disabled

        • Chassis Instrusion Detect: Disabled


      • Back Plan Fan Speed


    • PCIPnP

      • Plug & Play O/S: Yes

      • PCI Latency Timer: 64

      • Allocate IRQ to PCI VGA: Yes

      • Palette Snooping: Disabled

      • PCI IDE BusMaster: Enabled

      • IRQ3: Available

      • IRQ4: Available

      • IRQ5: Available

      • IRQ7: Available

      • IRQ9: Available

      • IRQ10: Available

      • IRQ11: Available

      • IRQ14: Available

      • IRQ15: Available

      • DMA Channel 0: Available

      • DMA Channel 1: Available

      • DMA Channel 3: Available

      • DMA Channel 5: Available

      • DMA Channel 6: Available

      • DMA Channel 7: Available

      • Reserved Memory Size: Disabled

      • Extended BIOS Data Area: Enabled


    • Boot

      • Boot Settings Configuration

        • Quick Boot: Enabled (default is Disabled)

        • Quiet Boot: Disabled

        • AddOn ROM Display Mode: Force BIOS

        • Bootup Num-Lock: On

        • PS/2 Mouse Support: Auto

        • Wait for 'F1' If Error: Enabled

        • Hit 'DEL' Message Display: Enabled

        • Interrupt 19 Capture: Enabled

        • Primary Display Device: Auto


      • Boot Device Priority

        • 1st Boot Device: PM-WDC WD1600AAJB-00J3A0

        • 2nd Boot Device: SS-ATAPI-CD ROM-DRIVE-56MAX


      • Hard Disk Drives

      • ATAPI CDROM Drives


    • Security

      • Boot Sector Virus Protection: Disabled


    • Chipset

      • Intel E7500/E7501 North Bridge Configuration

        • Chipset Memory Remap Feature: Enabled

        • CAS Latency: Auto


      • South Bridge Configuration

        • MPS Revision: 1.4


      • Intel PCI-64 Hub 2 Configuration

        • PCI Bus Frequency: Auto


      • Clock Gen. Spread Spectrum: Disabled

    Now, before I wrote this up and was actually preparing to write this up, I attempted to install pfSense through Advanced/Expert installation. Through this, I formatted and partitioned the harddisk, and set / to be 1024M and swap to be 8192M (this I did differently from all other installs, although I have tried partitioning the harddisk as 16GB before but without changing these values for / and swap here). This time it actually fully successfully booted into pfSense without a problem.

    I am going to try this again but partitioned to 100% (it worked like this in previous paragraph) with 16GB on / instead of 1GB, and 8GB on swap. I am also going to enable 32Bit Data Transfer on the harddrive. (EDIT: Added a third one as storage to be * (remaining capacity of primary partition).) Success.

    Trial 2: partitioned 100%, / to be 32GB, swap to be 8GB, storage to be *, BIOS settings unchanged from first trial... Success

    Trial 3: partitioned 100%, / to be 64GB, swap to be 8GB, storage to be *... Failure

    FreeBSD must have a thing about large capacities.[/quote]

  • BlueToast
    RE: FreeBSD (pfSense) -- Can't boot after install
    [b]BlueToast wrote:[/b] [quote][b]mfillpot wrote:[/b] [quote]It says that it cannot open or read the first partition of the first hard drive. Most likely your choice of filesystems was not set in the ramdisk image that is used to boot the OS. Did you select to use the default filesystem type on installation or did you choose a non-default filesystem?[/quote]I don't recall having the ability of selecting the filesystem type. Let me check again later today..[/quote]Well... pfSense and I.. I'm like.. FFFFFFFFFFFFFFFFFFFFFFFFFFFFU- pfSense must be like.. [img]http://www.linux.com/components/com_kunena/template/default/images/english/emoticons/grin.gif[/img] (although maybe it is also having a super secret kernel panic for retarded reasons and doing the same thing I am) Quickly read up at http://forum.pfsense.org/index.php/topic,29849.msg156495.html#msg156495 and the post that follows. :( I think pfSense is FreeBSD-only.
    Link to this post 19 Nov 10

    BlueToast wrote:

    [b]mfillpot wrote:[/b]
    [quote]It says that it cannot open or read the first partition of the first hard drive. Most likely your choice of filesystems was not set in the ramdisk image that is used to boot the OS. Did you select to use the default filesystem type on installation or did you choose a non-default filesystem?
    I don't recall having the ability of selecting the filesystem type. Let me check again later today..[/quote]Well...

    pfSense and I.. I'm like.. FFFFFFFFFFFFFFFFFFFFFFFFFFFFU-
    pfSense must be like.. (although maybe it is also having a super secret kernel panic for retarded reasons and doing the same thing I am)

    Quickly read up at http://forum.pfsense.org/index.php/topic,29849.msg156495.html#msg156495 and the post that follows. :(

    I think pfSense is FreeBSD-only.

  • BlueToast
    RE: FreeBSD (pfSense) -- Can't boot after install
    [b]mfillpot wrote:[/b] [quote]It says that it cannot open or read the first partition of the first hard drive. Most likely your choice of filesystems was not set in the ramdisk image that is used to boot the OS. Did you select to use the default filesystem type on installation or did you choose a non-default filesystem?[/quote]I don't recall having the ability of selecting the filesystem type. Let me check again later today..
    Link to this post 19 Nov 10

    mfillpot wrote:

    It says that it cannot open or read the first partition of the first hard drive. Most likely your choice of filesystems was not set in the ramdisk image that is used to boot the OS. Did you select to use the default filesystem type on installation or did you choose a non-default filesystem?
    I don't recall having the ability of selecting the filesystem type. Let me check again later today..

  • BlueToast
    RE: FreeBSD (pfSense) -- Can't boot after install
    [b]mfillpot wrote:[/b] [quote]It sounds like the error message that you are receiving is a kernel panic that is stopping the rotating character and boot cycle. I have not used pfSense and don't know the installation procedures but a kernel panic is the result of installing conflicting drivers or missing kernel files, I would recommend installing psSense in a virtual machine a few time to better understand what it is doing. You can probably have some luck reading the filesystem from a BSD based livecd, I found a project that is working on one at http://livecd.sourceforge.net/download.php[/quote]Going to try the LiveCD once it finishes downloading and I burn it to a CD. In other news, I noticed the other day (when paying more attention) that there is a gibberish line during the reboot sequence immediately following the pfSense installation: [img]http://www.hlrse.net/Qwerty/pfsense_IMG_2299.jpg[/img] When I try to fsck using FreeBSD LiveCD v4.6: [img]http://www.hlrse.net/Qwerty/pfsense_IMG_2302.jpg[/img] [quote][LiveCD] /dev # fsck -f ad0a ad0: rejecting BSD label: raw partition offset != slice offset ad0: start 63, end 156301487, size 156301425 ad0c: start 0, end 156301424, size 156301425 ad0: cannot find label (fixlabel: raw partition offset != slice offset) ad0s1: rejecting BSD label: raw partition offset != slice offset ad0s1: start 63, end 156301487, size 156301425 ad0s1c: start 0, end 156301424, size 156301425 ad0s1: cannot find label (fixlabel: raw partition offset != slice offset) Can't open ad0a: Invalid argument [LiveCD] /dev #[/quote]
    Link to this post 18 Nov 10

    mfillpot wrote:

    It sounds like the error message that you are receiving is a kernel panic that is stopping the rotating character and boot cycle. I have not used pfSense and don't know the installation procedures but a kernel panic is the result of installing conflicting drivers or missing kernel files, I would recommend installing psSense in a virtual machine a few time to better understand what it is doing.

    You can probably have some luck reading the filesystem from a BSD based livecd, I found a project that is working on one at http://livecd.sourceforge.net/download.php
    Going to try the LiveCD once it finishes downloading and I burn it to a CD.

    In other news, I noticed the other day (when paying more attention) that there is a gibberish line during the reboot sequence immediately following the pfSense installation:

    When I try to fsck using FreeBSD LiveCD v4.6:

    [LiveCD] /dev # fsck -f ad0a
    ad0: rejecting BSD label: raw partition offset != slice offset
    ad0: start 63, end 156301487, size 156301425
    ad0c: start 0, end 156301424, size 156301425
    ad0: cannot find label (fixlabel: raw partition offset != slice offset)
    ad0s1: rejecting BSD label: raw partition offset != slice offset
    ad0s1: start 63, end 156301487, size 156301425
    ad0s1c: start 0, end 156301424, size 156301425
    ad0s1: cannot find label (fixlabel: raw partition offset != slice offset)
    Can't open ad0a: Invalid argument
    [LiveCD] /dev #

  • BlueToast
    FreeBSD (pfSense) -- Can't boot after install
    My original thread is at [url]http://forum.pfsense.org/index.php/topic,29849.0.html[/url], but I am trying to see if I can "load-balance" and try to get help from multiple locations through a broader publicity. [b]Here is the problem:[/b] Computer starts. Boot menu with "F1 FreeBSD" and a prompt for a shortcut key shows up (you either wait a couple seconds or hit F1). The next line after the boot prompt is a non-rotating "|" or "\" (it will start out as - and rotate clockwise to said position, then never move again); pressing CTRL+ALT+DEL results in instant reboot. What's wrong? I have tried many things. :( Any suggestions? Also, I have tried to mount the partition, but Partition Magic from UBCD v5.0.2 (not sure how outdated Partition Magic on that is) ends up giving me an error about unknown filesystem and stuff; pfSense uses a UFS2 filesystem.
    Link to this post 16 Nov 10

    My original thread is at http://forum.pfsense.org/index.php/topic,29849.0.html, but I am trying to see if I can "load-balance" and try to get help from multiple locations through a broader publicity.

    Here is the problem:
    Computer starts.
    Boot menu with "F1 FreeBSD" and a prompt for a shortcut key shows up (you either wait a couple seconds or hit F1).
    The next line after the boot prompt is a non-rotating "|" or "\" (it will start out as - and rotate clockwise to said position, then never move again); pressing CTRL+ALT+DEL results in instant reboot.

    What's wrong? I have tried many things. :( Any suggestions? Also, I have tried to mount the partition, but Partition Magic from UBCD v5.0.2 (not sure how outdated Partition Magic on that is) ends up giving me an error about unknown filesystem and stuff; pfSense uses a UFS2 filesystem.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board