Coder Social home page Coder Social logo

touchppp's Introduction

WebTV Touch PPP

The WebTV MAME driver really wants to touch some PPP. WebTV tries to reach out but it just can't do it. This server gets things done so the WebTV can get down to business.

This might be considered a modem emulator but don't be fooled. The goal of this is to make the WebTV MAME driver connect and disconnect from a PPP server with reasonable (to me) reliability. This program provides no guarantee that the AT command set or RS232 flow control best practaces are aheared to or even supported.

After installing the Rust compile tools, you can compile touchppp with this command:

cargo build

For more information, you can read this guide: http://podsix.org/articles/pimodem/. This would replace the tcpser setup. Keep in mind that this program doesn't understand Telnet or IP232, so you might need to change the xinet.d setup on that PiModem setup page. In place of the /etc/xinetd.d/pppd file, you can use this:

service pppd
{
    type = UNLISTED
    flags = REUSE
    socket_type = stream
    wait = no
    user = root
    server = /usr/sbin/pppd
    server_args = notty noipv6
    disable = no
    bind = 127.0.0.1
    port = 2323
}

Alternatively, you can use socat to do the same thing:

socat tcp-l:2323,fork,reuseaddr exec:'/usr/sbin/pppd notty noipv6',pty,rawer,nonblock=1,iexten=0,b115200

Basic usage can be found by running ./touchppp --help. Here's an example command line that will listen on 127.0.0.1:1122 and try to reach out to a server providing ppp at 127.0.0.1:2323.

touchppp -l 1122 -c 127.0.0.1:2323

touchppp's People

Contributors

wtvemac avatar

Stargazers

Dylan Funderburg avatar Amy avatar zefie avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.