Sep 05

PHP is not limited to creating just HTML output. It can also be used to create and manipulate image files in a variety of different image formats, including GIF, PNG, JPEG, WBMP, and XPM. Even more convenient, PHP can output image streams directly to a browser. You need to install GD Library for this purpose. Simply you can do this.
If you have a LAMP (PHP. APACHE and Mysql) Installation in your System , you can install GD library using the following .

in Ubuntu /Debian Install the package

$ sudo apt-get install php5-gd ( or use synaptic for installing this package )

Now Restart Your apache

$sudo /etc/init.d/apache2 restart

Tags: acronym, blog, google, network, SQL, system, Wireless, XP
Aug 22

Here I am trying to explain some useful Linux commands for wireless networking

iwlist scan – shows wireless networks that are available in the area with basic encryption information
lshw -C network – Shows Details of Interface card and drivers of each networking device

lspci -nn – Shows PCI vendor and device codes as both numbers and names of hardware connected to the pci bus
lsusb - Shows USB connected hardware
lshw -C usb – Additional info on USB related hardware (good for USB dongles)

route -n – Lists kernel IP routing table — Good for troubleshooting problems with the gateway

sudo route add default gw 192.168.1.1 – Example of how to set the default gateway to 192.168.1.1

sudo route del default gw 192.168.1.1 – Example of how to delete the default gateway setting

sudo modprobe ***** – Loads the kernel module **** . (Example usage – sudo modprobe ndiswrapper, sudo modprobe r818x, sudo modprobe ath_pci)

sudo modprobe -r **** – Unloades the kernel module ****. (Example usage – sudo modprobe -r ndiswrapper)

ifconfig – lists IP address

sudo ifup/ifdown – Brings up/down the interface and clears the routing table for the specified interface

sudo ifconfig up/down – Brings up/down the interface for the specified interface

sudo dhclient – Request IP address from DNS server for specified interface

sudo dhclient -r – Release IP address associated with specified interface

sudo iptables -L – Lists firewall rules

sudo iptables -F – Flush all firewall rules

dmesg | more – Lists boot log — good for troubleshooting problems with modules/drivers not being loaded

uname -r – Displays kernel version

/etc/udev/rules.d/70-persistent-net.rules – File which assigns logical names (eth0, wlan0, etc) to MAC addresses

cat /etc/resolv.conf - Lists DNS servers associated with network connections (Network Manager)

/etc/dhcp3/dhclient.conf - File which sets or modifies dns (domain name servers) settings

Tags: blog, device, Hardware, information, interface, ip address, linux, network, Networking, Server, servers, Wireless, XP
Jul 23

DarkStat is a simple Packet Sniffing Network Traffic/Bandwidth monitoring Tool for Ubuntu and other Linux distributions. DarkStat gives simple web based output with nice graphs and statistics , it will automatically refreshed. Darkstat uses a very low footprint and the memory, CPU usage.

How to install darkstat in Ubuntu / debian
$ sudo apt-get install darkstat ( or use Synaptic package manager)

For Running darkstat
$ sudo darkstat -i eth0
or for wireless
$ sudo darkstat -i wlan0
Now darkstat will start and run in background (You will not get any output now!!!!!)

Open your Browser
type http://127.0.0.1:667 in address bar

Tags: blog, CPU, linux, memory, network, network traffic, web, Wireless
Feb 19

Writen by Lee Asher

Installing a PCI wireless card might seem like a bit of an adventure — after all, you have to open the case, find where to put the thing, close it again… and then you have to deal with the software! Even if you’ve never opened your computer before, though, you shouldn’t have too much trouble with it if you follow this simple 10 step guide.

Step 1: Look at the Manual. Yes, I know it seems like a dull thing to do, but you really need to at least skim the manual for things if you’re going to go putting them in your computer. It’s much better to do it now than to realise afterwards that you missed an essential step in the installation. A few cards, for example, require you to install the software before installing the card — do this now if you need to.

Step 2: Switch the Computer Off. Before you even think about opening the computer, you’ve got to switch it off. You should use the ‘Shut Down’ option to make sure that the computer will start fresh next time, and wait for it to shut down completely.

Step 3: Unplug the Computer. To be safe, you should disconnect the computer from the power supply now. If there is anything connected to the computer, you should unplug that from the power too, as well as unplugging the wires from the back of the computer. If you’re nervous that you won’t remember which wire goes where when it’s time to put them back again, you could draw a diagram before you start this step. Most modern computers have a matching color coding system on the rear panel. Pink goes to pink, green to green etc.

Step 4: Remove the Case. To avoid damaging your computer’s parts or electrocuting yourself, you should be wearing an anti-static wristband (also known as a ground strap) whenever you open your computer. If you’re not sure how to get the case off, consult your computer’s manual. It’s usually just a matter of unscrewing, though — but make sure you keep the screws somewhere where they won’t get lost.

Step 5: When the cover is removed, the first thing to do is to locate the PCI slots on your motherboard, different motherboards have different amounts of PCI slots, for example you may already have a PCI card installed, in which case just choose an empty slot to install your new PCI card. PCI slots are long, rectangular slots inside the computer. Some of the available PCI slots might be used by existing modems or Ethernet cards. If there’s no space for your new wireless card, then you might need to remove some of this old equipment.

Step 6: Insert the PCI Card. If you’re using a PCI slot that hasn’t been used before, you’ll need to unscrew the piece of metal filling the gap in the back of the computer created by there being no card there. Make sure you store this piece in a safe place, in case you ever need it again.

When you insert the PCI card into the slot, do it as carefully as you can. Try not to touch any of the circuits on the card. Once it’s in the slot, you will need to press firmly, but don’t use too much force. You should also make sure that you point the wireless card’s antenna upwards.

Step 7: Close the Case. Just do what you did in step 4 in reverse — put it all back together.

Step 8: Plug In and Start. You need to plug your computer back in and start it. If you don’t want to re-attach all your cables right now, you will at least need to plug in the keyboard, mouse and monitor. Many people are scared when they turn on their computer again after installing a PCI card and it doesn’t work — only to find that the error was caused by them not reconnecting their keyboard! When you reboot your machine Windows (or other OS) should find the card automatically, it will then prompt you for the driver disk/cd that came with your card, insert the CD and follow the on-screen instructions.

Step 9: Install Drivers and Software. Once the computer’s done starting, it should notice it has some new hardware. This is when you should insert the CD that came with the card, and leave Windows to do its thing. If everything’s gone to plan, the PCI card should be set up automatically. If things don’t happen automatically, try inserting the CD before you panic.

Step 10: Configure Your Network. Your PCI wireless card gives your computer a permanent wireless connection. The first time you use it, you should be asked which wireless network you want to connect to. Choose your wireless network from the list, and you’re ready to go!

Information supplied and written by Lee Asher of http://Eclipse Domain Services.com
Domain Names, Hosting, Traffic and Email Solutions.

Tags: Computer, computers, Hardware, information, network, Software, space, Windows, Wireless
Feb 07

Writen by Eric Meyer

Wireless networks in schools is not a new thing but it’s rare to see the wireless network used to it’s full potential.

Technology with out wires gives the teacher the ability to bring the technology to the student instead of the whole class going to a computer lab.

Wireless mobile laptop labs can be used for many purposes:

•	Wireless Streaming Video  •	Research  •	Report Writing  •	Teacher Guided Instruction  •	Report writing  •	Typing  

What ever a student can do in a wired lab they can do with a wireless laptop mobile lab.

What are the features of a wireless mobile laptop lab:

1. Wireless Laptops – Laptops for schools should meet the following specs. First they need to have at least 512 mb of memory. Anything less will cause educational software to crawl. The laptop should weight about six pounds, a heavy laptop is about eight pounds plus and a light laptop is about 4lbs. The ultra light laptops are over $2,000 each and too expensive for schools. So six pound laptops are easy enough for schools to carry around. Now some people will tell me I’m wrong but school laptops don’t need cd-roms or DVD -roms. Why you ask? It’s because they will be the first thing to break and all software will run off the hard drive. The case needs to be a slim case so students can have proper hand placement when typing. Bluetooth devices are becoming all the rage so built in Bluetooth will be something to think about also. Hard drive size should only be about 30gig because nobody is going to download music or large media files.

2. Mobile Laptop Carts – They need to be easily moved, easy enough to take out and put in the laptops, and have a built in power strip for charging. Laptop carts can hold any where from 6 to 30 laptops at once. I recommend using laptop carts of 15 or smaller and spreading them through out the school.

3. Access points and printers – If you school can not afford permanent wireless access points have a wireless access point mounted on the card and plug it into a network port when needed. Also the cart can have a printer on it if needed, but I recommend network printers not desktops.

Studies have shown that students who use laptops in classrooms are more focused and have an easier time typing. Wireless networks free students from their desktops and frees them from having to go a computer lab to work with technology.

Come find the answers to your wireless networking problems. Join the most popular wireless networking newsletter on the internet at http://www.wirelessninja.com The Wireless Ninja makes the difficult easy, check out the Ninja certified wireless cameras http://www.wirelessninja.com/wireless_hidden_cameras.htm

Tags: Computer, Internet, network, Networking, Research, Software, Technology, Wireless