Welcome, Guest. Please login or register.

Author Topic: Installing drivers for Etherlink  (Read 4414 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline patrik

Re: Installing drivers for Etherlink
« on: June 07, 2006, 06:26:33 AM »
@irishmike:

Follow this guide to the letter and you will have a working AmiTCP installation. The only thing you will have to do different than the examples there is that you should use 3c589.device instead of cnet.device. Btw, remember that the interface-name can not contain any digits, so do not name it 3c589! Instead just let it be named ether as it is to start with.

Btw, regarding domain-name, it does not matter what you type in there, you could write irishmikesdomain.com. It will only per default try to complete hostnames without a domain-ending with that name - so if you try to access the host sven, it will first try to access sven, then if that fails - sven.irishmikesdomain.com.


/Patrik
 

Offline patrik

Re: Installing drivers for Etherlink
« Reply #1 on: June 07, 2006, 01:10:16 PM »
@irishmike:

A lot of networking software needs atleast AmiTCP 3.0 to work so use 3.0b2 instead of 2.2.

Imho, the best thing would be to use NFS (see help/ch_nfsc in the AmiTCP 3.0b2 archive) or smbfs.

Both of these allows you to mount shares from your linux pc like regular volumes on your Amiga with an icon poping up on your Workbench, allowing you to access files over the network just like they were a local harddrive - much more convenient than having to first download files with a ftp-client before using them.

I use smbfs, but that is mostly because samba already is running on my linux pc to enable me to mount its shares on my windows pc.

I use the following two lines in a script-file to mount my homedir from my linux pc (192.168.0.1):
Code: [Select]
stack 65536
C:smbfs workgroup=megaburken.net user=patrik password=xxxxxxxx service=//192.168.0.1/patrik device=SMBFS0: volume=Megaburken: quiet
You ofcourse have to change workgroup, user, password and service to match the settings of your linux pc.


/Patrik
 

Offline patrik

Re: Installing drivers for Etherlink
« Reply #2 on: June 07, 2006, 04:51:23 PM »
You don't happen to have any DD diskettes (the ones with only the write-protect hole)? If not, get a regular HD diskette and tape over the hole on the opposite side of the write-protect hole. The HD diskette will most likely not work well very long as a DD diskette, but it will suffice to transfer a file.

When you have fixed a disk, doubleclick on  Storage/Dosdrivers/PC0 on your workbench-partition and you will be able to read/write pc-formatted disks.

Under most OS:es on a PC, it is a bit tricky to format a DD diskette, so just insert it in the Amigas drive and doubleclick on System/Format on your workbench-partition. In that program, select PC0: and format it.

You can fit 720kB on a pc-formatted DD-disk and as the AmiTCP 3.0b2 archive only is 686kB, there will be no problems fitting it.


/Patrik
 

Offline patrik

Re: Installing drivers for Etherlink
« Reply #3 on: June 07, 2006, 07:43:16 PM »
@irishmike:

WB3.0 comes bundled with CrossDOS, but it is not activated per default.

Read what I wrote in my previous message - to be able to read/write PC-formatted disks you need to doubleclick on the "PC0" icon in the Storage/Dosdrivers/ drawer on your Workbench-partition! This will activate CrossDOS. If you want it to always be activated, move the "PC0" icon to the Devs/Dosdrivers/ drawer on your Workbench-partition.

Read the rest of my previous message again to see how to format the disk on your Amiga.

To remove AmiTCP 2.2, open your S:User-Startup file in a text-editor, find the AmiTCP section and remove it. After a reboot, remove the AmiTCP-drawer from where you put it during install. Thats all there is to it.


/Patrik
 

Offline patrik

Re: Installing drivers for Etherlink
« Reply #4 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 patrik

Re: Installing drivers for Etherlink
« Reply #5 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