Welcome, Guest. Please login or register.

Author Topic: Amiga networking to PC shares  (Read 4251 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline darksun9210Topic starter

Amiga networking to PC shares
« on: September 01, 2008, 11:26:30 AM »
Just a little FYI...
I've just spent a very nice sunday getting my amiga's networked. the otherhalf happily obliged to aid my peace and amiga based tranquility, by watching CSI and Dr Who re-runs off the sky+ box all day.
anyway, my idea was to dump all my amiga CD's onto my PC and share them out. also a networked share would allow me to backup my machines over the network, and a minimal workbench installation with tcp stack would let me do a full system restore.
As opposed to my current backup method using USB thub drives, cos only two of my miggys have USB.

anyway, i have found that all you need to mount a share from a PC is the following...

the smb-handler from the smbconnect package placed into your L: directory.
then select a dosdriver in your storage dos drivers, and right click "copy"
rename the copy to whatever you like, i use the name of the share i'm going to mount.
then fire up your favourite text editor to edit the file you've just created.
clear out all of the text that is in there. everything.
and then put in this.

/* PC network share */
Handler = L:SMB-Handler
stacksize = 40000
Priority = 10
Globvec = -1
Startup = "C=\\WindowsBox:192.168.0.200\amishare MH=A1200:192.168.0.103 W=WORKGROUP U=me P=numpty"

this mounts the share "amishare" from the PC "windowsbox", that has the ip address 192.168.0.200 on the Amiga with hostname "A1200" and ipaddress 192.168.0.103, with the Workgroup name "WORKGROUP", the user name "me", with the password of "numpty", to a device on the amiga called "C", which will show up on workbench as a drive called, "amishare on windowsbox"

obviously change the bits of it to reflect your setup

so as soon as you have the IP stack running, you just double click the device driver, and after a couple of moments of authenticating, a new icon appears on your workbench. btw, it seems that only OS3.9 correctly reports back the true device capacity of network shares that are on massive drives. ;-)

on the winXPpro PC acting as the server, i have both a wireless USB dongle, and onboard ethernet, running in a "bridged" configuration. the wire from the PC goes to a switch which my amiga's plug into, and the wireless hooks up to the router downstairs. this means the amigas can get across the bridge and talk to the internet via the router. also, the bridge is a Virtual Network card in its own right, so this can be set with a static IP address for ease of use.

each of the amigas has the router, the PC, and all other amigas in its host table. the PC on the otherhand, has had nothing updated.

my router is setup to dish out DHCP addresses from 192.168.0.2 to 192.168.0.99. 100-199 is reserved for amigas, and 200-254 is for 'servers' :-)

anyway, this works for me. and you don't need to muck around with samba, tango, SMB-net, or SMB-connect (except for the SMB-Handler). :-)

tested with:-
A500, GVPA530, 3.1rom, bear-metal OS3.1 install, amigakit's easynet. 0.5MB chip 8.5MB fast, clockport adapter, subway USB, poseidon V4, d-link dub-e100 USB2LAN adapter on usbasixeth.device.
notes:-
for some reason, is unable to handle big (10MB+) transfers, as the device locks up and dumps data back to the PC at about 8MB/s. as the amiga can't handle that, or the USB controller can't even come close to dealing with that much info, it must be the d-link itself. further testing required.

A1200, 3.1roms, bear-metal OS3.1 install, amigakit's easynet.
2MB chip, amigakit branded pcmcia netgear MA401 Wifi card using prism2.device.
notes:-
not sure why, but the prism2 drivers for the wifi card work fine with easynet, using WEP encryption. however, using genesis, the card won't understand WEP, and security has to be disabled on the router to get a connection.
anyway, able to run workbench, easynet AmiTCP/IP stack, wificard with WEP running, and SMB network share in about 1.2MB of ram. maybe there is hope for my A600 yet...
occasional "connection closed by other side" error.

A1200, 3.1roms, bear metal OS3.1 install, amigakit's easynet. blizzIV030/scsi, 2MB chip, 16+128MB fast. Greycell 10Mb/s ne2000 pcmcia network card, using latest cnet.device.
notes:-
rare "connection closed by otherside", but otherwise fairly reliable and reasonably snappy. copy 800+kB DMS files across to/from PC in a couple of seconds or so.

A1200, 3.1roms, bear metal OS3.1 install - upgraded to OS3.9 BB2. setup with genesis off the OS3.9 disc. BlizzPPC040/scsi, 2MB chip, 64+128Mb fast. netgear FA411 100Mb pcmcia card using latest cnet16.device.
only had one connection timeout error the entire day it was on the network, and that was probably due to the race contention the A500's D-link was having with the PC.
able to run OS friendly apps over the network fairly happily.

hope this is of some use to some of you...? :-)

A500, A600, A1200x3, A2000, A3000, A4000 & a CD32.
and probably just like the rest of you, crates full of related "treasure" for the above XD
 

Offline amigakit

Re: Amiga networking to PC shares
« Reply #1 on: September 01, 2008, 04:05:13 PM »
If you are running EasyNet, you don't need to get your hands dirty writing mount lists- just goto EasyNet's Hosts Manager, select the PC host from the list and click 'Connect To...' button- it will do the hard work for you:



EasyNet will also do VNC to the PC so you can view and control other computers remotely from your Amiga Workbench:

Example screengrab of Workbench / Windows XP here: http://shop.amigakit.com/images/easynet-vnc-screen.jpg

www.AmigaKit.com - Amiga Reseller | Manufacturer | Developer

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

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Amiga networking to PC shares
« Reply #2 on: September 01, 2008, 04:16:02 PM »
smbfs is my choice:
Code: [Select]
stack 32768
run <>nil: l:smbfs CASE DOMAIN=Workgroup USER=user PASSWORD=pass QUIET VOLUME=asus: CACHE=1024 SERVICE=//asus/share
stack 4096
 

Offline HammerD

Re: Amiga networking to PC shares
« Reply #3 on: September 01, 2008, 04:16:34 PM »
@amigakit:

So how do you get this software? Is it supposed to ship with network cards you sell? Or is it a separate purchase?  Does it rely on smbfs in the background?

smbfs is in need of a major overhaul...for example it doesn't work with Windows Vista shares.
AmigaOS 4.x Beta Tester - Classic Amiga enthusiast - http://www.hd-zone.com is my Amiga Blog, check it out!
 

Offline HammerD

Re: Amiga networking to PC shares
« Reply #4 on: September 01, 2008, 04:17:41 PM »
@Piru

smbfs is really designed badly and should be overhauled.  If I had the skills to re-do it I would...but I am no programmer :-/  It doesn't work with Vista shares, for example.
AmigaOS 4.x Beta Tester - Classic Amiga enthusiast - http://www.hd-zone.com is my Amiga Blog, check it out!
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Amiga networking to PC shares
« Reply #5 on: September 01, 2008, 04:19:43 PM »
I actually use it to mount linux boxen shares rather than Windows. I just adjusted it to match the windoze share mounting example. ;-)

Granted smbfs would require a total rewrite indeed.
 

Offline LoadWB

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 2901
  • Country: 00
    • Show only replies by LoadWB
Re: Amiga networking to PC shares
« Reply #6 on: September 01, 2008, 05:02:52 PM »
@AmigaKit

Might I recommend that you also add support for RDesktop?  RDP to Windows machines is very nice.
 

Offline TheGoose

  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 1458
  • Country: us
  • Gender: Male
    • Show only replies by TheGoose
    • http://www.amiga.org/forums/blog.php?u=827
Re: Amiga networking to PC shares
« Reply #7 on: September 06, 2008, 07:44:54 PM »
Hmm, I tried this idea. almost seemed to work. I got a "socket access from PCWORK denied".

Maybe I don't understand the user part? I use an local account on the PC machine, 'Guest', right?

I gave it my Administrator info and that did just the same.

 
G1200, A3000D, A1200 PPC AOS4.0C

I\'m on Google +
 

Offline jrfjunior

  • Jr. Member
  • **
  • Join Date: Feb 2008
  • Posts: 87
    • Show only replies by jrfjunior
Re: Amiga networking to PC shares
« Reply #8 on: September 06, 2008, 09:39:01 PM »
I have a Mediator with a network card but never tried to estabilish connection with PC. I am starting to thing in share files.

Is this program easier to configure?

Thanks
 

Offline LoadWB

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 2901
  • Country: 00
    • Show only replies by LoadWB
Re: Amiga networking to PC shares
« Reply #9 on: September 06, 2008, 09:58:08 PM »
Quote
Piru wrote:
I actually use it to mount linux boxen shares rather than Windows. I just adjusted it to match the windoze share mounting example. ;-)

Granted smbfs would require a total rewrite indeed.


I use it to mount Windows XP shares and Samba 2.something shares on a Solaris 8 machine (yeah, need to update my Samba.)

Works like a charm.  With a good networking system, mass amounts of storage on the Amiga become more of a novelty than necessity.  I love having the 18GB UW-SCSI drive on my MKIII, but it's pretty loud and warm.  4GB of flash and network shares with a light-weight network stack and I should be just fine -- wonder how WHDLoad works across the network.... hmmmm