Trying to flash an image using Linux

Llew

cerca trova...
Staff member
Joined
Jan 1, 2000
Messages
16,233
Reaction score
4,202
Points
113
Age
81
My Satellite Setup
Triple Dragon, Dreambox 8000, Echostar AD3000ip, TBS6522,6925,6983 PCie cards.
Gibertini 1.25m motorised dish driven by the AD3000, with either Inverto BU Quad or Norsat / XMW Ka LNBs . SMW 1.05m + 3 other dishes. Speccy: Promax HD Ranger+
My Location
The Flatlands of East Anglia
Thought I'd try updating an image to my TD using OpenSuSe 11.1. and Trivial file Transfer Protocol

I'm connected to my TD ready for loading the image, but the Bootloader reports that it doesn't find the file.

The TD IP connection as reported in SuSe's /var/log/xinetd.log says it has started OK (shows my TD's IP address) then times out as expected after fifteen minutes - if I wait that long :-rofl2

Server_args in xinetd.d.config are :

-s /home/david/triple/tftpboot (where the image.bin resides) and permissions there are set for read only by users, but as I say, the TD doesn't find the TD.bin image.

Testing tftp process -
------------------------

Code:
linux-60vf:~# netstat -@ |grep tftp 
udp        0     0 *:tftp           *:* 
linux-60vf:~#


Testing xinetd process -
---------------------------


Code:
david@linux-60vf:~> sudo -i 

root's Password: 

linux-60vf:~# /etc/init.d/xinetd restart                                
Shutting down xinet.d:                     done                
Starting INET Services. (xinetd)      done



In /var/log/xinetd.log -
--------------------------

Code:
09/1/1 @ 16:14:56 : START: tftp from 192.168.1.xx 
09/1/1 @ 16:29:56 :  EXIT: tftp status = 0 duration = 900(sec)


(xx=my TP address)

So - everything seems to be correct regarding tftp connecting to my box, just that the TD's Bootloader gets lost somewhere trying to find the file.

Any suggestions would be welcome - yes, it's easy using Win XP, just want to use the Linux alternative.

Llew
 

compufunk

Regular Member
Joined
May 7, 2008
Messages
1,658
Reaction score
1
Points
38
My Satellite Setup
DM 600-S, VU+ Duo,
Moteck SG2100, Fracarro Penta 85 dish, LG LH3000 42" TV + some computers
My Location
NW, Ireland
Have you changed the ownership of the /home/david/triple/tftpboot directory?

I think you need to set ownership to 'nobody' because the tftp process runs under that username.

Code:
chown nobody:nobody /home/david/triple/tftpboot
Then restart the tftp server.

It may also be worth allowing full read/write/execute permissions on that directory. I'm not sure, but the TD may need some files to be written to or executed from there.
 

Llew

cerca trova...
Staff member
Joined
Jan 1, 2000
Messages
16,233
Reaction score
4,202
Points
113
Age
81
My Satellite Setup
Triple Dragon, Dreambox 8000, Echostar AD3000ip, TBS6522,6925,6983 PCie cards.
Gibertini 1.25m motorised dish driven by the AD3000, with either Inverto BU Quad or Norsat / XMW Ka LNBs . SMW 1.05m + 3 other dishes. Speccy: Promax HD Ranger+
My Location
The Flatlands of East Anglia
Yes, I tried that command earlier, but forgot the colon (still wiseing up on Linux commands). I'll try it again.

I assumed that the file would only be executed, as with the application I use when flashing via XP.

Here's my permissions for that file. Is it correct?

Code:
-rwxr-xr-x 1 david users 577152 Dec 18 2000 tdimage_2007_12_11_bin

Cheers, Llew
 

compufunk

Regular Member
Joined
May 7, 2008
Messages
1,658
Reaction score
1
Points
38
My Satellite Setup
DM 600-S, VU+ Duo,
Moteck SG2100, Fracarro Penta 85 dish, LG LH3000 42" TV + some computers
My Location
NW, Ireland
Code:
-rwxr-xr-x 1 david users 577152 Dec 18 2000 tdimage_2007_12_11_bin
This is only telling us the ownership of the TD image file. What needs to be known is the ownership of the tftpboot directory.

Code:
ls -lA /home/david/triple/
Will give you the ownership details for 'tftpboot'.

There is probably a way to change ownership/permissions through the GUI. I'm not familiar with Suse so I cant tell you exactly how.

There is also GUI for setting up TFTP.
 

Llew

cerca trova...
Staff member
Joined
Jan 1, 2000
Messages
16,233
Reaction score
4,202
Points
113
Age
81
My Satellite Setup
Triple Dragon, Dreambox 8000, Echostar AD3000ip, TBS6522,6925,6983 PCie cards.
Gibertini 1.25m motorised dish driven by the AD3000, with either Inverto BU Quad or Norsat / XMW Ka LNBs . SMW 1.05m + 3 other dishes. Speccy: Promax HD Ranger+
My Location
The Flatlands of East Anglia
Hi again. /home/david/triple gives the same permissions, that is:

Code:
drwxr-xr-x 2 david users 4036 Jan 1 21:34 tftpboot

I tried chown nobody:nobody, but it doesn't change ownership, still shows david.

I'll check to see if there's a GUI for changing permissions, although it appears that Owner - Group - Others should allow the file to be read (?)
 
Top