Home Register Members List Search Today's Posts Mark Forums Read

Go Back   TechFuels Forum > Network > Wireless Networking

Reply
 
LinkBack Thread Tools
harddisk6564
Senior Member
 

harddisk6564 is offline  
Old 04-07-2009, 05:55 AM
  #1 (permalink)
Wireless networking

In order to hack a wireless card, we have another utility called iwconjig. It works similar to ifconfig, but it has lots of additional features that are bonded to wireless cards. If we are using a wireless network with static Ip, we can attach our wireless card interface to a network as follows:

... where 'slynux' is the ESSID (that is, the name of the wireless network) and '8c140b2037' is the security key. Of course, you need to replace these variables with the values that hold good in your network. You can also scan and check the availability of wireless network(s) in your vicinity using the iwlist command as follows:

[root@gnuxbox-]# iwlist wlanO scan
wlanO Scan completed
Cell 01 . Address: 00:08:5C:52:E9:83 ESSlD:"slynux"
Mode:Master
ChanneI:lI
Frequency:2.462 GHz (Channel II)
Quality=92/l00 Signallevel:-39 dBm Noise level=-78 dBm Encryption keyff
Bit Rates: I Mb/s; 2 Mb/s; 5.5 Mb/s; II Mb/s; 18 Mb/s 24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:tsf=00000000fc021187

The above command will list out the various wireless networks available with a number of properties.

Then we can set the IP for the interface card using the ifconfig command itself:
If you are using dynamic addressing, you can obtain the IP address as follows:

The settings that you've configured with the ifconfig tool are available until the system reboot. But it's a waste of time if you need to configure it on every system start. And hence we take the' aid of network configuration scripts. On an Ubuntu (or any other Debian-based) system, this file is located at /etc/networks/interfaces, and contains data similar to the following:

auto 10
ilace 10 inet loopback
address 164.164.32.101 netmask 255.255.255240 gateway 164.164.32.97

It is necessary to learn this scripting in order to play with your network. The syntax for these are as follows:

1. Add the following lines if you want to configure ethO as theDHCP:

auto ethO
ilace ethO inet dhcp

2. Add the following files if you want to configure static IP:

auto ethO
ilace ethO inet static
address <ip_address>

netmask <netmask>

3. If it is a wireless network, add the following lines along with the above lines:

wireless-essid <network_name> wireless-key <key>

Now, to restart the network daemon, execute the following as the root:

Last edited by harddisk6564; 04-07-2009 at 06:11 AM..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Enhancements for Wireless Networking steven45 Wireless Networking 0 04-01-2009 10:45 AM
HP jetdirect wireless Networking Router backtiq Wireless Networking 0 11-03-2008 06:39 AM
Wireless Networking siktan5775 Wireless Networking 0 08-03-2008 06:05 PM
Belkin Wireless 802.11b Networking lamando98 General Networking 0 06-05-2008 03:24 PM
Wireless Networking Basics techpro Wireless Networking 0 04-03-2008 12:30 PM


All times are GMT +1. The time now is 07:00 PM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0
Copyright Techfuels -->
SEO by SubmitEdge


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151