Archive for the “Technology” Category

Everything electronic.

First things first, iPhone Unlock Users do not upgrade via iTunes to 3.1.2; this will kill the baseband and you will not be able to unlock.  You can use the dev teams pwnagetool.

Jailbreak: Download/Execute BlackRa1n, click the logo of your OS to download. May want to install Cydia via BlackRa1n app.

Unlock: Install Sn0w via blackra1n app.

Tether: Unlock device, go to http://m.peacefulinsanity.com/Tether.mobileconfig on iphone and tap install.

If Issues with WiFi, GPS, or YouTube come up after unlocking with Blacksn0w. Go to Settings > General > Reset> and hit “Reset Network Settings”. Once that’s complete, do a hard power cycle by holding the sleep/home button for a few seconds and then sliding the on-screen power toggle.

Comments No Comments »

Tip TuesdayLinux is a great operating system for servers. Coincidentally, I run a local linux server and as everyone should know… disk space matters! That’s where today’s quick fix comes in! As a server owner, you will quickly realize how important every little kilobit is when it comes to keeping your server in order.

If you are curious how large your log space is you may run du -hs /var/log

Heres how to compress and backup all your logs to /root/logs-(date).tar.bz2 and wipe all the data out of all the files in /var/log.

  1. Open up a CLI (terminal)
  2. tar -cjf /root/logs-`date +%d%m%y`.tar.bz2 /var/log
  3. find /var/log -type f | xargs sed ‘/^/d’ -i
    • Red: This part of the command will send the path of all the files in /var/log to stdout(the screen)
    • Blue: The xargs command allows us to perform an operation on everything in stdout, as from the previous command displays all the file names, this will let us “merge” a command with the filenames.
    • Green: sed is a streamline editor, basically it will allow us to perform a regular expression. In this case we are deleting all the lines from a file

Comments No Comments »

Ever want to download a youtube file? Well you could use the KICKyoutube service previously mentioned or you could just download it yourself!  Youtube has a “secret script” since its recent push to HD Videos that will allow users to pull back the mp4 version of the video.  The URL looks like: http://www.youtube.com/get_video?video_id=<ID HERE>&t=<SIGNATURE HERE>&fmt=18(22 if HD)

Editing the link by hand is a very messy procedure so do yourself a favor and just drag and drop this link – – to your firefox (or Safari) link bar right below the URL.  Or if you are using Opera/IE book mark it by right clicking and adding it to your favorites.  Once bookmarked whenever you are on a youtube page you may just click the bookmark and a download will automatically start!

The magic behind this is javascript the actual code is:

javascript:if(document.location.href.match(/http://[a-zA-Z.]*youtube.com/watch/)){document.location.href=’http://www.youtube.com/get_video?fmt=’+(isHDAvailable?’22′:’18′)+’&video_id=’+swfArgs['video_id']+’&t=’+swfArgs['t']}

What this is doing is first checking if the page it a youtube video page.  That part is in blue.  The real magic begins with the second part (in red) this is pulling variables(green) from the youtube page.  If you go to the youtube video page and View the “Page Source”, you will see that isHDAvailable is defined as a variable, aswell as swfArgs['video_id'], and swfArgs['t'].

What’s even cooler is that YouTube is starting to show TV Shows and this works on full length tv shows aswell!  So if you hate torrents and YouTube has what your looking for, you got a high speed decent quality download!

Comments 1 Comment »

      Have you ever ran into the problem when you can’t connect to the internet, so you look at your IP Address and you see a 169.254.x.x IP Address?   You can thank APIPA (Automatic Private IP Addresing) for this.  What happens is your computer needs to start up the TCP/IP stack, but it can’t do this without and IP Address.  It attempts to get one from DHCP and if that fails then it loads up the non-routable APIPA address.  It does this so that TCP/IP can load and you can begin your troubleshooting.  The APIPA scope is from 169.254.0.1 to 169.254.255.254.  When I said it is a non-routable address, this means that you can not route from this network to any other network.  If you had two computers on the same APIPA network, they would be able to communicate though.

Now for a question for you techies that I will solve in a later tutorial; what class of IP Addresses is this range in?

Comments No Comments »

Hello all you ninjas fanatics,

The Network+ exam from CompTIA is one exam every network technician and administrator should have, and believe it or not this is very easy to achieve. Today we are going to be talking about the OSI model and how it applies to you. The OSI is not a specific way for how data is transferred; it is all theoretical. It is the idea for how data is being transferred from one spot to another. There are seven layers to this model and they are as follows:

  • Application
  • Presentation
  • Session
  • Transport
  • Network
  • Data Link
  • Physical

Each layer has it’s own specific part for how the data is transferred. Physical, Data Link, and Network are all part of the Media Layer, while Transport Session Presentation and Application are all part of the host layer. The media layer deals with the hardware and how it is transferred through the cabling, routers, hubs, and interfaces and such while the host layer deals with anything that happens in the host, such as how the information is packaged to be sent in protocols. Data is sent “Down mine and Up yours”. This means that it starts at my application layer and goes down through my physical layer, and goes up starting at your physical layer all the way to your application layer. Here is an explanation of each of the seven layers.

Application- This is the layer closest to the user. You operate on this layer and it is what you see, or sometimes don’t see. This layer contains the most applications such as Telnet, FTP, HTTP, and SMTP.

Presentation- On this layer, encryption takes place. This is mainly the layer that converts information from the application layer into data that can be sent through the session layer.

Session- This is where the connections actually take place. It deals with the creation, maintaining, and closing of connections. There are three ways in which data is sent through this layer: full-duplex, half-duplex, and simplex. Full-duplex is where both ends can talk and receive at the same time. An example of this would be a phone conversation. While you might not want to, you can talk and listen at the same time and the phones will send the data. The next is half-duplex. This one is used for only sending in one direction at a time. An example of this would be walkie-talkies because you can only talk OR listen; you can not do both. And the last way to send data is simplex, and this is used when you only need to send data in one direction and no reply is needed.

Transport- This is where TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) take place. Data is sent through one of these. TCP is where there is a handshake and it is a connection-oriented protocol. If something goes wrong, it make sure the proper packets gets to the recieving end and they aren’t corrupt. UDP is connectionless-oriented. It just sends the data and it could care less if the data gets there or not.

Network- Yay we are at the layer where routing takes place! This is where your routers and multi-layer switches are. Instead of making a decision based off of the MAC Address, we use IP addresses now. The data would come in through one interface, and then the router will try to look up its destination inside its database called a routing table. If it can not find it’s path, it forwards the packet to it’s default gateway who then does the same look up. It repeats this process until it figures out where to be routed to.

Data Link- This is the layer where switches are located at. Switches do not route, rather they quiet the network down by cutting the network into segments. They send data based off of the MAC Address on the NIC (Network interface card) of the computer. If the MAC Address is on the left side of the network, instead of sending it everywhere and broadcasting the whole network it will only send the data to the left side of the network. Switches are becoming more sophisticated though and multi-layer switches are starting to come out with routing capabilities that also operate on layer three. Switches communicate with each other using the Spanning Tree Algorithm to prevent broadcast storms. Broadcasts are used to communicate with everyone on the network, or to find a certain node for communication such as the DHCP server to get an IP address. Let’s say there are two switches on the same network. The broadcast would get to one switch, and that switch would repeat it to every interface. Then the data would get to the next switch, and it would also repeat it to every interface. What would happen if they both kept repeating the same data back and forth to each other? The amazing broadcast storm until your network fails. My point; they are slowly becoming more sophisticated to avoid problems.

Physical- The physical layer holds all the physical media for which data is transferred. There is no computing done on this layer at all. It is solely used for the transferring of data through this layer. It consists of the cabling, hubs, repeaters and network adapters. Notice how all of those do no computing on their own and they are used for transferring the media or repeating it. There is no routing that takes place on this layer.

If you plan on getting this certification which is highly recommended, you must know the OSI concept and how it operates because it is highly tested on the exam. One way to remember this model is to use acronyms. A great one is Please Don’t Ninja The Stupid Pirates Apples. There are many places on the internet to find information about it, but why not ask some people who have passed the test? Head over to the forums and ask any questions you might have!

Have a great ninja day!

Comments 2 Comments »

http://www.emanuelblagonic.com/wp-content/uploads/2007/06/google-homepage.jpgIf you’ve ever browsed the forums, you may have noticed that many of the questions asked there can be solved by a simple Google search. But you can’t just outright tell them to stop bothering you and Google it, can you?

Let Me Google That For You is a brilliant webtool which will help you create a passive aggressive response to that person asking you the lyrics to a popular song. Just insert your search Query into the familiar Google UI and click Generate. The user will be redirected to a page which explains to them, step by step, how to do a Google Search. After taking them through it they will be redirected to their Google results page.

Whats that? How does a Ninja reheat rice in a Microwave?

Let Me Google That For You!

Comments 1 Comment »