LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-16-2001, 08:25 PM   #1
concoran
Member
 
Registered: Jun 2001
Location: 28N,82W
Distribution: XP,Ubuntu 9
Posts: 473

Rep: Reputation: 30
How to mount an FTP site?


Is there a command with which I can be
able to mount an ftp site on a mount point?
 
Old 11-17-2001, 04:22 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
search for ftpfs

should be exactly what you want... If you get it going promise you'll post back here to tell me!
 
Old 11-18-2001, 09:48 PM   #3
concoran
Member
 
Registered: Jun 2001
Location: 28N,82W
Distribution: XP,Ubuntu 9
Posts: 473

Original Poster
Rep: Reputation: 30
Unhappy

Well,
I tried to install it. But have some problems. I am not sure if you have similar one.

In the xconfig, I will need to select FTPFS in the 'File Systems -> Networ File Systems'
dialog. However, I don't see the ftpfs option enabled. I am not sure how
to enable it. Any leads?

Thx

Last edited by concoran; 11-27-2001 at 11:03 AM.
 
Old 11-27-2001, 11:04 AM   #4
concoran
Member
 
Registered: Jun 2001
Location: 28N,82W
Distribution: XP,Ubuntu 9
Posts: 473

Original Poster
Rep: Reputation: 30
Any leads?
 
Old 11-27-2001, 12:14 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i just compiled it by itself and it worked perfectly, the kernel reompile seems too much hassle as i've already got 2.4.16 running here.
 
Old 11-27-2001, 05:32 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
If it doesn't work, and you verified youve got the fs/ftpfs (ie you set up the kernel patch correctly) then it possible is the tristate button for fs/Configure.in fscking up.
Just make your .config as usual, save, close.
Now open it and add a line "CONFIG_FTP_FS=y", save, close and proceed kernel compile as usual.

*The ftpfs patch failed when doin a kernel-2.4.16 compile with the GRSecurity patch added, may be a bad case of YMMVVM.
(Your Mileage May Vary, Very Much)
 
Old 11-27-2001, 06:49 PM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Man this is too cool


I was looking at this post and figured, great idea.


One small problem, I followed the simple instructions and it did not work.


make install_automount


ok I had a /mnt/ftpfs but it did not work

:smash:




ln -s /usr/src/linux-2.4 /usr/src/linux

cd /unpackdir/ftpfs

make install

cd /unpackdir/ftpmount

make install


[David@Alpha ftpfs]# cd /mnt/ftpfs/ftp.redhat.com
[David@Alpha ftp.redhat.com]# ls
bin etc lib pub



Now,

Where is that httpfs module?






Last edited by DavidPhillips; 11-27-2001 at 06:56 PM.
 
Old 11-28-2001, 02:49 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
ok, so i'm now left wondering wether i should make a post about girlfriendfs. probably shouldn't tho... ;-)
 
Old 11-28-2001, 05:50 PM   #9
concoran
Member
 
Registered: Jun 2001
Location: 28N,82W
Distribution: XP,Ubuntu 9
Posts: 473

Original Poster
Rep: Reputation: 30
Unhappy

unSpawn:
I tried the steps, but no success yet..
Have a couple of questions though.
YOu said 'save config.h file. Is that before running make xconfig?, of after?

If I type 'CONFIG_FTP_F=y' in fs/Config.h file, it gives error if I run xconfig.

Do you see an entry for ftpfs in /etc/filesystems?
________________________
When I try to mount an ftp site, it says 'mount: fs type ftps not supported by the kernel'
 
Old 11-29-2001, 05:49 AM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
it'll be after, you get the error as xconfig will parse the .config file and find it as an error, so add it in after
 
Old 11-30-2001, 03:42 AM   #11
concoran
Member
 
Registered: Jun 2001
Location: 28N,82W
Distribution: XP,Ubuntu 9
Posts: 473

Original Poster
Rep: Reputation: 30
Angry

Yeah, you are right. xconfig doesn't seem to like that line in Config.in file.

But no success so far in being able to use ftpfs though. The new kernel won't just not mount ftpfs, but wont mount vfat either.

I tried different variations of this line.
'CONFIG_FTP_F=y'
"CONFIG_FTP_F=y"
CONFIG_FTP_F='y'

Got tired of compiling the kernel and installing it many times. So, gave up.

Is there any specific place where this line needs to be inserted?

Last edited by concoran; 11-30-2001 at 03:44 AM.
 
Old 12-01-2001, 10:59 AM   #12
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Sorry, my bad.
IMO you could add that line anywhere, but I guess itd be more appropriate to group it with the FS selection where you selected Vfat, ISOFS etc etc.
I usually quote commandlines or variables, if you look at the rest of the parameters in .config youll see they are also not quoted.

*If this won't work with your kernel version this may need a specific kernel version. I got at least 6 <filename>.rej patch rejects I could fix about 5 of in 2.4.16, and I won't go back to a lower version. Maybe try if the module version is b0rken/kernel version specific too.
 
Old 12-04-2001, 05:32 AM   #13
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
If anyone has got ftpfs to work, can you:

a) Mount .iso images from a remote ftp server and do 'upgrades' from them as if they were stored locally?

b) Install RPM files directly from the ftp site?
 
Old 12-05-2001, 02:40 AM   #14
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I don't think the ftp server will allow you to do it
 
Old 12-08-2001, 09:12 AM   #15
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I was digging thru here and noticed the second part of the question about installing rpms



That will work, it's the iso that will not loop on the server


I would cp it over to the hard drive unless you have a reason not too, that way you know it's less likely to have a problem reading the file while it installs,


It works though, I have done it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ftp(through web site access to ftp server) kelper Linux - Software 4 07-03-2015 05:14 PM
Mirror an FTP site. unreal128 Linux - Networking 7 10-20-2005 02:13 PM
Two ftp accounts in one site Roosta21 Linux - Newbie 3 03-24-2005 07:03 AM
FTP site guyd Linux - Newbie 2 08-06-2003 02:58 PM
Slackware ftp site Poper Slackware 3 07-01-2003 12:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:46 AM.

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