Windows laptop unable to boot into Fog menu
-
Hi Tom,
Yes I’ve changed it so now /var/lin/tftpboot is a link to /tftpboot. But when I tried restarting /etc/init.d/tftpd-hpa , nothing happens. even ./tftpd-hpa status returns nothing. And the same process is still running…
root 24631 0.0 0.0 15128 148 ? Ss 13:50 0:00 /usr/sbin/in.tftpd --listen --user root --address :69 -s /tftpboot
Hi george1421,
I will try to send you the output.pcap file . I will see if I can just drop that file directly into the chat box -
oh no worries Tom, I figured out how to restart the tftpd-hpa. But same problem of the timeout and exiting on the laptop. I even chmod 777 to /tftpboot but no difference… however I am able to ftp to my fog server from my pc. So ftp is ok just tftp is not somehow?
-
Hi george1421,
i have my pcap file ready, I wasn’t able to drop it into your chat box, it wouldn’t allow it . Do you have somewhere I can drop it off to like an ftp server or email add , etc ? Much appreciated.
-
@froydo Another, and hopefully, final change.
The line of the config file that is looking only at :69 can you try:
0.0.0.0:69
and restart tftpd-hpa.
Yes, the restart is still needed.
-
@Tom-Elliott The OP sent me the pcap file.
One remarkable thing found was there are two different dhcp server responses to the client’s discover packet. Each dhcp server is giving conflicting boot file and next server values to the client. In the pcap file there was no indication of the client asking the FOG server (assuming that is where the tcpdump command was being run) for the boot file.
@froydo on your fog server make sure your tftp process is running. The following command should show you the tftp server is listenting
netstat -an|grep 69
You should see a line like
udp 0.0.0.0:69
-
Thanks I got that message which shows tftpd service is running. I did the changes in the config and restarted but still having the same issue, even with the windows firewall turned off.
-
@froydo Maybe give dnsmasq and proxy dhcp a try?
It’s been a while since I’ve configured it but here are some possibly helpful articles
https://wiki.fogproject.org/wiki/index.php?title=ProxyDHCP_with_dnsmasq
https://forums.fogproject.org/topic/5713/dnsmasq-breaks-apt-get -
@froydo Additionally, and I’m sorry if this was covered earlier in these posts and I missed it, is this laptop booting to legacy pxe or uefi pxe? It sounds like legacy pxe since its looking for pxelinux.0 in one error. But just want to make sure we’re helping you configure the right thing here.
-
the lenovo is booting Both , but legacy first.
-
@froydo said in Windows laptop unable to boot into Fog menu:
Hi george1421,
My dhcp server is a Juniper ex3300 and under the Boot options, there is the Boot Server , I entered my fog server ip there.
there is the boot file which I entered “/bzImage”. There’s no next server option anywhere I could see.So is your dhcp run completely by the switch? You don’t have a windows or linux dhcp service to manage things? Or did I miss something?
-
Good news . Problem solved. We had to add “next server” in our dhcp server. then everything works now. Thanks all for you help.
-
Hi Guys,
I have a new problem now. I’ve successfully boot into Fog Menu on the laptop and sucessfully registered the laptop. Now when I try to capture the image - on the laptop I see it keeps failing at “Attempting to check in - Failed” . and this repeats over and over again.
-
@froydo Did you make a image entry in the gui to upload to?
I would also suggest for your first host and image doing the quick host registration and inventory from the menu then queuing an upload from the gui.
After you do a quick registration there should be a host in your hosts gui.
You’ll also need to make a image to assign to the host so it has a database entry to link to.If that doesn’t make sense check out https://wiki.fogproject.org/wiki/index.php?title=Managing_FOG or I can explain in more detail if you don’t find the answer there.
-
@froydo Did you get this figured out?
-
Yes JJ it all works now. thanks