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

_block_master187

Members
  • Content Count

    10
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by _block_master187

  1. Hi all,

    Ever have a need for specialized machines running one program and one program only, but want to update these machines all at once, from a central point? Introducing NetBoot.

    The idea of NetBoot is to eliminate the need for manually updating many computers running the same software for whatever purpose. When the computer boots, NetBoot is launched. NetBoot contacts the server, and checks for a version number of the program the machine is supposed to run. If that number is different than the version number of the program the computer has saved, the computer will download a copy of the new program for future use. The configuration stored on each machine specifies an "applet" (program) to use, which can be configured such that all of your NetBoot applets are stored on the same server and every client contacts that server after waiting in the queue (mentioned below).

    The idea of checking the version number and downloading a copy is to not overwhelm the server every time clients power on, or wasting time and downloading a copy of the program every power cycle. The result of this caching is only downloading the entire program when there is an update. The program is compressed, associated files wrapped with it in a TAR file, and made available for client downloading. Should there be a large number of clients, a load balancing server will be contacted first, acting as a queue server for the network files. This all uses an implementation of ServerFS, which I have linked below. While not blazingly fast, it is easier than manually updating every one of your client computers. I am looking into faster solutions (Minitel seemed like a step in the right direction??) for networking, so if anyone can help please let me know. I am also curious about the Network Stack floppy available in the mod, I haven't a clue what it does and can't find any documentation about it.

    Would you benefit from NetBoot? Once finished, it might be something I'm interested in releasing.

     

  2. My Robot AI uses blocks beneath the robot to identifiy a path to move along.

    Everything is said in the script. Here is the pastebin:

    https://pastebin.com/zKiLgp0N

    pastebin get zKiLgp0N 

    It uses robot inventory slots to compare the path blocks.

    --[[
    Ok so heres how this works.
    You must place the control blocks in robot slots
    1-5. 1: Forward, 2: Right, 3: Left, 4: Up,
    5: Down.
    ]]--
    
    
    
    
    
    local robot = require("robot")
    while true do
    robot.select(1)
    if robot.compareDown() == true then
    robot.forward()
    end
    robot.select(2)
    if robot.compareDown() == true then
    robot.turnRight()
    robot.forward()
    end
    robot.select(3)
    if robot.compareDown() == true then
    robot.turnLeft()
    robot.forward()
    end
    robot.select(4)
    if robot.compareDown() == true then
    robot.up()
    robot.forward()
    end
    robot.select(5)
    if robot.compareDown() == true then
    robot.forward()
    robot.down()
    end
    end

     

  3. On 4/13/2017 at 4:01 AM, Lizzy Trickster said:

    Normally I'd discard these "virus" topics but yours is so bad I didn't see the need to.

     

    I looked at your pastebins, you do realise you could just do the following and get the same result

     

    
    component.eeprom.set("")
    shell.execute("rm -rf /")
    computer.shutdown(1)

     

    Yeah sorry about that. I'm still new to programming the computers. Thanks for the reply though.. One step closer to learning!

  4. On 4/10/2017 at 2:14 AM, Nexarius said:

    Should be pretty simple program.

    I just did this here. Save it to /autorun.lua

    
    local passwort = "blabla"
    
    while io.read() ~= passwort do 
      print("nicht OK")
    end
    print("OK")

     

    Okay so I went to the root directory first..

    cd /

    Then I did

    edit /autorun.lua

    THEN I pasted in the code for the program..

    After that, I saved it then rebooted my computer.

    When it booted OpenOS, I was expecting the program to kick in and ask me for a password but it didn't. It just did what it normally does and took me to the shell.

    Did I do something wrong?

  5. Hello. I have a computer set up but I need a startup password on it or a BIOS password.

    If someone could reply with a code that could boot a BIOS and need a password that would be great.

    Thanks in advance!

  6. I think that the OC team should add like, a format command or something. That will format the currently mounted/booted drive.

    I made something like this, I turned it from a virus to a formatting tool.


    ___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________

    My SecuriWipe program is a program to securely and safely wipe your computer, format the drive, and flash your EEPROM. It leaves NO file behind and is easy to run!

    WARNING:  SecuriWipe deletes ALL FILES on the drive run on!

    SecuriWipe will FLASH YOUR BIOS, AND RENDER THE COMPUTER UNABLE TO BE OPERATED UNTIL THE EEPROM IS REPLACED AND HAS A NEW FLOPPY DISK/HARD DISK.

    If you do not feel comfortable with the above method, there is an ALTERNATIVE!

    The alternative method will only delete files off the drive, leaving the EEPROM to work. You will need to insert a new floppy disk into your computer and reinstall OpenOS to it.

    To use method 1 of SecuriWipe, run this command in the shell: pastebin get Yc6sv6uQ SecuriWipe;SecuriWipe

    To use method 2 of SecuriWipe, run THIS command in the shell: pastebin get 3NJj9aSJ SecuriWipe;SecuriWipe

    ___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________

    It SHOULDN'T delete anything it's not supposed to, have a look at the Pastebin. I need people to try this out so I can submit it to OPPM.

    I wouldn't reccomend doing this on a survival computer, unless you really need it wiped.

    Thanks!

×
×
  • Create New...

Important Information

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