View Single Post
Sohil876's Avatar
Posts: 130 | Thanked: 132 times | Joined on Jan 2013 @ India
#8
yes i can ping remote ips. /etc/resolv.conf is in first post, i dont have /var/run/resolv.conf, ive tried copying /etc/resolv.conf to /var/run/ , coping /etc/ppp/resolv.conf to /var/run/, creating a resolv.conf with custom dns in /var/run/ with 8.8.8.8 as nameservers and restarting dnsmasq after that, that didnt work.
My /etc/dnsmasq.conf

Code:
domain-needed
bogus-priv
resolv-file=/var/run/resolv.conf
resolv-file=/var/run/resolv.conf.wlan0
resolv-file=/var/run/resolv.conf.ppp0
resolv-file=/var/run/resolv.conf.lo
resolv-file=/var/run/resolv.conf.gprs
Also i have a script /etc/ppp/ip-up which creates /var/run/resolv.conf.ppp0 on pppd connection with correct dns.

Last edited by Sohil876; 2016-05-08 at 12:00.