Hi. I just posted the fix in another thread.
Edit etc/rc.local and add the line one up from exit 0: /bin/sleep 30 && /etc/init.d/tftpd-hpa restart
It should look like this:
/bin/sleep 30 && /etc/init.d/tftpd-hpa restart
exit 0
Hi. I just posted the fix in another thread.
Edit etc/rc.local and add the line one up from exit 0: /bin/sleep 30 && /etc/init.d/tftpd-hpa restart
It should look like this:
/bin/sleep 30 && /etc/init.d/tftpd-hpa restart
exit 0
Hi All. I never posted the fix for TFTP open timeout.
navigate to /etc
then type in
sudo nano rc.local
then your password.
next, add this one line before the end:
/bin/sleep 30 && /etc/init.d/tftpd-hpa restart
hit ctrl + o
hit enter
then ctrl + x to exit.
I can also confirm that HP 8100’s and 8200’s work with the latest kernel out of the box.
Yup. Image created perfectly. Redeployed it aswell. Todays project is to sysprep it as there were a couple problems which were hard to get past.It created another drive on any user profile after i added pcs to the domain. ill add the code i did to remove it below when i get into work.
The above changes worked perfectly and i was able to image perfectly. I also made the changes on my home build and it now works flawlessly. Ive added avg rescue, hirens, dban and ubuntu to the pxe menu. Even mini windows xp within hirens boot cd works great.
If i can get the 8200’s to work i think we wont bother fixing our altiris server!!!
Oh BTW. After restarting the server one more time and manually starting tftp-hpa, all worked like clockwork
Hi Chad.
Yes it is 12.0.4!! - Hmmn… Is there a way of downgrading? - I’ll research the known issues and weigh up the cost. I now know a lot more about fog and could probably rebuild the whole thing in about 1 hour. Might be worth it!
Thnaks Fog_Rookie! You have been most helpful.
I had to do sudo /etc/init.d/tftpd-hpa restart to get it back up and running again. I’m re-uploading the other hp8100. This time with the older kernel. Maybe it was a problem with that.
Nope. both 320gb. I opened up both cases and doublechecked.
Looks like the tftp server is still playing up. I rebooted and still issues.
I tried re-imaging the pc and it didnt like the tftp password so the job was not started. I reset it to the default one and restarted ubuntu. I tried restarting the job, but now the tftp issue is back!! - Doh!
I just connected up another machine and set it to dns.
The ip’s are
router = 192.168.0.1 (1)
my fog server = 192.168.0.254 (254)
gateway = 1
DNS = 1
DHCP = 254
this machine happily connects to the internet.
fog_rookie, you are a genius. Yup. tftp is working once again after the update. It failed first, then when I went to restart, it showed, “partial upgrade” and it upgraded tftp.
I now have a screenshot of where it freezes.
[ATTACH=full]137[/ATTACH]
[url=“/_imported_xf_attachments/0/137_20120712_082800.jpg?:”]20120712_082800.jpg[/url]
I have also seen that I needed to change the tftp password to match my own. I’ve left it as password. so i did that. additionally the FOG_PXE_IMAGE_DNSADDRESS was pointing to 127.0.0.1 (itself) I changed it to the fog servers ip (which is still itself)
Doing these changes still failed.
ah. no. I did it from ubuntu desktop. I’ll do now.
well… i dont think that went well…:
root@FOGServer:/etc/init.d# apt-get install atftpd
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages will be REMOVED
tftpd-hpa
The following NEW packages will be installed
atftpd
0 upgraded, 1 newly installed, 1 to remove and 42 not upgraded.
Need to get 62.0 kB of archives.
After this operation, 46.1 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 [url]http://gb.archive.ubuntu.com/ubuntu/[/url] precise/universe atftpd i386 0.7.dfsg-11 [62.0 kB]
Fetched 62.0 kB in 0s (523 kB/s)
Preconfiguring packages …
(Reading database … 193528 files and directories currently installed.)
Removing tftpd-hpa …
tftpd-hpa stop/waiting
dpkg: error processing tftpd-hpa (–remove):
subprocess installed post-removal script returned error exit status 1
No apport report written because MaxReports has already been reached
Processing triggers for ureadahead …
ureadahead will be reprofiled on next reboot
Processing triggers for man-db …
Errors were encountered while processing:
tftpd-hpa
E: Sub-process /usr/bin/dpkg returned an error code (1)
paul@FOGServer:~$ sudo /etc/init.d/atftpd restart
sudo: /etc/init.d/atftpd: command not found
i did a search for atftpd now . using apt-file search atftpd
it found it within /etc/init.d so i did:
cd /etc/init.d
I then ran atftpd restart and i got this:
root@FOGServer:/etc/init.d# atftpd restart
The program ‘atftpd’ is currently not installed. You can install it by typing:
apt-get install atftpd
I guess it deleted itself or something. Im going to try to install and see what happens.
(as you can tell, i’m pretty useless when it comes to ubuntu )
Yup, assume so. Image uploaded almost perfectly. It would freeze every 10 seconds for about 5 seconds but the switch would keep flashing so it must have been transferring.
Im curious, is there a way of restarting the tftp service? Or restarting fog without rebooting ubuntu? i manage a nagios server and there is a restart switch for that.
Many thanks
Hi
Thanks for the speedy reply.
Technically, it freezes at about 60mb on the 2nd partition.
I have a static ip on “wired connection 1”
I have set the address, netmask, gateway and dns server (theres only 1)
Cheers
Hi All
I’m trying to image a hp8100. However, It keeps crashing when deploying the image. I looked online and saw that it requires:
0.29 Kernel - 2.6.35.7 PS otherwise poor performance.
I think 0.29 specifies the version of fog right? - I have 0.32 but i saw that others were successful at using that. However, when i try to download that kernel from within FOG, I get an error as the file is unavailable. I have managed to find it on sourceforge but i have no idea how to configure it. I am using the latest version of ubuntu desktop. I am 2nd/3rd line desktop support analyst, working my way up to becoming a server administrator and have very limited knowledge in how to use Debian based linux (or any others!!)
To make matters worse, when rebooting ubuntu (after installing it), i get a tftp error and the server stops working. I am using a public internet with a netgear wireless router. (testing envoronment) I have disabled DHCP on the router/gateway, however the setup im using is off the network as we do not want to deploy a work in progress in a live environment. From reading the documentation, I am led to believe that FOG already has a DHCP/DNS server inbuilt so I would have thought that this would cirvumvent pxe not finding TFTP. Any step in the right direction would be most welcomed.
Oh and i’ve got the same setup at home, but am only imaging 745’s which are not too fussy. I am running it off vmware workstation along with a proper DNS/DHCP/AD environment and i’m also encountering the same error after first reboot.