LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 01-19-2010, 09:53 AM   #1
real1elmo
LQ Newbie
 
Registered: Sep 2009
Posts: 10

Rep: Reputation: 0
Unhappy Redhat Enterprise Linux 5u4 install from FTP problems using non-anonymous


Please Help!
Does RHEL install using FTP support username/password without the GUI?

I need to secure my RHEL network FTP hosted from Windows 2k3r2
Weird problem happened... maybe my code is wrong in default.cfg:
ks=ftp://usernameCOLONpassword@192.168.0.1:50/rhel32/ks.cfg (more below)

Symptoms:
1) Kickstart found with anonymous ftp using ks=ftp://192.168.0.1:50/rhel32/ks.cfg (with IIS anonymous on)

2) GUI mode works when I select non-anonymous and enter a windows username/password

3) how do i do it using default.cfg instead for the GUI???

OS: RHEL5u4 Client CD over network install using IIS FTP
PXELinux: Latest verrsion

-----------------------------------------------------------------
#default.cfg

LABEL RHEL32
MENU LABEL RHEL 32bit CD
KERNEL ftp/rhel32/images/pxeboot/vmlinuz
IPAPPEND 2
APPEND rescue initrd=ftp/rhel32/images/pxeboot/initrd.img ks=ftp://usernameCOLONpassword@192.168.0.2:50/rhel32/ks.cfg ksdevice=bootif

IIS_FTP:
Default FTP Site (properties):
anonymous ftp (unchecked) - I want this to work
folder=c:\tftpboot\ftp
port=50

Last edited by real1elmo; 01-19-2010 at 09:59 AM.
 
Old 01-20-2010, 11:03 AM   #2
rayfordj
Member
 
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 488

Rep: Reputation: 78
Are you specifying the non-anonymous usernameCOLONpassword in your ks.cfg?

Kickstart Options
Code:
url --url ftp://<username>:<password>@<server>/<dir>
 
Old 01-22-2010, 07:13 AM   #3
real1elmo
LQ Newbie
 
Registered: Sep 2009
Posts: 10

Original Poster
Rep: Reputation: 0
My kickstart appears ok

The kickstart file itself appears ok.
I guess my problem is calling the kernel loader with a kickstart file option.
That happens outside the kickstart file. Kinda like a cd starting up and having a setting for a kickstart file embedded. I am loading the cd via ftp (requires username and password) with an embedded kickstart file name (must pull the kickstart file using username/password) Any pointers? As I said, all of this works from ftp in anonymous mode ftp. I just wanted it to pull the "cd" and "kickstart" with a username and password"
 
Old 01-22-2010, 09:46 AM   #4
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Easiest solution would be to limit anonymous user to specific private subnet until you find a solution.

What comes to my mind is that cd kickstart file is searched on "local" media and it is located on remote (FTP) location. You need to for example mount ftp site on local mount point first and then pull file from that virtual filesystem or maybe to set only kickstart file on the anonymous FTP.

Last edited by DrLove73; 01-22-2010 at 09:47 AM.
 
Old 01-27-2010, 11:52 AM   #5
real1elmo
LQ Newbie
 
Registered: Sep 2009
Posts: 10

Original Poster
Rep: Reputation: 0
I gave up

Nothing seemed to help. I have gone back to using an anonymous ftp that is read-only(since that always worked). Wish I knew if the problem was a Red hat one or the IIS FTP site I set up. Has anyone else made a "non-anonymous" ftp and been able to kickstart and host the files via network. Maybe someone will figure it out, but I am worn out of ideas.
 
Old 01-28-2010, 03:46 AM   #6
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Well, for one, I would never setup IIS site, not even if my life depended on it (well, maybe then). What about Filezilla FTP server? It's GPL software, works on windows, I used it all the time when I used windows. I even think I have it installed on my brothers Windows machine.
 
  


Reply

Tags
ftp, install, network



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Install Redhat Enterprise Linux 4, please help karlt78 Linux - Newbie 3 07-15-2009 05:13 PM
How to install software in RedHat Linux Enterprise 5 9y4asb Linux - Software 2 03-01-2008 11:58 AM
How to install redhat Linux enterprise 5 rskay Linux - Enterprise 5 11-06-2007 05:02 PM
files uploaded to anonymous ftp not readable by anonymous TheOneAndOnlySM Linux - Software 2 11-04-2004 07:42 AM
Redhat FTP Install problems mrquint15 Linux - Software 2 02-20-2001 03:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 04:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration