Internet connection between Linux and Windows
Hi,
I would like to share the internet connection of my Windows 10 laptop with a Linux Debian device. They are connected via cable cross. On the Windows 10 laptop there are two connections: 1) Wifi connection: Connected to the internet and with automatic IP (active DHCP). 2) Network card with Ethernet cable: Fixed IP 192.168.0.110 On the Debian Linux device there is only one connection: 1) Network card with Ethernet cable: Fixed IP 192.168.0.150 From the Linux device I can ping the IP of the laptop's network card, IP 192.168.0.110. Communication between both works, but Linux does not connect to the internet using the laptop's wifi network, as I expected. How to connect the Linux device to the internet via laptop? |
Seems like a microcoughed-losedough$ question?
http://www.sc.edu/beaufort/library/p...es/bones.shtml :hattip: http://www.windowscentral.com/how-tu...reless-hotspot :scratch: |
I didn't see a solution on this link above.
Hosted network supported: NO For this link above, in my case the answer to the tutorial presented is "NO": network NOT supported |
|
Just a guess here, but it sounds like you need to configure Debian to make your Windows connection (192.168.0.110) the "default gateway"... and configure Windows 10 to act as a "bridge" between its two networks. The two Windows connections may also need to subnet differently from each other. There used to be a setting in (older) Windows to "share a network connection" but I have no idea if that remains in Window 10. Try Googling the quoted phrases and see what you get.
Ah, I've been beat to the punch. Nice link, suicidaleggroll. |
Quote:
Quote:
;) ;) |
suicidaleggroll, I've tried to follow yours tutorial, but I didn't get to solve this problem yet.
I've created a new bridge connection in Windows and I still have access to the internet from my laptop. Already on the Linux device it works partially. When I try to ping the Router IP, where my latptop is connected via new Windows bridged Wi-Fi connection, it works fine. But when I try to ping another IP from an external server, it does not work. This error occurs: ping google.com The answer is: "ping: unknown host google.com" I don't know what happens... Another problem with the bridge is the disconnection of the internet at all times. |
It sounds like DNS might not be set up. What if you try to ping 8.8.8.8?
|
Wouldn't getting a router make this a whole lot easier?
|
Take a look here: http://www.quepublishing.com/article...55390&seqNum=6
Unless MS has changed their ways, back when I used windows ICS you didn't have much control over ip address range, dhcp setting, dns settings, etc on the windows side, but it did work. However, as Jeremy said your life will be much easier if you got a router instead of trying to share via Windows. Microsoft ICS, or an computer-based internet connection sharing, has drawbacks. Imagine you're in the middle of a 2 hour download of something and without thinking, decided to reboot the sharing computer. Oops! |
Quote:
It really could be DNS problem, as you said. But I still can't identify where exactly. The access from device to router, through the laptop, occurs correctly but is interrupted on the router. Quote:
Quote:
It's so hard!!:banghead: |
When you turn on Windows connection sharing it will automatically configure the ethernet port with an IP address and turn on its DHCP server. If you go back to using DHCP on both ethernet ports then turn on connection sharing it will be easier.
|
michaelk
Just by confirming, when wifi (on laptop) connection sharing is enabled, are you saying that Windows will create a DHCP server to manage the IPs of my other ethernet connection from my laptop and the IP that my Linux device will need as well? That's right? |
Correct.
|
Is funny the mod &c had to switch OSs... :p
This could help: https://www.thinkpenguin.com/catalog...rking-gnulinux Add (particularly:) Penguin Wireless N USB Adapter for GNU / Linux (TPE-N150USB) |
All times are GMT -5. The time now is 07:48 AM. |