Welcome, Guest. Please login or register.

Author Topic: Getting a shared drive on Amiga Workbench  (Read 2982 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline irishmikeTopic starter

  • Hero Member
  • *****
  • Join Date: Jun 2004
  • Posts: 516
    • Show only replies by irishmike
    • http://www.jmikeneedham.net
Getting a shared drive on Amiga Workbench
« 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)
\\"When we ask for advice, we are usually looking for an accomplice.\\"
- Marquis de la Grange
 

Offline SamuraiCrow

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2281
  • Country: us
  • Gender: Male
    • Show only replies by SamuraiCrow
Re: Getting a shared drive on Amiga Workbench
« Reply #1 on: June 08, 2006, 02:22:20 AM »
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.
 

Offline irishmikeTopic starter

  • Hero Member
  • *****
  • Join Date: Jun 2004
  • Posts: 516
    • Show only replies by irishmike
    • http://www.jmikeneedham.net
Re: Getting a shared drive on Amiga Workbench
« Reply #2 on: June 08, 2006, 02:24:52 AM »
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,

\\"When we ask for advice, we are usually looking for an accomplice.\\"
- Marquis de la Grange
 

Offline SamuraiCrow

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2281
  • Country: us
  • Gender: Male
    • Show only replies by SamuraiCrow
Re: Getting a shared drive on Amiga Workbench
« Reply #3 on: June 08, 2006, 02:33:04 AM »
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.
 

Offline pVC

Re: Getting a shared drive on Amiga Workbench
« Reply #4 on: June 08, 2006, 07:47:52 AM »
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."
Daily MorphOS user and Amiga active.
 

Offline neuroflip

  • Full Member
  • ***
  • Join Date: Apr 2006
  • Posts: 200
    • Show only replies by neuroflip
    • http://a1200.wordpress.com
Re: Getting a shared drive on Amiga Workbench
« Reply #5 on: June 08, 2006, 10:24:50 AM »
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.
[http://a1200.wordpress.com (spanish)
a1200 + Bliz1260/50Mhz/64Mb + HD10Gb + a520 svideo mod + Wireless PCMCIA Elsa MC-11 + PCMCIA CF + Adaptator + CF 256Mb + a500 + 512Kb]
 

Offline xeron

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2533
    • Show only replies by xeron
    • http://www.petergordon.org.uk
Re: Getting a shared drive on Amiga Workbench
« Reply #6 on: June 08, 2006, 02:19:15 PM »
Check out this really handy Amiga-Samba guide:

http://samba.amigaworld.net/
Playstation Network ID: xeron6
 

Offline amigakit

Re: Getting a shared drive on Amiga Workbench
« Reply #7 on: June 08, 2006, 02:52:08 PM »
Our EasyNet software does this in the quickest way possible, see:

http://amigakit.leamancomputing.com/catalog/images/easynet4.jpg
www.AmigaKit.com - Amiga Reseller | Manufacturer | Developer

New Products  --   Customer Help & Support -- @amigakit
 

Offline MrZammler

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 720
    • Show only replies by MrZammler
Re: Getting a shared drive on Amiga Workbench
« Reply #8 on: June 08, 2006, 03:07:10 PM »
@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.
Anyway is the only way
 

Offline irishmikeTopic starter

  • Hero Member
  • *****
  • Join Date: Jun 2004
  • Posts: 516
    • Show only replies by irishmike
    • http://www.jmikeneedham.net
Re: Getting a shared drive on Amiga Workbench
« Reply #9 on: June 08, 2006, 04:32:22 PM »
thanks all.  Appreciate the help :-)


\\"When we ask for advice, we are usually looking for an accomplice.\\"
- Marquis de la Grange
 

Offline patrik

Re: Getting a shared drive on Amiga Workbench
« Reply #10 on: June 08, 2006, 04:42:00 PM »
@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
 

Offline MrZammler

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 720
    • Show only replies by MrZammler
Re: Getting a shared drive on Amiga Workbench
« Reply #11 on: June 10, 2006, 07:58:25 AM »
@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.
Anyway is the only way