New User to fog!
-
What device is your dhcp server?
What precisely do you have set for dhcp options 66 and 67?<edit>Ugh, rereading your previous post makes my question a bit off point. ProxyDHCP is probably your best bet if the target computers and fog server are on the same subnet.
I don’t actually have access to make any changes within the DHCP server
-
@keith75140 there are a few ways you could use a usb or cd boot media to bypass the need for the DHCP options if you’re doing very low volume or just trying fog out, but if you intend to use fog much, you’ll want to have those options set.
-
@george1421 Are there steps anywhere on how to set that up? Thank you so much for your help!
-
@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.
-
@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 ) -
@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 Not sure how dnsmasq would impact a fog password. Where are you seeing this?
-
@keith75140 said in New User to fog!:
@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.
-
@george1421 When i type in sudo apt-get install dnsmasq into the terminal, I’m then prompted for my password.
-
@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 How should I login as the root user?
-
@keith75140 what user did you use to install fog
-
@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 You manually created a user called
fog
because 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 accountfog
is currently set to.I do have to say you should never use the linux
fog
account for management stuff because the fogprogram
expects that account to be setup a certain way. -
@george1421 Can you tell me where I can find the .fogsettings file?
-
@keith75140 its a hidden file.
If you key in this command
cat /opt/fog/.fogsettings | more
it will type out the contents page by page for you. -
@george1421 You’re Awesome!
Is there a way that I can change this password? -
@keith75140 Sorry for the delay I’m bouncing between stuff today.
I would NOT change the
fog
linux account password. What I would do is create a new admin account for you to use to manage this server. As I said before thatfog
linux 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 linuxfog
user account by accident or on purpose. -
@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!
-
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.