Steven VBS2 Notepad++ Language (Syntax Highlight) by

This for anyone else unfortunate enough to be using the ARMA or VBS2 scripting language. Cheers.

syntax highlight

syntax highlight

To use:

  • copy the text below into an xml file
  • in notepad++, go to language->define your own language…
  • select import, and import the xml file you created
  • the style tag for each group can be edited
  • I recommend changing at least the default style in the “folder&default” tab if you do not use a dark background.
  • And by recommend, I mean, change it or you probably wont even see plaintext.

click here to see the code block yo

Steven Update by

Hello internet, sorry for letting the website become so….DERELICT

 

Updates are on the horizon :( zoolander

Steven Setting up Xinu Development and Back-end in VirtualBox by

Posting this for anyone unlucky enough to have to set this up, and for anyone desperate enough to be searching the blogosphere for help…

Setting up XINU in VirtualBox

XINU is a teaching tool, as such, users will want to make changes to it quickly and frequently. Using VirtualBox, and open-source virtual machine sandbox program, development and back-end environments can be created and linked on an internal network. The development machine will act as a standardized programming machine. It is a basic Debian install that contains the XINU source code. The back-end machine will boot from VirtualBox’s internal network and run the compiled version of the code.

Installing VirtualBox (Linux / OSX )

  • VirtualBox can be freely downloaded from https://www.virtualbox.org/wiki/Downloads be sure to download the correct version for the distribution you are using.

  • Alternatively, VirtualBox can be downloaded using a software package manager such as aptitude or apt-get. (sudo apt-get install virtualbox)

Installing VirtualBox (Windows)

Obtaining XINU

XINU is available for many different systems and architectures. The current focus of development is to bring it to even more. This guide focuses on the Virtual Machine implementation.

The VM implementation of XINU is available as two “virtual appliances”, essentially pre configured virtual machine settings, in the public FTP of the University of Purdue.

  1. Connect using FTP to ftp.cs.purdue.edu

  2. Use anonymous login when prompted

  3. execute the ‘bin’ command, for binary transfer

  4. get ‘xinu-appliance.tar.gz’ this contains the two VirtualBox appliances

  5. untar the package

Importing and Configuring XINU

Once the XINU package have been downloaded and extracted, there should be two appliances, develop-end.ova and back-end.ova . Import these two appliances into the newly installed VirtualBox.

Leave all the settings as their defaults, and repeat the import for the second appliance.

In settings, under serial ports, you will want to set BOTH appliances to the same settings, with the addition of checking “Create pipe” for the development machine.

The path setting will vary depending on the operating system you are using. For instance,

in windows, use “\\. \pipe\xinu_com1”. Linux/OSX users will enter something like “/tmp/xinu_com” . This is the link between the two machines. The back-end machine is by default set to boot from the network. Once these settings are edited, you are ready to compile and run XINU!

Running XINU in VirtualBox

XINU is run by first compiling and “uploading” the resulting binary file to a location that the back-end can boot from.

  1. Start the develop-end VM

  2. When prompted, enter ‘xinu’ for the username, and ‘xinurocks’ for the password

  3. Once the system has completed loading, there will be a folder titled xinu-x86-vm

  4. cd xinu-x86-vm/compile

  5. make clean

  6. make

  7. run the upload script with sudo ./upload.sh

  8. XINU has now been placed in the proper location for the back-end to boot when started. However, in order to see the CONSOLE of XINU, you will have to connect using minicom.

  9. sudo minicom

  10. back in the VirtualBox menu, start the backend appliance. XINU will start, and run it’s main process, which by default will start the shell module. Congratulations, XINU is now running!

 

glhf

Steven CGN2-ROG Followup by

Additionally, if the router (in bridge mode) is plugged into any other type of outlet such as a power bar or splitter, it will not properly renew the IP.

Steven That moment… by

…you realize if anyone walked in and saw you, that they would run away screaming.

Steven Bridge Mode Workaround for Rogers Router CGN2-ROG by

 

csHouse has turned to the dark(er) side of canadian internet providers, and is now running on the Rogers Extreme High Speed Internet Package which boasted a modest 35Mbps down, 3Mbps up.

Not too shabby right? Not quite FiberOP, but will get everything up and running. Good stuff.

HOWEVER!

The service tech gave me a box containing their latest model of modem/router, and out popped the CGN2-ROG, looking like it was steeped in the 90s, and had plenty of ‘tude.

 

180 KICKFLIP

180 KICKFLIP

 

 

 

 

 

 

 

 

 

 

 

Flashing it’s massive, pointless LEDs, it sputtered to life and began sending and receiving data slower then I could have delivered it by hand. Great.

It turns out this badboy is completely incapable of routing, so, lets just offload that task onto a much better router.

IF YOU ARE HERE FROM GOOGLE, AND FOUND THIS SITE BY TYPING IN A WORD SALAD OF RAGE AND ROUTING ISSUES, YOU CAN BEGIN READING NOW.

So, you’ll need your crappy CGN2-ROG, another router (In my case, it was the RT-N56U), and an ethernet cable (CAT6) to connect them.

  1. Log into your CGN2-ROG, normally located at 192.168.0.1
  2. Credentials are cusadmin/password by default, because it’s a magical star child who wants to be different.
  3. If you can’t log in, factory reset it, or use the usb unlocker they may or may not have been included with the device.
  4. Go to 192.168.0.1/user/setup-capability.asp
  5. Disable everything, hit apply. This will place the router into bridge mode. You will NOT be able to access the router now. If you need to, I’d recommend factory reset. It’s possible to directly connect a machine to the router, and access the router through it’s external IP, but just…don’t do that.
  6. Set up your second router, plug the ethernet cable into the LAN port 1 of the CGN2-ROG, and into the WAN port of the new router. Turn it on.
  7. You should be good to go, and can treat your new router as the main router. For all intents and purposes, the CGN2-ROG is now just a fancy internet box.

 

You should notice an immediate improve in speed and stability, and are free to use any router you want.

 

DING DING DING KO!

DING DING DING KO!

Steven Minecraft Server! by

A reminder that we have a minecraft server running on cshouse. Vanilla, no mods.

You can view a map of the server here, it generally updates every few days.

Additionally, EMILY NOW HAS AN ACCOUNT. WOWZA!