Re: /etc/conf.d/net - postup functionality?
Roman v. Gemmeren
Mon Aug 31 14:37:02 2009
hi again,
seems i was a little too optimistic with my former posting.
I tested it at home, and it worked.
Now i am onsite and it doesn't work anymore...
The problem seems to be with dns.
the wireless comes up and connects to the unencrypted ssid fine. At this point
i have an ip + working /etc/resolv.conf with 2 nameservers.
After vpnc starts via the script-option /etc/resolv.conf is empty (instead of
containing 2 new nameservers, which are added by vpnc).
Is dhcpcd somehow preventing vpnc from altering the file?
below is the script i run to connect to the vpnc:
#-----
#!/bin/sh
case "$reason" in
"BOUND")
[ -f /var/run/vpnc.pid ] && vpnc-disconnect
vpnc
;;
"STOP")
[ -f /var/run/vpnc.pid ] && vpnc-disconnect
;;
*);;
esac
#-----
greetings,
Roman v. Gemmeren
--
I am a conscientious man, when I throw rocks at seabirds I leave no tern
unstoned.
-- Ogden Nash, "Everybody's Mind to Me a Kingdom Is"
Archive administrator: postmaster@marples.name