Or take a picture with a phone… and upload the picture… way simpler.
Posts made by Wayne Workman
-
RE: Unable to access Fog server management settings
-
RE: Unable to access Fog server management settings
[CODE]cat /var/log/apache2/error.log > sometextfile.txt[/CODE]
-
RE: Let's make scripts!
I agree wholesomely.
So,
if the commands differ for a different distribution, we can just include all the commands, right?
The ones that don’t work will just error out.
I’ll see what I can throw together.
-
RE: Operation Not Supported on image deployment during mount
[quote=“Joseph Hales, post: 43676, member: 18131”]when you wiped the drive does it still have an mbr fog expects a format drive and errors on a raw blank.[/quote]
That sounds like a good feature request to me…
-
RE: Operation Not Supported on image deployment during mount
[quote=“Barry Tabrah, post: 43668, member: 27717”]I have managed to resolve this issue. Probable cause was either;
- restart of nfs service
- Time was out by 1 hour.
- Ran CNTLM to enable NTLM authentication.
[FONT=Tahoma][COLOR=#141414]I have successfully imaged the machine once. But now I can’t image it again. I wiped the drive and now whenever I image the screen flashes past without any indication of error and reboots the machine. No idea what’s happening as I can’t pause the text and it disappears too fast to read anything. Any idea how to capture the text so I can find out what it thinks it’s doing?[/COLOR][/FONT][/quote][FONT=Tahoma][COLOR=#141414][/COLOR][/FONT]
Good to see that Fedora 21 & FOG are getting along well, even with 1.2.0
Use a smart phone and just record the process with video. Later, you can just pause it and read what it says.
-
RE: Unable to access Fog server management settings
Which version of Ubuntu?
Can you post your Fog install log? It’s here: [SIZE=12px]/var/log/foginstall.log[/SIZE]
[SIZE=12px]Apache log errors? They are here: [/SIZE][SIZE=12px]/var/log/apache2/error.log[/SIZE]
[SIZE=12px]Thanks,[/SIZE]
[SIZE=12px]Wayne[/SIZE] -
RE: Let's make scripts!
This is my first bash script ever, was really fun.
The idea behind having scripts like this is for language barriers and people new to Linux.
And, just a general starting point for troubleshooting.
[CODE]
echo ‘----------------------Fedora version below’
cat /etc/issue >> /tmp/Fedora21Fog.txt
echo ‘----------------------Installation log below’
cat /var/log/foginstall.log >> /tmp/Fedora21Fog.txt
echo ‘----------------------Apache Error log below’
cat /var/log/httpd/error_log >> /tmp/Fedora21Fog.txt
echo ‘----------------------TFTP Status below’
systemctl status xinetd.service >> /tmp/Fedora21Fog.txt
echo ‘----------------------RPC Status below’
systemctl status rpcbind >> /tmp/Fedora21Fog.txt
echo ‘----------------------NFS Status below’
systemctl status nfs-server >> /tmp/Fedora21Fog.txt
echo ‘----------------------FTP Status below’
systemctl status vsftpd.service >> /tmp/Fedora21Fog.txt
echo ‘----------------------Firewall Status below’
systemctl status firewalld.service >> /tmp/Fedora21Fog.txt
echo ‘----------------------SELinux Status below’
sestatus >> /tmp/Fedora21Fog.txt
echo ‘----------------------FOGMulticastManager Status below’
systemctl status FOGMulticastManager.service >> /tmp/Fedora21Fog.txt
echo ‘----------------------FOGImageReplicator Status below’
systemctl status FOGImageReplicator.service >> /tmp/Fedora21Fog.txt
echo ‘----------------------FOGSnapinReplicator Status below’
systemctl status FOGSnapinReplicator.service >> /tmp/Fedora21Fog.txt
echo ‘----------------------FOGScheduler Status below’
systemctl status FOGScheduler.service >> /tmp/Fedora21Fog.txt
echo ‘----------------------/etc/dnsmasq.d/ltsp.conf file below’
cat /etc/dnsmasq.d/ltsp.conf >> /tmp/Fedora21Fog.txt
echo ‘----------------------/etc/vsftpd/vsftpd.conf file below’
cat /etc/vsftpd/vsftpd.conf >> /tmp/Fedora21Fog.txt
echo ‘----------------------/etc/rc.d/rc.local file below’
cat /etc/rc.d/rc.local >> /tmp/Fedora21Fog.txt
echo ‘----------------------Check for /images/.mntcheck’
ls /images -a |grep “mntcheck” >> /tmp/Fedora21Fog.txt
echo ‘----------------------Check for /images/dev/.mntcheck’
ls /images/dev -a |grep “mntcheck” >> /tmp/Fedora21Fog.txt
echo ‘----------------------Contents of /opt/fog_trunk/packages/tftp’
ls /opt/fog_trunk/packages/tftp >> /tmp/Fedora21Fog.txt
[/CODE] -
RE: SVN 3080: NIC Registration
[quote=“Uncle Frank, post: 43632, member: 28116”]
[CODE]… cat /sys/class/net/[^l][^o]*/address …[/CODE]
[/quote]What does that even mean?
I know DOS and VB, some Oracle… That stuff is so foreign I feel like it’s terrorist related lol -
RE: Lenovo Q190
[quote=“michieru, post: 43559, member: 3086”]Which version of FOG you are using? I am on 1.2.0 and I don’t see these options under image management.[/quote]
His picture was quite small, maybe you didn’t see it… FTR I’m using r3096
-
RE: Host-Management and Multicast
[quote=“Polii123, post: 43568, member: 28818”]Making a group is not practical because i don’t want to make a group for 5 pc and delete it after the image task.
What i mean is, that it is possible to creat a download task and say that client 5, 3 and 9 should be in thtat task. No Group wich i have to make and delete. It isn’t a must have feature but would be nice
I just checked the inventory on some hosts, and there are really some with inventory data. The ones i checked before i made this thread, were empty. So i made a download task but the inventory was not collected. Tried again and then it worked.
Is there a known bug or am i incapableSo apprently i should have made some research befor posting three improvments because two are already there :oops: But Folders in the Host-Management still would be practical.
BTW: Thanks for your work on FOG and the support your doing here on the forum, this is better than most companys i have to pay for any support ;)[/quote]
Normally, I image a Computer Lab or a class room altogether. Their in a group permanently.
However, there are times when I need to image part of a group of machines at a time, such as a laptop cart with 30 laptops in it. In that case, I have a permanent “Temp Group” that I use for this. I put machines I’m currently working with into that group and make a multicast task. When I’m done, I’ll just delete those hosts from that group and add the next few. When done, Just delete the hosts from that group and leave the group alone.
Our naming convention where I work includes the room numbers, so I find that adding particular related hosts (using the filter) to a particular group to be very fast.
-
RE: PXE Boot automatically selecting Boot From Hard Disk
[quote=“Jaymes Driver, post: 43569, member: 3582”]You can increase the amount of time FOG will spend on the menu by making adjustments on the FOG Web GUI under the FOG Settings.
You can change the default boot method if you like, I highly recommend leaving it to boot form local hard drive so if you aren’t at the machine it will continue to boot without intervention.[/quote]
Fog configuration -> iPXE Boot Menu -> menu timeout & hide menu timeout.
Personally, when I’m not doing imaging, I just disable the menu altogether with the “No Menu” check box. And, when I want to do imaging, I just un-check that check box. There’s no need for users to see the FOG menu every time a computer boots.
-
RE: Image Size on Server 0GB
[quote=“Matthew N, post: 43558, member: 28939”]Wayne,
I apologize but i’m not sure what you mean by r3096. I’m really new to fog.[/quote]
Not a problem at all.
So, the “r” means revision (at least in my head, it works, I’m not changing).
Revision versions are newer than the latest release. The latest release is 1.2.0. The current latest revision is 3096 (but knowing Tom, it won’t be for long, probably within the hour).
You’ll find lots and lots of bug fixes, feature implementations, performance increases, and a wider range of supported hardware and Linux distributions with the latest revision. You may also find bugs that aren’t known about, but also keep in mind that it’s very unlikely that a unknown bug would prevent you from imaging, and wouldn’t result in any information loss.
To update to the latest revision, it’s pretty easy. Look at this wiki page: [url]http://fogproject.org/wiki/index.php/SVN[/url]
I use Fedora 21, and the exact steps I take to update to a specific revision are like this:
[COLOR=#000000][FONT=monospace][FONT=Tahoma][COLOR=#141414][CODE]yum install svn[/CODE][/COLOR][/FONT][/FONT][/COLOR]
[COLOR=#141414][FONT=Tahoma]You only need to install svn once…[/FONT][/COLOR][COLOR=#141414][FONT=Tahoma][COLOR=#000000][FONT=monospace][FONT=Tahoma][COLOR=#141414][CODE]svn co -r 3096 [URL]https://svn.code.sf.net/p/freeghost/code/trunk[/URL] /opt/fog_trunk[/CODE][/COLOR][/FONT][/FONT][/COLOR][/FONT][/COLOR]
[COLOR=#141414][FONT=Tahoma][FONT=Tahoma]And, for whatever revision I want, I’d just change the number in this line.[/FONT][/FONT][/COLOR][COLOR=#141414][FONT=Tahoma][COLOR=#000000][FONT=monospace][FONT=Tahoma][COLOR=#141414][CODE]cd /opt/fog_trunk[/CODE][/COLOR][/FONT][/FONT][/COLOR][/FONT][/COLOR]
[COLOR=#141414][FONT=Tahoma][COLOR=#000000][FONT=monospace][FONT=Tahoma][COLOR=#141414][CODE]cd bin[/CODE][/COLOR][/FONT][/FONT][/COLOR][/FONT][/COLOR]
[COLOR=#141414][FONT=Tahoma][COLOR=#000000][FONT=monospace][FONT=Tahoma][COLOR=#141414][CODE]./installfog.sh[/CODE][/COLOR][/FONT][/FONT][/COLOR][/FONT][/COLOR][COLOR=#141414][FONT=Tahoma]If you’re not using Fedora, I think the only thing that changes is the “yum” command. You’d instead use that apt-get thingy to install svn. So, for Ubuntu, you’d use something like this to install svn.[/FONT][/COLOR]
[COLOR=#141414][FONT=Tahoma][COLOR=#000000][FONT=monospace][FONT=Tahoma][COLOR=#141414][FONT=Tahoma][CODE]sudo apt-get install subversion[/CODE][/FONT][/COLOR][/FONT][/FONT][/COLOR][/FONT][/COLOR][COLOR=#141414][FONT=Tahoma]When you run the installer, it should just carry over all of your current settings. It does for me at least. You’ll also be asked during the install to update your database schema. You do that by going to FOG’s Web GUI and just clicking the update button, and waiting for it to get done. There might be some errors from updating the database, but they are non-impacting and are related to supporting upgrading from much older versions I think.[/FONT][/COLOR]
-
RE: Random question...
[quote=“TheKoR, post: 43545, member: 24285”]And don’t forget to allow Fog mining Bitcoin[/quote]
I can’t do that, I’d surely loose my job.
-
RE: Host-Management and Multicast
What version of FOG are you using?
Notes on the current development version (r3096)…
The current development version has better control over host-management, and a beautiful interface. It also has a very responsive filter for the host names.
I have no problems with quickly adding clients to a group, creating a multicast task, and then just turning on the machines. WOL works also with this, if you’ve got that enabled in your CMOS config.
The current development version does have a customizable boot menu. You can make the default boot item into a quick registration for any client that isn’t registered.
And, I don’t think that exceeding the host count is a bug.
I would highly recommend updating to the latest SVN.
-
RE: Can't login to management after saving FOG settings
[quote=“Mark Pickard, post: 43549, member: 609”][FONT=arial][COLOR=#222222]Globalsettings.[/COLOR][/FONT][FONT=arial][COLOR=#222222]fog_regenerate_[/COLOR][/FONT][FONT=arial][COLOR=#222222]timeout is set to [/COLOR][/FONT]0.5
And just to review: my first two FOG installations that ended up locking me out were both on physical machines (both on the same hardware). I just recently brought up a third install in a VM as per your suggestion. That one is working OK so far.[/quote]
That’s good. Just make a snapshot before each config change, and after each successful major change like a new image, new hosts, etc. Just be smart with your snapshots, you don’t need a whole lot. I normally keep just two.
-
RE: Can't login to management after saving FOG settings
Tom suggested that you check this (on the broken FOG vm) in the FOG data base: [FONT=arial][COLOR=#222222]Globalsettings.[/COLOR][/FONT][FONT=arial][COLOR=#222222]fog_regenerate_[/COLOR][/FONT][FONT=arial][COLOR=#222222]timeout[/COLOR][/FONT]
[FONT=arial][COLOR=#222222]That’s the table and field for the timeout setting. it should NOT be set to zero…[/COLOR][/FONT]
[FONT=arial][COLOR=#222222]beyond that, I’ve got nothing.[/COLOR][/FONT]
-
RE: Random question...
[quote=“Junkhacker, post: 42996, member: 21583”]It is my understanding that Chuck has often had to pay out of his own pocket for hosting due to lack of donations.[/quote]
That’s sad. FOG is an amazing solution.
Think I’m going to put something up for it in a few days.