setup a home wifi-lan, share internet connection

Status
Not open for further replies.

infra_red_dude

Wire muncher!
somebody asked me how to setup a wifi home network. so i thot posting here wud be a good idea. i'm sorry if this has been posted earlier. i cudn't find it by search so i'm posting it.

do not be afraid on looking at the length of the tutorial. i've tried to be as descriptive as possible so that you do not haf any kinda confusion. read it once mebbe twice or thrice before attempting.

this tut. assumes that you wanna include a laptop and a desktop in ur home wifi network in the first part and share a net connection in the second part. i'm not discussing an ad-hoc connection here. its a normal wlan setup.

ok to create a home wlan you will need the following:
1) desktop wifi pci card/usb adaptor ~rs.1k
2) a wifi access point cum router (which has rj45 connectors to connect at least 1 ethernet cable). price ranges from about rs.2.5k to 5k. select the one which has at least 1 ethernet connector.
3) a normal ethernet cable to configure ur wifi router for the first time and also to troubleshoot. (a cross over won't do.. it shud be a normal cable.)
4) a wifi enabled laptop or a wifi adaptor (minipci or pcmcia) for a laptop widout wifi feature. ~rs.1k

lets go about configuring ur setup now.

right click on the wifi adaptor in network connection in windows OS (do lemme know if u use linux. proc will be a bit different) on ur laptop. then goto the tcp/ip protocol and enable the manual ip settings. set this laptop's ip as this: 192.168.1.4. it'll automatically fill in the subnet mask. do not bother abt the gateway and dns servers at the moment. now ur laptop wifi has the ip address of 192.168.1.4. do the same for ur desktop wifi adaptor properties and set its ip address to 192.168.1.5

u need to configure ur wifi router. if u haf any other device which connects thru rj45 connect then unplug it (e.g dsl modem/router). now simply connect the wifi router to ur laptop (or even desktop) thru the ethernet cable. usually all routers haf a default lan ip address of 192.168.1.1 (refer the manual as to what is its lan ip address if this doesn't work).

since u've connected ur wifi router to ur laptop's lan connection, goto ur fav. web browser on ur laptop and type 192.168.1.1 in the address bar. it'll ask for username and password. get these from the wifi router's manual. after entering those it'll display the router's config page. find the category lan/network and find the field that says ip address. it will most probably be 192.168.1.1 (or whatever says the manual). change it to 192.168.1.2. save, exit and then close ur web browser. then launch ur browser again and type 192.168.1.2 in the address. it'll again open the router's config page after asking for username and password. now save and logout.

you haf assigned an ip for 3 devices in ur home wifi. u need to secure ur network now. again goto the router's config -> wireless lan config page. now find the settings that says SSID. this is the network name. u may use the default one or give any name for ur network. note it down on a piece of paper. u may also disable the 'broadcast ssid' option to stop the router from announcing ur network all over the place for added security.

now comes the real security setup. there are three types of security algorithms availalbe in modern wifi routers: WEP, WPA, WPA2. i'd recommend selecting WPA or WPA2 as these are more secure than WEP. select either of them and then give a PSK (pre-shared key) in the network/security key option. let it haf a combination of numerals, upper case and lower case alphabets for better security. a key like ser89dME7da1we3 is a good idea! :) note it down. save, logout, exit.... then log back in the same way to the config page and ensure whatever you did till now (ip changing, ssid, wpa psk etc.) haf been saved. ensure that logout, exit and then unplug the ethernet cable.

goto the wireless connection wizard in control panel in ur laptop. go thru the wizard and select connect to a network. it'll search for any available wireless connection. it'll now detect ur router wid the ssid u gave (if the ssid broadcast is not turned off). click on that network and select connect. u may need to key in the ssid in case you'd disabled 'ssid broadcast'. it will now ask for the WPA PSK. jus type in the same key that u set in the router config page and then allow it to connect to the wifi network. select save connection/connect automatically. you can now see a wireless network connected icon in the system tray. congrats! half the work is done now! do the same for the desktop. double congrats!! almost full work is done now!!!

to share files you need to ensure that the 'server' service is enabled in auto mode in control panel>admn services>services. now goto my comp (on desktop), right click on it and selec properties. in the network tab under the computer name jus give a name to the laptop. in the workgroup option, give a name for the workgroup. lets say you've given the name 'mobile' as ur laptop's name and 'myhome' as the workgroup. note them down. now do the same for the desktop. but ensure that you give a DIFFERENT computer name, say 'fixed' to it. however, you need to give the SAME workgroup name to the desktop e.g 'myhome'. you may need to restart.

now goto my computer/explorer. right click on the folder you wanna share in ur desktop/laptop and select the sharing tab. click 'i understand.....' to activate the sharing options. enable 'share this folder' option and give an identifier for it. then click ok. u will now see a hand emblem under that folder. do the same for all folders/drives/printers on both ur laptop and ur desktop that u need to share. after that goto my network places/network and sharing (vista), you can now see the other computer/shared folders/printers etc. thats it! u are done! :)

happy sharing :)

the next part if for those who wanna share an always on a/dsl connection thru this wifi setup.

setup the modem to autodail mode (router mode, always on). now it'll mostly be hafing the ip address 192.168.1.1. connect it to ur laptop (or desktop) thru lan cable and type 192.168.1.1 in the address bar. enter the username and password as provided and then got the config page. ensure that it automatically dials and is in always on mode. also ensure that the ip address, subnet and dns are properly setup here. now save, logout and exit browser. disconnect the a/dsl modem from the laptop and connect it to one of the ethernet ports on the wifi router.

some wifi routers will allow you to dial thru them. u can set it up from the wifi router's config page. but its better not to mess around and connect it automatically by modifying the a/dsl modem's config page. this will work wid all wifi routers regardless of whether the wifi router supports dialing or not.

you need to configure ur laptop and desktop now. goto the network settings> wifi card> properties (right click). select tcp/ip properties. now in the manual settings you need to fill in the details which you had left blank previsouly. enter gateway as 192.168.1.1 (the a/dsl modem's ip) and the primary dns server as again 192.168.1.1. click ok.. you may then hafta restart. do exactly same for ur desktop. thats it! everything's done..

happy surfing! :)
 
Last edited:

iMav

The Devil's Advocate
1 question:

uncle is plannin to buy a wi-fi cam ...

can i use

DSL-2640T: 802.11g Wireless ADSL Annex A Router with 4-port Ethernet 10/100M Ethernet switch

in place of ...

DWL 3200 AP Wireless G Access Point - 108 Mbps
GLB 502T ADSL Router

will it ensure me a lan and wi-fi network ...
 
OP
infra_red_dude

infra_red_dude

Wire muncher!
yeah man.. hafnt booted up into windows.. my vista basic trial has almost ended. so not booted into it. i'm deffering buying a license as my cuz' fren is in MS and he'll be giving me a basic license :) hence waiting for that so that i can activate my vista basic. i'll surely upload some screenies. but plz gimme some time...
 

p900

Broken In
hey infra... dat is sumthng great from ur side ...
I wantd to know dat since i am using MTNL broadband in delhi . it connects with a D-link 502T modem , its a always ON connection . I want to go wireless now for my laptop nd desktop .
I want u to suggest me whch ROUTER nd whch adapter ( for desktop) shud i buy
I need da best performance . I wud need ur help to configure it fully ...

Plz help ... nd suggest Plzzz
 
OP
infra_red_dude

infra_red_dude

Wire muncher!
i use a linksys wrt54g ver.7.0. thats whats available in india now (tho u get ver.8.0 is US etc.). i find this router pretty fine. it retails for about 2.7k here and does a great job for me. plus if u are of the hacking kind then u can flash it wid a custom firmware (there are many availalbe wid more features, which u may not need for a basic setup).

secondly, the most widely available desktop wlan pci card is the dlink g510 here. cost me about 1k. i'm pretty happy wid both their performances :)

for configuring it, jus follow this guide :) no need of anything extra!
 

p900

Broken In
THANKS A LOT BOSS ... I WUD BE REALLY GLAD IF U CUD GIVE ME YOUR CELL NUMBER , SO THAT I CAN CALL U UP IF I FACE SUM PROBLEM WHILE INSTALLATION . plz plz plz
 

RCuber

The Mighty Unkel!!!
Staff member
can I get a good strength if router is placed on 1st floor and the laptop is diagonally opposite side of the ground floor. like the image below. I guess 802.11g has a indoor range of 38mt.
*img140.imageshack.us/img140/8240/wifizk4.th.jpg
 
OP
infra_red_dude

infra_red_dude

Wire muncher!
That is something very subjective Charan. It depends on the walls, their thickness and other things will absorb or interfere with the signals. You need to look into that.

Practically its better to keep the router in the ground floor but at the highest point you can place it at. Plus if you can place the router near a window which is jus under the room at the first floor in which you place your laptop, it would be beneficial.
 

RCuber

The Mighty Unkel!!!
Staff member
Ok the walls are very thick and we have marble flooring also , so I guess its very difficult to achive connectivity. may be running a ethernet cable to the ground floor from outside and connecting the routher there will do :)
 
OP
infra_red_dude

infra_red_dude

Wire muncher!
You can do one thing, get the wifi router with ethernet ports. First try the wireless connection. If it doesn't work then set up a wired lan connection.
 

iMav

The Devil's Advocate
get urself the n std router that shud take care of ur scenario (from what iv been told by dlink representatives at an exhibition)
 

iMav

The Devil's Advocate
n prices should come down to around 6k soon but wont go lower coz most machines for now support only g so g cant be phased out and will still be the more selling of the 2 :)
 
Status
Not open for further replies.
Top Bottom