zharvek

About zharvek

Systems Administrator and hardware hacker who hates social media and posts stuff on this site when he feels like it. That's really about it.

BBS Upgrade

I will be upgrading the BBS server software, and migrating all information over starting October 1st, 2017.

I have been working on the server for a few weeks now, and have everything ready. The waiting time will be migration of user accounts into the new server. The BBS will be down for around an hour.

Users that have not logged in for the last 60 days will be removed.

By |September 9th, 2017|0 Comments

RemixOS Single Disk MBR Install (No Dual Boot)

This information is to help you install RemixOS directly on a hard disk, using (Legacy) BIOS boot method and MBR style partition table. Remix OS will utilize the entire hard disk and will not limit you to a 4GB /data partition. I will be using 2 USB thumb drives to get this working, none of which you will need to keep around when done.

Grab a copy of the 32- or 64-bit ISO. Just down the one you want here: http://www.jide.com/remixos-for-pc. It’s about 3/4 down the page.

Get a copy of Archlinux. We will use this as a live distro to modify the hard drive partition tables and format the disks as the RemixOS installer is very limited and does not offer the setup we need. You can find this here: https://www.archlinux.org/download/ choose any local mirror to you and get the ISO. Archlinux recently went to only 64-bit. You might need a different linux distro if your target machine is only 32-bit.

Open the zip file with WinRAR, 7Zip, WinZip. The default zip handler in Windows Explorer will probably work just as well. Copy out the RemixOS ISO file to your desktop or another folder. Do the same with the Archlinux ISO file.

I prefer to use Rufus to write ISO files to USB. You can grab Rufus here: http://rufus.akeo.ie/. Get the portable version, there is no need to install this utility.

Plug in a USB drive. Start Rufus with Admin Rights. Choose your USB drive on the top drop down, for the partition scheme choose: “MBR partition scheme for BIOS or UEFI”. Near the bottom click the CD-ROM Drive looking icon and choose the RemixOS ISO file you downloaded earlier. Uncheck the “Create extended label and icon files” box.

Click Start.

After Rufus is done set this RemixOS USB drive to the side. Do the same for the Archlinux ISO.

First we will boot using the Archlinux USB.

You sould be dropped to a command line once Archlinux is fully booted. I will use /dev/sda as our disk, first (primary) SATA drive in the system.

Wipe our primary hard disk:

gdisk /dev/sda
`Choose Expert Options then Zap the table. You will confirm and then booted back to the console.

Create MBR partition:

fdisk /dev/sda
`Create new partition, type (default) linux. Full size. Set flag bootable as well. Use the help screen.

Format partition:

mkfs.ext4 /dev/sda1

Mount the partition:

mount /dev/sda1 /mnt

Install GRUB bootloader:

grub-install --root-directory=/mnt /dev/sda

Edit grub.cfg file:

cd /mnt/boot/grub
nano grub.cfg

`grub.cfg file:
`--------------------------
set default=0
set timeout=3
set gfxmode=800x600
terminal_output gfxterm

menuentry 'Remix OS' --class android-x86 {
search --file --no-floppy --set=root /RemixOS/kernel
linux /RemixOS/kernel root=/dev/sda1 androidboot.hardware=remix_x86_64 androidboot.selinux=permissive SERIAL=random DATA=/data
initrd /RemixOS/initrd.img
}
`--------------------------
`Change the androidboot.hardware=remix_x86_64 to androidboot.hardware=remix_x86 if your using 32-bit.

Save the file. Unmount the RemixOS disk and poweroff.

cd /
umount /mnt
poweroff

Put RemixOS USB into port remove Archlinux USB and power on computer.

Boot from RemixOS USB. On RemixOS Boot Menu hit [TAB] on “Resident Mode” so you can edit the boot parameters below the menu. Do not remove anything just append to the end of the line: INSTALL=1

So it looks like: …SRC= DATA= CREATE_DATA_IMG=1 INSTALL=1

Hit Enter to boot with the modified line.

Select your partition to install RemixOS on (sda1). When asked to format say “Do not format”. Do you want to install Boot Loader? SKIP! Do you want to install /system as read-write? YES

When asked to start RemixOS or Reboot. Choose reboot. Remove all USB drives.

You should get the boot menu with RemixOS and should be good.

By |May 3rd, 2017|0 Comments

New BBS Features

Decided to sit down and add some long waited features I have been thinking about for the BBS. Almost all these changes revolve around security.

1. The Reddit Reader has returned. It has a few minor bugs that deal with the text placement on the screen but nothing major.

2. Secure Connection Lockdown has been implemented. If you want to be able to login using SSH/WSS/TOR only, it will no longer allow you to login use Unencrypted methods (Telnet/WS)

3. 2FA (Two Factor Authentication) has been implemented. Any apps/programs that are compatible with Google Authenticator or Authy will work. Standard TOTP style keys.

4. New “Profile Settings” can be found on the main menu, it contains the two security features listed above allowing you to toggle them on and off.

5. Password Recovery email address can now be specified in the Profile Settings menu. Although not required, it will allow me to reset passwords if you forget them.

As always if you have any issues, comments, complains, questions about the BBS you can contact me via Comments below, email, or the BBS itself.

By |April 5th, 2017|0 Comments

Change Computer Name to Serial

Little Windows VBS script to pull Dell BIOS serial tags into Computer Names. I pulled this from an old backup, since it got removed a long time ago for whatever reason.

strUser = "Administrator" strPassword = "P@ssw0rd" Set objNetwork = CreateObject("WScript.Network") strComputer = objNetwork.ComputerName Set objComputer = GetObject("winmgmts:{impersonationLevel=Impersonate}!\\" & _ strComputer & "\root\cimv2:Win32_ComputerSystem.Name='" & _ strComputer & "'") Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * from Win32_OperatingSystem",,48) For Each objItem in colItems strMsg = objItem.Caption If strMsg = "Microsoft Windows XP Professional" Then winmgmt1 = "winmgmts:{impersonationLevel=impersonate}!//." 'WScript.Echo winmgmt1 Set SNSet = GetObject( winmgmt1 ).InstancesOf ("Win32_BIOS") for each SN in SNSet If SN.SerialNumber = strComputer Then MsgBox "Computer name already set! Name is: "& strComputer Wscript.Quit End If If SN.SerialNumber = "" Then MsgBox "Problem with computer naming!" Wscript.Quit End If ErrCode = objComputer.Rename(SN.SerialNumber, strPassword, strUser) If ErrCode = 0 Then MsgBox "Computer renamed successfully to: "& SN.SerialNumber End If Next End If Next
By |January 6th, 2017|0 Comments

BBSLink Client

If you have heard of or came across http://bbslink.net/ and wanted to add the services door games to your BBS but find that they only offer a javascript file for Synchronet BBSes then this might help you out.

I recently joined and not having a Synchronet BBS I had to make my own client to work with their service. It is written in C# against .NET 2.0 and *might* work in mono on Linux. You will have to test.

Local Binary: BBSLink Door Binaries
Local Source: BBSLink Door Source Code

By |November 1st, 2016|0 Comments
Load More Posts