TFTP Download Failed

nixer
Posts: 2
Joined: 26 Jul 2013, 12:24

TFTP Download Failed

Postby nixer » 26 Jul 2013, 13:15

I just found this ERPXE project yesterday and spent the day trying to get it to work. I have not succeeded, yet. Whenever I try to load the hirensminixp.iso I get a message "TFTP Download Failed". Nothing else shows on the screen.

I have a Debian Stable system running the atftpd program. The tftpd-hpa would not install without errors so I am trying to use a different tftp server. This atftp program likes for the default location to be at /srv/tftp and erpxe suggests it at /tftpboot. No problem so far as I symlinked the root of /tftpboot to /srv/tftp. It does load the program and I can navigate the erpxe menu. I might add that the atftp server works fine with other pxe boots, just not this erpxe.

I went through the installation and configuration of erpxe and all went fine except for the command "smbpasswd -a erpxe" which threw out an error. I don't think this is critical, for now, so I will move on. Everything seems fine except that I am unsure where to put this information: "-m /tftpboot/er.remap -vvvvv -s". I added it to the /etc/default/atftp.conf file as -
OPTIONS="--tftpd-timeout 300 --retry-timeout 5 --mcast-port 1758 --mcast-addr 239.239.239.0-255 --mcast-ttl 1 --maxthread 100 --verbose=5 -m /tftpboot/er.remap"

I had to drop the -s flag as the service would not start with it added. This does not seem to help any. I also added it to the /etc/init.d script on the "Options" line as "-m /tftpboot/er.remap -vvvvv -s". This does not help any either. I am unsure about this. Is there a proper way that you suggest do add it?

My creation of the hirensminixp.iso file was attempted three times with the hex editing done at least 4 times. I am pretty sure that I have got this right, but then, maybe not. I checked my /var/log/daemon file and I get this message:
Jul 25 22:56:29 server atftpd[27551]: Serving er/plugins/ubuntutrinux.menu to 192.168.x.xxx:49347
Jul 25 22:56:32 server atftpd[27551]: Serving er/plugins/hirensminixp/startrom.0 to 192.168.x.xxx:49421
Jul 25 22:56:32 server atftpd[27551]: Serving WIN\H to 192.168.x.xxx:2072

The error log stops here.

I don't know which direction to take from here. I may have picked a more advanced plugin to use as my first try with erpxe, but it is one that I would use often so I tried it. Any suggestions?

Update: I just tried a easier plugin, the partedmagic plugin. It too will not download, but i get no error message in the log. The last line in the log file says:
Jul 26 10:12:17 server atftpd[3659]: Serving er/plugins/partedmagic/i386/bzimage to 192.168.x.xxx:49429
Jul 26 10:12:24 server atftpd[3659]: Serving er/menu/skin/menu.png to 192.168.x.xxx:49430

and then the log stops. I can browse the erpxe menu including the PMagic menu entry, and then once selected, nothing happens.

I am missing something somewhere, but I can't find it. Any help would be appreciated. Thanks.
RaveMaker
Posts: 204
Joined: 21 Mar 2013, 20:11

Re: TFTP Download Failed

Postby RaveMaker » 29 Jul 2013, 16:04

Hi
I don't see an issue with your configuration.
I would try to move the files to /tftpboot instead of /srv/tftp and change the settings to point to /tftpboot .
nixer
Posts: 2
Joined: 26 Jul 2013, 12:24

Re: TFTP Download Failed

Postby nixer » 21 Aug 2013, 17:56

I have tried all that I know and I can't get this to work, yet. I want to ask a question regarding dhcp configuration. I am wondering if my problem isn't somehow related to this issue: http://erpxe.net/viewtopic.php?f=5&t=120.

I have a small network that uses a common linksys router which has been flashed with tomato firmware. My alteration to dnsmasq on the router contains only one line:
dhcp-boot=grldr,,192.168.x.xxx
which is pointing to a grub entry and from this grub entry I can point to a pxe linux. This works fine. I can also enter "dhcp-boot=pxelinux.0,,192.168.x.xxx" and it will load the erpxe boot menu fine, but nothing will transfer by tftp.

In looking over the debian install instructions, at the bottom it mentions dhcp configuration which I have not done.
dhcpd
Add the following rules to your dhcp server:
next-server 10.0.0.1;
filename "pxelinux.0";



Under Virtual Appliance it says:
ERPXE IP address is 10.0.0.1 , To change it you should read Change IP article.


On the Change IP article it says:
In order to adjust ERPXE to the local IP Address of your server you first need to adjust your DHCP server settings:
Linux DHCPd:
next-server NEWIPADDRESS;



Do I need to amend anything in the "dhcp-boot" line in the tomato firmware? I do not know of anything else to ask. I have done everything else in the installation instructions. Thanks for any suggestions.
RaveMaker
Posts: 204
Joined: 21 Mar 2013, 20:11

Re: TFTP Download Failed

Postby RaveMaker » 21 Aug 2013, 19:06

Your router config seems fine.
My guess is that the issue is with your TFTP configuration.
Try using TFTPD-HPA instead of ATFTPD and then try moving the files to /tftpboot instead of /srv/tftp/

TFTPD-HPA config:
http://erpxe.org/Debian_installation_instructions

Follow this tutorial and verify you haven't missed anything with PartedMagic plugin configuration:
http://erpxe.org/PartedMagic

Change the plugin IP address:
Several plugins use HTTP/NFS/SMB protocols to mount the rest of the OS after the first KERNEL,INITRD stage.
In order to mount the files from a correct location you will need to edit the .menu file included with the plugin.
Just look for the string 10.0.0.1 within the .menu file and replace it with your IP address.
alfredalfred
Posts: 1
Joined: 09 May 2016, 14:10

Re: TFTP Download Failed

Postby alfredalfred » 09 May 2016, 14:11

This works fine. I can also enter "dhcp-boot=pxelinux.0,,192.168.x.xxx" and it will load the erpxe boot menu fine, but nothing will transfer by tftp????


http:www.leather4sure.biz

Return to “Troubleshooting and Problems”

Who is online

Users browsing this forum: No registered users and 1 guest

cron