Welcome, Guest. Please login or register.

Author Topic: Amiga 2000 PPP Internet Raspberry Pi  (Read 6662 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline 3583BytesTopic starter

  • Jr. Member
  • **
  • Join Date: Mar 2014
  • Posts: 87
    • Show only replies by 3583Bytes
Re: Amiga 2000 PPP Internet Raspberry Pi
« Reply #14 from previous page: April 12, 2014, 02:57:45 AM »
Yes I did, had to do it differently but when I run

sudo sysctl -p /etc/sysctl.conf

I get

kernel.printk = 3 4 1 3
net.ipv4.ip_forward = 1
vm.swappiness = 1
vm.min_free_kbytes = 8192
-----------------------------------------
A1000, A500, A2000
3583Bytes.com
 

Offline desiv

  • Hero Member
  • *****
  • Join Date: Oct 2009
  • Posts: 1270
    • Show only replies by desiv
Re: Amiga 2000 PPP Internet Raspberry Pi
« Reply #15 on: April 12, 2014, 03:06:49 AM »
(The more I think about it, the more I think you need that route on your router I mentioned below)

Quote from: 3583Bytes;762373
Yes I did, had to do it differently but when I run
Wonder if it needed a sudo, or something else..
Anyway, try a
pi@raspberrypi ~ $ cat /proc/sys/net/ipv4/ip_forward
0

(Mine says 0, as I haven't enabled routing, yours should say 1, as the output from the sysctl shows..)

If that's fine (as it probably is based on the sysctl), then it's probably down to the routing tables..

Possibly the default route on the Amiga not getting set...
If you can manually set the IP on the Amiga, try setting the IP (192.168.1.131), subnet mask (255.255.255.0), DNS server (whatever your router is) AND default route (192.168.1.130) that way.

Also, if we can see your Pi's routing table if it doesn't work..

I suppose it's possible your router doesn't like the new subnet.  If your router doesn't know about it, he might not pick it up.
If you can add a route to the routing table of your router manually, try that.
So, in the router, it would be a route to 192.168.1.0 255.255.255.0 (/24) and the gateway to that route would be your Pi's IP address on the router subnet (wasn't that something like 192.168.0.x?).
Or, you can use IP masq on the Pi instead of routing, but that is trickier..

desiv
« Last Edit: April 12, 2014, 03:18:34 AM by 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 bbond007

  • Hero Member
  • *****
  • Join Date: Mar 2009
  • Posts: 1517
    • Show only replies by bbond007
Re: Amiga 2000 PPP Internet Raspberry Pi
« Reply #16 on: April 12, 2014, 03:23:44 PM »
Quote from: 3583Bytes;762087
Currently I am trying to use a Raspberry Pi to connect to the Amiga via a USB to Serial


That is a great idea.

maybe one day I'll get around to trying it over my bluetooth serial device.

I originally was trying to get it to connect to Windows back-end and never could get PPP to negotiate property and gave up after awhile.

http://www.amiga.org/forums/showthread.php?p=674035#post674035
 

Offline 3583BytesTopic starter

  • Jr. Member
  • **
  • Join Date: Mar 2014
  • Posts: 87
    • Show only replies by 3583Bytes
Re: Amiga 2000 PPP Internet Raspberry Pi
« Reply #17 on: April 28, 2014, 06:00:29 AM »
Update:

No luck yet.

Currently I am running this command:

sudo pppd nodetach /dev/ttyUSB0 19200 noauth local passive xonxoff persist 192.168.0.130:192.168.0.250

Where:

192.168.0.130 is the IP Address of my Raspberry Pi
192.168.0.250 is the IP Address outside of my DHCP range that I want my Amiga to have

Results:

I can ping both 192.168.0.130 & 192.168.0.250 from the Amiga.
I can telnet to 192.168.0.130 (MyPi)

I cannot ping anything else including my router 192.168.0.1

IP forwarding is on.

On the Pi If I run cat /proc/sys/net/ipv4/route I get:

Destination: 192.168.0.250
Gateway: *
Genmask: 255.255.255.255
Flags UH
Metric 0
Ref 0
Use 0
Iface PPP0

Any help would be appreciated, this is driving me nuts
-----------------------------------------
A1000, A500, A2000
3583Bytes.com