<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.dosbox.com/wiki/index.php?action=history&amp;feed=atom&amp;title=PPP_configuration_on_linux_host</id>
	<title>PPP configuration on linux host - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.dosbox.com/wiki/index.php?action=history&amp;feed=atom&amp;title=PPP_configuration_on_linux_host"/>
	<link rel="alternate" type="text/html" href="https://www.dosbox.com/wiki/index.php?title=PPP_configuration_on_linux_host&amp;action=history"/>
	<updated>2026-04-28T06:28:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://www.dosbox.com/wiki/index.php?title=PPP_configuration_on_linux_host&amp;diff=135382&amp;oldid=prev</id>
		<title>Naszvadi: /* Links */</title>
		<link rel="alternate" type="text/html" href="https://www.dosbox.com/wiki/index.php?title=PPP_configuration_on_linux_host&amp;diff=135382&amp;oldid=prev"/>
		<updated>2016-06-24T15:08:34Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Links&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:08, 24 June 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l165&quot; &gt;Line 165:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 165:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Links ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Links ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Visit for more information:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;http://www.vogons.org/viewtopic.php?t=27920&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key dosbox-mw1_:diff::1.12:old-135381:rev-135382 --&gt;
&lt;/table&gt;</summary>
		<author><name>Naszvadi</name></author>
	</entry>
	<entry>
		<id>https://www.dosbox.com/wiki/index.php?title=PPP_configuration_on_linux_host&amp;diff=135381&amp;oldid=prev</id>
		<title>Naszvadi: Vanilla ubuntu DosBOX 0.74 settings for bobcat-lynx with ppp networking on ubuntu</title>
		<link rel="alternate" type="text/html" href="https://www.dosbox.com/wiki/index.php?title=PPP_configuration_on_linux_host&amp;diff=135381&amp;oldid=prev"/>
		<updated>2016-06-24T15:05:36Z</updated>

		<summary type="html">&lt;p&gt;Vanilla ubuntu DosBOX 0.74 settings for bobcat-lynx with ppp networking on ubuntu&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;DOSBox supports modem connection using tcp sockets. In this page, we describe a simple networking ppp configuration on linux (ubuntu) host. With socat or similar tools on host's side, you can connect these sockets with pppd, and the DOSBox guest can access internet as well.&lt;br /&gt;
&lt;br /&gt;
== WARNING! ==&lt;br /&gt;
&lt;br /&gt;
The included scripts and manuals are dangerous! It needs sudo or root access to the target host, uses external dependencies, can cause damage and irrecoverable package dependency problems via apt installing, and may be harmful when you are not familiar with tcp/ip ipv4 networking or linux iptables/pppd/etc. tools.&lt;br /&gt;
&lt;br /&gt;
== Prerequisities under ubuntu ==&lt;br /&gt;
&lt;br /&gt;
=== Internet settings ===&lt;br /&gt;
&lt;br /&gt;
A working internet connection is essential.&lt;br /&gt;
192.168.7.0/30 network must be unused! Otherwise network range collision will happen, causing unpredictable results!&lt;br /&gt;
In this example, it leaves garbage in iptables after exiting, so a reboot or an iptables chain purging may be necessary!&lt;br /&gt;
Make sure that no telnet service is running on the system, and also no other application uses the TCP 23 port! Otherwise the following steps or scripts will cause damage!&lt;br /&gt;
&lt;br /&gt;
=== Required ubuntu packages ===&lt;br /&gt;
&lt;br /&gt;
And also the following packages need to be installed (may need some other ppp stuff, depending on linux flavour):&lt;br /&gt;
&lt;br /&gt;
 apt-get install bash dosbox iptables p7zip-full ppp sudo wget&lt;br /&gt;
&lt;br /&gt;
== Launch a networked session under ubuntu ==&lt;br /&gt;
&lt;br /&gt;
=== Creating working directory ===&lt;br /&gt;
&lt;br /&gt;
Open a terminal, then create a standalone folder and then enter it, e.g.&lt;br /&gt;
&lt;br /&gt;
 mkdir ~/dosppp&lt;br /&gt;
 cd ~/dosppp&lt;br /&gt;
&lt;br /&gt;
=== Getting lynx-bobcat application ===&lt;br /&gt;
&lt;br /&gt;
 wget -nc http://www.fdisk.com/doslynx/bobcats/bcat-e07.exe&lt;br /&gt;
&lt;br /&gt;
=== Extract bobcat ===&lt;br /&gt;
&lt;br /&gt;
md5sum: 8ec09c609b4a2148d249f77e22e670b1&lt;br /&gt;
&lt;br /&gt;
 7z x bcat-e07.exe&lt;br /&gt;
&lt;br /&gt;
=== Creating files ===&lt;br /&gt;
&lt;br /&gt;
The following filenames are case sensitive! Save these 5 files as textfiles to the actual directory ( ~/dosppp in our example )!&lt;br /&gt;
&lt;br /&gt;
==== Create runme.sh ====&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # by Peter Naszvadi, 2012-2016&lt;br /&gt;
 #&lt;br /&gt;
 Uid=&amp;quot;$(find &amp;quot;$0&amp;quot; -printf '%U' -quit)&amp;quot;&lt;br /&gt;
 sudo -u &amp;quot;#$Uid&amp;quot; wget -nc http://www.fdisk.com/doslynx/bobcats/bcat-e07.exe&lt;br /&gt;
 sudo -u &amp;quot;#$Uid&amp;quot; bash ./setup.sh&lt;br /&gt;
 sudo -u &amp;quot;#$Uid&amp;quot; nohup dosbox -conf dosppp.cnf &amp;amp;&lt;br /&gt;
 Pid=&amp;quot;$!&amp;quot;&lt;br /&gt;
 Serial=&amp;quot;/dev/serial$$&amp;quot;&lt;br /&gt;
 grep -q 1 /proc/sys/net/ipv4/ip_forward || \&lt;br /&gt;
     ( echo 1 1&amp;gt;/proc/sys/net/ipv4/ip_forward )&lt;br /&gt;
 iptables -L -t nat | grep '^MASQ.*192\.168\.7\.0/30' || \&lt;br /&gt;
     iptables -t nat -A POSTROUTING -s 192.168.7.0/30 -j MASQUERADE&lt;br /&gt;
 while ps $Pid &amp;gt;/dev/null&lt;br /&gt;
 do&lt;br /&gt;
     if sleep 0.1 &amp;amp;&amp;amp; pgrep socat&lt;br /&gt;
     then&lt;br /&gt;
         echo Socat is already running...&lt;br /&gt;
     else&lt;br /&gt;
         socat TCP4-LISTEN:23 PTY,link=&amp;quot;${Serial}&amp;quot; &amp;amp;&lt;br /&gt;
         Pid2=&amp;quot;$!&amp;quot;&lt;br /&gt;
     fi&lt;br /&gt;
     sleep 0.5&lt;br /&gt;
     if pgrep pppd&lt;br /&gt;
     then&lt;br /&gt;
         echo pppd is running...&lt;br /&gt;
         sleep 1&lt;br /&gt;
     else&lt;br /&gt;
         pppd &amp;quot;${Serial##*/}&amp;quot; defaultroute mtu 576 192.168.7.1:192.168.7.2&lt;br /&gt;
     fi&lt;br /&gt;
 done&lt;br /&gt;
 echo dosbox exited&lt;br /&gt;
 kill -9 &amp;quot;$Pid2&amp;quot;&lt;br /&gt;
 pkill -9 pppd&lt;br /&gt;
 [ -e &amp;quot;$Serial&amp;quot; ] &amp;amp;&amp;amp; rm &amp;quot;$Serial&amp;quot;&lt;br /&gt;
 exit 0&lt;br /&gt;
&lt;br /&gt;
Set attributes of runme.sh:&lt;br /&gt;
&lt;br /&gt;
 chmod 755 runme.sh&lt;br /&gt;
&lt;br /&gt;
==== Create BCATDIAL.BAT ====&lt;br /&gt;
&lt;br /&gt;
 @echo off&lt;br /&gt;
 NETDIAL BASE 0x3F8 IRQ 4 9600&lt;br /&gt;
 epppd base 0x3F8 irq 4 pktvec 0x60 9600 asyncmap 0 crtscts &lt;br /&gt;
 call IP-UP.bat&lt;br /&gt;
 set MYIP=192.168.7.2&lt;br /&gt;
 echo my_ip=%MYIP% &amp;gt; path.cfg&lt;br /&gt;
 set remip=192.168.7.1&lt;br /&gt;
 echo gateway=%remip% &amp;gt;&amp;gt; path.cfg&lt;br /&gt;
 set netmask=255.255.255.252&lt;br /&gt;
 echo netmask=%netmask% &amp;gt;&amp;gt; path.cfg&lt;br /&gt;
 set nameserver=8.8.8.8&lt;br /&gt;
 echo nameserver=8.8.8.8 &amp;gt;&amp;gt; path.cfg&lt;br /&gt;
 cd .\bobcat&lt;br /&gt;
 if exist history.htm del history.htm &amp;gt;nul&lt;br /&gt;
 lynx -show_cursor -cache=5&lt;br /&gt;
 cd ..&lt;br /&gt;
 termin 0x60 &lt;br /&gt;
 netdial BASE 0x60 IRQ 4 hangup&lt;br /&gt;
&lt;br /&gt;
==== Create dosppp.cnf ====&lt;br /&gt;
&lt;br /&gt;
 [dosbox]&lt;br /&gt;
 memsize=32&lt;br /&gt;
 [serial]&lt;br /&gt;
 serial1=modem listenport:2323&lt;br /&gt;
 [autoexec]&lt;br /&gt;
 mount c .&lt;br /&gt;
 c:&lt;br /&gt;
 bcatdial.bat&lt;br /&gt;
&lt;br /&gt;
==== Create NETDIAL.SCR ====&lt;br /&gt;
&lt;br /&gt;
 send &amp;quot;ATZ\r&amp;quot;&lt;br /&gt;
 recv 15000 &amp;quot;OK&amp;quot;&lt;br /&gt;
 send &amp;quot;ATDTlocalhost\r&amp;quot;&lt;br /&gt;
 recv 60000 &amp;quot;~&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==== Create setup.sh ====&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 set -eu&lt;br /&gt;
 test -e NEWUSER.BAT || 7z x bcat-e07.exe&lt;br /&gt;
 test -e  NETDIAL.EXE || cp ./CONFIG/NETDIAL.EXE ./NETDIAL.EXE&lt;br /&gt;
 test -e  EPPPD.EXE || cp ./CONFIG/EPPPD.EXE ./EPPPD.EXE&lt;br /&gt;
 test -e  HOLDIT.EXE || cp ./CONFIG/HOLDIT.EXE ./HOLDIT.EXE&lt;br /&gt;
 test -e  SETSCRN.COM || cp ./CONFIG/SETSCRN.COM ./SETSCRN.COM&lt;br /&gt;
 test -e  TERMIN.COM || cp ./CONFIG/TERMIN.COM ./TERMIN.COM&lt;br /&gt;
 test -e  ./BOBCAT/LYNX.CFG || cp ./CONFIG/LYNX.CFG ./BOBCAT/LYNX.CFG&lt;br /&gt;
 test -e  ./BOBCAT/WATTCP.CFG || cp ./CONFIG/WATTCP.STD ./BOBCAT/WATTCP.CFG&lt;br /&gt;
 test -e  ./BOBCAT/LYNXRC || cp ./CONFIG/LYNXRC ./BOBCAT/LYNXRC&lt;br /&gt;
 test -e  ./BOBCAT/HOTLIST.HTM || cp ./CONFIG/HOTLIST.HTM ./BOBCAT/HOTLIST.HTM&lt;br /&gt;
 test -e  ./BOBCAT/FTP.HTM || cp ./CONFIG/FTP.HTM ./BOBCAT/FTP.HTM&lt;br /&gt;
 test -e  ./BOBCAT/GOPHER.HTM || cp ./CONFIG/GOPHER.HTM ./BOBCAT/GOPHER.HTM&lt;br /&gt;
 test -e  ./BOBCAT/WWW.HTM || cp ./CONFIG/WWW.HTM ./BOBCAT/WWW.HTM&lt;br /&gt;
 test -e  ./BOBCAT/TELNET.HTM || cp ./CONFIG/TELNET.HTM ./BOBCAT/TELNET.HTM&lt;br /&gt;
 test -e  ./BOBCAT/IRC.HTM || cp ./CONFIG/IRC.HTM ./BOBCAT/IRC.HTM&lt;br /&gt;
 test -e  ./BOBCAT/FORMS.HTM || cp ./CONFIG/FORMS.HTM ./BOBCAT/FORMS.HTM&lt;br /&gt;
 test -e  ./MINITEL/WATTCP.CFG || cp ./CONFIG/WATTCP.STD ./MINITEL/WATTCP.CFG&lt;br /&gt;
 test -e  ./FTP/WATTCP.CFG || cp ./CONFIG/WATTCP.STD ./FTP/WATTCP.CFG&lt;br /&gt;
 test -e  ./BOBCAT/EXTERNAL/FTP.BAT || cp ./CONFIG/FTP.TAB ./BOBCAT/EXTERNAL/FTP.BAT&lt;br /&gt;
 test -e  ./BOBCAT/EXTERNAL/HTTP.BAT || cp ./CONFIG/HTTP.TAB ./BOBCAT/EXTERNAL/HTTP.BAT&lt;br /&gt;
 test -e  ./BOBCAT/EXTERNAL/GOPHER.BAT || cp ./CONFIG/GOPHER.TAB ./BOBCAT/EXTERNAL/GOPHER.BAT&lt;br /&gt;
 test -e  ./BOBCAT/EXTERNAL/TELNET.BAT || cp ./CONFIG/TELNET.TAB ./BOBCAT/EXTERNAL/TELNET.BAT&lt;br /&gt;
 test -e  ./BOBCAT/EXTERNAL/IRC.BAT || cp ./CONFIG/IRC.TAB ./BOBCAT/EXTERNAL/IRC.BAT&lt;br /&gt;
 test -e  SCRIPIT.DEF || cp ../DOCS/SCRIPIT.DEF ODSCRIPIT.DEF&lt;br /&gt;
 test -e  NETDIAL.STD || cp ../DOCS/NETDIAL.STD NETDIAL.STD&lt;br /&gt;
&lt;br /&gt;
=== Launch runme.sh ===&lt;br /&gt;
&lt;br /&gt;
 sudo ./runme.sh&lt;br /&gt;
&lt;br /&gt;
If everything is okay, you can get similar result like this:&lt;br /&gt;
&lt;br /&gt;
[[File:dosbox_epppd_lynx.gif]]&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;/div&gt;</summary>
		<author><name>Naszvadi</name></author>
	</entry>
</feed>