EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: FTP server on Linux(Ubuntu)
From: Andrew Johnson <[email protected]>
To: <[email protected]>
Date: Fri, 1 Sep 2017 11:18:18 -0500
Hi Amit,

Amit Chauhan <[email protected]> writes:
>> This is regarding use of FTP server on a Linux (Ubuntu) PC.
>>
>> I am trying to use an Ubuntu 14.04 PC as an FTP server by using the
>> 'vsftpd' application.
>> The client is a VME based CPU running vxWorks that needs to download
>> kernel image over FTP.

We use vsftp on RHEL7 for booting all our VxWorks IOCs; when converting
from Solaris to Linux we found that some other FTP programs weren't
compatible with some older VxWorks boot-rom versions anyway.

 From the symptoms you describe it sounds like you might have a firewall
preventing the VME from getting to the server running on Ubuntu, or
possibly that the account the VxWorks system is trying to login as
doesn't exist on the Linux system or isn't enabled for FTP.

I would suggest that you use an FTP client program on a Windows PC to
try and fetch the VxWorks boot image from the Ubuntu server, and use
that to debug the connection. Once you can fetch the VxWorks image from
the Windows system, try booting the VME crate again (it's usually much
easier to troubleshoot when the client is another workstation).

On 09/01/2017 11:05 AM, Jani Hakala wrote:
> I would have expected this to happen over TFTP, not FTP. TFTP is handled
> by different software.

The VxWorks boot-rom can be configured to use FTP, RSH or TFTP to fetch
its OS image at boot-time. RSH and FTP are probably easier to setup than
TFTP (I have never tried TFTP, it needs flag bits to be set).

- Andrew

-- 
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon

References:
FTP server on Linux(Ubuntu) Amit Chauhan
Re: FTP server on Linux(Ubuntu) Jani Hakala

Navigate by Date:
Prev: Re: FTP server on Linux(Ubuntu) Jani Hakala
Next: Re: C++ multi threaded application. Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: FTP server on Linux(Ubuntu) Jani Hakala
Next: Archiver: Problems with disconnected PVs Gabriel de Souza Fedel
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024