Jump to content

Recommended Posts

Posted

Hello all.

 

I have set up a fog server with stunning results but I have two IT suites who won't register thus stopping imaging. One it freezes after I put in a password for full registration the other won't load up the fog boot screen. Both have boot and wake from lan on. Ethernet is first in the boot order.

 

Thanks for the help.

Posted

I think this method removes password protection, but it doesn't present an option list to people, just a prompt for 3 seconds which needs correct input to function.

 

We had to do this to get our Toshiba Satellite Pro A200 laptops to work properly.

Posted

One suite comes up with this error. Through googling it seems it has something to do with pxelinux.0 but the other computers I have tried are working.

 

 

tftp

pxe-t01 : file not found

pxe -e3b : tftp error - file not found

pxe-m0f : exiting pxe rom

Posted
The computers that froze after the password was entered are now working in text mode. The others still have the tftp error. It doesn't appear to be a hardware fault though. Thanks for the help.
Posted
The computers that froze after the password was entered are now working in text mode. The others still have the tftp error. It doesn't appear to be a hardware fault though. Thanks for the help.

 

 

forgive me if i sound stupid as networking TCP / IP isnt my strong point, but are these 2 troublesome IT suites on a different subnet? are the IP addresses within the scope of the DHCP / TFTP server if you set one? can u ping the TFTP server from a machine in there?

Posted
forgive me if i sound stupid as networking TCP / IP isnt my strong point, but are these 2 troublesome IT suites on a different subnet? are the IP addresses within the scope of the DHCP / TFTP server if you set one? can u ping the TFTP server from a machine in there?

 

No they are not on seperate subnets. Yes they are in the scope and yes I can ping the fog server.

Posted
No they are not on seperate subnets. Yes they are in the scope and yes I can ping the fog server.

 

has an update sorted it? if not can you post your default file in pxelinux.cfg directory

  • 2 weeks later...
Posted

DEFAULT vesamenu.c32

MENU TITLE FOG Computer Cloning Solution

MENU BACKGROUND fog/bg.png

MENU MASTER PASSWD $1$ZjaMpyer$FVy3An98iefEfzMhNxcTj/

 

menu color title 1;36;44 #ffffffff #00000000 std

 

LABEL fog.local

localboot 0

MENU DEFAULT

MENU LABEL Boot from hard disk

TEXT HELP

Boot from the local hard drive.

If you are unsure, select this option.

ENDTEXT

 

LABEL fog.memtest

 

kernel fog/memtest/memtest

MENU LABEL Run Memtest86+

TEXT HELP

Run Memtest86+ on the client computer.

ENDTEXT

 

LABEL fog.reg

 

kernel fog/kernel/bzImage

append initrd=fog/images/init.gz root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns= mode=autoreg keymap= web=10.0.51.253/fog/ quiet

MENU LABEL Quick Host Registration and Inventory

TEXT HELP

Automatically register the client computer,

and perform a hardware inventory.

ENDTEXT

 

LABEL fog.reginput

 

kernel fog/kernel/bzImage

append initrd=fog/images/init.gz root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns= mode=manreg keymap= web=10.0.51.253/fog/ quiet

MENU LABEL Perform Full Host Registration and Inventory

TEXT HELP

Perform a full host registration on the client

computer, perform a hardware inventory, and

optionally image the host.

ENDTEXT

 

LABEL fog.quickimage

 

 

 

kernel fog/kernel/bzImage

 

append initrd=fog/images/init.gz root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns= mode=quickimage keymap= web=10.0.51.253/fog/ quiet

 

MENU LABEL Quick Image

 

TEXT HELP

 

This mode will allow you to image this host quickly with

it's default assigned image.

 

ENDTEXT

 

LABEL fog.debug

 

kernel fog/kernel/bzImage

append initrd=fog/images/init.gz root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns= mode=onlydebug keymap=

MENU LABEL Debug Mode

TEXT HELP

Debug mode will load the boot image and load a prompt so

you can run any commands you wish.

ENDTEXT

 

PROMPT 0

TIMEOUT 30

Posted

Thats the graphical menu, did you have the same problem with the text one?

 

for a simple text menu the default file will look like this:

 

 

DEFAULT menu.c32

PROMPT 0

NOESCAPE 0

ALLOWOPTIONS 0

TIMEOUT 100

 

 

MENU TITLE Sir John Talbot's Technology College. PXE Boot menu

 

# Windows XPE Loader1

LABEL XPE

MENU DEFAULT

MENU LABEL Boot from First Hard disk

LOCALBOOT 0

 

# Windows XPE Loader2

LABEL XPE

MENU LABEL WinPE

KERNEL /boot/pxeboot.0

 

# Windows XPE Loader3

LABEL LINUX

MENU LABEL linux

KERNEL /linux/vmlinuz

APPEND initrd=/linux/initrd

 

 

Having a look into I've not seen any mention in the pxelinux documentation about using password menus with the graphical menus (obviously must be possible if FOG is using it). Also your password looks encrypted, it could be a character it dosnt like, in the examples ive seen there plain txt passwords. I'd save a copy of your original default file that you posted above and see what happens with a plain txt password in txt menu.

 

Menu - Syslinux Wiki

PXELINUX - Syslinux Wiki

  • 2 weeks later...
Posted
I know what it is now! you have to change the password mannually in the default file it dosnt work for me inside fog, its an MD5 hash something like $0$123456789 just change it to a plain text password and it works.
Posted

also if you get php errors showing up or unable to connect to TFTP / FTP server follow these instructions:

 

For Versions Before 0.24

 

This seems to be caused by a password issue,

 

1. From the fog management interface, go to users.

2. Reset the fog user password.

3. Click the "I" icon - "Other Information"

4. Click "Fog Settings" in the menu on the left

5. Replace the FOG_TFTP_FTP_PASSWORD and the FOG_NFS_FTP_PASSWORD fields under FOG settings with

your Linux fog user password. (Seems like FOG_NFS_FTP_PASSWORD is gone for ver .24).

 

For Versions .24 +

 

* Reset the local password for user fog with: [sudo] passwd fog

* In management front end, go to Storage Management -> All Storage Nodes

* Click on DefaultMember

* Change the Management Password to match the password you just changed.

* Then go to Other Information and change FOG_TFTP_FTP_PASSWORD also.

 

 

 

Unable to connect to TFTP - FOGWiki

Posted
Thanks for that. Unfortunately I am still getting the same error message.

 

 

I've set up FOG on my laptop and have another laptop wired with an ethernet cable to test it, i can now get to my PXE menu and choose from the options such as memtest, quick host registration etc, i was having a fatal error: hard disk not found error at work, but ive rebuilt the kernel (bzimage) to include loads of extra storage drivers and modules, this now works and i dont get this error. However when ive set FOG up on my laptop i had to set up DHCP server and ive messed up the IP settings, fog still runs from the browser at localhost/fog/management but when i try to do things i get ftp login errors, hopefully this shouldnt be a problem at work I can just copy my bzImage over and my pxelinux.cfg directory over (as i installed ubuntu ontop of windows and the TFTPBOOT is in the root aka C:\ so it left my original.

 

ANYWAY, i now have a problem in that after selecting quick clone, or quick upload or whatever its called from the PXE menu I put in my password it loads up then asks me again for a username and pass, which dosnt work, it wont accept anything, Is this the same problem you'r having or is it the not accepting your login at the PXE menu?

 

If so i'll have a root around for you and see if theres a way to change passwords in the mysql, theres a config.php that contains some passwords. It might be easier to re-install FOG and see if you have the same problem.

Posted

 

ANYWAY, i now have a problem in that after selecting quick clone, or quick upload or whatever its called from the PXE menu I put in my password it loads up then asks me again for a username and pass, which dosnt work, it wont accept anything, Is this the same problem you'r having or is it the not accepting your login at the PXE menu?

 

My fog server works with all of the computers I have tested so far except this group. It doesn't even load up the fog menu at all.

 

If so i'll have a root around for you and see if theres a way to change passwords in the mysql, theres a config.php that contains some passwords. It might be easier to re-install FOG and see if you have the same problem.

 

Thanks for looking around for me.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...