Archive

Archive for the ‘web’ Category

Share Internet connection in a network – Part 1

July 20, 2007 5 comments

STEPS TO SHARE INTERNET CONNECTION OVER A LAN

Do you want to connect two computers over a LAN using a ethernet cable and use a single internet connection on both computers? Then this topic is just right for you. You can connect computers and laptops – one to one conncetion using crossover cables. Crossover cables can be built with parallel ports and serial ports. But here i discuss the simple method using the ethernet cable.

Requirements:

1) Both computers must have a ethernet card and the socket.

First decide on which computer is going to act as the host computer and which computer will be the client.

Procedure To setup LAN with internet connection facility:

Setup host Computer:

Goto start>programs>accessories>communication>Network setup wizard wizard
1)Next
2)Next
3)Specify This computer connects directly to the Internet.

ics_serverwiz01a1.gif

4)If the computer has more than one network connection, this screen appears. Specify Let me choose the connections to my network and click Next.

ics_serverwiz03a.gif

5)Select the connection to the ICS server and click Next.

ics_serverwiz04a.gif


6)
Enter a computer description and computer name. The description appears in My Network Places or Network Neighborhood on other networked computers. The computer name must be unique on the network. For maximum compatibility with all versions of Windows, use 1-12 alphanumeric characters, with no blanks.

ics_serverwiz05a.gif

7)Enter a workgroup name, which should be the same on all of the networked computers. Once again, use 1-12 alphanumeric characters, with no blanks. Be default, the Wizard uses the name MSHOME. If your network uses a different name, enter it here.

ics_serverwiz06a.gif

8)The Wizard displays the settings that you’ve made. Scroll down the list to see all of them. To change a setting, click Back. To accept the settings, click Next. To stop running the Wizard, click Cancel.

ics_serverwiz07a.gif

9) The Wizard then configures the computer’s network settings. The process may appear to stop for a time, but let it continue to completion.

ics_clientwiz08a.gif

10) If the Wizard is running on a Windows XP computer, this screen appears. Specify Just finish the wizard and click Next.

ics_clientwiz09a.gif


11)
When the configuration is complete, the Wizard’s Completion screen appears. Click Finish to exit
.

ics_clientwiz10a.gif

12) Restart the computer when prompted

ics_serverwiz141.gif

Set the client computer:

Goto start>programs>accessories>communication>Network setup wizard wizard

1)Specify This computer connects to the Internet through another computer (the ICS server), and click Next.

ics_serverwiz01a.gif

2)If the computer has more than one network connection, this screen appears. Specify Let me choose the connections to my network and click Next.

ics_serverwiz03a.gif

3)Select the connection to the ICS server and click Next.

ics_serverwiz04a.gif


4)
Enter a computer description and computer name. The description appears in My Network Places or Network Neighborhood on other networked computers. The computer name must be unique on the network. For maximum compatibility with all versions of Windows, use 1-12 alphanumeric characters, with no blanks.

ics_serverwiz05a.gif

5)Enter a workgroup name, which should be the same on all of the networked computers. Once again, use 1-12 alphanumeric characters, with no blanks. Be default, the Wizard uses the name MSHOME. If your network uses a different name, enter it here.

ics_serverwiz06a.gif

6)The Wizard displays the settings that you’ve made. Scroll down the list to see all of them. To change a setting, click Back. To accept the settings, click Next. To stop running the Wizard, click Cancel.

ics_serverwiz07a.gif

7) The Wizard then configures the computer’s network settings. The process may appear to stop for a time, but let it continue to completion.

ics_clientwiz08a.gif

8) If the Wizard is running on a Windows XP computer, this screen appears. Specify Just finish the wizard and click Next.

ics_clientwiz09a.gif


9)
When the configuration is complete, the Wizard’s Completion screen appears. Click Finish to exit.

ics_clientwiz10a.gif

10) Restart the computer when prompted

ics_serverwiz141.gif

After both computers are restarted: Test the connection :

To test if the connection is established , goto run>command
Then type : Ping 192.168.09.2 from the host computer. it must return values and results and not say time out!!!.

This test will just test the connectivity of both computers . The final step is yet to be followed where we will share our internet connection..If you have completed till this step you will be able to share datas over the LAN connection.

Categories: web

Just Derailed…

I guess its long since i posted much. I’m into serious web programming and developing. I am searching for ideas deep inside me and also everywhere around in the world. At the end of the day i’d have found nothing much.

Starting from how search engines get better to awaiting web 3.0 i blow up my broadband bill to find nothing . Just then your heart gets heavier and your brain ceases to transmit one more impulse to the adjacent neuron. I gaze at one of the best framed websites (w3 Schools) and i find this.

It really made my day!! :) at Last i had a peacefull sleep tonight.

Refresh the page if the GIF above is not animated.

Categories: web

Send a mail using a PHP code??

November 3, 2006 1 comment

Well i was jus working on a bit of php for my site and i liked the code part of it. Just not to forget i thought i’l put those esential chunk of code here so that i can always get them back whenever i want.

well you call it tutorial or anything this is just a code to send a mail to any mailbox form your personalised form like this one on the site that i’m developing.

Well it is always better to start with an example. Click here to see one

Well to simplify all the from address,to address,message let me just give u the single line code in php to send a mail. it goes this way as below


<?php
mail(“yourmail@yourmail.com”, “subject”, “this is the actual mesasge that’s sent”,”header”);
?>


The above code will send a mail to the given address but will send the address of sender as “anonymous@xxx.yyy.com” the following code below will asign those values to make it look as if it came from a particular email id.

<?php
$email=”madankumar.t@gmail.com”; (to address)
$message2 .= “
This is the actual message that’l be sent
“;
$headers2 .= “From: madan@invobot.com\n”;(from address to be displayed ***)
$sub2.=”This will be the subject”;
?>
<?php
mail($email, $sub2, $message2, $headers2);
?>


When you copy the above as such the quotes donot come properly!! u must manually replace all properly , better download from the link below!! 

You find it difficult to copy paste and test? well download it hereWell now the fun part. Is your college principals email id something like “xxxx@college.com“??? and your class teachers’s E-mail something like “yyyy@college.com“??? heya, why not send a mail to your proff from the principal? don mind uh.

cheers
Madan

Note: Any suggestions here is just an idea for fun. no legal issues can be brought upon me for anything that is suggested in this site. Thankyou :)

Categories: php, web
Follow

Get every new post delivered to your Inbox.