Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

Izaya

Members
  • Content Count

    60
  • Joined

  • Last visited

  • Days Won

    15

Posts posted by Izaya

  1. 28 minutes ago, MisterNoNameLP said:

    I probably just too dumb, but how do I use it for embedded devices?

    Basically, you concatenate the Microtel files from the Github repository to the front of your embedded application, something along the lines of

    cat microtel-3.lua microtel-4.lua microtel-5-base.lua microtel-5-open.lua yoursoftware.lua > eeprom.lua

    This will let you use the functions described in the documentation for Microtel, and get the relevant signals.

  2. Well, it's only 10 months later than intended, but I finally got around to improving the FRequest daemon. It now uses OpenOS threads, reducing system load, and supports being used as a HTTP(S) proxy.

    To enable acting as a proxy:

    1. Update frequestd via oppm: oppm update all
    2. Reboot your server
    3. Change iproxy=false to iproxy=true in /etc/fserv.cfg
    4. Restart FRequestd: rc fserv restart

    spacer.png

  3. OC-ports

    OC-ports provides a database and library for using said database to cross-reference between protocol names and network port numbers. The database also contains the entity that registered the port(s) and, if applicable, a link to more information.

    API

    The portinfo API provides one function:

    portinfo.search(*query*, [*database*]) table: result

    The search() function takes your query - either a string or a port number - and searches the database, defaulting to the OC ports database, for your query, returning the first result as a table in the format:

    • name
    • port
    • registered by
    • more information

    This is more than enough to use for simple port lookups and generating tables.

    Reserving ports

    To reserve a port in the database, please submit an issue on the GitHub repository.

    Download

    portinfo can be installed via oppm from the Minitel repository, using the command

    oppm install portinfo

    Additionally, to install manually, place portinfo.lua into /usr/lib/, and both oc.db and minitel.db into /usr/lib/ports/.

  4. Ever needed real-world time in OpenComputers? I did today, so I did something about it.

    realtime

    realtime is a set of libraries and protocols designed to let you synchronise your computers with the real world, and includes:

    • The realtime library, for taking and keeping time.
    • The realtime-sync daemon, for synchronising your realtime library with the real world
    • The realtime-relay daemon, for synchronising your realtime across the local network.

    All of these can be downloaded via oppm, or from the Minitel GitHub repository.

    Additionally, all of these come with manual pages describing their functionality and usage, all of which can be found here.

  5. On 7/18/2019 at 9:31 PM, Ocawesome101 said:

    BTW why is there a huge rectangle on your desktop background?

    No display there.

    spacer.png

    On 7/31/2019 at 2:04 AM, AdorableCatgirl said:

    i use arch btw

    >Discord

    disgusting

  6. IP is a fairly complicated protocol - for good reasons, but OC handles a lot of stuff for you. If you want IP, I'd consider the network loot disk, though I'm not sure how well it works nowadays. If you're still set on implementing IPv4, I'd you'll need to look at the RFCs for IPv4 and TCP.

    I'd instead consider Minitel, given it has both something like TCP and HTTP (more like Gopher but whatever), as well as a reasonable routing system, but I suppose I am biased.

  7. The actual Lua interpreter in OC is probably faster than ComputerCraft - OpenComputers Lua is running natively most of the time, whereas ComputerCraft is running an interpreter written in Java.

    That said, the performance hit you're describing is due to the limit on component calls. This is due to the fact that you can only do one component call per tick, for server performance reasons (Don't get me started on CC and server performance...). You can make them faster with the help of another mod, I believe it's Magic Bees, which adds a number of species of bees that manipulate how many ticks occur for blocks around a hive, making computers able to access components faster.

  8. Minitel is a simple, efficient networking protocol implementing layers 3, 4 and 5 of the OSI model. It supports automatic configuration and routing over large and small networks.

    This topic contains links to all known Minitel protocols.

    Core protocols (OSI layers 3 through 5):

    • protocol-3.md - describes the format of Minitel packets and basic behavior of each node.
    • protocol-4.md - describes how ordered sequences of packets should be handled.
    • protocol-5.md - describes how Minitel's bidirectional streams work

    Application layer protocols:

    • FRequest - a simple file retrieval protocol
    • MMail - simple mail delivery protocol

    If you wish to have a protocol added to this list, post it here.

  9. vTunnel can be used to add bridging over the internet to any existing OpenOS software that uses linked cards.

    Despite originally being written for Minitel, vTunnel implements a fully-functional linked card emulator and a server that will run under most unix-likes (OpenBSD is currently somewhat flaky, Linux is recommended).

    You can peruse the page on Github, for documentation and protocol information.

    Install it with oppm:

    oppm install vtunnel

    Additionally, you can read the documentation in-game with

    man vtunnel

     

  10. I haven't actually implemented routing from computer-to-computer via linked cards - I kinda forgot they existed - but routing via linked switches should work fine. I'll implement computer-computer linked card routing when I get the chance. Thanks for reminding me.

    You can now send Minitel messages via linked cards. This'll make implementing internet bridges easier, too, so I'll get onto that at some point. This includes vTunnel:

     

  11. On 3/6/2018 at 10:54 AM, Molinko said:

    Although the link to your demo is down.. I'd like to see some examples thank you very mucho.

    Fixed the demo link and added another, hopefully this one can be more stable.

    There's example code as some of the other applications such as FRequest and MMail in the Minitel repository.

  12. Minitel

    Minitel is a simple, efficient networking protocol implementing layers 3, 4 and 5 of the OSI model. It supports automatic configuration and routing over large and small networks.

    Currently supported platforms include OpenOS, KittenOS NEO (via this package), and embedded devices.

    Features include:

    • Flood routing with route caching
    • Reliable packet delivery
    • Packet segmentation
    • Ordered delivery
    • Bidirectional, ordered, reliable streams

    Installation instructions and API documentation can be found in the Github repo, though they can be summarised as "oppm install minitel".

    Demos:

  13. On 09/08/2017 at 4:49 AM, Programeditor said:

    When i go to run wtape, i get the following error shown in the screenshot, i would like to use this bios, but it is not installing onto the tape properly. I have a max power system, and i flashed the bios with the exact code, and exactly as described. To create wtape, i create a new file in bin called wtape.lua, and i then go to root, and type wtape kernel.lua. I am trying to do this with openOS, and i am trying to flash openOS to the tape

    Uh, wtape is for writing a boot file to the tape. OpenOS doesn't support running from a tape, and kernel.lua is just the example file.

     

  14. Demonstrations:

    While working on PsychOS recently I decided it'd be cool to make it load from a Computronics tape drive, so I modified the default Lua BIOS to make it also load tapes.

    Following this I felt it would be nice to have a way to select boot options, so I added that.

    The UI for that was kind of obnoxious, so I made that better.

    Most recently, I added network boot, though I only have a network boot server written for PsychOS.

    SEBIOS

    wtape.lua

    Usage:

    flash sebios.lua "SKS Enhanced BIOS"
    wtape kernel.lua

     

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.