Archive for November, 2009

Submit to StumbleUponDigg ThisShare on TwitterSave on Delicious

Important Concepts For Linux Beginners – Shells and Utilities
By Levi Reiss

A shell is the command interpreter program that serves as an interface between some users and 250px-Bash_demothe operating system itself. We say some users because most users rely on the graphical user interface. The Windows shell is the DOS command line interface accessed by clicking on Run and then entering the cmd command. The Windows graphical user interface is Explorer. This article describes the Damn Small Linux shell interface and several utilities, useful programs that may be launched from the shell. A subsequent article will describe the corresponding graphical user interface.

Why would anyone want to bother with a shell when the prettier, easier-to-learn and easier-to-use graphical interface is available? The answer is: It depends who you are and what you want to do. For system administrators or their associates it’s often much less cumbersome to use the shell rather than the graphical user interface. While Damn Small Linux commands may be quite arcane, they are often very powerful. And efficient. The Linux way of performing administrative and other technical tasks admittedly takes time to learn and master. But it does the job and does it well. In all fairness, many Windows systems administrators often apply command-line utilities. But they don’t have a powerful shell to help them do their work.

Historically Unix used the Bourne shell, the C shell which resembles the C programming language, and the Korn shell. Linux’s most widely used shell is Bash, also spelled BASH, the (Bourne-Again Shell). Damn Small Linux offers many shells but most people go with Bash both to communicate interactively with the operating system and to write programs known as shell scripts. If you program in Linux no matter which programming language you use you should learn some Bash specifics.

Utilities enable you to handle some very sophisticated processing. You can think of them as commands or as prewritten programs. Unix-Linux people often send the output of one command or utility to another command or utility for further processing. For example, the ps command displays active processes. It tends to generate voluminous output, especially in a busy system. Let’s say that you are interested only in the processes associated with a given terminal. You send (the technical term is pipe, expressed by the | character) the output of the ps command to the grep utility which looks for patterns within the input. You code a single line, multipart command to obtain the list of processes associated with that particular terminal. Unix and Linux are well known for elegant solutions. In contrast the Windows solution to this information need is much more clumsy.

The grep utility has many other uses including validating e-mail addresses. Let’s say that your web site asks potential subscribers to furnish their e-mail accounts when signing up for a newsletter. A sophisticated but relatively short statement coded in grep could validate e-mail accounts.

DSL-logoOther Damn Small Linux text processing utilities include the related egrep and fgrep commands, mawk a pattern scanning and text processing language, sed an editor that handles large files, and diff a utility that compares files. DSL provides utilities that compress and archive files, and a wide range of other utilities. If you need them, these Linux utilities can be very useful and time-saving.

Our next subject is Linux programming support.

Levi Reiss has authored or co-authored ten books on computers and the Internet. He loves the occasional glass of wine as exemplified by his wine websites including http://www.theworldwidewine.com. He teaches Linux and Windows operating systems plus other computer courses at an Ontario French-language community college. Visit his new website http://www.linux4windows.com which teaches you how to download and run Damn Small Linux on Windows computers, even if they are “obsolete.”

Tags: , , , , , , , , ,
Submit to StumbleUponDigg ThisShare on TwitterSave on Delicious

Linux Terminal Control Sequences
By Bernard Peh

nokia5320_internet_cabledata9Linux terminals share alot in common with their primitive ancestors such as vt100 like consoles. These early devices is capable of sending sequences that signaled events outside of the normal flow of typed characters, such as escape, tab, linefeed…etc. Linux uses CTRL key to send out these out of band signals. This article summarises many of the commonly used control sequences that are used in all Linux terminals.

CTRL-C

This is the most commonly used sequence. In the bash shell, CTRL-C will terminate any currently running process and return you to the bash prompt. For example, if you accidentally run a command that does not stop, use CTRL-C to cancel the command.

CTRL-D

Many Unix commands read their input directly from the keyboard. An example is the WC command. WC counts the number of lines, words and characters that a user types in from the keyboard. So if you tpye WC at the command prompt, the command will wait for your input till you use CTRL-D to signal the end of transmission.

CTRL-Z

CTRL-Z means to suspend a program. For example, you are working with a command and you want to stop it temporary as it is taking too long. To do that, you can use CTRL-Z. You can later restore back the command using the fg command.

CTRL-U

If you have messed up a certain command and you want to start all over, instead of using backspace, you can use CTRL-U. CTRL-U resets the current line.

CTRL-H

Instead of using the backspace key, you can use CTRL-H to function the same way. Unless the backspace key is malfunctioned or mapped wrongly, this sequence serves very little purpose.

CTRL-L

If your screen is too cluttered with unwanted information, you can clear the screen using CTRL-L.

CTRL-S

Freeze your screen. This is a good command to use if you decide to go for a coffee break and do not want any process to run till you are back.

CTRL-Q

This sequence is exactly the opposite to CTRL-S. If you have freezed the screen before, you use this command to unfreeze it.

CTRL-J

Functions the same way as the RETURN key.

CTRL-G

Makes a terminal beep sound for fun and entertainment.

Control Sequences are important to all Linux / Unix users. Some sequences are important while some are useless today. It is worth memorising the first few sequences as described in this article.

Bernard Peh is a great passioner of web technologies and one of the co-founders of Sitecritic.net internet articles. He works with experienced web designers and developers everyday, developing and designing commercial websites. He specialises mainly in SEO and PHP work.

Tags: ,
Submit to StumbleUponDigg ThisShare on TwitterSave on Delicious

Linux Commands Tutorials – Using the Ls Command With Examples of Options – A Hands-On Tutorial Help
By Clyde E. Boom

This Linux command tutorial shows you several examples of how to run the Linux ls command using popular, commonly used command options.

All of the Linux command examples shown below have been designed to work with all Linux distributions (versions).

So, if you run all of the Linux commands shown below yourself, you’ll have a mini Linux command tutorial.

Try it – it’s a great way to get Linux training!

The Linux ls Command

The Linux ls (list) command is a very popular Linux command that is used to show a listing of directories and files.

Linux ls Command Tutorial – Showing Examples of Using ls Command Options

Run the CD (change directory) command below to change into the etc directory (folder) so we have lots of directories and files for the ls command examples below.

]$ CD /etc

Run the ls command without any options.

]$ ls

This shows a listing of all directories and files (items) in the current directory, which is the etc directory. There are a lot of items and only the end of the listing appears. You can’t see the top of the listing because it has scrolled off the screen.

So, we will use the | (vertical bar – above the Enter key on many keyboards) to “pipe” the output of the ls command to the less command – and then see some options of the ls command.

Linux Tips: To type the | (vertical bar) on most keyboards, hold down the shift key and press the (backslash) key.

Linux Tips: The less command is used to pause the output of a command after the first “screenful”, so the output doesn’t scroll off the screen. The less command is a Linux command, and not an option of the ls command.

]$ ls | less

Now, because you piped the output of the ls command to the less command, you can use the Up Arrow, Down Arrow and Page Up and Page Down keys to scroll through the output of the ls command.

Press the Down Arrow key a few times; then the Up Arrow key and then Page Up and Page Down. A nice way to view the files in the Linux file system!

Notice that just the item (directory and file) names appear. You don’t see any other information, such as the size and date.

Press the letter “q” (without the quotes) to quit out of the less command. Do this after running each of the command examples below.

Now run the ls command with the -l (for long) option to get a “long” and more detailed listing of the items in the etc directory.

]$ ls -l | less

Now you get lots more info on each item! The size (in bytes) of the item appears at the left of the date. When a “d” appears at the far left of an item, this indicates that the item is a directory (folder).

Try scrolling down and then scrolling up.

The ls command below uses both the -l and -S options. The -S option causes the items to be sorted by size, with the largest item at the top.

Linux Tips: Linux commands are case sensitive, so when you see an upper case “S”, be sure to type in a capital “S” (without the quotes).

]$ ls -lS | less

Press the Page Down key until you get to the bottom of the listing.
A Practical Linux ls Command Example – Listing Linux Text Configuration Files

Now let’s say you need to look at some of the system configuration settings in a Linux text file. You know the file is in the current directory (etc) and that the file ends in “.conf”, but you can’t remember the full name of the file.

To see all possible file names, you use a Linux “pattern” of “*.conf” . This pattern uses the * (asterisk) wildcard character to show all files that end in “.conf”.

]$ ls -l *.conf | less

Now you see the Linux text file you need and can check the settings in it.

Quit out of the less command.

The exit command is used to close a terminal emulation window and end a Linux bash shell “session”.

]$ exit

Beyond This “Linux Commands Tutorials” Article
The Linux ls command is one of the most popular and commonly used Linux commands. There are lots of uses for the ls command and many other useful ls command options.

As part of your Linux training, you also need to learn how to use the ls command to: get a listing of “hidden” files, get a listing using an absolute path and relative path, get listings using several different “patterns” (with wildcard characters), and list directories and files recursively.

Now, imagine watching a clearly narrated Linux video tutorial that not only shows all of the examples above, but also shows you the full output of each command – you get to learn Linux live!

Then imagine pausing the Linux video after each example and trying the commands yourself – an excellent way to get Linux training!

And now I would like to offer you free access to my Linux Commands Training Mini-Course, a 7 Lesson, Daily Mini-Course, including the free Linux Commands ebook and Linux audio podcasts – showing you how to get started learning how to use Linux commands.

You can get your instant access at: http://www.LinuxCommandsTrainingCourse.com

From Clyde Boom – The Easy Linux Training Guy – Easy, self-paced Linux training – In Plain English!

Tags:
Submit to StumbleUponDigg ThisShare on TwitterSave on Delicious

Are You Getting Sick Of Microsoft Windows? It’s Time To Give Ubuntu Linux A Whirl
By Alan Oliver

About 18 months ago, I had another disastrous crash on my PC that caused me to lose a host of photos, music and documents. Luckily I had a backup of most of my documents on an external disk. So I wasn’t too concerned by this. I had experienced many crashes on Windows before and usually I was able to recover most of my documents and restore the system back to normal without too much effort.

This time was different however and to my horror, I discovered that Windows had somehow corrupted my external disk as well. I had lost everything and was pretty angry about it.

I tried a number of data recovery programs but most of the files wore gone. Forever. What a disaster! At that point I decided that I would look for another alternative to windows and I thought I would give Linux another try.

RedHatA few years earlier I had experimented with RedHat Linux but had no real success with it as it had problems detecting my usb keyboard and mouse. Which was obviously a bit of a non-starter for me. I knew that big advances were being made in the Linux world so I decided to do a bit of research.

Linux is an operating system that is free. That is, it can be downloaded and copied and distributed without a fee. It is free in a deeper sense too. Most of the software is written under a license called the “GPL” which effectively means that source code is available to everyone for each and every component of the Linux Operating System. If you have access to the source code for a piece of software then you can change the program to fix bugs and make it better. Once you do this you are under obligation to make your new source code available to others.
This has worked extremely well and Linux is being developed by programmers all over the world to make it better and better. The progress is amazing!

In my research I discovered a website: distrowatch.com. This website keeps a list of the most popular distributions of Linux. A distribution is a collection of Linux software that together makes an operating system. Each distribution contains different software and has a different focus. There are so many to try… Fedora, Mandrake, Puppy, PCLinuxOS, Debian, Knoppix, and the most popular, Ubuntu Linux.

ubuntu128x130I downloaded the ISO of Ubuntu Linux from the Ubuntu website http://www.ubuntu.com/ and burned it to cd (an ISO file is cd image that can be recreated using a cd burning tool such as Nero). I placed the cd in my drive and booted up my computer.

I was astounded!

Within 10 minutes my computer was running Ubuntu Linux without even having to install it! This was a “Live-CD” and it can be used without installing to hard disk – it can be run from a cd without affecting your computer at all.

All my hardware was detected and within minutes I was surfing the web using Firefox and getting my email using Evolution, chatting to friends in messenger and yahoo chat using Gaim, writing documents and opening spreadsheets in Open Office and listening to Internet Radio with RythmBox.

I was delighted with the easy to use and gorgeous looking desktop. I decided to install it straight away and since then I haven’t looked back.

There is an abundance of free open source software just waiting for you to experience. The package management system – Synaptic, allows you to search repositories of software and download them. The quality of a lot of the software is incredible.

Linux is written from the ground up to be a secure operating system. This means that you won’t have to worry about getting viruses, spyware or any other kind of malware. My system is as stable as a rock.
Of course, there are downsides to running Linux. The main one is that there is a learning curve that can be quite steep. It is not windows so If you are trying to get something working, your windows knowledge will not help you.
You might need to troubleshoot problems using the Command Line Interface – similar to windows DOS, but many times more powerful.

Fortunately, help is at hand on the incredibly friendly and helpful forums at ubuntuforums.org
I have been running Ubuntu Linux now for 18 months and can’t see any reason now to return to windows. Once you get past the mind set of using closed source software a whole new world opens up before you and you realise that amazing things are possible with linux.

I hope you found this article helpful and I hope it inspires you to try out Ubuntu Linux as I did. You won’t regret trying it.

Here are some resources:

distrowatch.com

Distrowatch – News on the latest Linux distributions.

ubuntu.com

Ubuntu – Download the Ubuntu Linux operating system for your computer

ubuntuforums.com

Ubuntu Forums – Go here for help and advice

wikipedia.org/wiki/Linux

Linux on Wikipedia

order linux on cd from frogshape!

http://www.frogshape.com

Tags: , , ,
Submit to StumbleUponDigg ThisShare on TwitterSave on Delicious

Top 10 Tips to Using Public Wi-Fi Hotspots Safely
By Bethany Payne

Ahh, the joy of portable computers. Being able to grab a coffee, fancy pastry and sit down in a comfortable environment, and take in the energy of the others around you while getting some work done. Or getting some tasks completing while you are waiting at the airport. Great scenario, but most work these days involves connecting to the internet, and how can you do that safely using public wi-fi? With a bit of preparation and wireless security smarts, you can get quite a bit of work done at that coffee-shop or airport.

  1. Be Smart

    Do not access sites that concern your online banking, investments, or private activities that you might not want others knowing about when you are using Wi-Fi in a public location. Thieves can easily sniff and see all data sent back and forth from your computer through the internet.

  2. Be Aware of Low-Tech Thievery

    Be conscious of your surroundings. Shoulder-snoopers can see the sites you are accessing and maybe copy down your password. They may later contact you with enough information to bait you into giving them more.

  3. Use a Firewall

    Make sure you have your Windows firewall active or that of another company installed and active, such as Norton or Panda, especially when you have wifi security concerns.

  4. Watch for an Evil Twin Attack

    Be certain that the wi-fi you are connecting to is the legitimate one for that spot. An internet criminal may set up one that has a name very similar to the hotspot, and you may connect to theirs by mistake. Get the correct name for the true connection at that location as an initial step to protect your wireless internet security.

  5. Use Secure Email

    When accessing your email, contact your ISP for their secure address. It should begin with “https:”, not just “http:”. This means that the site is using an SSL certificate so that the connection is more secure, and the information is also encrypted so sniffers cannot see the real data being transmitted. Be careful that the “https:” stays in the browser address bar throughout your whole email session. Some revert back to “http:” after you log in.

  6. Delete Your Cookies

    Cookies make it easier to log in to your frequently visited sites by remembering your username and password for you, however, if you connect to these sites when using public wi-fi, sniffers can get your cookie info. Delete your cookies before you connect to the internet at a hotspot.

  7. Turn off the Ad-Hoc Networking

    This should already be disabled with most default Windows XP and Vista installations, but you should check anyway. Ad-hoc networking allows two computers to communicate directly with one another, without an access point between. Obviously not a good idea to allow in public. Be certain you are using infrastructure mode, which requires an access point.

  8. Do Not Allow Your Computer to Connect Automatically

    After you have connected to a wireless connection once, your laptop probably sets your network setup to automatically connect when you are in range again. Check on the properties of each connection when managing wireless connections, and do not allow your computer to automatically connect to networks. Although it may take you more time to get a connection, it gives you more control and awareness over your internet connections.

  9. Disable Printer and File Sharing

    If you are used to sharing printing and files at home or work, be sure to disable this feature before connecting at a public wi-fi spot. Certainly don’t want to share with others there.

  10. Connect More Securely

    There are a couple of options here. One is to get a wireless access card, so you don’t need to use public wi-fi. This is an expensive option, but if you travel a lot and need internet access out of the office, it might be the way to go. It’s a card you buy from a cell phone provider, insert into your laptop, and connect through that cell phone company’s data connection. A large part of the cost is the monthly fee.
    Amother solution is to use a VPN Tunnel. If you are working for a large company, you probably connect through their Virtual Private Network (VPN). This is a secure, encrypted connection and is a good way to go when connecting to the internet through a public access point. You can also set up your own VPN, between your home desktop and your laptop. Your desktop would have to be connected to the internet through a cable and be on and connected when you want to get online with your laptop. If you’re interested, do an internet search for how to set up a XP VPN.

In conclusion, public wi-fi connections are convenient, but be smart before you connect. Be aware of your surroundings and what data you are sending and receiving. Save the transactions that you wouldn’t want to be viewed by strangers for when you have a more secure connection.

For more great tips on using the internet and computers, including how to speed up your computer, come visit me, Bethany, at http://askgeekgirl.com/

Tags: , ,
Submit to StumbleUponDigg ThisShare on TwitterSave on Delicious

Wardriving – The Same Old Song and Dance
By D Grady

It seems like its been forever since wardriving was used to map out the neighborhood wifi scene. I remember when statistics about mass wireless networks first started to emerge. I remember building antennas out of soup cans and a wire coat hanger. I remember having to build GPS drivers from source so Kismet could include coordinates in its output. I even remember cracking my first WEP network – it took me the better part of a week. It all seems like ancient history now.

If that was forever ago, we must have come up with some new way to secure wireless networks. We must all be running high-end encryption and have everything locked down right from the factory. After all, wireless vendors know what can be done with a laptop and some free wireless utilities. Even non-techies can tell you the dangers of WEP and running default networks. If that’s true – wardriving would probably be a waste of time these days. That’s what I thought about one weekend, so I set out to get a glimpse on the current state of wireless security.

I grabbed my Eee PC, fired up Kismet, hopped in the Jeep, and tore off across the countryside. After an hour of driving through the little beach town I live in, I had collected information on about 900 unique networks. Once I got back to the house, I fired up a shell and got to work analyzing the data. The spread of open, WEP, and WPA encrypted networks surprised me. I didn’t think I would find almost 300 open networks in this little town. Add in the 345 WEP protected networks, and that’s about 70% of total networks either completely open or protected with exceedingly crackable encryption.

Next, I did analysis on the SSID’s (the name of the network). This was also pretty interesting. Almost 10% of all networks had ‘linksys’ as their SSID. If they didn’t change the default SSID, I can imagine they changed little else. A number of the networks had personal names as their SSID’s (identity theft waiting to happen?). A few more had their street addresses as the network name. Some of the apartments and condos even had their apartment number worked in somehow.

Another interesting thing I noticed was wireless used by businesses. Digging through the raw output – I came across a lot of networks with familiar names because they belonged to businesses in town. A large CNC and prototyping shop in town had an open wifi network. A few other smaller businesses had wireless networks with their name on it. I also came across a large amount of hidden networks when I drove through industrial areas – I can only assume that some more prodding would produce more business networks. The biggest shock to me was the local police station running WEP! At least if I ever got arrested I could email someone for bail money.

It appears it’s the same old sad state of wireless security out there. I don’t expect general consumers to fret over the differences between WPA1 and WPA2, or how much overhead AES encryption has – but I expect businesses to know their risk. They should invest in a wireless penetration test or wireless security audit if they intend on rolling out wireless. Hire a professional to assess your physical surroundings for existing wireless networks you may not know about, and then have them help plan out implementation strategies with you. Wireless can be a great way to get some freedom from traditional networks, but all that freedom can come at paralyzing costs. A little planning and research can help slim down attack surfaces, and can help make casual wardriving a thing of the past.

Redspin’s cost effective penetration testing services utilize the latest technology. http://www.redspin.com

Tags: , ,
Submit to StumbleUponDigg ThisShare on TwitterSave on Delicious

Installing Linux on WRT54g Wireless Router
By Eric Meyer

The WRT54G is a wireless router made by linksys. A few years ago linksys released its WRT54G firmware source code giving the open source community the ability to make its own versions.

250px-Linksys_WRT54GInstalling Linux on your wireless router has many benefits and in my opinion few risks. The one risk you do face is turning your router into a “Brick”. Now, this does seem like a big chance to take but there are many options if upgrade fails. Also, if you follow the installation instructions for each wrt54g firmware distribution you won’t have a problem.

Typical ways to “Brick” your wrt54g router are: trying to install your firmware upgrade over a wireless connection, interrupting the upgrade, and finally powering cycling during or five minutes after the upgrade.

General rules to follow are:

1. Always perform an upgrade from the original wrt54g linksys firmware not other firmware distributions.

2. Set your firmware back to factory defaults.

3. Don’t upgrade from a wireless connection.

4. Don’t turn off your router for about five minutes after the upgrade.

5. Insure your firmware is meant for your router, some firmware versions are meant for the WRT54GS (WRT54G with speed booster), and the regular wrt54g.

6. Follow the given instructions for each given firmware distribution.

7. Enable the Boot_wait function on your router. This option will give you the ability recover from a failed upgrade by using tftp to upload new firmware.

Linksys does have tools to that will let you recover from failed distributions. There are many different wrt54g firmware distrobutions to pick from. Some have specific purposes: like being used for a wireless hotspot or a radius server. Do your research before installing and always follow the exact installation instructions.

Sign up for the most popular wireless networking news letter on the internet. Receive the inside scoop on wireless technology for the home and work place at http://www.wirelessninja.com.

Tags: , ,
Submit to StumbleUponDigg ThisShare on TwitterSave on Delicious

Wireless Linux: Using the Linux Wireless ToolBox
By Eric Meyer

First thing you need to do is purchase a wireless adapter card with a prism2 chipset. Just go to google and type in linux wireless adapters and track one down.

If you are using a fairly good wireless distro it should pick up the card automatically.

Ok, Now you have the card now what, you plugged it in and look to the bottom write where the Windows XP wireless Icon usually is and find nothing.

There is no Zero config utility with linux, but they do have built in tools to help connect to wireless networks.

Now you need to find the Command line terminal, it usually looks like a window with a shell because it is a shell.

Now let’s test to see if you have your card working. Type in iwlist at the command prompt. If it doesn’t let you, then you might have enter administrator mode.

You can enter administrator mode by typing su at the command prompt. Then you will be asked for the administrator password.

Now type in iwlist at the command prompt. This will give you a ton of tools to work with. Once you have typed in iwlist and nothing happens then you probably don’t have the right card or it’s configured wrong.

Check and make sure you don’t have any other wireless network adapters active and disable them if they are. Also make sure that your wireless adapter is set to start up at boot time. You need to look for your system utilities area..it’s like the Microsoft control panel called Yast.

By the way your wireless adapter should be named wlan0

The iwlist command will give a list of options that look like this:
usage: iwlist [interface] scanning

[interface] frequency

[interface] channel

[interface] bitrate

[interface] rate

[interface] encryption

[interface] key

[interface] power

[interface] txpower

[interface] retry

[interface] ap

[interface] accesspoints

[interface] peers

[interface] event

All of these options can give you various detailed information about surrounding wireless networks.

If you type in iwist scanning it will give a out of all wireless networks available to you with an output like this:

wlan0 Scan completed :

Cell 01 – Address: 00:14:BF:75:31:FD

ESSID:”Len”

Mode:Managed

Frequency:2.462 GHz (Channel 11)

Quality:2/94 Signal level:-84 dBm Noise level:-154 dBm

Encryption key:on

Bit Rate:1 Mb/s

Bit Rate:2 Mb/s

Bit Rate:5.5 Mb/s

Bit Rate:11 Mb/s

Bit Rate:18 Mb/s

Bit Rate:24 Mb/s

Bit Rate:36 Mb/s

Bit Rate:54 Mb/s

Bit Rate:6 Mb/s

Bit Rate:9 Mb/s

Bit Rate:12 Mb/s

Bit Rate:48 Mb/s

Extra:bcn_int=100

This gives you the Network Name, MAC address, Frequency, encryption and much more. This information can be used to join your preferred network.

If you are monitoring certain access point you can type in iwlist accesspoints and get the listing of each nearby access point with the MAC address.

Once you have located the access point you want to connect with it’ time to start using another command called iwconfig.

iwconfig is used to configure your wireless adapter so you can connect it to your preferred network. You can configure every thing from the ESSID to the transmit power of your wireless adapter.

sYNOPSIS

iwconfig [interface]

iwconfig interface [essid X] [nwid N] [freq F] [channel C]

[sens S] [mode M] [ap A] [nick NN]

[rate R] [rts RT] [frag FT] [txpower T]

[enc E] [key K] [power P] [retry R]

[commit]

The syntax for using the iwconfig command is: iwconfig (interface name) then what ever you want to configure. So if you want to configure the ESSID you would type iwconfig wlan0 essid “network name”.

Now that you know that the tools are there go to work!!!

Learn everything you could ever want to know about wireless networking technology at http://www.wirelessninja.com Learn how to prevent hackers from exploiting your wireless network. Also learn how to prevent the most dangerous computer threat, social engineering.

Tags: ,

Is Microwave the Future of WiFi?

Submit to StumbleUponDigg ThisShare on TwitterSave on Delicious

Is Microwave the Future of WiFi?
By Sandy Cosser

WiMax (Worldwide Interoperability for Microwave Access) isn’t new technology (the WiMax forum was created in 2001 to promote the standard), but it’s only recently that it has made people sit up and pay greater attention. 180px-WiMAX_equipmentAccording to Robert Morrow, a retired Air Force Academy electrical engineering professor, WiFi and cellular data are on the way out because the future belongs to WiMax. There are others, however, who are not quite as glowing in their praise of the emerging WiMax technology, and who believe that it will prove too expensive to have any real practical value.

In an article for LiveScience, Morrow explains why he believes WiMax is the way of the future. Even though WiMax will not be free, as WiFi is, it offers uninterrupted service. Its reach is longer than WiFi’s (several kilometres as opposed to several metres) and its signal is stronger, although this is dependent on the distance from base station antennaes. In theory, users should be able to stay connected online all the way across the United States without losing signal once, a feat which is currently impossible even with mobile phone technology. This is because WiMax is compatible with a range of digital cellular service providers, and not just with one or two.

While WiMax doesn’t currently enjoy wide spread use, Morrow believes that within the next 2-5 years it will be commonplace in all major US cities, and that in 5 years time, it will be sold with all laptops, or none of them. Which seems rather contradictory, but he says that WiMax’s ultimate success will depend on how quickly laptop vendors will add WiMax modems to their products.

David Jarvis, a South African telecoms entrepreneur, is one those people who still believes in the power of WiFi. At the 2007 WiWorld Conference, Jarvis said that WiFi is still a more affordable alternative to WiMax. According to Jarvis, a WiMax base stations costs around $35,000 (£17,703) to build, while a WiFi station costs a mere $2,500 (£1,264). The CPE price of WiFi is also lower, $250 (£126) vs. $350 (£177) for WiMax. Other factors favouring WiFi include its already widespread adoption and the fact that it’s available in commonly used wireless devices.

The Wireless Access Providers’ Association of South Africa (WAPA) has compiled a list of reasons why Wireless Internet Service Providers (WISPs) prefer WiFi, such as the tried and tested capability of WiFi. WiMax has yet to prove itself capable of living up to expectations and to justify the price increase from WiFi. In addition, the use of both technologies in the Far East has shown that WiFi is superior to WiMax as a business model.

Pakistan, however, is throwing its weight behind WiMax, as it has constructed the largest WiMax network in the world. Wateen Telecom, in conjunction with Motorola Hardware, has installed the network across 17 cities in Pakistan.

While the debate between WiMax and WiFi rages on, some experts in the telecoms industry believe that both technologies can exist alongside each other, with each sharing an equal piece of the telecoms pie. They predict that those who are expecting a major battle between the two will be sorely disappointed, as the future is rosy for both of them.

Recommended sites:

http://www.livescience.com/technology/080603-wireless-future.html

http://en.wikipedia.org/wiki/WiMAX

Sandra wrote this article for the online marketers Star Business Internet internet service provider and website hosting one of the leading Internet service companies specialising in business website hosting in the UK

Tags: , ,
Submit to StumbleUponDigg ThisShare on TwitterSave on Delicious

Wireless Security: 6 Ways to Stop and Catch Hackers and War Drivers
By Eric Meyer

War drivers are in the business of finding wireless access points, documenting them and uploading their locations to the web. Why would someone do this, well for several reasons:

First they want free internet access. Next they could just be war driving as a hobby; finally they could be targeting your network for financial gain.
One of the most asked questions is how do you stop hackers from trying to hack your wireless lan and how to catch them in the act.

Stopping Wardrivers:

1. Use directional antennas: One of the most under stated uses of directional antennas are how they keep your wireless 9280skull-crossbones-posterssignal within your area of operation. If you are using a Omni directional antenna that is causing half the signal to travel outside your building, you have a major security problem. Also while using your wireless directional antenna turndown transmit power to reduce your signal strength if you can.

2. Blend your wireless antennas into your buildings architecture or keep them low profile. This is not expensive, the whole point is not letting your antennas stick out like a sore thumb so anyone driving by doesn’t say, wow they have a wireless network. Once again the best way to stop people from trying to hack your wireless network is to keep it hidden.

3. Use Kismet or Airsnort – Make a cheap wireless Intrusion detection system. Use an older desktop computer install Linux, install a USB wireless adapter or PCI wireless adapter and boom you have your wireless war driver stopper. Both Kismet and airsnort will alert you when wireless clients are probing your network. If a wireless client is using netstumber and not joining networks they will be found by Kismet. Their wireless adapters MAC address will be logged and other details of the operating system. Most of the time these could be false hits but if you notice a pattern of the same MAC address probing networks you could have hacker issues.

4. Security Cameras – No matter how hard you try not to have your signal bleed outside your operations area it will…to a point. Probe your own network as if you were a wardriver. Don’t just use a standard wireless adapter to find out where you still can detect your network. You will want to use a highly directional antenna to see how far away you can detect your own network. Once you know your weak points setup some cheap security cameras to monitor those areas.

5. Setup a Honey Pot – Give the Wardriver what they want, a network to hack. Take an access point connect it to a standalone switch with another junk computer connected to that switch. Name the SSID something sounding important like server WLAN and name the computer Database. Finally use a weak password or just leave the access point without any security. Script kiddies who say they “hack networks” really are only connecting to open wireless lans with no security. If you give them a “Important sounding SSID with a “database to hack” this will keep them occupied until you can track them down. There are many honeypot programs free and commercial that will simulate networks or servers but are really just recording all the hackers’ information and types of attacks.

6. Use a RADIUS Server – RADIUS servers require Wireless clients to authenticate with a username and password not just with a PSK (Pre- Shared Key). With out a RADIUS server you really don’t know who is on your WLAN. With a RADIUS server you know who is accessing your WLAN and when they accessed it. Also a RADIUS server gives you the ability of creating policies for times your WLAN can be accessed and other required security features the wireless clients must have enabled their computers.

Now let’s put this all together to catch our hacker. First you are going through your daily routine of checking logs on your Kismet IDS server and you notice the same MAC address probing networks but not joining. Next you check your help tickets and notice that in one area of the building clients were having trouble connecting to the wireless network or they had trouble staying connected.
Flags go up in your head, so you go over to your honeypot server and check that . You notice it was accessed around the same time of the Kismet logs showed a client probing the network. The honey pot recorded the MAC address of the WAR driver and the operating system and the computer name.

Next you check your security cameras for that time but don’t really notice anything. So for the next couple days you keep monitoring your honey pot server and watch the hacker try and crack the WLAN and the database server. The whole process of cracking wireless encryption is actually two steps. The first step is gathering enough packets for your cracking program to crack. This whole process of gathering enough packets can takes days or weeks not five minutes. Now once you do have enough packets 64 bit WEP encryption can be cracked in less that five minutes. 128 bit encryption can take many times longer, WPA with TKIP and AES encryption can takes months to crack.

My whole point is that you have some time to catch your hacker because he will be back many times, assuming that you already have at least the basic security features in place.
Now once you have all your logs compiled and your honey pot data you should have a good idea how the hacker behaves. Check your security cameras and you probably notice the same car or person in the area around that time. Take that information to your in house security and tell them to watch for that vehicle or person and call the police.

If you are lucky security or police will spot him and apprehend him. Convicting him or her will be tough but with your compiled logs and video you should have a lot of evidence to help your case.

Simple and secure wireless solutions. Join the most popular wireless networking newsletter on the internet at http://www.wirelessninja.com Keep your home and family safe with Ninja certified wireless hidden cameras [http://www.wirelessninja.com/wireless_hidden_cameras.htm]

Tags: ,
« Previous posts Next posts » Back to top