So I just recently re-installed windows on my desktop and was installing my office365 suite (I’m doing the annual 5 seat license, so far I’m very happy with it other than trying to find the installer for each system, but that’s a different rant).
I happened to pin them to my task-bar and it spelt out “pwn” and I found that funny so I wanted to share.
(I’m using Powerpoint a lot for my capstone at ITT if you curious why it made it to the task-bar. It won’t be there much longer.)
So it’s been a while since I’ve talked about bitcoin and I’ve recently gotten more interested now that the prices have grown significantly. So I started explaining it to some friends at school and have gotten them interested as well. So of course I wanted a nice and custom key to show off, and it’s really quite easy with tools like vanitygen by samr7 over on the bitcoin forums which is the tool that we will be using for this post.
Because it’s actually doing alot of math to figure out (or more correctly guess) at the key, the longer you want your custom key to be, the longer you will have to crunch these numbers so don’t get too crazy with it.
The tool has several options but most of them won’t be used, in fact I only use one of the possible flags below, but there are more, you can view them by running vanitygen.exe with the “-h” flag, or just save this as something like help.bat in the same folder as vanitygen.exe and double-click the .bat file to run the help command for you.
Now that you have read the options the batch file below might make more sense, we are going to ask you for the pattern you want your custom key to have, and decided if you want it case-sensitive which takes MUCH longer, and might have strings that are not allowed, but it’ll error out if it does so you can try something different.
So save this file as something like vanity.bat in the same folder as vanitygen and run it. (Change the highlighted lines 19 and 23 to reflect the executable you are going to use for your system. (ie: if on a 64 bit system you would use vanitygen64.exe, on a gpu you would use oclvanitygen.exe)
echo You can always press ctrl+c to stop this script from running.
set /p Name=Enter your desiered pattern (The leading 1 has been added for you): 1
set /p ConfirmName=Your pattern will be 1%name% Is this correct [y/n]?:
if "%ConfirmName%"=="" (GOTO GETINPUT)
if "%ConfirmName%"=="y" (GOTO STRICTNESS) else (GOTO EXIT)
set /p Eieye=Do you require your pattern to be CaSe SenSitvE [y/n]?
if "%Eieye%"=="y" (GOTO CASEYES)
if "%Eieye%"=="n" (GOTO CASENO) else (GOTO EXIT)
Here is what the output of the script does (note, I’ve highlighted the user input for clarity, there is no color in the actual script results, and No this key should NOT be used!):
Then create a shortcut on your desktop for vanity.bat and change the icon to something that you prefer, I’ve added the image I use below for fun, and then just run this anytime you (or a friend) want a custom wallet key!
As for wallet’s, I use the Armory wallet but for most users I would recommend multibit as it’s much faster, and much smaller, but you do give up some freedom and security relying on others where armory can offer a true TNO security standpoint, just my 2 bitcents on that topic, now get mining!
So here’s another problem that I’ve run into at work, that I just wasn’t able to find a good resource to answer, so I’ll go ahead and post my workaround so that it might help someone, or myself sometime later.
Let me first explain the problem I was running into so that you get an idea of why and how this happened.
I work for a managed service provider, and we were just getting ready to migrate them away from their old POP3 email to office365′s hosted exchange server, and at the same time we were replacing about 20 pc’s.
The computers were built in house, and most of the work, adding updates, software, users, and enabling remote desktop etc was done locally before the computers got delivered to the remote offices as well.
The computers were delivered, and installed, and everything was going fine, their old email was setup in outlook, and they were able to connect to the main remote desktop server running a few select pieces of software just fine. Sweet!
A week goes by and it’s time to start making sure all of my ducks are in a row before pushing out the new settings for outlook to connect to the new email service, so I tried to use remote desktop (RDP herein) just to test it out. I get an error along the line’s of:
To log on to this computer, you must be granted the Allow log on through Terminal Services right. By default, members of the Remote Desktop Users group have this right…
Now first, understand I was logged in as a domain admin. This error was definitely unexpected.
I try logging in as the local machine’s admin account, and get the same error message. Now I’m starting to get worried, these remote offices are not exactly close, and I really don’t want to spend the next 2 days running all over the place to add the user to the local machines Remote Desktop Users group, but it’s starting to look like that’s what’s going to have to be done, as I can’t just call the end-user, give them the local admin’s login info, then have them start a teamviewer session so that I can add the users to the local RDP group.
But wait! Now I remember, there’s a “Run As” option in windows!
We’re going to need some kind of remote access to the machine to get this configured so I call the user, have them run the teamviewer quick support app (No I don’t get paid by them I just really love the service!) while still logged in as the domain user.
Then here’s the workaround.
Click the start button, type in powershell, but DONT click it yet!
Hold down “Shift” then right-click it. You should see an option for “Run As a different user”
Then you will get a login prompt!
Sweet! Go ahead and enter in your cred’s.
This will open a powershell prompt as the user you just entered the creds for (in my case the domain admin). Neat! Now I just need to open the local machines user and groups settings to add the users. Type in “lusrmgr”.
This will open a window I hope your familiar with,
Now you should be able to add users the same way you usually do! Nice!
If you need a hand actually adding the users to the RDP group, I’ll go ahead and finish walking you through adding a user, but for everyone else, you should be good to go! Enjoy!
To add someone to the RDP group, first click Groups in the left side window (1) in the Local Users and Groups window, then in the main window section, double-click Remote Desktop Users (2).
From this next window, Click Add:
This will open up another window, if you already know the name’s go ahead and start typing them in, click “Check names”(1) and “OK” this will add a user, I don’t usually know all the name’s so I go this route:
Click “Advanced…” (2)
Then hit the “Find Now” button to populate the list with all of the members and groups of your domain (I’ve already done this in the following picture).
Select all of the users and groups you want added and click “OK” and viola! They’ve now been added to the local machines Remote Desktop Users group, remotely, and without giving up the admin’s account info to the end-user! Yea! You should now be able to login as the users you selected to that machine, and can disconnect your teamviewer session, and continue administering that machine via RDP like you wanted to before.
Also a side note, I don’t believe that Windows XP had the command “lusrmgr” so you might need some tweaking of this to make it work for you. But then again, it’s time to upgrade if you’re still using XP anyways, End of life support for XP is April 8, 2014 just in case you needed to start thinking of that!
So this title might be a bit misleading, as this setup will require you have a spare router that will support the dd-wrt firmware, I wanted to say this up front to avoid anyone reading this to get upset by letting you know half way through this post.
I had to hack this together because my I run a windows domain, and my roomate’s new laptop has windows 7 home on it, so of course, he can’t be brought onto my domain but I still wanted to share out my printer with him.
I have random hardware laying around so I came up with this solution as it didn’t cost me anything to do. Sure I could have waited until Fry’s opened tomorrow, but I’m saving for a new car, and like I said, I’d rather put the hardware I have to work!
Here’s the breakdown, I can give more detailed instructions if you like, but I figured that would be better suited for the Forums as all those instructions would make this a very dry post.
You will need:
- Wireless Access Point that supports at least WPA-2 Personal (TKIP or AES both work) and broadcasting it’s SSID
- A Second wireless router that has dd-wrt installed
- A Printer that accepts USB
- A netgear wpg606 wireless print server (or any networked print server on second thought!)
So I have had a few people at school ask me how to host a minecraft server, so I figured I’d go ahead and do a walkthrough for the basics and then work into config’s etc on a later post. I’ll also be doing a similar walkthrough for Linux so look for that to come soon
I’ll also say that google will return a million different posts as well, but at least this one you know the source of the info and hopefully I’ve vetted the software enough for you to trust my outside links as well, so here we go.
Alright First you have to make a choice. (explained further down)
(click the link above to download after making your choice)
A Vanilla is the Official plain (plain like vanilla get it?) minecraft server. Just your friends, you and the world as it was intended to be played by the creators at Mojang.
A Bukkit server is a re-write of the official server that allows a very strong plugin community to (GREATLY) extend the functionality and interactions you can have in the minecraft world.
Running a vanilla server is quite simple, download using the link above and run the .exe file. That’s it.
Running a bukkit server is a little more work. First download bukkit from the link above, and save the .jar file to a directory of your choice, I will use C:\MINECRAFT\ as my default location.
Once you have it saved you will need to create a file to launch it so you don’t have to keep opening a terminal and typing commands. Again we will be using our friend the .bat file.
Create a new file named something like start_bukkit.bat and enter in the following:
[codesyntax lang="bash" title="start_bukkit.bat"]
CD /D "%BINDIR%"
java -Xmx1024M -Xms1024M -jar craftbukkit-<version number stuff>.jar
Save and close. This will need to be changed each time the folk’s at bukkit.org release a new updated version so that the name represents the file you download.
Then again you could take the easy way and just change the line in the file above to say craftbukkit.jar and then just rename the .jar file you download each time.
I personally like being reminded what version I’m using so I just change it manually each time, but meh, I’m a nerd… So I’ll also tell you that you can set the memory sizes for the server to be able to use in the above file by changing the -Xms (minimum) and -Xmx (maximum) amount of memory in Mb that you want to dedicate to your server instance.
So one last thing before you run that .bat file. Make sure you have this and the .jar file in it’s own directory and not on your desktop or something because it will generate several new files once you run it.
Go ahead and run the .bat file you created, it should open a terminal and run craftbukkit It will lo
ok something like this:
Then stop the server by typing in “stop” and pressing return (then press any key to close the window)
Now when you look in your minecraft directory, you’ll see all the newly created files and folders.
This is what a new install should look like. Now let’s do some simple configurations as the rest of the bukkit config will be covered in a seperate post as it works the same for windows or linux after this point.
First open the server.properties file. I prefer notepad++ but your more then welcome to use your editor of choice.
Here are the setting’s and their function:
[codesyntax lang="python" lines="normal" title="server.properties"]
#Minecraft server properties
#Fri Mar 02 22:18:15 PST 2012
allow-nether=true # If you want the nether to be created (you do)
level-name=world # The Name of the world obviously
enable-query=false # Allows query of server information
allow-flight=false # Allow client mod for flight. I ususally just add a
# server plugin so there's no need for me to do this.
server-port=25565 # Port your minecraft server will be using to connect.
# Leave at default unless you want to run multiple servers on one machine etc.
level-type=DEFAULT # Leave at default or use FLAT for a "sandbox" enviro.
enable-rcon=false # not sure?
level-seed= # Random Text string for you to generate land or use
# others seeds from places like www.minecraftseeds.info
server-ip= # Most of you want to leave this blank. This bind's
# to a specific IP.
spawn-npcs=true # Villagers
white-list=false # Enable a white list on the server.
spawn-animals=true # Uh. Spawn Animals.
online-mode=false # This checks each client against mojang to see if each
#user has purchased a copy of minecraft. More info in post about this one. (default false)
pvp=true # Allow fighting amongst players (peer vs peer)
difficulty=1 # 0-Peaceful 1-Easy 2-Normal 3-Hard
gamemode=0 # 0-Survival (default) 1-Creative
max-players=20 # maximum amount of players allowed to connect
spawn-monsters=true # Uh. Spawn Monsters.
generate-structures=true# Uh. Spawn Houses.
view-distance=10 # 3-15 *Default 10* Amount of world data sent.
motd=A Minecraft Server # Message of the Day - Short blurb sent to the client
# each time someone connects to your server.
##### Non Standard Options Below #####
max-build-height=256 # Max height in which building is allowed
query.port=##### # Change port for query if you so choose.
enable.rcon=false # allow remote console access
rcon.port=##### # Port for remote connections
rcon.password=##### # Password for remote connection
Be sure to set this up as you see fit.
That’s about it! Make sure your incoming port (25565 by default) is forwarded through your windows firewall and any other firewall’s you might have in place, and you should be able to connect! If you need a name to give your friends, check out the site http://www.no-ip.com/ (they have a free version as well that works fine) and install the .exe so that it can track your dynamic IP address. The rest will be covered in following posts
Hope this has helped!