Welcome, Guest. Please login or register.

Author Topic: Sharing an internet connection over serial cable  (Read 13404 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline fishy_fizTopic starter

  • Hero Member
  • *****
  • Join Date: Jan 2005
  • Posts: 1813
    • Show only replies by fishy_fiz
Sharing an internet connection over serial cable
« on: February 03, 2010, 12:25:21 AM »
The topic says it all really. I assume its possible to do, but I have no idea how to do it. Any advice would be greatly appreciated. Thanks. Oh yeah, incase it's necessary to know the machine that's connected to the net is a windows machine and it's OS3.9 that Im trying to get online via serial cable.
Near as I can tell this is where I write something under the guise of being innocuous, but really its a pot shot at another persons/peoples choice of Amiga based systems. Unfortunately only I cant see how transparent and petty it makes me look.
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Sharing an internet connection over serial cable
« Reply #1 on: February 03, 2010, 12:28:31 AM »
Can you not get a proper NIC? Seriously.
int p; // A
 

Offline fishy_fizTopic starter

  • Hero Member
  • *****
  • Join Date: Jan 2005
  • Posts: 1813
    • Show only replies by fishy_fiz
Re: Sharing an internet connection over serial cable
« Reply #2 on: February 03, 2010, 12:33:32 AM »
lol. I very nearly wrote a little p.s. to say the conditions Im in absoultely require me to use a serial connection, but refrained from doing so. I have no free pci slots and no pcmcia connection (running amithlon).
Near as I can tell this is where I write something under the guise of being innocuous, but really its a pot shot at another persons/peoples choice of Amiga based systems. Unfortunately only I cant see how transparent and petty it makes me look.
 

Offline Cammy

Re: Sharing an internet connection over serial cable
« Reply #3 on: February 03, 2010, 12:41:20 AM »
I would be interested in a solution to this problem also, as there is no other way to go online from a CD32 and I would love to have my CD32 on the network as well.
A1200 030@28Mhz/2MB+32MB/RTC/KS3.1/IDE-CF+4GB/4-Way Clockport Expander/IndivisionAGA/PCMCIA NIC
A1200 020@14Mhz/2MB+8MB/FPU/RTC/KS3.0/IDE-CF+2GB/S-Video
CD32 020@14Mhz/2MB+8MB/RTC/KS3.1/IDE-CF+4GB
A600 030@30Mhz/2MB+64MB/RTC/IDE-CF+4GB/Subway USB/S-Video/PCMCIA NIC/USB Numeric Keypad+Hub+Mouse+Control Pad
A500 000@7Mhz/512kB+512kB/ROM Switcher/KS3.1+1.3/S-Video

Get AmigaOS
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Sharing an internet connection over serial cable
« Reply #4 on: February 03, 2010, 12:44:01 AM »
Doesnt SANA-II have SLIP drivers?
int p; // A
 

Offline tone007

Re: Sharing an internet connection over serial cable
« Reply #5 on: February 03, 2010, 12:45:32 AM »
3 Commodore file cabinets, 2 Commodore USB turntables, 1 AmigaWorld beer mug
Alienware M14x i7 laptop running AmigaForever
 

Offline mrmkl

  • Full Member
  • ***
  • Join Date: Dec 2005
  • Posts: 147
    • Show only replies by mrmkl
    • http://www.iki.fi/mkl/
Re: Sharing an internet connection over serial cable
« Reply #6 on: February 03, 2010, 01:46:24 AM »
Hello. Half-way off-topic reply: for Unix/Linux + Amiga there is Mlink (Multilink)
At aminet: http://aminet.net/package/comm/net/mlink132
If you have some extra linux pc for this you could use it between Amiga and the windows PC.
 

Offline amiga92570

  • Hero Member
  • *****
  • Join Date: Aug 2006
  • Posts: 1005
    • Show only replies by amiga92570
Re: Sharing an internet connection over serial cable
« Reply #7 on: February 03, 2010, 02:27:26 AM »
Quote from: mrmkl;541286
Hello. Half-way off-topic reply: for Unix/Linux + Amiga there is Mlink (Multilink)
At aminet: http://aminet.net/package/comm/net/mlink132
If you have some extra linux pc for this you could use it between Amiga and the windows PC.


I used Multilink with a 500 a while back and it works well.
Amiga92570
==========================
(1) 4000T/040 (2)3000t CS 060/233ppc Picasso IV video, (2)D-box 1200 blizzard 060/200ppc Mediator fastATA, (1)amiga 1200 Power tower, (1)amiga 1200 EZ tower with mediator,1200/030/50mhz, (3) amiga 500 with CSA Mega Midget Racer and Trump card AT, (2) amiga 600 one with M-tec 030, (3) CD32 one sx32, two sx32-pro, More accessories and parts than I want to admit to
 

Offline desiv

  • Hero Member
  • *****
  • Join Date: Oct 2009
  • Posts: 1270
    • Show only replies by desiv
Re: Sharing an internet connection over serial cable
« Reply #8 on: February 03, 2010, 04:24:21 AM »
Worth a shot.  Now the initial response will probably be that he said he has a Windows machine, not Linux, so how would he get the needed "unix" shell account multilink needs?

All he needs is a small Linux VM running under VMWare (or one of the other virtualizers) on his windows machine.

I haven't used that multilink, but I think I'll look into it myself, as I have lots of Linux running already.

desiv
Amiga 1200 w/ ACA1230/28 - 4G CF, MAS Player, ext floppy, and 1084S.
Amiga 500 w/ 2M CHIP and 8M FAST RAM, DCTV, AEHD floppy, and 1084S.
Amiga 1000 w/ 4M FAST RAM, DUAL CF hard drives, external floppy.
 

Offline EvilGuy

  • Full Member
  • ***
  • Join Date: Apr 2006
  • Posts: 186
    • Show only replies by EvilGuy
Re: Sharing an internet connection over serial cable
« Reply #9 on: February 03, 2010, 04:45:53 AM »
There was a slirp client for the Amiga that worked with a Windows host. Mind you, I last used that in 1995 :-)
 

Offline Cammy

Re: Sharing an internet connection over serial cable
« Reply #10 on: February 03, 2010, 05:44:37 AM »
I run Linux (and not Windows) on the laptop here so Multilink might just be the thing for me too. Now I just need one of those USB-Serial adapters.
A1200 030@28Mhz/2MB+32MB/RTC/KS3.1/IDE-CF+4GB/4-Way Clockport Expander/IndivisionAGA/PCMCIA NIC
A1200 020@14Mhz/2MB+8MB/FPU/RTC/KS3.0/IDE-CF+2GB/S-Video
CD32 020@14Mhz/2MB+8MB/RTC/KS3.1/IDE-CF+4GB
A600 030@30Mhz/2MB+64MB/RTC/IDE-CF+4GB/Subway USB/S-Video/PCMCIA NIC/USB Numeric Keypad+Hub+Mouse+Control Pad
A500 000@7Mhz/512kB+512kB/ROM Switcher/KS3.1+1.3/S-Video

Get AmigaOS
 

Offline ferix

  • Full Member
  • ***
  • Join Date: Aug 2009
  • Posts: 136
    • Show only replies by ferix
Re: Sharing an internet connection over serial cable
« Reply #11 on: February 03, 2010, 09:16:22 AM »
There is the recipe for connecting an a600 to the net over a serial link:

Ingredients:
- A fonera 2.0g router (in developer mode)
- A serial to USB adapter and the corresponding module (driver).
- Extra slip module for the fonera (compiled by me).
- Some slip tools & scripts for the fonera (compiled and wrote by me).
- Some extra iptables rules for the fonera's firewall (added by me, included on the scripts above).
- A null modem cable.
- An unexpanded Amiga 600. I've installed a 64Mb CF as HD, but you can built It from floppies.
- Workbench 2.x+
- AmiTCP 4 (demo version, of course).
- If you want a webserver, add the arexxwebserver package...

Preparation:
- Plug all cables and machines together.
(fonera usb port<---> USB to serial dongle <---> Null modem cable <---> Amiga 600 serial port)
- Turn on the machines.
- Install all the stuff into the fonera and restart It.
- Run Workbench.
- Install and configure AmiTCP to match your network settings using slip protocol.
- Configure arexxwebserver if you want It
- Run AmiTCP.

:D

That's what I did, and It works like a charm.
Of course, It's very sloooooooooooooow... But I's amazing what you can do with a 1Mb Chip Ram machine.
Now you can do networking betwen your slip machine (the amiga) and your wired and wifi machines, and/or internet too...  :D
 
The only advice:
The most reliable speed I got with serial.device was 9600 bps. You can use 19200 bps if you want, but you'll lose a lot of packets (about 25% on my tests).
You can use also cslip instead of plain slip, but It gives no much speed increase, and a bit more of cpu power load...

Extra tip:
Baudrate: 9600, hardware handsake (7 wires or CTS/RTS)
MTU: 576

I'll post all the details later (I'm at work now).
« Last Edit: February 03, 2010, 10:18:00 AM by ferix »
[Master of puppets I\'m pulling your strings  
Twisting your mind and smashing your dreams  
Blinded by me, you can\'t see a thing  
Just call my name, \'cause I\'ll hear you scream]
...
We are The Borg.
Lower your shields and surrender your ships.
We will add your biological and technological distinctiveness to our own.
Your culture will adapt to service us.
Resistance is Futile.

 

Offline ferix

  • Full Member
  • ***
  • Join Date: Aug 2009
  • Posts: 136
    • Show only replies by ferix
Re: Sharing an internet connection over serial cable
« Reply #12 on: February 03, 2010, 09:41:04 AM »
Quote from: Cammy;541303
I run Linux (and not Windows) on the laptop here so Multilink might just be the thing for me too. Now I just need one of those USB-Serial adapters.

Cammy, What distro do you use?
I can help you to configure your linux machine.
It's easy: You only need to include the slip support into the kernel (if you haven't It), as a module or recompiling It (the kernel).
After that, you only need to run slattach and bring up the interface.
Denpending on your distro, you'll need some routing and iptables rules too.
Of course, you must do It with the USB to Serial adapter plugged in and the null modem cable between It and your amiga :P
On the amiga side, you only need AmiTCP.
If you need more details, please send me a PM.
« Last Edit: February 03, 2010, 09:44:47 AM by ferix »
[Master of puppets I\'m pulling your strings  
Twisting your mind and smashing your dreams  
Blinded by me, you can\'t see a thing  
Just call my name, \'cause I\'ll hear you scream]
...
We are The Borg.
Lower your shields and surrender your ships.
We will add your biological and technological distinctiveness to our own.
Your culture will adapt to service us.
Resistance is Futile.

 

Offline ferix

  • Full Member
  • ***
  • Join Date: Aug 2009
  • Posts: 136
    • Show only replies by ferix
Re: Sharing an internet connection over serial cable
« Reply #13 on: February 03, 2010, 09:31:55 PM »
Hey, here comes a little demo:

http://ferix.no-ip.org:2080

Please, be patient. Remember It's connected over a 9600bps link...

If you can't view It, please try later. It only serves one page at time (a memory restriction).
[Master of puppets I\'m pulling your strings  
Twisting your mind and smashing your dreams  
Blinded by me, you can\'t see a thing  
Just call my name, \'cause I\'ll hear you scream]
...
We are The Borg.
Lower your shields and surrender your ships.
We will add your biological and technological distinctiveness to our own.
Your culture will adapt to service us.
Resistance is Futile.

 

Offline Cammy

Re: Sharing an internet connection over serial cable
« Reply #14 on: February 05, 2010, 04:21:12 AM »
Hi Ferix, thanks for the quick guide and offer to help! At the moment I don't have a USB-Serial adapter yet, but I'm going to order some from DealExtreme. When they arrive I'd very much like to work out how to do this, mainly so I can get the CD32 online. Hopefully the connection to the net won't be too slow for me to play Dynamite, but I have a feeling it may be. I have Ubuntu on the laptop.

Your site is cute, just like the A600. It was nice to see it loading up from there. :)
A1200 030@28Mhz/2MB+32MB/RTC/KS3.1/IDE-CF+4GB/4-Way Clockport Expander/IndivisionAGA/PCMCIA NIC
A1200 020@14Mhz/2MB+8MB/FPU/RTC/KS3.0/IDE-CF+2GB/S-Video
CD32 020@14Mhz/2MB+8MB/RTC/KS3.1/IDE-CF+4GB
A600 030@30Mhz/2MB+64MB/RTC/IDE-CF+4GB/Subway USB/S-Video/PCMCIA NIC/USB Numeric Keypad+Hub+Mouse+Control Pad
A500 000@7Mhz/512kB+512kB/ROM Switcher/KS3.1+1.3/S-Video

Get AmigaOS