1. Subscriptions
  2. Services
  3. Hardware
  4. Support

ClearFoundation

Forums
Welcome, Guest
How to setup ftp server for install from ftp?
(1 viewing) 1 Guest
Go to bottomPage: 1
TOPIC: How to setup ftp server for install from ftp?
#6699
How to setup ftp server for install from ftp? 1 Year, 11 Months ago  
Hi, I have a Clarkconnect 4.3 Server as my gateway and I would like to use the ftp server on it to be able to install ClearOS 5.1 over the network. The Clarkconnect 4.3 already has PXE up and working and I can boot the ClearOS installer but I cannot figure out how to set up the filesystem on the ftp server. I have tried to copy the files from the ClearOS install cd to the /var/ftp/ folder on the Clarkconnect server and have enabled the ftp server. I also edited the proftpd.conf file to allow for anonymous logins.

Now when I boot a machine and tell it to install from FTP it prompts me for the hostname or ip address of the ftp server and I give it my ip address of the server.
When I press OK the same window pops back up asking for my ftp server address.

So I press Alt+F3 and look at the debug output.

Code:

using FTP site 192.168.1.1
using FTP directory
using FTP password clearos
trying to mount CD device hdc
transferring ftp://192.168.1.1//images/updates.img to a fd
transferring ftp://192.168.1.1//images/product.img to a fd
2065744 kB are available
transferring ftp://192.168.1.1//images/stage2.img to a fd



I have tried logging in to FTP from another machine anonymously and I can retrieve the mentioned file fine so I dont believe the ftp server is misconfigured

Any tips on configuring the ftp server for a network install?
Thanks
Westley Paynter
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#6707
Re: How to setup ftp server for install from ftp? 1 Year, 11 Months ago  
OK I used tcpdump and discovered that the installer is not using anonymous login for ftp. It tries to login with the username "enterprise-51" and the password "clearos". So after creating that user and assigning that password the install proceeds as expected. I did not find this information easily so I hope this helps others.
Westley Paynter
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#8636
Re:How to setup ftp server for install from ftp? 1 Year, 10 Months ago  
Thank you for posting this

Worked very well.



Christer
Christer Jonassen
Senior Boarder
Posts: 76
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#25659
Re:How to setup ftp server for install from ftp? 11 Months, 1 Week ago  
Worked well for me.
With 5.2 use enterprise-52 as the username, and clearos for the password.

Thanks for the help folks!

Chris
Chris Bowne
Fresh Boarder
Posts: 19
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#30565
Re:How to setup ftp server for install from ftp? 7 Months ago  
ok that helped but i still have an issue



now is it a permisions issue


Code:

blindrain@pxe:~$ ls -lash /tftpboot/fog/clearos/enterprise/5.2
total 29K
2.0K dr-xr-xr-x 7 root root 2.0K 2010-10-18 23:31 .
4.0K drwxr-xr-x 4 root root 4.0K 2011-07-25 14:09 ..
 14K dr-xr-xr-x 3 root root  14K 2010-10-18 23:30 console
 512 -r--r--r-- 1 root root   79 2010-10-18 23:26 .discinfo
2.0K dr-xr-xr-x 4 root root 2.0K 2010-10-18 23:22 images
2.0K dr-xr-xr-x 2 root root 2.0K 2010-10-18 23:23 isolinux
2.0K dr-xr-xr-x 2 root root 2.0K 2010-10-18 23:30 repodata
2.0K dr-xr-xr-x 3 root root 2.0K 2010-10-14 15:47 System
 512 -r--r--r-- 1 root root  433 2010-10-18 23:22 .treeinfo
blindrain@pxe:~$




these perms are from mounting the iso file to this directory


with this in /etc/fstab
Code:


/tftpboot/howtogeek/linux/ClearOS.iso /tftpboot/fog/clearos/enterprise/5.2 udf,iso9660 user,loop 0 0



i'm using FOG on an ubuntu server but i still need to know what the issue is.
Robert
Junior Boarder
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2011/07/25 16:03 By blindrain.
The administrator has disabled public write access.
 
Go to topPage: 1
  get the latest posts directly to your desktop