• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. dylz
    3. Posts
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 12
    • Best 1
    • Controversial 0
    • Groups 0

    Posts made by dylz

    • RE: dnsmasq issues with tftp

      @george1421 you are the man!

      Finally getting to see the PXE menu. I haven’t tried to deploy or capture an image yet but it seems like it should work no problem. One thing though… when trying to live boot an ISO (DLC, True Image, etc.) I get the error =:

      El Torito BVD sanity check failed
      El Torito boot catalog sanity check failed

      MEMDISK: bootstrap too large to load.

      Any ideas?

      P.S sorry for the late reply. UK time!

      posted in FOG Problems
      D
      dylz
    • RE: dnsmasq issues with tftp

      @george1421 Thanks for getting back. I’ll explain the situation. I work for a computer repair shop and our IT support is outsourced so I don’t have any access to the router. All the machines that we’ll be imaging are on the same subnet (192.168.0.0/24) and received DHCP info from the router/gateway at 192.168.0.1. If things get really tough I suppose I could contact support and ask them to change some settings on the DHCP server but I’d rather find a work around.

      I’m totally new to dnsmasq and isc-dhcp so to be honest I’m not 100% sure what the best route to take is. It looks from what you’ve explained that dnsmasq is probably the best path for me.

      dnsmasq is on version 2.78 and I got the same response as yourself.

      I’ve now replaced the ltsp.conf file to what you recommended. Whats next?

      posted in FOG Problems
      D
      dylz
    • dnsmasq issues with tftp

      Hi guys,

      I’m having trouble getting tftp to work using dnsmasq. I followed the wiki and set up dnsmasq, and can get the client to retrieve an IP address and begin the tftp process from the server @ 192.168.0.66 but it fails to retrieve any files and fails.

      0_1516453723516_Screen Shot 2018-01-20 at 13.07.23.png

      This is my output for .fogsettings

      ipaddress='192.168.0.66'
      copybackold='0'
      interface='enp1s0'
      submask='255.255.255.0'
      routeraddress=''
      plainrouter=''
      dnsaddress=''
      username='technician'
      password="password"
      osid='2'
      osname='Debian'
      dodhcp='n'
      bldhcp='0'
      dhcpd='isc-dhcp-server'
      blexports='1'
      installtype='N'
      snmysqluser='root'
      snmysqlpass=''
      snmysqlhost='localhost'
      installlang='0'
      storageLocation='/images'
      fogupdateloaded=1
      docroot='/var/www/'
      webroot='/fog/'
      caCreated='yes'
      startrange='192.168.0.115'
      endrange='192.168.0.130'
      bootfilename='undionly.kpxe'
      packages='apache2 bc build-essential cpp curl g++ gawk gcc gzip htmldoc lftp libapache2-mod-php7.1 libc6 libcurl3 m4 mysql-client mysql-server net-tools nfs-kernel-server openssh-server php7.1 php7.1-bcmath php7.1-cli php7.1-curl php7.1-fpm php7.1-gd php7.1-json php7.1-ldap php7.1-mbstring php7.1-mcrypt php7.1-mysql php-gettext tar tftpd-hpa tftp-hpa unzip vsftpd wget xinetd zlib1g'
      noTftpBuild=''
      notpxedefaultfile=''
      sslpath='/opt/fog/snapins/ssl/'
      backupPath=''
      php_ver='7.1'
      php_verAdds='-7.1'
      sslprivkey='/opt/fog/snapins/ssl//.srvprivate.key'
      ## End of FOG Settings
      

      And the output for ltsp.conf for dnsmasq:

      # Sample configuration for dnsmasq to function as a proxyDHCP server,
      # enabling LTSP clients to boot when an external, unmodifiable DHCP
      # server is present.
      # The main dnsmasq configuration is in /etc/dnsmasq.conf;
      # the contents of this script are added to the main configuration.
      # You may modify the file to suit your needs.
      
      # Don't function as a DNS server:
      port=0
      
      # Log lots of extra information about DHCP transactions.
      log-dhcp
      
      # Dnsmasq can also function as a TFTP server. You may uninstall
      # tftpd-hpa if you like, and uncomment the next line:
      # enable-tftp
      
      # Set the root directory for files available via FTP.
      tftp-root=/tftpboot
      
      # The boot filename.
      dhcp-boot=undionly.kpxe, 192.168.0.66
      
      # rootpath option, for NFS
      dhcp-option=17,/images
      
      # kill multicast
      dhcp-option=vendor:PXEClient,6,2b
      
      # Disable re-use of the DHCP servername and filename fields as extra
      # option space. That's to avoid confusing some old or broken DHCP clients.
      dhcp-no-override
      
      # PXE menu.  The first part is the text displayed to the user.  The second is the timeout, in seconds.
      pxe-prompt="Press F8 for boot menu", 3
      
      # The known types are x86PC, PC98, IA64_EFI, Alpha, Arc_x86,
      # Intel_Lean_Client, IA32_EFI, BC_EFI, Xscale_EFI and X86-64_EFI
      # This option is first and will be the default if there is no input from the user.
      pxe-service=X86PC, "Boot from network", pxelinux
      
      # A boot service type of 0 is special, and will abort the
      # net boot procedure and continue booting from local media.
      pxe-service=X86PC, "Boot from local hard disk", 0
      
      # If an integer boot service type, rather than a basename is given, then the
      # PXE client will search for a suitable boot service for that type on the
      # network. This search may be done by multicast or broadcast, or direct to a
      # server if its IP address is provided.
      # pxe-service=x86PC, "Install windows from RIS server", 1
      
      # This range(s) is for the public interface, where dnsmasq functions
      # as a proxy DHCP server providing boot information but no IP leases.
      # Any ip in the subnet will do, so you may just put your server NIC ip here.
      # Since dnsmasq is not providing true DHCP services, you do not want it
      # handing out IP addresses.  Just put your servers IP address for the interface
      # that is connected to the network on which the FOG clients exist.
      # If this setting is incorrect, the dnsmasq may not start, rendering
      # your proxyDHCP ineffective.
      dhcp-range=192.168.0.66,proxy
      
      # This range(s) is for the private network on 2-NIC servers,
      # where dnsmasq functions as a normal DHCP server, providing IP leases.
      # dhcp-range=192.168.0.20,192.168.0.250,8h
      
      # For static client IPs, and only for the private subnets,
      # you may put entries like this:
      # dhcp-host=00:20:e0:3b:13:af,10.160.31.111,client111,infinite
      

      Once again, appreciate any help with this guys.

      Dyl

      posted in FOG Problems
      D
      dylz
    • RE: TFTP/FTP Issues after cloning success

      @wayne-workman @george1421 It worked! in hindsight I should have just changed the management user, my bad.

      Thanks again!

      posted in FOG Problems
      D
      dylz
    • RE: TFTP/FTP Issues after cloning success

      Thanks for the quick reply. I spent so long trying to modify everything so the Fog user was being used for TFTP but then I decided to edit everything for the user I set on startup. Running now so hopefully it works.

      Appreciate the time you guys take to comment so quickly!

      posted in FOG Problems
      D
      dylz
    • TFTP/FTP Issues after cloning success

      Hi guys. Back again with some new issues. So I had to do a clean install of Ubuntu and Fog and I’ve managed to get everything working up until it’s time to update the database with the image file after a capture task is complete.
      0_1516300573147_fogftpfail.PNG

      0_1516300590753_fogftpfail2.PNG

      So I have tried “passwd fog” and “passwd -d fog” and retried but the issue persists. The weird thing is that there wasn’t a home folder created for the Fog user initially so I created one and tried again to no prevail.

      I’ve had a look past previous forums too and tried some solutions but nothing seems to work. I’m on the latest updated version. So there’s clearly an issue with ftp/tftp here trying to access the server through the Fog user. I changed the default Fog user and password instantly after setup but I also created a new user named Fog when trying to troubleshoot this but there’s no success.

      Really appreciate the help guys. Thanks in advance!

      posted in FOG Problems
      D
      dylz
    • RE: Live boot DLC and WinPE timing out or failing

      I have finally figured it out. The ISO’s won’t boot in UEFI mode and must be set to legacy (BIOS)
      For now everything is working. Thanks for the help guys.

      posted in FOG Problems
      D
      dylz
    • RE: Live boot DLC and WinPE timing out or failing

      @sebastian-roth I see. I suppose I’ll need to try dig in to this a lot more and figure out how to get this working. DLC boot is a diagnostics iso that I got from a colleague in work. It is similar to hirens with that it boots to a menu with mini windows environments, clonezilla, partitioning tools etc…

      I also have a custom Win10PE environment that I am going to try out and see if the results are any different. Should the ISO typically boot up as soon as it is done downloading the image to RAM?

      posted in FOG Problems
      D
      dylz
    • RE: Live boot DLC and WinPE timing out or failing

      @george1421 Thanks for the advice that helped big time. But there’s still an issue. The ISO seems to download but nothing boots. I take it I need to replace “goto MENU” with a command that makes it boot the live cd now?

      posted in FOG Problems
      D
      dylz
    • RE: How to add live cd iso to Fog 1.2 on Ubuntu 12.04

      @sebastian-roth Thanks I’ll open a new thread. I tried removing the $ sign but it just takes me back to the menu.

      The new thread has been opened up here

      posted in Tutorials
      D
      dylz
    • Live boot DLC and WinPE timing out or failing

      Failing to get DLCboot ISO to boot through this method.

      I have tried with the iso in 2 locations: /ISO/DLCD/DLC.iso and /var/www/service/ipxe/DLCD/DLC.iso

      I keep getting similar errors. First I tried with these paramaters

      :DLCD
      initrd http://$192.168.25.66/var/www/fog/service/ipxe/DLCD/DLC.iso
      chain memdisk iso raw ||
      goto MENU

      And I got this error:

      0_1516125636532_fogfail2.PNG

      Then I tried with

      :DLCD
      initrd http://$192.168.25.66/var/www/fog/service/ipxe/DLCD/DLC.iso
      boot || echo failed to boot
      prompt
      goto MENU```

      and got this error

      0_1516125643668_fogfail.PNG

      I then tried removing the $ from the beginning of the IP address but it just takes me back to the FOG menu automatically

      Any help or suggestions on why this is timing out or what I am doing wrong would be greatly appreciated. Tearing my hair out with this one.

      Thanks

      posted in FOG Problems
      D
      dylz
    • RE: How to add live cd iso to Fog 1.2 on Ubuntu 12.04

      Failing to get DLCboot ISO to boot through this method.

      I have tried with the iso in 2 locations: /ISO/DLCD/DLC.iso and /var/www/service/ipxe/DLCD/DLC.iso

      I keep getting similar errors. First I tried with your paramaters

      :DLCD
      initrd http://$192.168.25.66/var/www/fog/service/ipxe/DLCD/DLC.iso
      chain memdisk iso raw ||
      goto MENU

      And I got this error:

      0_1516121546758_fogfail2.PNG

      Then I tried with

      :DLCD
      initrd http://$192.168.25.66/var/www/fog/service/ipxe/DLCD/DLC.iso
      boot || echo failed to boot
      prompt
      goto MENU```

      and got this error

      0_1516121652654_fogfail.PNG

      Any help or suggestions on why this is timing out or what I am doing wrong would be greatly appreciated. Tearing my hair out with this one.

      Thanks

      posted in Tutorials
      D
      dylz
    • 1 / 1