Ubuntu 11.04 distro that "just works" - Here's how
-
I have set up 5 FOG .32 systems, all running Ubuntu 12.04. They all worked without an issue and I would recommend that you use 12.04 as it is a current LTS release of Ubuntu and will be supported for 5 yrs, so until 2017. This should avoid having to link to old repos. I personally have used the desktop version most of the time, simply due to the moderate requirement differences and sometimes easier when I am assisting a newbie configure the machine. But even with the server edition I had no troubles.
-
[quote=“ITSolutions, post: 12536, member: 4222”]I have set up 5 FOG .32 systems, all running Ubuntu 12.04. They all worked without an issue and I would recommend that you use 12.04 as it is a current LTS release of Ubuntu and will be supported for 5 yrs, so until 2017. This should avoid having to link to old repos. I personally have used the desktop version most of the time, simply due to the moderate requirement differences and sometimes easier when I am assisting a newbie configure the machine. But even with the server edition I had no troubles.[/quote]
Friend,
I tried your suggestion once more with using Ubuntu 12.04, but i am recieving an error PXE-E32 TFTP open timeout on the client screen. Can you tell me what might be causing this and how to fix this?
-
the problem is with the way that ubuntu loads the tftp client, it starts the service too early and an ip address is not assigned.
This is a commonly known issue with that distribution, and a search would reveal a number of posts that have already been created for that specific problem, and the resolve we have is to delay the start of the service.
you can either run a command to restart the service
[B]sudo service tftpd-hpa restart[/B]
or you can put a delay to start the service
edit your /etc/rc.local and include
/bin/sleep 30 && /etc/init.d/tftpd-hpa restartI found a resolve that I keep posting but no one ever tells me if it works or not…
I am experiencing this problem in Ubuntu 12.04 Desktop (package: tftpd-5.2-1ubuntu1). The tftpd daemon does not start when the computer starts up, even though the tftpd-hpa job starts. As far as I can tell, the problem is that the tftpd service is starting before the network is properly configured. The problem seemed to go away when I changed the line
start on runlevel [2345]
in /etc/init/tftpd-hpa.conf tostart on (local-filesystems and net-device-up IFACE!=lo)
here is the post [url]http://fogproject.org/forum/threads/have-to-manually-start-dhcp-and-tftp-service-after-each-reboot.4232/[/url]
and another
[url]http://fogproject.org/forum/threads/pxe-e32-tftf-open-timeout.4146/#post-11644[/url]
where I keep doing the good Samaritan thing and doing the searching for you, I don’t mind but this is getting a bit ridiculous. -
[quote=“Jaymes Driver, post: 12571, member: 3582”]the problem is with the way that ubuntu loads the tftp client, it starts the service too early and an ip address is not assigned.
This is a commonly known issue with that distribution, and a search would reveal a number of posts that have already been created for that specific problem, and the resolve we have is to delay the start of the service.
you can either run a command to restart the service
[B]sudo service tftpd-hpa restart[/B]
or you can put a delay to start the service
edit your /etc/rc.local and include
/bin/sleep30 && /etc/init.d/tftpd-hpa restartI found a resolve that I keep posting but no one ever tells me if it works or not…
I am experiencing this problem in Ubuntu 12.04 Desktop (package: tftpd-5.2-1ubuntu1). The tftpd daemon does not start when the computer starts up, even though the tftpd-hpa job starts. As far as I can tell, the problem is that the tftpd service is starting before the network is properly configured. The problem seemed to go away when I changed the line
start on runlevel [2345]
in /etc/init/tftpd-hpa.conf tostart on (local-filesystems and net-device-up IFACE!=lo)
here is the post [url]http://fogproject.org/forum/threads/have-to-manually-start-dhcp-and-tftp-service-after-each-reboot.4232/[/url]
and another
[url]http://fogproject.org/forum/threads/pxe-e32-tftf-open-timeout.4146/#post-11644[/url]
where I keep doing the good Samaritan thing and doing the searching for you, I don’t mind but this is getting a bit ridiculous.[/quote]It works!!! THANKS!!!
-
What recommendation did you try?
Did you add the delay to the init.d file or did you change the way the job starts? I would like to find out if the “[I][SIZE=12px]start on (local-filesystems and net-device-up IFACE!=lo)” [/SIZE][/I][SIZE=12px]works or not :)[/SIZE]
-
[quote=“Jaymes Driver, post: 12587, member: 3582”]What recommendation did you try?
Did you add the delay to the init.d file or did you change the way the job starts? I would like to find out if the “[I][SIZE=12px]start on (local-filesystems and net-device-up IFACE!=lo)” [/SIZE][/I][SIZE=12px]works or not :)[/SIZE][/quote]
I changed start on (local-filesystems and net-device-up IFACE!=lo)
I suppose if i had done more digging i would have known to try it. Thanks again Jaymes! -
There is a lot of interesting discussion in the Ubuntu bug reporting utility about TFTP not starting. The solution to change the start up to “start on (local-filesystems and net-device-up IFACE!=lo)” [I]I think[/I] works if you have only one interface other than “lo”. I may have misread the comments on the bug report. So as long as you don’t have multiple nics, that should be the solution.
-
What if you do? Could you just modify it to read “[I][SIZE=12px]start on (local-filesystems and net-device-up IFACE==eth0)” or am I way out?[/SIZE][/I]
I only ask as I’ve been using 10.04 server for ages and would like to use 12.04 but when I’ve tried in the past I had this exact tftp issue. That was some time ago now though[I][SIZE=12px].[/SIZE][/I]
-
i tried to install a demo install yesterday on vmware workstation 9.
it seems that when you install the 12.04 ubuntu with the script indeed a few errors are made.
i needed to apply both solution above but this did not completly solved the issue.
i also had to set the static ip to my eth0 manualy in /etc/network/interfacesafther that dhcp starts automaticly and clients can pxeboot.
so i can confirm that 12.04 is possible with fog.kind regards
-
[quote=“Jaymes Driver, post: 12571, member: 3582”]the problem is with the way that ubuntu loads the tftp client, it starts the service too early and an ip address is not assigned.
[B]sudo service tftpd-hpa restart[/B]
or you can put a delay to start the service
edit your /etc/rc.local and include
/bin/sleep30 && /etc/init.d/tftpd-hpa restartI found a resolve that I keep posting but no one ever tells me if it works or not…
[/quote]Jaymes … I can say that it works …
-
[quote=“Jaymes Driver, post: 12587, member: 3582”]What recommendation did you try?
Did you add the delay to the init.d file or did you change the way the job starts? I would like to find out if the “[I][SIZE=12px]start on (local-filesystems and net-device-up IFACE!=lo)” [/SIZE][/I][SIZE=12px]works or not :)[/SIZE][/quote]
Worked for me. I’m soo glad I found this thread. Using Xubuntu 12.04.3 LTS + FOG 0.32