On Sun, Dec 6, 2009 at 4:32 PM, Tom Metro
<[email protected]<tmetro%[email protected]>
> wrote:
> Dave wrote:
>
>> Tom Metro wrote:
>>
>>> pass /tftpboot/mvp.bin to a TFTP client running on another machine
>>> and it successfully retrieves the dongle.
>>>
>>
>> How would I test this? I'll install the tftp client on this machine and
>> try it now, but it would help if someone gives me the appropriate commands
>> (or points me to the right page). It will be no use for me to manually
>> retrieving the dongle if it is not retreived in the way a MediaMVP would
>> retrieve it...
>>
>
> You shouldn't need to replicate the MVP approach to prove that you have the
> path correct. The dongle retrieval is performed by the bootloader firmware,
> which we don't have the source to, so we can't look at the "command line" it
> uses, but we not from observation that the bootloader combines the DHCP
> supplied path and the file name.
>
> The test is intended to exercise how your server interprets the path. TFTP
> servers have options to use the path as an absolute path, use it as relative
> to some fixed path, or ignore the path and expect the file to exist in some
> set location.
>
> Any TFTP client could be used to perform that test, including any Windows
> XP or later box, as they include a TFTP client.
>
OK, here's the test I just ran from my laptop:
> tftp
tftp> connect 192.168.2.107
tftp> get mvp.bin
tftp>
The file was retrieved:
-rw-r--r-- 1 me users 3625504 2009-12-06 16:51 mvp.bin
and the server logs show this:
Dec 6 16:51:33 myMythBE atftpd[2182]: Serving mvp.bin to
192.168.2.114:44005
That would seem to indicate nothing unexpected with regard to the path.
>
> mvpmc includes a TFTP client, and will use the path supplied via DHCP when
> retrieving your optional startup script ("conf file").
which path? This one?
option root-path "/home/me,rsize=4096,wsize=4096,nolock";
if so, then I need to change it back to
option root-path "/*tftpboot*,rsize=4096,wsize=4096,nolock";
I had it specified like that previously, and it didn't work, but maybe some
other setting was wrong at that time too...
> As you have a booting rev H box, you can use that, and replicate the mvpmc
> command line precisely, if you choose. The actual TFTP command line can be
> found in the rc.S script. See:
>
>
> http://git.mvpmc.org/cgi-bin/gitweb.cgi?p=mvpmc.git;a=blob_plain;f=dongle/filesystem/tree/etc/rcS
>
> (You can also view this on an MVP running mvpmc at /etc/rcS.)
>
>
> I've written some TFTP troubleshooting tips at the end of this page:
> http://mvpmc.wikispaces.com/saving+settings+via+TFTP
>
Thanks. That's a great resource!
>
> and check the list archives for troubleshooting tips showing Windows TFTP
> command lines.
>
> -Tom
>
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Mvpmc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mvpmc-users
mvpmc wiki: http://mvpmc.wikispaces.com/