Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    [resolved] pfsense-beta-102 netboot hangs @ "Lan configuration …"

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    25 Posts 6 Posters 12.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      billm
      last edited by

      I believe the following worked for netbooting the cdrom…don't quote me on it though.

      dhcpd.conf:

      
      # hacom
      host pxe2 {
              hardware ethernet 00:40:f4:47:e7:d5;
              fixed-address 192.168.69.102;
              next-server 192.168.69.80;
              filename "pfsense/boot/pxeboot";
              option root-path "/usr/local/tftpboot/pfsense/";
              option routers 192.168.69.1;
      }
      
      

      in /usr/local/tftpboot/pfsense/cf/conf/config.xml I had

      
              <interfaces><lan><if>fxp0</if>
                              <ipaddr>192.168.69.102</ipaddr>
                              <subnet>24</subnet>
                              <media></media>
                              <mediaopt></mediaopt>
                              <bandwidth>100</bandwidth>
                              <bandwidthtype>Mb</bandwidthtype></lan></interfaces> 
      

      and pxe2 resolved to
      maradns config:

      
      pxe2.%          fqdn4           192.168.69.102
      
      

      pfSense core developer
      blog - http://www.ucsecurity.com/
      twitter - billmarquette

      1 Reply Last reply Reply Quote 0
      • T
        Tenzen
        last edited by

        Hi Bill,

        Bingo!

        Once I figured out that I needed to make the change in:

        /private/pfSense_tftpboot/conf.default/config.xml
        

        rather than

        /private/pfSense_tftpboot/cf/conf/config.xml
        

        which, looking at the path, I suppose, makes sense …

        Changing:

        
                <interfaces><lan><if>fxp0</if>
        ---                     <ipaddr>192.168.1.1</ipaddr>
        +++                  <ipaddr>10.0.0.10</ipaddr></lan></interfaces> 
        

        where, as in your example, "10.0.0.10" is the ip Addr assigned to the LAN port in dhcpd.conf, on reboot, I see:

        Starting syslog...done.
        ...
        Configuring LAN interface...done.            <----- WE'RE PAST THIS PROBLEM!
        Configuring WAN interface...done.
        Configuring OPT interfaces...done.
        Configuring CARP interfaces...done.
        Syncing system time before startup...done.
        Configuring firewall......done.
        Starting webConfigurator...done.
        Starting DNS forwarder...done.
        Starting DHCP service...done.
        Setting up microcode and tx/rx offloading...done.
        Starting FTP helpers...done.
        Generating RRD graphs...done.
        Starting DHCP service...done.
        Starting OpenNTP time client...done.
        Starting CRON... done.
        Bootup complete
        
        

        So that issue seems to have gotten fixed (!?).

        If I now open a broser, and nav to:

        http://10.0.0.10

        with credentials "admin/pfsense", I see:

        http://img48.imageshack.us/img48/7258/untitledun9.jpg

        Which, I gather, is what I should see! :-)

        I'll try the install itself later today.

        Thanks!

        1 Reply Last reply Reply Quote 0
        • H
          hoba
          last edited by

          Maybe you can dump your setup into a vmware-preinstallation environment now so others can use it easily too  ;D

          1 Reply Last reply Reply Quote 0
          • T
            Tenzen
            last edited by

            @hoba:

            Maybe you can dump your setup into a vmware-preinstallation environment now so others can use it easily too  ;D

            I'm doing "this" on/with a PowerBook G4.  No VM* to speak of.

            Assuming all goes well, I'll gladly post my step-by-step notes.

            Once I 'bless' the setup, and delegate to the techie-types, perhaps they can cobble something up on/for VM*.

            –Tenzen

            1 Reply Last reply Reply Quote 0
            • T
              Tenzen
              last edited by

              Now that I've netbooted pfsense to the point I can see the pfSense web interface at http://10.0.0.10, how, exactly do I go about INSTALLING the system TO the Net4801's local HDD?

              Is that done via the web interface?  Poking around, I suspect, perhaps not.

              At the serial console, however, the output currently 'sits' at:

              
              ...
              Starting DNS forwarder...done.
              Starting DHCP service...done.
              Setting up microcode and tx/rx offloading...done.
              Starting FTP helpers...done.
              Generating RRD graphs...done.
              Starting DHCP service...done.
              Starting OpenNTP time client...done.
              Starting CRON... done.
              Bootup complete
              
              

              and goes no further.  Is this as expected?  Or have I stumbled on my 'next issue'?

              Thanks.

              –Tenzen

              1 Reply Last reply Reply Quote 0
              • S
                sullrich
                last edited by

                You have stumbled upon your next issue.  The console should auto login and you should be presented with a menu.

                1 Reply Last reply Reply Quote 0
                • H
                  hoba
                  last edited by

                  You want to turn on the serial console at system>advanced. You will have an option 99 at the shellmenu to install it. This also can be done via ssh btw (enable it at system>advanced) and wait until the keygeneration has finished.

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tenzen
                    last edited by

                    @sullrich:

                    You have stumbled upon your next issue.  The console should auto login and you should be presented with a menu.

                    Well, rats.  I have discovered mention of the "shell menu" in the docs, which I guess is what you're referring to – and I'm not seeing.

                    @hoba:

                    You want to turn on the serial console at system>advanced. You will have an option 99 at the shellmenu to install it. This also can be done via ssh btw (enable it at system>advanced) and wait until the keygeneration has finished.

                    Here's an interface problem.  I can't select any of the items from the System menu.  If I hover over it, it drops down, but if I move cursor down to attempt to select any item, the menu vanishes, and a submenu of other items appears.  This is only true of the System Menu.  Other menus seem to be fine.

                    Instead, manually entering URL:

                    http://10.0.0.10/system_advanced.php
                    

                    At the web interface, check/select/save to ENABLE both:

                    	Enable Serial Console
                    		This will enable the first serial port with 9600/8/N/1
                    		Note: This will disable the internal video card/keyboard
                    
                    	Secure Shell
                    		Enable Secure Shell
                    		SSH port
                    

                    Then, from shell @ pc,

                    ssh -l admin 10.0.0.10
                    Password: "pfsense"
                    

                    Login is successful, and I now see the expected "shell menu".

                    *** Welcome to pfSense 1.0.1-SNAPSHOT-03-23-2007-cdrom on pfSense ***
                    
                      LAN*                     ->   sis0    ->      10.0.0.10
                      WAN*                     ->   sis1    ->      10.0.0.20(DHCP)
                    
                     pfSense console setup 
                    ***********************
                     0)  Logout (SSH only)
                     1)  Assign Interfaces
                    ...
                    99)  Install pfSense to a hard drive/memory drive, etc.
                    
                    

                    Selecting Option==99 takes me into the pfSense installer …

                    Following the step-by-step instructions at:

                    http://doc.pfsense.org/index.php/Chapter_3:_Installing_pfSense#Installing_pfSense_to_harddrive

                    works without a hitch.  Finally, selecting the "<reboot>" option, the Net4801 reboots.

                    Checking console output, I see:

                    
                    ...
                    ad0: 38154MB <hts541040g9at00 mb2oa60a="">at ata0-master UDMA33
                    Trying to mount root from ufs:/dev/ad0s1a
                    
                         ___
                     ___/ f \
                    / p \___/ Sense
                    \___/   \
                        \___/
                    
                    Welcome to pfSense 1.0.1-SNAPSHOT-03-23-2007 on the 'pfSense' platform...
                    ...</hts541040g9at00> 
                    

                    so it's booting from the HDD.

                    Output now successfully continues to:

                    pfSense console setup 
                    ***********************
                     0)  Logout (SSH only)
                     1)  Assign Interfaces
                     2)  Set LAN IP address
                     3)  Reset webConfigurator password
                     4)  Reset to factory defaults
                     5)  Reboot system
                     6)  Halt system
                     7)  Ping host
                     8)  Shell
                     9)  PFtop
                    10)  Filter Logs
                    11)  Restart webConfigurator
                    
                    Enter an option: 
                    
                    

                    and, checking in a browser, I do see the pfsense interface.  For reference, the System menu is till acting-up … but otherwise, I think I've managed to get it done!

                    Thanks.

                    --Tenzen</reboot>

                    1 Reply Last reply Reply Quote 0
                    • B
                      billm
                      last edited by

                      Might be your browser.  I think IE7 has issues with the NerveCenter theme…that and people that increase their font size :)

                      --Bill

                      pfSense core developer
                      blog - http://www.ucsecurity.com/
                      twitter - billmarquette

                      1 Reply Last reply Reply Quote 0
                      • T
                        Tenzen
                        last edited by

                        Hi Bill,

                        @billm:

                        Might be your browser.  I think IE7 has issues with the NerveCenter theme…that and people that increase their font size :)

                        Actually, that was addressed/resolved here: http://forum.pfsense.org/index.php/board,23.0.html

                        Summary – The problem's "minimum font size".  I can't, well won't turn it off.  So, I switched themes.

                        -- Tenzen

                        1 Reply Last reply Reply Quote 0
                        • M
                          mmlenz
                          last edited by

                          I can think of a good reason why it would be nice to get netboot working.  Because the freebsd boot loader is complete shit and won't let you boot via any USB devices that I've found.  The concept of tearing open a machine just so I can install an operating system is unsettling.  The world has enough hobby firewall projects.  Don't get me wrong though, I adore pfSense I've been using it since the dot releases.  I even bribed Bill into getting the initial RR-LB stuff working ;)

                          1 Reply Last reply Reply Quote 0
                          • H
                            hoba
                            last edited by

                            It actually is nice for installing appliance hardware like 19" units without cdroms or small desktop appliance. Also is nice for developing and testing things. no need to reflash/replug all the time. just let the unit netboot a new image to test things. I bet there are other reasons one could think of as well.Just be openminded  ;)

                            1 Reply Last reply Reply Quote 0
                            • Cry HavokC
                              Cry Havok
                              last edited by

                              Yup, I'm building one of the FX5620 boxes and it doesn't have a CDROM and I don't have a USB one to boot from.  While I can pull the disk and built it elsewhere, it's a lot of effort compared to doing a netboot from a trusted interface.

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post
                              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.