From: Li Weichen <liwch.nk@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Help about tftp download
Date: Thu, 3 Nov 2005 11:08:28 +0800 [thread overview]
Message-ID: <43697f36.7dc5e9c7.0cfa.165a@mx.gmail.com> (raw)
In-Reply-To: <4368B7F8.4030506@smiths-aerospace.com>
I have found the reason. My host PC has 2 ethernet cards, and the tftp
server is installed on the eth0 which ip is 192.168.0.11.
Thank you for your reply!
> -----Original Message-----
> From: u-boot-users-admin at lists.sourceforge.net
> [mailto:u-boot-users-admin at lists.sourceforge.net] On Behalf Of Jerry Van
> Baren
> Sent: Wednesday, November 02, 2005 8:59 PM
> To: u-boot-users at lists.sourceforge.net
> Subject: Re: [U-Boot-Users] Help about tftp download
>
> Li Weichen wrote:
> >>Another suggestion: from a (linux) box command line, tftp to your server
> >>and verify that it works. Your message is indicating that your server
> >>is 192.168.4.1 and the file you are trying to get is
> >>/tftpboot/u-boot.bin so do the following (I'm typing this from memory,
> >>so it may not be quite right)...
> >>
> >>$ tftp 192.168.4.1
> >>tftp> get /tftpboot/u-boot.bin
> >
> > Sorry but after I typed tftp 192.168.4.1, it came up with message looks
like
> > get uImage froam tftp server automatically.
> >
> >>Getting TFTP to work (i.e. properly configured) usually solves the
> >>problem in my experience.
> >>
> >>gvb
>
> Hi Li,
>
> You result description ment nothing to me. Please cut & paste real
> messages. Are you typing "tftp 192.168.4.1" from your _host_ (linux
> server) command line?
>
> OK, I ran a real instance on my home box (Debian 3.1 x86)
> vanbaren at dellserver:~$ uname -a
> Linux dellserver.lan 2.4.27-050821 #17 SMP Sun Aug 21 22:46:01 EDT 2005
> i686 GNU/Linux
>
> vanbaren at dellserver:~$ dpkg-query -l "*tftp*"
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
> uppercase=bad)
> ||/ Name Version Description
> +++-==============-==============-========================================
> ====
> ii tftp 0.17-13 Trivial file transfer protocol client
> ii tftpd 0.17-13 Trivial file transfer protocol server
>
>
> vanbaren at dellserver:~$ ls /tftpboot/hello_world
> hello_world
>
> vanbaren at dellserver:~$ tftp localhost
> tftp> get hello_world
> Received 101214 bytes in 0.1 seconds
> tftp> get /tftpboot/hello_world
> Received 101214 bytes in 0.0 seconds
> tftp> quit
>
> vanbaren at dellserver:~$ grep tftp /etc/inetd.conf
> tftp dgram udp wait nobody /usr/sbin/tcpd
> /usr/sbin/in.tftpd /tftpboot
>
>
> I was a little surprised that the tftp "get" worked with the /tftpboot
> full path. On a different box that I used (RH), it is configured as "-s
> /tftpboot" for the option (rather than "/tftpboot") so tftpd treats
> paths as relative to /tftpboot and thus the get "/tftpboot/foo" won't
> work because there is no /tftpboot/tftpboot/foo on the server. This
> should not be your problem since your configuration matches mine.
>
> HTH,
> gvb
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server.
Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
next prev parent reply other threads:[~2005-11-03 3:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-01 12:50 [U-Boot-Users] Help about tftp download Li Weichen
2005-11-01 13:11 ` Wolfgang Denk
2005-11-02 2:56 ` Li Weichen
2005-11-01 14:53 ` Bob Peterson
2005-11-01 15:37 ` Jerry Van Baren
2005-11-02 2:31 ` Li Weichen
2005-11-02 12:58 ` Jerry Van Baren
2005-11-03 3:08 ` Li Weichen [this message]
2005-11-02 2:27 ` Li Weichen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43697f36.7dc5e9c7.0cfa.165a@mx.gmail.com \
--to=liwch.nk@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox