Best way to connect to internet

newatpcbuilding

Commendable
Jun 4, 2017
61
0
1,640
My friend is bringing his pc to my place next week and I don't know how we could both get internet. I'm using a USB dongle for my PC and I want
to connect my friend to this internet. Neither of us have Wi-Fi cards in our PCs. What's the best way I could connect his PC to my internet?
 
Solution
In the past I had USB ADSL modem and I used this method to share internet connection with another PC. I don't have any guides, but here is the first thing that comes up on google search: https://www.youtube.com/watch?v=ifDyMaWC0Mk

Configuration is simple. On your PC set static ip on network connection that you will use to connect with the other PC:
ip: 192.168.0.2
mask: 255.255.255.0

On the other PC set static ip on network connection:
ip: 192.168.0.3
mask: 255.255.255.0
default gateway: 192.168.0.2

On your PC edit network connection that provides internet access and somewhere in advanced options enable option that says "share this internet connection with other computers on my network".

You may also need to edit firewall settings.

Sylvvester

Distinguished
Nov 22, 2010
160
0
18,760
You could simply connect both PCs with ethernet cable, configure local network, set your PC IP as default gateway on your friends PC and enable internet connection sharing on your PC. There are some cases where it may not work and setting it up for the first time may take some time so better test it first with different PC.
 

newatpcbuilding

Commendable
Jun 4, 2017
61
0
1,640

Does it work with any ethernet cable? I've got a cable at home so I can try it with my PC and laptop. Can you maybe send a link of a tutorial on how to setup this?
 

Sylvvester

Distinguished
Nov 22, 2010
160
0
18,760
In the past I had USB ADSL modem and I used this method to share internet connection with another PC. I don't have any guides, but here is the first thing that comes up on google search: https://www.youtube.com/watch?v=ifDyMaWC0Mk

Configuration is simple. On your PC set static ip on network connection that you will use to connect with the other PC:
ip: 192.168.0.2
mask: 255.255.255.0

On the other PC set static ip on network connection:
ip: 192.168.0.3
mask: 255.255.255.0
default gateway: 192.168.0.2

On your PC edit network connection that provides internet access and somewhere in advanced options enable option that says "share this internet connection with other computers on my network".

You may also need to edit firewall settings.
 
Solution