/default.ipxe... Connection timed out | fog_1.0.1 | Ubuntu 14.04 LTS | Winxp32 Vbox Client
-
Apologies if this is a repost, but I’ve searched a bit and this issue only seemed to come up previously and has been fixed with a login shell being created for the tftp user account. My issues seemed to be resolved another way and i thought i would try to share what I did.
This is what i was seeing before the fix:
[IMG]http://i.imgur.com/Q2AXpr6.png[/IMG]I saw somewhere that the tftp root was pointing to /var/lib/tftpboot and i saw that the PXE loader was having trouble finding the default.ipxe file so i made a symlink to the file in the other tftpboot folder (not /tftpboot)
root@p9:/tftpboot# cd /var/lib/tftpboot
root@p9:/var/lib/tftpboot# ln -s /tftpboot/default.ipxe default.ipxeThis is what happened after i made the fix:
[IMG]http://i.imgur.com/nVsGnzu.png[/IMG]I probably should have changed the default tftpboot folder to /tftpboot but it looks like it’s finally seeing the boot.php script… which is a step up as I’ve been trying to get this to work for about a solid 20 hours now.
I also read that 14.04 is not really recommended yet, but I read this after i hit the 15 hour mark and I’m not sure i want to download Ubuntu 13 and start again.
Anyway - i thought this may help anyone else also trying to get fog to work on Ubuntu 14.04 LTS.
Off to search for any /bzImage32 … 50% posts!
-Paul
EDIT:
my tftp server looks like it has the right home folder, so I’m wondering how that even worked…
root@p9:/tftpboot# cat /etc/default/tftpd-hpa
/etc/default/tftpd-hpa
FOG Modified version
TFTP_USERNAME=“root”
TFTP_DIRECTORY=“/tftpboot”
TFTP_ADDRESS=“0.0.0.0:69”
TFTP_OPTIONS=“-s” -
Is your client virtual box?
If so set the network card hardware to Intel, other types give this problem.
It also occurs on VMware I believe, real hardware is OK. -
You sir are correct!!
Thanks Much!!
I remember years ago always choosing the Inter adapters over the PCnet Fast ones (forgot what the initial headache was) and most of my VM’s have the intel adapter, but i forgot to change this one (and one other).
And just like that it’s uploading the image!! Many Thanks!!
-Paul
-
Hi,
I have same problem, but this solution does not work for me.
I have virtual box, both client and server to.
Server on ubuntu 13.10 destop
fog 1.0.1
with proxy dhcp configured as link below:
[url]http://www.fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server[/url]any ideas?
Krisz
-
Which of the two above problems do you have, can you give a screenshot?
If it is the first above, ie “cannot read from boot medium, system halted” I suggest you reinstall, with fog providing the dhcp, with your lan set to internal network only.
Once you have that working, you can reinstall with the LAN set to bridged, with fog not providing dhcp.
If that then does not work, it is your dhcp/ dhcp proxy settings that are the problem. -
[ATTACH=full]802[/ATTACH]
Bridged lan was setted before I installed the ubuntu.
the Dhcp can be problem, I attach that one to
[url=“/_imported_xf_attachments/0/802_002.png?:”]002.png[/url][url=“/_imported_xf_attachments/0/803_ltsp.conf.txt?:”]ltsp.conf.txt[/url]
-
It sounds like tftpd is not looking at the correct place. The above example was for ubuntu 14.04, you are running 13.10
I haven’t got either OS, but you need to get the following working on you fog server before you go any further, running as root on the fog server try the following.
tftp 192.168.1.17
//if the above fails the tftpd isn’t running, see other threads for this problem.
tftp> get /default.ipxe
tftp>
if you get an error, then the tftpd server cannot find default.ipxe, so it is probably pointing at the wrong root folderyou will need to do the following
check that default.ipxe is in /tftpboot
look at /etc/default/tftpd-hpa for the root folder for tftpd (TFTP_DIRECTORY)cd <TFTP_DIRECTORY> //ie what you got from the config file.
root@p9:/var/lib/tftpboot# ln -s /tftpboot/default.ipxe default.ipxe
Hope this helps
-
This picture has been made on ubuntu 14.04, but I had same error on the 13.10 too(until yesterday, but I set to many thing on the 13.10, so I will delete that one).
Here is an other picture about you said.
[ATTACH]813[/ATTACH]Thank you for your help
[url=“/_imported_xf_attachments/0/813_003.png?:”]003.png[/url]
-
[S]Why are you linking the /tftpboot/undionly.kpxe to the /tftpboot/default.ipxe?[/S]
Disregard.
So what’s the VirtualBox Network adapter set to?
You have it set to bridged adapter?
Under advanced, you have it set to one of the three Intel NICs?
-
Looks like tftpd on your fog server is working OK.
does [url]http://192.168.1.17/fog/service/ipxe/boot.php[/url]
work OK, it should return the ipxe menu source?
As Tom says, is your client on the same lan in virtual box as your fog server.
If so, please reinstall fog, this time letting fog be the dhcp server.
You will need to stop the dns-masq service.
Please be aware that you will have 2 x dhcp servers on your lan, so either switch off the main one, or ensure that the virtual box host cannot see it, you can’t just pull the cable, as the Virtual box network adapters will not work.
Hence my other suggestion to put both the fog server and client network adapters on the internal network.Once you have a working basic fog server, with the fog server doing the dhcp, you can reinstall with fog dhcp set to No, and get your dnsmasq config correct.
I can’t offer any advice on dnsmasq as I don’t use it but there are a number of post on the forums about it.
Regards -
Dear Tom
As you can see above your reply I started with the version of the fog and version of the ubuntu…
And yes both (client and server too) are in bridged, and both of them intel pro/1000 mt destop (82540EM)
And yes, I read the fog wiki,
and yes I have been reading forums for 2 weeks, and this is approx the 16th ubuntu that I’ve installed in this two weeks.
Kernel issues: I have fog 1.0.1
I do not know what is the connection between the apache and the tftp, but anyway here is the apache log.Krisz
[url=“/_imported_xf_attachments/0/814_apache error log.txt?:”]apache error log.txt[/url]
-
Krisz,
My signature is just that, a signature to give a starting point for helping people out. I don’t type that out on all of my posts.
-
You state that you’re using a proxy, or just using proxyDHCP?
-
Yes, that link returned of the source of the ipxe menu.
that is the problem, I want to you proxy dhcp, instead off the built in dhcp,(I have an dhcp server already, I do not want to turn it off, I can’t modify anything on it )
Thank you anyway, I will read forward.
Just one more thing.
I tried the vm version too, I set with built in dhcp, and that was working…, and I checked the files in the tftpboot, and there are complitly different files overther, I attach picture(so this version is the vm that I’ve downloaded from fogproject.org, and setted up with dhcp…, and this version is working with this settings…, i did not modify anything on it, I’ve just setted up with dhcp )
[ATTACH]815[/ATTACH]
Krisz[url=“/_imported_xf_attachments/0/815_004.png?:”]004.png[/url]
-
Sorry, I am new on this forum, I did not realized, it is signature.
proxyDhcp -
[quote=“Krisztian Buscsei, post: 27951, member: 24324”]Yes, that link returned of the source of the ipxe menu.
that is the problem, I want to you proxy dhcp, instead off the built in dhcp,(I have an dhcp server already, I do not want to turn it off, I can’t modify anything on it )
Thank you anyway, I will read forward.
Just one more thing.
I tried the vm version too, I set with built in dhcp, and that was working…, and I checked the files in the tftpboot, and there are complitly different files overther, I attach picture(so this version is the vm that I’ve downloaded from fogproject.org, and setted up with dhcp…, and this version is working with this settings…, i did not modify anything on it, I’ve just setted up with dhcp )
[ATTACH]815[/ATTACH]
Krisz[/quote]Based on this, the dhcp servers aren’t pointing at the right locations. While undionly.kpxe is running from the proper location, the other server doesn’t have the default.ipxe file there.
Can you make a copy of the default.ipxe and place it on that system that is “working”?
-
I can try to copy over there, but do you think it gonna work? I mean in vm there is fog 0.27 and the other one is fog 1.0.1 and as the fog wiki write it, it use a complity different setting:
[url]http://www.fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server[/url]
I used dnsmasq settings for ipxeMaybe I gonna try with fog 0.32
-
Yes, but I think the system is confused. So it’s trying to use the tftp settings from the 0.27 in which default.ipxe does not exist. Also, it won’t impact the operation of the 0.27 because it knows nothing of the default.ipxe nor cares about it.
-
Why it is trying to use the tftp setting from 0.27
I think I was not clear.I have downloaded a vm 0.27
this one is working fine with the built in dhcpsecond virtal machine: ubuntu 14+fog 1.0.1 +proxy dhcp with the settings from the fog wiki
I did not set anything on the tftp, I’ve just modified the proxydhcp…
And there is default.ipxe in the tftpboot folder -
Alright, lets go to basics.
Try commenting out the port=0 line in your ltsp.conf file:
[code]#port=0[/code] and restart the service, any luck?