Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

raq4: is it possible to wget by tftp?

1,665 views
Skip to first unread message

tg

unread,
Aug 3, 2009, 3:05:03 PM8/3/09
to
my question pertains specifically to the sun cobalt raq4 running Cobalt
Linux (from 960-RAQ4S101AU.iso). I know how to download a file to the raq
from the internet using the telnet command:
wget http://blah-de-blah...
but the file I want is on a computer on the local LAN (and not from the
internet). The file in question is a pkg file on a windows PC running a
TFTP server. The TFTP server is properly configured to give the file to
whoever asks for it.
Is there a command that will wget it?
thanks for any advice.


DoN. Nichols

unread,
Aug 4, 2009, 12:05:57 AM8/4/09
to
On 2009-08-03, tg <t...@nospamevereverever.net> wrote:
> my question pertains specifically to the sun cobalt raq4 running Cobalt
> Linux (from 960-RAQ4S101AU.iso).

It is not hardware dependent. Any unix or linux should do it
the same way. You are not even asking about Sun's Solaris version of
unix in the software world.

> I know how to download a file to the raq
> from the internet using the telnet command:
> wget http://blah-de-blah...

That is not a "telnet" command. It is a "wget" command, which
invokes the ftp or the http protocol depending on the configuration of
the server. It does not (apparently) support tftp.

> but the file I want is on a computer on the local LAN (and not from the
> internet). The file in question is a pkg file on a windows PC running a
> TFTP server. The TFTP server is properly configured to give the file to
> whoever asks for it.
> Is there a command that will wget it?

Why wget -- why for normal ftp as well, other than the
convenience if someone has provided a URL pointing to it, instead of a
server name and a path to the file as separate items.

You should have an ftp command, and a tftp command in a linux,
just as you do in Sun's Solaris and in the BSD flavors. (I just checked
OpenBSD to be sure that tftp was present.)

Try "man tftp" to find out how to use it.

Depending on whether it is a binary (e.g. an executable or an
image) or a text file, you may need to start out with the commands
"binary" or "ascii" to turn off and on end-of-line conversion at each
end.

Good Luck,
DoN.

--
Email: <dnic...@d-and-d.com> | Voice (all times): (703) 938-4564
(too) near Washington D.C. | http://www.d-and-d.com/dnichols/DoN.html
--- Black Holes are where God is dividing by zero ---

Rick Jones

unread,
Aug 4, 2009, 12:59:50 PM8/4/09
to
DoN. Nichols <dnic...@d-and-d.com> wrote:
> You should have an ftp command, and a tftp command in a linux,

Might that depend on how "minimalist" the default install is for the
given Linux distro and how much else has been installed since then?

rick jones
--
oxymoron n, commuter in a gas-guzzling luxury SUV with an American flag
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...

tg

unread,
Aug 4, 2009, 2:05:09 PM8/4/09
to

"DoN. Nichols" <dnic...@d-and-d.com> wrote in message
news:slrnh7fct4....@Katana.d-and-d.com...

> On 2009-08-03, tg <t...@nospamevereverever.net> wrote:

thanks for your feedback Don, and Rick's reply does hit on the point of
the raq OS being a minimalist one. It's not a normal full-blown distro and
there are big bits missing.
But anyway I've managed to overcome the problem now by using a web server
on the windows machine. I downloaded and installed Abyss web server on the
windows PC and got it running, once I did that I was able to wget the files
from it for the raq using:
wget http://<PC.ip.addr.ess>/<filename>
downloading files from a pc on the same lan as the raq is a lot faster that
downloading them from the internet so I'm chuffed.


0 new messages