I'm trying to get my Windows 8 laptop to use my Linux's internet connection. I'm pretty far from my router (other side of the house) and since my Linux computer uses a lan cable, it doesn't experiance any of the connection issues my laptop does from the distance.
I have a wifi card in my Linux PC, and I've setup an ad-hoc network on it, I can get the Windows laptop to connect to the ad-hoc network, however, I am unable to get it internet access.
My Linux PC's Ethernet connection info: IPv4 IP Address: 192.168.1.152 Broadcast Address: 192.168.1.255 Subnet Mask: 255.255.255.0 Default Route: 192.168.1.1 Primary DNS: 192.168.1.1
The Linux wifi ad-hoc connection info: IPv4 IP Address: 10.42.0.1 Broadcast Address: 10.42.0.255 Subnet Mask: 255.255.255.0
The windows network details when connected to the ad-hoc: IP Address: 192.168.1.153 Subnet Mask: 255.255.255.0 Default Gateway: 192.168.1.1 Primary DNS: 18.104.22.168
However, when I ping 22.214.171.124 from the windows machine, I get: pinging 192.168.1.1 with 32bytes of data: Reply from 192.168.1.153: Destination host unreachable. Reply from 192.168.1.153: Destination host unreachable. Reply from 192.168.1.153: Destination host unreachable. Reply from 192.168.1.153: Destination host unreachable.
Ping statistics for 192.168.1.1: Packets: Sent: 4, Recieved: 4, Lost: 0 (0% loss),
I suspect this is due to the ad-hoc info on the Linux machine being 10.42.1 instead of 192.168.1 but I am unsure how to correct this, or if this is the real problem.
I'm not a 100% linux noob, but I have very little experience with networking. Any help would be great.
If it helps narrow down the solution; I'm running on Fedora 22 with the MATE desktop.