Thread: networking question

  1. #1
    Android geek@02's Avatar
    Join Date
    Mar 2004
    Location
    Kurunegala Colony, Sri Lanka, Sri Lanka
    Posts
    470

    networking question

    Hi
    is it possible to share an internet connection between my pc and laptop without a router?
    GameJolt: https://gamejolt.com/@KasunL
    Game Development Youtube:
    https://is.gd/XyhYoP
    Amateur IT Blog: http://everything-geeky.blogspot.com/



    (and, sorry for my amateur English)

  2. #2
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    Quote Originally Posted by geek@02 View Post
    Hi
    is it possible to share an internet connection between my pc and laptop without a router?
    Negative.

    Honestly, not as far as I know. I wouldn't even think of how that's supposed to work. Routers do a lot more than just split the connection.
    Sent from my iPadŽ

  3. #3
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Yes, you should be able to do that. You will possibly need a "crossed" cable (and that may well set you back as much money as a switch/router).

    You will obviously also need some sort of Proxy Server on the PC - such as "Internet Sharing" that Windows has.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  4. #4
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    You can turn the PC into a router. You don't need a dedicated router.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  5. #5
    Dr Dipshi++ mike_g's Avatar
    Join Date
    Oct 2006
    Location
    On me hyperplane
    Posts
    1,218
    Yeah the only hardware you need is a crossover cable. If you go to college you might be able to make one there if you ask; thats how I got mine. The wiremap is basically the same as a normal cable, but on one end the green and orange wires are swapped. If not I wouldent worry as i cant see one costing much. Or at least not as much as a router, with which you would need a straight through cable anyway.
    Last edited by mike_g; 02-28-2008 at 10:51 AM.

  6. #6
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Quote Originally Posted by matsp View Post
    You will possibly need a "crossed" cable (and that may well set you back as much money as a switch/router)
    A crossover cable shouldn't take a fraction of the cost of a router. As for the proxy, I would go with some of the freeware alternatives which offer better and more secure alternatives to Windows Internet Sharing.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  7. #7
    Jack of many languages Dino's Avatar
    Join Date
    Nov 2007
    Location
    Chappell Hill, Texas
    Posts
    2,332
    I thought you could also use a Firewire cable with Internet Sharing too. (It's an option on a Mac anyway).
    Last edited by Dino; 02-28-2008 at 11:11 AM.
    Mainframe assembler programmer by trade. C coder when I can.

  8. #8
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    You can even use an USB cable. It's just not a practical choice when the alternative CAT-5 cable is so much cheaper.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  9. #9
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    Wait... I'm baffled by how this would work... Sure, I can see how you'd make your PC a router if it has multiple ethernet ports, however, what's this crossover cable about and what kind of method does it use to identify where to send the data when it gets to the split?

    EDIT: *shrug* I'm looking into it, got some articles and diagrams... I don't quite know what's going on here, but my whole world has been twisted upside-down. I feel like I'm taking crazy pills!
    Last edited by SlyMaelstrom; 02-28-2008 at 11:18 AM.
    Sent from my iPadŽ

  10. #10
    {Jaxom,Imriel,Liam}'s Dad Kennedy's Avatar
    Join Date
    Aug 2006
    Location
    Alabama
    Posts
    1,065
    It is a Type A to Type B cable. I think the "standard" is to use Type B (orange is first) but a crossover cable is one on each end.

    BTW, if your internet connection is USB, the you already have a free Ethernet port on your computer. I personally don't like the USB type connections to the gateway, but some companies give this out as their default.

  11. #11
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Quote Originally Posted by SlyMaelstrom View Post
    Wait... I'm baffled by how this would work... Sure, I can see how you'd make your PC a router if it has multiple ethernet ports, however, what's this crossover cable about and what kind of method does it use to identify where to send the data when it gets to the split?
    There is no need for a crossover cable for internet sharing mind you. The discussion was centering only on the fact it was cheaper than announced.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  12. #12
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Anyways, to sum it up, regarding the op&#186;s question:

    1. Get a second NIC and install it on the machine that will be doing the share. You only need this second card if your current modem is using your current one.

    2. Get a crossover cable to connect the free NIC of each computer.

    3. There's windows ICS that will share your connection. Check the tutorials how to set it up. But I strongly suggest some of the freeware alternatives or the cheap shareware ones like my favorite Wingate.

    Voil&#225;.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  13. #13
    Registered User
    Join Date
    Oct 2001
    Posts
    2,129
    Quote Originally Posted by Todd Burch View Post
    I thought you could also use a Firewire cable with Internet Sharing too. (It's an option on a Mac anyway).
    I think you can do that in XP, but I think Vista gave that up.

  14. #14
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Seriously, why not buy a router then?

    If you plan to buy a NIC, crossover cable, etc it'll cost probably close to a cheap/okayish router. Don't forget you'll have to leave the PC on which you have acting as a router if you want to access the internet from the other PC.

  15. #15
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    Quote Originally Posted by zacs7 View Post
    Seriously, why not buy a router then?

    If you plan to buy a NIC, crossover cable, etc it'll cost probably close to a cheap/okayish router. Don't forget you'll have to leave the PC on which you have acting as a router if you want to access the internet from the other PC.
    I got a TrendNet Wireless-G Router for $5 after rebate. It was actually pretty good, too.
    Sent from my iPadŽ

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. another do while question
    By kbpsu in forum C++ Programming
    Replies: 3
    Last Post: 03-23-2009, 12:14 PM
  2. networking comfirmation
    By rEtard in forum Networking/Device Communication
    Replies: 1
    Last Post: 07-20-2005, 03:59 PM
  3. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  4. opengl DC question
    By SAMSAM in forum Game Programming
    Replies: 6
    Last Post: 02-26-2003, 09:22 PM
  5. Beyond MFC : COM || Networking
    By kuphryn in forum Windows Programming
    Replies: 5
    Last Post: 04-25-2002, 04:28 PM