Networking two PC's

This is a discussion on Networking two PC's within the Tech Board forums, part of the Community Boards category; Hi all, I have two PC's. One has Windows XP loaded. And the other RH 9.0. I connect to internet ...

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    57

    Networking two PC's

    Hi all,
    I have two PC's. One has Windows XP loaded. And the other RH 9.0.
    I connect to internet through a DSL modem and am unable to find a driver for it for linux(Gnu/Linux for some).
    So I want to network the two pc's to use the internet connection on the windows machine for linux.
    I connected the two pc's using a cross cable and assigned the following ip addresses, subnet masks, DNS etc to the two pc's.
    (did the following after googling a lot)

    Windows:
    -----------------------
    IP :::::::::::::::::::: 192.168.1.1 (just like that)
    Subnet mask :::::: 255.255.255.0
    DNS ::::::::::::::::: 192.168.1.1

    Linux:
    -----------------------
    IP :::::::::::::::::::: 192.168.1.2
    Subnet mask :::::: 255.255.255.0
    DNS ::::::::::::::::: 192.168.1.1

    My internet connection assigns a seperate random IP using DHCP.

    Apparently I am unable to ping from linux box and/or browse the net.
    I have the following questions.
    1.) What should I do on the linux side to make the network work?
    2.) Would I need to change any proxies for the browser on linux? if yes, what should the proxies be?

    3.) Will the DNS server IP that I assigned work? basically I want to know, if I did that part correct? if not, what should I do.

    4.) And do I need to configure and run Samba on linux, if I only want to use the internet connection of windows and not share any files?

    Thanks a lot,
    Anoop.

  2. #2
    Registered User
    Join Date
    Jul 2002
    Posts
    913
    Um, dont DSL modems have ethernet out(like cable modems)? If it does its just a matter of getting your NIC up.


    Did you enable Internet sharing in windows? By the way i think most people do it the other way around.

    You dont need Samba if you dont want to share files.

  3. #3
    Registered User
    Join Date
    Mar 2002
    Posts
    57
    The two PC's are connected using RJ45 connector via a cross cable and the DSL modem is connected via a USB port. That is JFYI. Dunno if it is useful info or not.

    Yes I did enable it. Here in India, I could not find a driver for the make of the modem. Found some driver for the make of UK's modem, tries setting up but failed miserably. Infact many guys here in India, are waiting for the ISP to release the Linux drivers. Hence the other way round .


    Thanks,
    Anoop.

  4. #4
    Registered User
    Join Date
    Jul 2002
    Posts
    913
    The two PC's are connected using RJ45 connector via a cross cable and the DSL modem is connected via a USB port.
    I have a friend that does cable modems (telephone, cable, and tech) and another that does this with satellites (his father owns a shop), almost all of them have a ethernet out, if they dont they often come with a cheesy power 'brick' that burns out quick.

    If you have to you can be creative with the hardware. Most ISPs will let you use another modem(i think in the us there required to, like with set boxes) if you call up and give them its MAC address(the older ones dont have, free internet!).

    I dont know how well it is but there are some usb networking hacks. All windows sees it as is a NIC, a NIC that happens to be USB.

    With Windows, do you have a firewall? Did you go threw the home networking wizard(most of they to allow access)? Is networking loading on startup with Linux? Is iptables(a firewall) loaded?

  5. #5
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    To do that you need a router or a hub. Plug both systems into the hub or router via the RJ45 coming from both NICs. Then plug the modem into the WAN port. That should work.

  6. #6
    Registered User
    Join Date
    Jul 2002
    Posts
    913
    They make a usb to ethernet router/hub/switch? Its the same 'signal'?

  7. #7
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    hi there...
    i would suggest you use some software like winproxy.. sharing will happen no matter what.. you just have to set up the proxy address in the browser setting... PM me if you want to know where to get them (legal ones ofcourse)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. networking comfirmation
    By rEtard in forum Networking/Device Communication
    Replies: 1
    Last Post: 07-20-2005, 03:59 PM
  2. Networking Problem.
    By RealityFusion in forum Networking/Device Communication
    Replies: 3
    Last Post: 07-01-2004, 10:34 AM
  3. Beyond MFC : COM || Networking
    By kuphryn in forum Windows Programming
    Replies: 5
    Last Post: 04-25-2002, 04:28 PM
  4. C++: Reference Book, GUI, Networking & Beyond
    By kuphryn in forum C++ Programming
    Replies: 4
    Last Post: 11-10-2001, 07:03 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21