Amiga.org
Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: irishmike on June 08, 2006, 01:32:54 AM
-
Hello all:
I now have a working TCP stack and network interface attached to my A1200. I now need to access the drive on my Linux box via my Workbench on my A1200, there to be able to transfer all my Amiga files to that drive and begin to make ADFs back into floppies and so on.
Patrik had suggested SMBFS and I am not sure how to get that installed. Also I guess you could go NFS but I do not have that breadth of networking knowledge, basically all I have to do is be able to access my home directory on my Linux box from my Amiga. Need major help doing this.
Thanks,
(reference this thread) (http://www.amiga.org/forums/showthread.php?t=22792)
-
If you have an FTP server on your Linux build it might be easier to set that up and use an FTP client on the A1200. That's how I transfer files to and from my MicroA1-c since it has no floppy drive.
-
Hello SamuraiCrow:
What FTP client do you use? Tried using the ncFTP that is part of the AmiTCP stack, but I am having trouble getting my user info into it. Since my Linux box is setup for FTP to the user home directory, finding a good FTP client is a viable option. If you have a good suggestion?
Thanks,
-
Ummm... the AmigaOS 4 prereleases all come with a text-based FTP client called FTP.
I used to use ncFTP with AmiTCP under AmigaOS 3.0 when I had my A1200 on the Internet and it worked fine for downloading off of the Aminet. I'm not sure how a non-anonymous FTP should be done using ncFTP but there should be a command line option that will let you enter your user name and password.
-edit-
The easiest one to use in this situation would probably be FTP-Mount. I'm not sure how to do non-anonymous FTP with it either though.
-
ncftp -u linuxboxaddress
that's how it asks your username and password... if you need to use different port, then add -pXX, where XX is the port number. Notice that those switches are bit different on amitcp version of ncftp than newer ones probably found on your Linux (there it's probably -uUsername -pPassword -Pport).
I think the best ftp clients for Amiga are the DOpusFTP (found in DOpus Magellan) and ATC (AmiTradeCenter). They can do recursive transfers etc. There are lots of other choises too, but older can't do recursive usually... but I guess they're fine for small transfers. ncftp should be fine too.. you can put all files in same dir and transfer with "put *" or "mput *" for example :)
FTPMount should work too:
"FTPMount supports both anonymous and private ftp sessions. Mounted
private ftp sessions can act as a poor-person's NFS mount."
-
Try FTPMount... it's an easy solution to shared files.
http://www.aminet.net/package.php?package=comm/tcp/FTPMount.lha
i use it with DOpus.
-
Check out this really handy Amiga-Samba guide:
http://samba.amigaworld.net/
-
Our EasyNet (http://easynet.amigakit.com) software does this in the quickest way possible, see:
http://amigakit.leamancomputing.com/catalog/images/easynet4.jpg
-
@irishmike
NFS is easier than you think ;-)
You just need support for it in the kernel, and then a simple line in /etc/exports to export your home dir.
Then use ch_nfsmount on the miggy to get the share on your wb. (You also need a line somewhere on a file for amitcp, cant really remember).
If you're interested, I can take a look on my setup and let you know how exactly to do it.
-
thanks all. Appreciate the help :-)
-
@MrZammler:
The nfs-server for linux actually comes in both a user-space and kernel-space version - the former doesn't need any kernel support and is a bit less efficient, but in this case, it will definately not matter.
For example - in debian the packages for these different nfs-servers are called "nfs-user-server" respective "nfs-kernel-server" and I suspect it is quite similar in other distributions.
/Patrik
-
@Patrik
Thanks, didnt know that ;-)
I've since got it in my kernel and forgot about it. Anyway:
@irishmike
Install NFS server at either kernel or using user-space utilities. Then in /etc/exports add a line:
/home/user/ 192.168.0.0/16(rw,no_root_squash,anonuid=1000,sync)
(I've allowed all my internal network to be able to mount it)
Then on the miggy:
Add a line in AMITCP:db/ch_nfstab:
SERVERIP:/home/user VOLUMENAME: USER username MAX_WRITESIZE 1024
And then run: ch_nfsmount VOLUMENAME:
That's all, the VOLUMENAME: should then appear on your wb.
You might find that you need to mess around with some options on the ch_nfstab file to get it right.