Welcome, Guest. Please login or register.

Author Topic: Installing drivers for Etherlink  (Read 4380 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
Re: Installing drivers for Etherlink
« Reply #14 from previous page: June 07, 2006, 08:30:01 PM »
@patrik

The installation is working on the Amiga now.  Many thanks to your help :-)

Now can we please go back to how to mount my Linux box on my AMI?  You said that we could do it using NFS... Which I prefer since I do not have a windows box anywhere and therefore I do not believe that I have setup Samba on the Linux box... the daemon loads, but I am sure I have never configured it.

Could you talk about writing scripts a bit?  Is this just open ed and write the lines and then run him, or is there more to it?  Do you have an example of how to do the NFS side.

Appreciate it.

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

Offline patrik

Re: Installing drivers for Etherlink
« Reply #15 on: June 07, 2006, 10:02:10 PM »
@irishmike:

Cheers! :-)

To use NFS, you don't really need any script, but you need to edit the settings in the file AmiTCP:db/ch_nfstab, which also contains help/instructions and examples of how to mount volumes. If more detailed info is needed, read AmiTCP:help/ch_nfsc. Disregard the install-instructions, as the nfs-client is already installed, just create a line like the one starting with nfsserver:, but which suits your linux-system. After that, just mount the unit you specified on that line with ch_nfsmount.

If you want to make a script, just open ed and write in the stuff, then either execute it by typing in "execute nameofscriptfile", or set the files scriptfile by typing in "protect nameofscriptfile +S".

If you want it to mount a nfs-volume each time you start, you could just write in a suitable ch_nfsmount-line at the end of your AmiTCP:bin/startnet with a Run >NIL: before ch_nfsmount (on the same line).


/Patrik
 

Offline irishmikeTopic starter

  • Hero Member
  • *****
  • Join Date: Jun 2004
  • Posts: 516
    • Show only replies by irishmike
    • http://www.jmikeneedham.net
Re: Installing drivers for Etherlink
« Reply #16 on: June 07, 2006, 11:55:36 PM »
@patrik

I was also wondering since I did download the SMBFS file you specified, where does that get installed?   The archive did not seem to have any good directions within it.

That may be the easiest way to get the share going.

Thanks for the input so far as well.

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

Offline irishmikeTopic starter

  • Hero Member
  • *****
  • Join Date: Jun 2004
  • Posts: 516
    • Show only replies by irishmike
    • http://www.jmikeneedham.net
Re: Installing drivers for Etherlink
« Reply #17 on: June 08, 2006, 01:29:40 AM »
Actually, I feel it is time to start a new thread because technically the network is now up.

Thanks to all, especially Patrik.

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

Offline patrik

Re: Installing drivers for Etherlink
« Reply #18 on: June 08, 2006, 07:27:21 AM »
@irishmike:

Just put smbfs in C: (the C drawer on your Workbench-partition) or AmiTCP:bin/.

(edit):

It is not that hard getting nfs working in AmiTCP. First, on your linux-computer log in as your regular user (not root) and execute the command id and note which uid and gid numbers your user have. Then edit your current user in AmiTCP (the one you added during install) to have the same uid/gid - this is located in the AmiTCP:db/passwd file and uid is the third column from left and gid is the fourth column from left.

When that is done reboot your Amiga.

Now I will assume that your linux pc has ip-number 192.168.0.1, that your Amiga has ip-number 192.168.0.2, that your homedir for your regular user on your linux pc is /home/irishmike (the one you got the uid and gid numbers from) and that your user in AmiTCP is called amitcp_mike

Now to be able to mount your homedir on your Amiga, first you must allow the Amiga to mount it from your linux pc - edit the file /etc/exports on your linux pc and enter the line:
Code: [Select]
/home/irishmike    192.168.0.2(rw)
Now the Amiga is allowed to mount that directory, and you only have left to create a mount-line for it in AmiTCP:db/ch_nfstab. It should look something like this:
Code: [Select]
192.168.0.1:/home/irishmike linuxhomedir: USER amitcp_mike UMASK 0755
You will ofcourse have to substitute 192.168.0.1, 192.168.0.2, /home/irishmike and amitcp_mike with what is true for your configurations.

Now to mount that homedir on your Amiga, just enter "ch_nfsmount linuxhomedir:" in a shell.


/Patrik
 

Offline irishmikeTopic starter

  • Hero Member
  • *****
  • Join Date: Jun 2004
  • Posts: 516
    • Show only replies by irishmike
    • http://www.jmikeneedham.net
Re: Installing drivers for Etherlink
« Reply #19 on: June 08, 2006, 04:34:38 PM »
thanks for the help all :-)

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