Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 227
  • Last Modified:

Network Setup

Hey i would like to setup network setup between my 2 notebook by internet which is wifi connected. what are steps to setup one as server and client
0
hussainkhan22
Asked:
hussainkhan22
1 Solution
 
a1aaitCommented:
Some tips and a really generalized summary:
First make sure your WiFi AP is secure using WPA encryption, and if you use Windows Firewall, it is set to allow File and Printer Sharing in exceptions.

Presuming you just want to access files, you would enable sharing on the "server" PC for a folder or folders you wish to be accessible from the client PC. Usually this is done by a right click on the folder, and choose "sharing and security".  If its not available, you might need to enable it.  (I don't recommend sharing any drive at the root level.  Just share folders as needed to be on the safer side.)

You should assign a specific username for sharing and security permissions, preferably one that matches your login on the client PC.  Its a bad idea to allow "Everybody", especially on an internet-connected PC.  (You will need to add this user to the "server" first in User Accounts.)

On the client PC, you should be able to access the files from the path "\\servername\sharename" which you can type in your Run dialog and press enter, or Windows Explorer address bar, and press enter.  You will likely be prompted for username and password, which should match the ones you assigned on the server.

If for some reason you can't access by the server hostname, you might need to use the IP address of the server.  ie: \\192.168.2.1\sharename" (Substitute the actual IP address of the server in the preceding example)

This is really only scratching the surface of all you might need to know, so keep reading.
0
 
hussainkhan22Author Commented:
My main point of doing this is. I just want to setup oracle database on one notebook and from another notebook i want to install client and access the oracle database server from client side notebook
0
 
Lieven EmbrechtsSenior IT ConsultantCommented:
usually a server has a fixed ip address (as oposed to a dynamic random address) so the client can always connect to it.  the client can keep it's dynamic ip address.
you can witch from dynamic (dhcp) to fixed in the network settings.
you need to know a bit about ip addressing.
suppuse your internal network can have addresses in the range 192.168.1.xxx,
and your internet router has address 192.168.1.1,
then you could put your server on fixed address 192.168.1.100
(subnet would be 255.255.255.0 and gateway address 192.168.1.1)
the clients will still recieve a dynamic address, eg 192.168.1.2 or .1.3 etc.
when you install/configure the software server and the client it will ask for the server's ip address.
0
 
arnoldCommented:
As the earlier poster, make sure the IP segments used at each location are unique between the two.  Since you have notebooks, altering the DHCP configuration on the router will not cause any issues.

The short and quick answer where a site to site VPn between the routers is not an option is to setup one workstation as the PPTP server and the other as the PPTP client.
Server: Affix a static IP and configure the router to forward TCP port 1723 to the notebook that will be the server.
http://wireless.gumph.org/content/6/4/012-howto-xp-pptp-vpn-server.html
http://www.onecomputerguy.com/networking/xp_vpn_server.htm
Client:
On the client side you would add the PPTP mini
http://m0n0.ch/wall/docbook/pptp-windows.html

After creating the pptp client, make sure to go through the connection's properties to networking tab and then properties of tcp/ip and remove the check mark in the "use remote network as default gateway"  This is needed or all your internet traffic from the client will be sent through the VPN tunnel.  (The default setup options on the PPTP client connection is to secure all networks with that checkbox checked.)
0
 
a1aaitCommented:
Perhaps I did not understand the OP.  The PC are in two different sites?
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now