|
2017-02-07
, 07:04
|
Community Council |
Posts: 685 |
Thanked: 1,234 times |
Joined on Sep 2010
@ Mbabane
|
#2
|
|
2017-02-07
, 20:39
|
Posts: 175 |
Thanked: 210 times |
Joined on Mar 2013
|
#3
|
|
2017-02-07
, 20:54
|
Community Council |
Posts: 685 |
Thanked: 1,234 times |
Joined on Sep 2010
@ Mbabane
|
#4
|
udhcpc -h N900 -i wlan0
|
2017-02-07
, 21:28
|
Posts: 175 |
Thanked: 210 times |
Joined on Mar 2013
|
#5
|
Yes I was aware of the *.iface files. However, I do have /var/run/resolv.conf on my N900 ... which is populated by udhcpc when i connect to my work Wi-Fi (WPA-Enterprise .. where Maemo's wlancond fails).
can you not just call udhcpc yourself after your vpn connection has been established?
|
2017-02-08
, 20:40
|
Posts: 175 |
Thanked: 210 times |
Joined on Mar 2013
|
#6
|
reading /var/run/resolv.conf.tap0 using nameserver 192.168.120.1#53 read /etc/hosts - 1 addresses
query[A] domain.com from 127.0.0.1 forwarded domain.com to 192.168.120.1 reply domain.com is x.x.x.x
failed to access /var/run/resolv.conf.tap0: No such file or directory query[A] anotherdomain.com from 127.0.0.1 forwarded anotherdomain.com to 192.168.120.1 query[A] anotherdomain.com from 127.0.0.1 forwarded anotherdomain.com to 192.168.120.1
|
2017-02-09
, 09:06
|
|
Posts: 868 |
Thanked: 2,516 times |
Joined on Feb 2012
@ Germany
|
#7
|
stop dnsmasq && start dnsmasq
The Following User Says Thank You to Halftux For This Useful Post: | ||
|
2017-02-09
, 21:12
|
Posts: 175 |
Thanked: 210 times |
Joined on Mar 2013
|
#8
|
When dnsmasq for example runs as dns server you have more than one pid.
~ $ ps -ef | grep dnsmasq 9289 nobody 2160 S /usr/sbin/dnsmasq -k -i lo -a 127.0.0.1 -z 10187 user 2864 S grep dnsmasq ~ $
In genwall I restarting dnsmasq with following code:
Code:stop dnsmasq && start dnsmasq
~ $ stop -sh: stop: not found ~ $ start -sh: start: not found ~ $
~ $ /etc/init.d/dnsmasq stop -sh: /etc/init.d/dnsmasq: not found ~ $ ls -l /etc/init.d/ | grep dnsmasq ~ $
|
2017-02-09
, 21:45
|
Community Council |
Posts: 685 |
Thanked: 1,234 times |
Joined on Sep 2010
@ Mbabane
|
#9
|
|
2017-02-10
, 00:32
|
|
Posts: 868 |
Thanked: 2,516 times |
Joined on Feb 2012
@ Germany
|
#10
|
stop dnsmasq? Just like this? I don't have any stop or start command...
Code:~ $ stop -sh: stop: not found ~ $ start -sh: start: not found ~ $
Tags |
dnsmasq, maemo, udhcpc |
|
Does anybody know where I can find some info about udhcpc and dnsmasq functionality on maemo (N900), especially the part about how udhcpc transfers DNS servers obtained to dnsmasq, but any info about how these 2 work together would be appreciated.
Thanks.