New User to fog!
- FOG Version: 1.3.5
- OS: ubuntu 17.04
- Service Version:
I’am new to fog, and ubuntu. I would like to image computers with fog, but can’t seem to set it up correctly. I have the server up and running but when i network boot from a machine, I cannot boot into fog. Any help would be great appreciated.
Thanks in advance!
We did not need to do a full clean install or anything. I remoted in and helped out.
@keith75140 now has a fully functional fog server while using Ubuntu 17.04 as the base OS.
@george1421 You’re helping me out so much! I think I need to do a clean ubuntu install. Thank you for answering my dumb questions!
@keith75140 Sorry for the delay I’m bouncing between stuff today.
I would NOT change the
foglinux account password. What I would do is create a new admin account for you to use to manage this server. As I said before that
foglinux account should only be used by the fog application and services. It should not have admin rights to your server. Just create another user using the ubuntu gui and give it sudo rights (or reinstall ubuntu and fog again to get a clean build and create a different user for your admin functions). You really don’t want to mess with that linux
foguser account by accident or on purpose.
@george1421 You’re Awesome!
Is there a way that I can change this password?
@keith75140 its a hidden file.
If you key in this command
cat /opt/fog/.fogsettings | moreit will type out the contents page by page for you.
@george1421 Can you tell me where I can find the .fogsettings file?
@keith75140 You manually created a user called
fogbecause the fog installer will too and give it a new password. That could be where your error is. The .fogsettings file will contain what the user account
fogis currently set to.
I do have to say you should never use the linux
fogaccount for management stuff because the fog
programexpects that account to be setup a certain way.
@george1421 I created a user account called fog. This is what I thought was the root user. I know the password for this account, but after running sudo apt-get install dnsmasq within the terminal, the terminal says that my password is incorrect.
@keith75140 what user did you use to install fog
@george1421 How should I login as the root user?
@keith75140 right you should be logged into ubuntu linux as the root user, not the fog linux user.
Also if you want to dynamically switch between bios and uefi boot files you will need to compile your own version of dnsmaq to get these fixes.
@george1421 When i type in sudo apt-get install dnsmasq into the terminal, I’m then prompted for my password.
@george1421 I found a hot-to…but when i run the sudo apt-get install dnsmaq command in my ubuntu terminal
You should install using the sudo command (because of ubuntu). Sudo will give your user account admin rights (similar to run as administrators is to Windows). But either way you should be installing dnsmasq as root.
@keith75140 Not sure how dnsmasq would impact a fog password. Where are you seeing this?
@Junkhacker Thank you for the links!
When i attempt the steps in the unmodified DHCP server set-up, the ubuntu terminal says that my fog password is incorrect. (which it is not?) I’m confused as to why my password has changed.
@keith75140 there’s https://wiki.fogproject.org/wiki/index.php?title=Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server
or you can use https://wiki.fogproject.org/wiki/index.php?title=USB_Bootable_Media which is targeted at UEFI booting, but you can modify the steps for legacy booting alternatively (use undionly.kpxe instead of ipxe.efi )
@george1421 I found a hot-to…but when i run the sudo apt-get install dnsmaq command in my ubuntu terminal, the terminal says that my fog password is incorrect. The password that i’m typing in is not incorrect. I’m completely confused.