Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - tftp server on linux: (5 Items)
   
tftp server on linux  
I've moved my desktop over to linux, and I've run into a problem I can't figure out...

I use the IDE's tftp server to serve boot images to a board on my desktop.  Running under linux, the IDE can't start up 
tftpd -- it gives a message "Cannot start server: error: Unable to bind to server port".

I've made sure that xinetd doesn't use port 69:

   root@qnxws7581:/etc/xinetd.d# netstat -anp | grep ":69"
   root@qnxws7581:/etc/xinetd.d# 

The server worked fine under Windows...

btw, this is Ubuntu 9.04 if that makes any difference.

Anybody have any ideas?

Thanks,

Doug
Re: tftp server on linux  
You have to be root or setuid root on the proxy binary that launches the server. Or you can change port to something 
above 1000.
Binary is in /opt/qnx641/host/linux/x86/usr/qde/eclipse/plugins/com.qnx.tools.ide.tftp_4.6.0/os/linux/proxy
(or whatever version you have)


Douglas Bailey wrote:
> I've moved my desktop over to linux, and I've run into a problem I can't figure out...
> 
> I use the IDE's tftp server to serve boot images to a board on my desktop.  Running under linux, the IDE can't start 
up tftpd -- it gives a message "Cannot start server: error: Unable to bind to server port".
> 
> I've made sure that xinetd doesn't use port 69:
> 
>    root@qnxws7581:/etc/xinetd.d# netstat -anp | grep ":69"
>    root@qnxws7581:/etc/xinetd.d# 
> 
> The server worked fine under Windows...
> 
> btw, this is Ubuntu 9.04 if that makes any difference.
> 
> Anybody have any ideas?
> 
> Thanks,
> 
> Doug
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post31423
> 
Re: tftp server on linux  
Excellent, thanks!  I'm back in business...

On Wed, 2009-06-10 at 16:28 -0400, Elena Laskavaia wrote:
> You have to be root or setuid root on the proxy binary that launches the server. Or you can change port to something 
above 1000.
> Binary is in /opt/qnx641/host/linux/x86/usr/qde/eclipse/plugins/com.qnx.tools.ide.tftp_4.6.0/os/linux/proxy
> (or whatever version you have)
> 
> 
> Douglas Bailey wrote:
> > I've moved my desktop over to linux, and I've run into a problem I can't figure out...
> > 
> > I use the IDE's tftp server to serve boot images to a board on my desktop.  Running under linux, the IDE can't start
 up tftpd -- it gives a message "Cannot start server: error: Unable to bind to server port".
> > 
> > I've made sure that xinetd doesn't use port 69:
> > 
> >    root@qnxws7581:/etc/xinetd.d# netstat -anp | grep ":69"
> >    root@qnxws7581:/etc/xinetd.d# 
> > 
> > The server worked fine under Windows...
> > 
> > btw, this is Ubuntu 9.04 if that makes any difference.
> > 
> > Anybody have any ideas?
> > 
> > Thanks,
> > 
> > Doug
> > 
> > _______________________________________________
> > General
> > http://community.qnx.com/sf/go/post31423
> > 
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post31426
> 
Re: tftp server on linux  
Hi, Doug,

Just to be sure:  you are running the IDE as root, right?  (I see that
you are root in your terminal snippets)  The IDE will run as whatever
user has your GNOME session, which may not be root if you logged in to
XDM as yourself.

Is there any more specific error message in the .metadata/.log file in
your workspace directory?

Cheers,

Christian


On Wed, 2009-06-10 at 16:20 -0400, Douglas Bailey wrote:

> I've moved my desktop over to linux, and I've run into a problem I can't figure out...
> 
> I use the IDE's tftp server to serve boot images to a board on my desktop.  Running under linux, the IDE can't start 
up tftpd -- it gives a message "Cannot start server: error: Unable to bind to server port".
> 
> I've made sure that xinetd doesn't use port 69:
> 
>    root@qnxws7581:/etc/xinetd.d# netstat -anp | grep ":69"
>    root@qnxws7581:/etc/xinetd.d# 
> 
> The server worked fine under Windows...
> 
> btw, this is Ubuntu 9.04 if that makes any difference.
> 
> Anybody have any ideas?
> 
> Thanks,
> 
> Doug
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post31423
> 


________________________________________________________________________

Christian W. Damus
Software Developer, IDE Team
QNX Software Systems
Re: tftp server on linux  
To check if you have permission problems change port to 1069 in Preferences (from triangle menu). If it works means you 
have no permissions to bind to 69.