You are not logged in.

#1 2017-04-07 12:55:32

jprice111
Member
Registered: 2017-04-07
Posts: 1

DNS not resolving with Network Manager sharing protocol.

So I have two computers both running arch. Computer 1 (C1) has a wifi adapter on wlan0 with an ip of 192.168.0.157, and an Ethernet connection on eth0 with an ip of 10.42.0.1. Computer 2 (C2) has an ethernet connection on eth0 with an ip of 10.42.0.2. They are both connected via eathernet over a switch. I want to share C1's wlan0 connection over eth0 to C2, I installed dnsmasq and set eth0 on C1 to shared. Now from C2 I can ping C1 and I can ping 8.8.8.8 but I can not ping google.com, so I know the dns isn't resolving correctly on C2

The output of cat /etc/resolv.conf from C2 is

nameserver 10.42.0.1

The output of cat /etc/resolv.conf from C1 is

nameserver 127.0.0.1

Thanks!

Offline

#2 2017-04-08 16:33:28

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,567

Re: DNS not resolving with Network Manager sharing protocol.

You need external nameservers in resolv.conf on C1 but haven't added any


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB