Bug#629632: Corrected solution

2011-06-08 Thread Németh Csaba
Corrected solution

IF_METRIC=1
for router in $new_routers; do
 metric_arg="metric $IF_METRIC"
 route add default dev $interface gw $router $metric_arg
 IF_METRIC=$(( $IF_METRIC+1 ))
done



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#629632: multiple routers metric

2011-06-08 Thread Németh Csaba
Package: isc-dhcp-client
Version: 4.1.1-P1-15+squeeze2

If I define multiple routers on dhcpd-server (line 'option routers'),
the client doesn't add metric for gateways.

Original lines:
for router in $new_routers; do
 route add default dev $interface gw $router $metric_arg
done

Maybe the solution:

metric_arg=1
for router in $new_routers; do
 route add default dev $interface gw $router $metric_arg
 metric_arg=$(( $metric_arg+1 ))
done


Sorry for my poor English

Best regards:
Csaba Németh



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#494998: tunnels that use update-resolvconf do not start after upgrade anymore

2008-08-20 Thread Németh Csaba
Aug 21 08:42:03 csaba-desktop nm-openvpn[8877]: TUN/TAP device tun0 opened
Aug 21 08:42:03 csaba-desktop nm-openvpn[8877]: /sbin/ifconfig tun0
10.20.50.6 pointopoint 10.20.50.5 mtu 1500
Aug 21 08:42:03 csaba-desktop nm-openvpn[8877]:
/usr/lib/network-manager-openvpn/nm-openvpn-service-openvpn-helper
tun0 1500 1542 10.20.50.6 10.20.50.5 init
Aug 21 08:42:03 csaba-desktop nm-openvpn[8877]: openvpn_execve:
external program may not be called due to setting of --script-security
level
Aug 21 08:42:03 csaba-desktop nm-openvpn[8877]: script failed:
external program fork failed
Aug 21 08:42:03 csaba-desktop nm-openvpn[8877]: Exiting
Aug 21 08:42:03 csaba-desktop NetworkManager: 
nm_vpn_service_process_signal(): VPN failed for service
'org.freedesktop.NetworkManager.openvpn', signal 'ConnectFailed', with
message 'The VPN login failed because the VPN program could not
connect to the VPN server.'.
Aug 21 08:42:03 csaba-desktop NetworkManager:   VPN service
'org.freedesktop.NetworkManager.openvpn' signaled state change 3 -> 6.


csaba-desktop:~# dpkg -l openvpn
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Név  Verzió   Leírás
+++-=-=-==
ii  openvpn   2.1~rc9-3
 virtual private network daemon



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]