- Sky
- Blueberry
- Slate
- Blackcurrant
- Watermelon
- Strawberry
- Orange
- Banana
- Apple
- Emerald
- Chocolate
- Charcoal
-
Content Count
60 -
Joined
-
Last visited
-
Days Won
15
Posts posted by Izaya
-
-
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:
- Update frequestd via oppm: oppm update all
- Reboot your server
- Change iproxy=false to iproxy=true in /etc/fserv.cfg
- Restart FRequestd: rc fserv restart
-
It's probably showing the built-in 64KB temporary filesystem.
See what mount and df say, and whether that address matches computer.tmpAddress().
-
Bumping because it's basically been re-written; we're on 2.0 now, and it has some big improvements:
- Better re-connect logic
- Multiple connections
- pcap capture support for the vTunnel bridge
Additionally, this post will contain a list of known public relays:
- lain.church, port 4096
- luna.nosafe.space, port 4096 (thanks @Adorable-Catgirl )
-
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/.
-
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.
- Totoro, Molinko and Adorable-Catgirl
- 2
- 1
-
On 8/3/2019 at 1:08 AM, AdorableCatgirl said:
jokes on you it's broken
and nothing of value was lost
-
On 7/18/2019 at 9:31 PM, Ocawesome101 said:
BTW why is there a huge rectangle on your desktop background?
No display there.
On 7/31/2019 at 2:04 AM, AdorableCatgirl said:i use arch btw
>Discord
disgusting
-
On 4/27/2019 at 6:28 PM, UnDev said:
Bruh Izaya you not even use any AMD hardware
While true at the time, behold:
-
-
i use arch btw
-
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.
-
For what it's worth:
-
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.
-
The executable search path is defined in the PATH environment variable, try running 'echo $PATH' in the shell. You can add to that with 'export PATH=$PATH:/whereever' I think.
-
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:
If you wish to have a protocol added to this list, post it here.
-
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
-
Using redstone should work for that - have a timer/clock hooked up to the computer, and use redstone.setWakeThreshold so that if the computer isn't turned on, it will be every x amount of time.
-
I haven't actually implemented routing from computer-to-computer via linked cards - I kinda forgot they existed - butrouting 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: -
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.
-
I think this video from around the release of OC 1.4 has what you want. It's designed for drones but should work just fine for robots, and doesn't even need storage beyond the EEPROM in the robot. This gist has the code.
-
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:
- Adorable-Catgirl and matejB
- 2
-
Size 7 and 8 look pretty nice, actually. The smaller sizes have little issues but the bigger ones look really damn nice.
-
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.
-
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.
Usage:
flash sebios.lua "SKS Enhanced BIOS" wtape kernel.lua
Minitel
in Libraries & API's
Posted
Basically, you concatenate the Microtel files from the Github repository to the front of your embedded application, something along the lines of
This will let you use the functions described in the documentation for Microtel, and get the relevant signals.