{"id":745,"date":"2013-11-17T16:23:50","date_gmt":"2013-11-17T14:23:50","guid":{"rendered":"http:\/\/lallafa.de\/blog\/?p=745"},"modified":"2013-11-17T16:23:50","modified_gmt":"2013-11-17T14:23:50","slug":"networking-on-the-minimig-with-ppp-and-roadshow","status":"publish","type":"post","link":"https:\/\/lallafa.de\/blog\/2013\/11\/networking-on-the-minimig-with-ppp-and-roadshow\/","title":{"rendered":"Networking on the Minimig with PPP and Roadshow"},"content":{"rendered":"<p>When working with an Amiga running on a Minimig platform then data transfer is\u00c2\u00a0not as convenient as one might think: You have an SD Card connected and copying\u00c2\u00a0files around with SD Card is not the biggest deal, but unfortunately your Amiga\u00c2\u00a0is currently running from a system drive stored on this card :\/ Each copy operation\u00c2\u00a0therefore essentially requires a reboot of your Amiga and that&#8217;s not the\u00c2\u00a0productive work flow I had in mind&#8230;<\/p>\n<p>That&#8217;s the reason why I always prefer having network access on all my machines\u00c2\u00a0for truly covenient file handling (e.g. with FTP, wget&#8230;).<\/p>\n<p>In my <a title=\"A clockport for Chameleon64\u00e2\u20ac\u00b2s Minimig\" href=\"http:\/\/lallafa.de\/blog\/2013\/09\/a-clockport-for-chameleon64s-minimig\/\">last post<\/a> I showed you how to add a SilverSurfer high speed serial port\u00c2\u00a0to your Minimig running on the Turbo Chameleon 64. Now we will use this serial port that is running up to 115200 Baud with ease\u00c2\u00a0for something useful: networking! Old farts remember the times when home\u00c2\u00a0network access was done with PPP and a serial modem gateway. We&#8217;ll go that road\u00c2\u00a0but replace the modem and gateway with a small and cheap Linux machine, here\u00c2\u00a0the all hyped Rpi and a direct serial &#8220;null modem&#8221; link via an USB-to-serial\u00c2\u00a0adapter.<\/p>\n<div id=\"attachment_748\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp02.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-748\" data-attachment-id=\"748\" data-permalink=\"https:\/\/lallafa.de\/blog\/2013\/11\/networking-on-the-minimig-with-ppp-and-roadshow\/mimippp02\/\" data-orig-file=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp02.jpg?fit=640%2C427&amp;ssl=1\" data-orig-size=\"640,427\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"mimippp02\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;TC64 with SilverSurfer attached to Raspi&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp02.jpg?fit=300%2C200&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp02.jpg?fit=584%2C390&amp;ssl=1\" class=\"size-medium wp-image-748\" alt=\"TC64 with SilverSurfer attached to Raspi\" src=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp02-300x200.jpg?resize=300%2C200\" width=\"300\" height=\"200\" srcset=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp02.jpg?resize=300%2C200&amp;ssl=1 300w, https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp02.jpg?resize=150%2C100&amp;ssl=1 150w, https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp02.jpg?resize=400%2C266&amp;ssl=1 400w, https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp02.jpg?w=640&amp;ssl=1 640w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-748\" class=\"wp-caption-text\">TC64 with SilverSurfer attached to Raspi<\/p><\/div>\n<p>Read on to find out all the glory details, starting with a pure &#8220;virtual&#8221;\u00c2\u00a0simulation running on a Mac on to the real thing&#8230;<\/p>\n<p>[You can use this approach to bring other classic Amigas to the network, too.\u00c2\u00a0But for all machines with a parallel port available I&#8217;d suggest to use my\u00c2\u00a0<a title=\"plipbox\" href=\"http:\/\/lallafa.de\/blog\/amiga-projects\/plipbox\/\">plipbox project<\/a>: Its far easier to setup, a lot faster (4-5x ), and even cheaper :)]<\/p>\n<h3><!--more--><!--more-->1. Ingredients<\/h3>\n<p>The following ingredients are required for this little project:<\/p>\n<ul>\n<li>Hardware\n<ul>\n<li><strong>Minimig<\/strong> TC64\u00c2\u00a0flashed with cp Firmware (see my<a title=\"A clockport for Chameleon64\u00e2\u20ac\u00b2s Minimig\" href=\"http:\/\/lallafa.de\/blog\/2013\/09\/a-clockport-for-chameleon64s-minimig\/\"> last post<\/a>) and a\u00c2\u00a0<strong>SilverSurfer<\/strong> card attached<\/li>\n<li>An <strong>USB-to-Serial Converter<\/strong><\/li>\n<li>A 9-to-25 pin <strong>serial adapter<\/strong> to connect the SilverSurfer with the USB-to-serial converter<\/li>\n<li>A <strong>Raspberry Pi<\/strong> with Raspbian installed<\/li>\n<\/ul>\n<\/li>\n<li>Amiga Software\n<ul>\n<li>Amiga HDF Image running on minimig<br \/>\nI use a <a href=\"http:\/\/lilliput.amiga-projects.net\/BetterWB.htm\">BetterWB<\/a> installed on vanilla OS 3.1<\/li>\n<li>An <strong>Amiga TCP Stack<\/strong>: <a href=\"http:\/\/roadshow.apc-tcp.de\/index-de.php\">Roadshow<\/a> 1.11 [2]<br \/>\nI chose this one, because its actively supported, has a nice CLI interface\u00c2\u00a0and ships PPP support out of the box. And not to forget: it has pure 68000 support (not only 020er or better)!<br \/>\n<strong>Note:<\/strong> use the most recent version 1.11 as it fixes some PPP Bugs!<\/li>\n<\/ul>\n<\/li>\n<li>Raspbian Software:\n<ul>\n<li><strong>pppd<\/strong> &#8211; the ppp server<\/li>\n<\/ul>\n<\/li>\n<li>Mac\/Host (Posix) Software (for the emulation)\n<ul>\n<li><strong><a href=\"http:\/\/fs-uae.net\">FS-UAE<\/a><\/strong> &#8211; best Amiga emulator for Posix systems<\/li>\n<li><strong><a href=\"http:\/\/www.dest-unreach.org\/socat\/\">socat<\/a><\/strong> &#8211; swiss army knife for quickly setting up various data connections<\/li>\n<li><strong>pppd<\/strong> (pre-installed on most systems)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>2. Prepraring and Testing the Amiga HDF<\/h3>\n<p>Get your FS-UAE up and running first. There a lots of tutorials out there on\u00c2\u00a0this topic. We will use it to prepare the Minimig HDF file.<\/p>\n<h4>FS-UAE Config<\/h4>\n<p>My HDF File from the Minimig is called <strong>minimig.hdf<\/strong>\u00c2\u00a0and as a first step I copy\u00c2\u00a0it to my Mac into the <strong>~\/Documents\/FS-UAE\/Hard Drives\/<\/strong> folder.<\/p>\n<p>Set up a FS-UAE configuration file to use this image with a compatible machine:<\/p>\n<pre>[config]\r\namiga_model = A1200\r\nfast_memory = 8192\r\nhard_drive_0 = minimig.hdf\r\nhard_drive_1 = \/Users\/chris\/amiga\/shared\r\nwindow_width = 640\r\nwindow_height = 512\r\nwindow_resizable = false\r\nserial_port = \/tmp\/vser<\/pre>\n<p>Note the second hard drive is a local directory I use to exchange data files\u00c2\u00a0with my Mac file system.<\/p>\n<p>The last option is the most interesting: We connect Paula&#8217;s serial port to a\u00c2\u00a0file named <strong>\/tmp\/vser<\/strong>. What&#8217;s this you might ask?<\/p>\n<h4>Virtual Serial Line<\/h4>\n<p>This is where the magic begins: We want to simulate a PPP connection from the\u00c2\u00a0Amiga running inside FS-UAE and therefore we need to connect its serial port to\u00c2\u00a0a serial line with a pppd listening on the other side. We run pppd directly on\u00c2\u00a0the Mac but this tool also wants to connect to a serial port&#8230; So we have two\u00c2\u00a0applications on the Mac each wanting to reach a serial port device&#8230;<\/p>\n<p>I use a wonderful tool called <a href=\"http:\/\/www.dest-unreach.org\/socat\/\">socat<\/a> (found e.g. on MacPorts on Macs) to create\u00c2\u00a0the &#8220;virtual serial line&#8221; between them: It allows me to create two PTYs\u00c2\u00a0(virtual terminals) and connects them. I created a small script called <strong>vser2pty<\/strong>\u00c2\u00a0to achieve this:<\/p>\n<pre>#!\/bin\/sh\r\nOPTS=raw,echo=0,onlcr=0,echoctl=0,echoke=0,echoe=0,iexten=0\r\nexec socat \"$@\" pty,$OPTS,link=\/tmp\/vser pty,$OPTS,link=\/tmp\/hser<\/pre>\n<p>If you run this script in a terminal then a &#8220;virtual serial line&#8221; is created between the\u00c2\u00a0terminals named <strong>\/tmp\/vser<\/strong> and <strong>\/tmp\/hser<\/strong>. Those pseudo terminals are actually compatible to real serial ports as they used to connect terminals, too.<\/p>\n<p>Now everything becomes clear: We let FS-UAE&#8217;s Paula emulation connect to\u00c2\u00a0<strong>\/tmp\/vser<\/strong> while the pppd process will use <strong>\/tmp\/hser<\/strong>&#8230;<\/p>\n<h4>Roadshow Config<\/h4>\n<p>Ok, enough magic for now&#8230; Start your virtual serial line and (after this)\u00c2\u00a0FS-UAE. Inside FS-UAE install Roadshow 1.11 (or the Update) if you haven&#8217;t\u00c2\u00a0already done so.<\/p>\n<p>On the Amiga side we will need a network driver file for PPP first: Create a\u00c2\u00a0new file in <strong>DEVS:NetInterfaces\/PPP<\/strong>\u00c2\u00a0with the following contents:<\/p>\n<pre>device=ppp-serial.device\r\nrequiresinitdelay=no<\/pre>\n<p>Now on a CLI you could already add this interface with:<\/p>\n<pre>CLI&gt; addnetinterface ppp\r\nInterface \"ppp\" added.<\/pre>\n<p>The driver needs a configuration file to find out what serial port or what\u00c2\u00a0options are requested: Create a new file called:\u00c2\u00a0<strong>S:PPP-Configurations\/ppp-serial<\/strong>:<\/p>\n<pre>interface=ppp\r\ndevice=serial.device\r\nbaud=38400\r\nrtscts=no\r\ncheckcarrier=no\r\nnullmodem=yes<\/pre>\n<p>This file is for testing only. Later on we will use\u00c2\u00a0<strong>S:PPP-Configurations\/ppp-silver<\/strong> which uses the SilverSurfer device:<\/p>\n<pre>interface=ppp\r\ndevice=silversurfer.device\r\nbaud=115200\r\nrtscts=yes\r\ncheckcarrier=no\r\nnullmodem=yes<\/pre>\n<p>Ok, now on the Amiga in FS-UAE we are set up! Before we can continue here, we&#8217;ll\u00c2\u00a0need to start the pppd on the host side&#8230;<\/p>\n<h4>pppd Config on Host<\/h4>\n<p>pppd expects that the serial device it connects to has to start with <strong>\/dev\/<\/strong>&#8230;\u00c2\u00a0Therefore, we can&#8217;t directly use the link that our virtual serial port script\u00c2\u00a0has created. But a cheesy ls discovers the real PTY and this a <strong>\/dev<\/strong> device \ud83d\ude42<\/p>\n<pre>&gt; ls -l \/tmp\/hpar\r\n\/dev\/ttys002<\/pre>\n<p>Note: that the name of the PTY might change every time you restart the <strong>vser2pty<\/strong>\u00c2\u00a0script.<\/p>\n<p>Now we can launch pppd as root (we need these priviledges to allow pppd to setup\u00c2\u00a0the required net interfaces):<\/p>\n<pre>&gt; sudo pppd debug -detach proxyarp 192.168.2.250:192.168.2.251 ttys002 115200<\/pre>\n<p>The mentioned IP adresses give the point-to-point link used for ppp: the first is the host address the second the Amiga&#8217;s address. To make <strong>proxyarp<\/strong> work, you\u00c2\u00a0have to make sure that these addresses are on the same subnet as your main\u00c2\u00a0network link on your machine. E.g. my Mac sits on the 192.168.2.x subnet of my\u00c2\u00a0home router and therefore 192.168.2.250 is a valid point-to-point address that\u00c2\u00a0can use proxyarp.<\/p>\n<p>The only thing missing is enabled IP forwarding on your machine. On Macs you do:<\/p>\n<pre>&gt; sudo sysctl -w net.inet.ip.forwarding=1<\/pre>\n<p>Ok, pppd is up and running&#8230; Now we can connect from the Amiga side&#8230;<\/p>\n<h4>Roadshow Connect<\/h4>\n<p>Use the <strong>ppp_dialer<\/strong>\u00c2\u00a0script installed with Roadshow and the script for the\u00c2\u00a0serial.device we already set up:<\/p>\n<pre>CLI&gt; ppp_dialer s:PPP-Configurations\/ppp-serial\r\n...\r\nPPP has connected<\/pre>\n<p>If everything works fine then you see the connect in both pppd and CLI output.<\/p>\n<pre>...\r\n Sat Nov 16 19:59:09 2013 : found interface en3 for proxy arp\r\n Sat Nov 16 19:59:09 2013 : local IP address 192.168.2.250\r\n Sat Nov 16 19:59:09 2013 : remote IP address 192.168.2.251\r\n Sat Nov 16 19:59:09 2013 : Received protocol dictionaries\r\n Sat Nov 16 19:59:09 2013 : Received acsp\/dhcp dictionaries\r\n Sat Nov 16 19:59:09 2013 : Committed PPP store\r\n Sat Nov 16 19:59:09 2013 : Received acsp\/dhcp dictionaries\r\n Sat Nov 16 19:59:09 2013 : Committed PPP store<\/pre>\n<p>Open a new CLI and keep the PPP link up. Now you can use the network on your\u00c2\u00a0Amiga:<\/p>\n<pre>CLI2&gt; ping 192.168.2.250    # ping Mac pppd (basic test)\r\nCLI2&gt; ping 192.168.2.1      # ping my router (check ip forwarding)\r\nCLI2&gt; ftp 192.168.2.1       # ftp my router (test non-ping apps)<\/pre>\n<p>So far, so good&#8230; PPP, Networking does fine in the Amiga setup. Now lets head\u00c2\u00a0over to the real Hardware (TM).<\/p>\n<p>First transfer the altered <strong>minimig.hdf<\/strong> disk image back to your SD card you&#8217;ll\u00c2\u00a0use with the Minimig. I prefer the <strong>rsync<\/strong>\u00c2\u00a0command here as it is faster of only\u00c2\u00a0slight changes were applied to the image.<\/p>\n<h3>3. Raspi Setup<\/h3>\n<div id=\"attachment_750\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/minippp01.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-750\" data-attachment-id=\"750\" data-permalink=\"https:\/\/lallafa.de\/blog\/2013\/11\/networking-on-the-minimig-with-ppp-and-roadshow\/minippp01\/\" data-orig-file=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/minippp01.jpg?fit=640%2C406&amp;ssl=1\" data-orig-size=\"640,406\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"minippp01\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;The Minimig PPP setup&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/minippp01.jpg?fit=300%2C190&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/minippp01.jpg?fit=584%2C370&amp;ssl=1\" class=\"size-medium wp-image-750\" alt=\"The Minimig PPP setup\" src=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/minippp01-300x190.jpg?resize=300%2C190\" width=\"300\" height=\"190\" srcset=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/minippp01.jpg?resize=300%2C190&amp;ssl=1 300w, https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/minippp01.jpg?resize=150%2C95&amp;ssl=1 150w, https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/minippp01.jpg?resize=400%2C253&amp;ssl=1 400w, https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/minippp01.jpg?w=640&amp;ssl=1 640w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-750\" class=\"wp-caption-text\">The Minimig PPP setup<\/p><\/div>\n<p>I assume you have a configured an up to date Raspbian Linux distribution\u00c2\u00a0already running on your system.<\/p>\n<p>First make sure to have pppd installed:<\/p>\n<pre># apt-get install ppp<\/pre>\n<h4>Setting up the Serial Link<\/h4>\n<p>Now attach your serial-to-USB adapter. Most adapters are recognized out of the\u00c2\u00a0box by Linux and registered as a tty device in <strong>\/dev\/ttyUSBx<\/strong>. In <strong>dmesg<\/strong> you&#8217;ll\u00c2\u00a0see something like this:<\/p>\n<pre>[ 27.625546] ftdi_sio 1-1.3:1.0: FTDI USB Serial Device converter detected\r\n[ 27.626059] usb 1-1.3: Detected FT232BM\r\n[ 27.626085] usb 1-1.3: Number of endpoints 2\r\n[ 27.626100] usb 1-1.3: Endpoint 1 MaxPacketSize 64\r\n[ 27.626114] usb 1-1.3: Endpoint 2 MaxPacketSize 64\r\n[ 27.626126] usb 1-1.3: Setting MaxPacketSize 64\r\n[ 27.628597] usb 1-1.3: FTDI USB Serial Device converter now attached to ttyUSB0\r\n[ 27.628659] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver<\/pre>\n<p>As you can see I use a FT232-based device that is well supported on Linux (and OS X) and also available almost everywhere at decent prices.<\/p>\n<p>And the device itself is here:<\/p>\n<pre>&gt; ls -la \/dev\/ttyUSB0\r\nrw-rw---T 1 root dialout 188, 0 Nov 17 10:17 \/dev\/ttyUSB0<\/pre>\n<p>Ok, serial port is up.<\/p>\n<h4>Adding the Serial Adapter<\/h4>\n<p>Most modern serial ports have a DB 9 connector while the SilverSurfer has an\u00c2\u00a0Amiga compatible DB 25 serial port. Therefore, an 9-to-25 adapter is required\u00c2\u00a0to connect both. I soldered mine with the instructions found at <a href=\"http:\/\/www.amigaforever.com\/kb\/13-105\">Cloanto&#8217;s site<\/a>:<\/p>\n<div id=\"attachment_751\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/minippp03.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-751\" data-attachment-id=\"751\" data-permalink=\"https:\/\/lallafa.de\/blog\/2013\/11\/networking-on-the-minimig-with-ppp-and-roadshow\/minippp03\/\" data-orig-file=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/minippp03.jpg?fit=640%2C442&amp;ssl=1\" data-orig-size=\"640,442\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"minippp03\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;USB-to-Serial adapter with self-made 9-to-25 pin adapter &lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/minippp03.jpg?fit=300%2C207&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/minippp03.jpg?fit=584%2C403&amp;ssl=1\" class=\"size-medium wp-image-751\" alt=\"USB-to-Serial adapter with self-made 9-to-25 pin adapter \" src=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/minippp03-300x207.jpg?resize=300%2C207\" width=\"300\" height=\"207\" srcset=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/minippp03.jpg?resize=300%2C207&amp;ssl=1 300w, https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/minippp03.jpg?resize=150%2C103&amp;ssl=1 150w, https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/minippp03.jpg?resize=400%2C276&amp;ssl=1 400w, https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/minippp03.jpg?w=640&amp;ssl=1 640w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-751\" class=\"wp-caption-text\">USB-to-Serial adapter with self-made 9-to-25 pin adapter<\/p><\/div>\n<h4>IP Forwarding<\/h4>\n<p>To finish the SW setup, we need to enable IP forwarding on Linux otherwise the\u00c2\u00a0Amiga connected via PPP can&#8217;t reach the rest of the world.<\/p>\n<p>You can do this for this session with:<\/p>\n<pre>&gt; sudo sysctl net.ipv4.ip_forward=1<\/pre>\n<p>Or permanently by adding the following line to <strong>\/etc\/sysctl.conf<\/strong>:<\/p>\n<pre>net.ipv4.ip_forward=1<\/pre>\n<h4>Starting PPPD<\/h4>\n<p>Now its time to fire up the pppd server itself:<\/p>\n<pre>&gt; sudo \/usr\/sbin\/pppd noauth nodetach debug proxyarp \\\r\n     192.168.2.250:192.168.2.251 \/dev\/ttyUSB0 115200<\/pre>\n<p>It now waits for the connection setup from the Minimig. Therefore &#8216;dial&#8217; there with the SilverSurfer config:<\/p>\n<pre>CLI&gt; addnetinterface ppp\r\nCLI&gt; ppp_dialer S:PPP-Configurations\/ppp-silver\r\n...\r\nPPP has connected<\/pre>\n<p>Ok, we are on the Net!<\/p>\n<div id=\"attachment_749\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp04.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-749\" data-attachment-id=\"749\" data-permalink=\"https:\/\/lallafa.de\/blog\/2013\/11\/networking-on-the-minimig-with-ppp-and-roadshow\/mimippp04\/\" data-orig-file=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp04.jpg?fit=640%2C486&amp;ssl=1\" data-orig-size=\"640,486\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"mimippp04\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Minimig running Roadshow PPP and pinging the net&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp04.jpg?fit=300%2C227&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp04.jpg?fit=584%2C443&amp;ssl=1\" class=\"size-medium wp-image-749\" alt=\"Minimig running Roadshow PPP and pinging the net\" src=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp04-300x227.jpg?resize=300%2C227\" width=\"300\" height=\"227\" srcset=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp04.jpg?resize=300%2C227&amp;ssl=1 300w, https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp04.jpg?resize=150%2C113&amp;ssl=1 150w, https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp04.jpg?resize=400%2C303&amp;ssl=1 400w, https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp04.jpg?w=640&amp;ssl=1 640w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-749\" class=\"wp-caption-text\">Minimig running Roadshow PPP and pinging the net<\/p><\/div>\n<p>You can play around with your full featured link now:<\/p>\n<pre>CLI&gt; ping 192.168.2.250     # ping Raspi-side of point-to-point link\r\nCLI&gt; ping 192.168.2.1       # ping my router (see if ip forwarding work)\r\nCLI&gt; ping www.lallafa.de    # reach the world (test DNS)<\/pre>\n<p>Ah, before I forget: the last call needs <strong>DNS<\/strong> to resolve the symbolic name. To make\u00c2\u00a0this work on Roadshow you have to edit the file <strong>DEVS:Internet\/name_resolution<\/strong>:<\/p>\n<pre>nameserver 192.168.2.1 # add my router as name server<\/pre>\n<p>After a restart of Roadshow networking everything should work:<\/p>\n<pre>CLI&gt; netshutdown\r\nCLI&gt; addnetinterface ppp\r\nCLI&gt; ppp_dialer S:PPP-Configurations\/ppp-silver<\/pre>\n<p>That&#8217;s it&#8230; all you need to get your &#8216;mig on the net! \ud83d\ude42<\/p>\n<h4>Make it persistent<\/h4>\n<p>If you want to make the pppd setup persistent and run it automatically on Pi\u00c2\u00a0startup then you can add the call to <strong>\/etc\/rc.local<\/strong>:<\/p>\n<pre># \/etc\/rc.local\r\n# auto ppp startup\r\n\/usr\/sbin\/pppd noauth persist proxyarp \\\r\n   192.168.2.250:192.168.2.251 \/dev\/ttyUSB0 115200<\/pre>\n<p>Now debugging is disabled, daemon mode enabled and automatic retries activated.\u00c2\u00a0(see &#8216;man pppd&#8217; for more details&#8230;)<\/p>\n<p>If you want to play with some performance options you might want to try the &#8216;novj&#8217; option\u00c2\u00a0to disable header compression&#8230;<\/p>\n<p>Serial PPP with 115200 Baud gives you an avg. of 6 to 8 KiB\/s data transfer rate&#8230; Not fast as hell, but all in all much more comfortable than ejecting your SD Card and booting the system each time you need small file \ud83d\ude42<\/p>\n<p>Have Fun!<\/p>\n<div id=\"attachment_752\" style=\"width: 210px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp05.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-752\" data-attachment-id=\"752\" data-permalink=\"https:\/\/lallafa.de\/blog\/2013\/11\/networking-on-the-minimig-with-ppp-and-roadshow\/mimippp05\/\" data-orig-file=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp05.jpg?fit=640%2C960&amp;ssl=1\" data-orig-size=\"640,960\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"mimippp05\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;My comfy desktop with Minimig PPP setup&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp05.jpg?fit=200%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp05.jpg?fit=584%2C876&amp;ssl=1\" class=\"size-medium wp-image-752\" alt=\"My comfy desktop with Minimig PPP setup\" src=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp05-200x300.jpg?resize=200%2C300\" width=\"200\" height=\"300\" srcset=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp05.jpg?resize=200%2C300&amp;ssl=1 200w, https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp05.jpg?resize=100%2C150&amp;ssl=1 100w, https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp05.jpg?resize=400%2C600&amp;ssl=1 400w, https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp05.jpg?w=640&amp;ssl=1 640w\" sizes=\"auto, (max-width: 200px) 100vw, 200px\" \/><\/a><p id=\"caption-attachment-752\" class=\"wp-caption-text\">My comfy desktop with Minimig PPP setup<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>When working with an Amiga running on a Minimig platform then data transfer is\u00c2\u00a0not as convenient as one might think: You have an SD Card connected and copying\u00c2\u00a0files around with SD Card is not the biggest deal, but unfortunately your &hellip; <a href=\"https:\/\/lallafa.de\/blog\/2013\/11\/networking-on-the-minimig-with-ppp-and-roadshow\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":748,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[11,8,6,1,15,16,9],"tags":[],"class_list":["post-745","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-amiga","category-hardware","category-mac-stuff","category-misc","category-plipbox","category-raspberry-pi","category-software"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2013\/11\/mimippp02.jpg?fit=640%2C427&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/piBMF-c1","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/posts\/745","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/comments?post=745"}],"version-history":[{"count":7,"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/posts\/745\/revisions"}],"predecessor-version":[{"id":757,"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/posts\/745\/revisions\/757"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/media\/748"}],"wp:attachment":[{"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/media?parent=745"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/categories?post=745"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/tags?post=745"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}