[maemo-developers] auto-start openvpn and udhcpc
From: Jason maemo at lakedaemon.netDate: Wed Mar 3 05:25:48 EET 2010
- Previous message: Calls Reporting "General Error", is it my Connection Manager or is it RTComm?
- Next message: auto-start openvpn and udhcpc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
All, I'm attempting to get openvpn on my N900 connecting to my existing openvpn server. The openvpn part works well. The automation part is trickier :-) First, how do I get openvpn to automagically start anytime I select a network to connect to? I'd like mail checks (which should pull up an interface on demand) to find my mailserver, which is only available via vpn. Second, I've found a script workaround for the gprs0 unnamed gateway issue, but I can't figure out the proper way to trigger udhcpc on my tap0. I've setup my openvpn infrastructure to use my dnsmasq server for dhcp and to use real dhcp clients to configure tap0 (one tool for one job [1]). This has worked great for years on desktop/laptop/embedded platforms. I tried adding tap0 to /etc/network/interfaces, but that earned me a dumb look. Isn't maemo supposed to be debian-based? I cat'd the /proc/$PID/cmdline of udhcpc for my wlan0 which sent me on a script hunt and didn't yield, at least to me, a clean way to hook in or trigger it. I also found that resolv.conf is changed in /var/run... Any ideas? thx, Jason. [1] http://www.faqs.org/docs/artu/ch01s06.html
- Previous message: Calls Reporting "General Error", is it my Connection Manager or is it RTComm?
- Next message: auto-start openvpn and udhcpc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]