The error still surfaces while using vpnc_0.3.3+SVN20050909-5_i386.deb
Error meaasge changed slightly "Error: an inet prefix is expected
rather than "@"."

Error log attached
wam:/home/waqar# vpnc --enable-1des --debug 2
vpnc version 0.3.3
S1
S2
S3
++ uname -s
+ OS=Linux
+ DEFAULT_ROUTE_FILE=/var/run/vpnc/defaultroute
+ RESOLV_CONF_BACKUP=/var/run/vpnc/resolv.conf-backup
++ which ip
++ grep '^/'
+ IPROUTE=/sbin/ip
+ '[' Linux = Linux ']'
+ ifconfig_syntax_ptp=pointopoint
+ route_syntax_gw=gw
+ route_syntax_del=del
+ route_syntax_netmask=netmask
+ '[' -n /sbin/ip ']'
+ '[' -z pre-init ']'
+ case "$reason" in
+ do_pre_init
+ '[' Linux = Linux ']'
+ :
+ exit 0
using interface tun0
S4
S4.1
S4.2
S4.3
S4.4
IKE SA selected psk+xauth-3des-md5
peer is using type 130 for NAT-Discovery payloads
peer is using type 130 for NAT-Discovery payloads
S4.5
NAT status: NAT-T VID seen, no NAT device detected
S4.6
S5
S5.1
S5.2
S5.3
S5.4
Enter Username and Password.
S5.5
S5.2
S5.3
S5.6
S5.7
S6
got save password setting: 1
got pfs setting: 0
Remote Application Version: Cisco Systems, Inc./VPN 3000 Concentrator
Version 4.1.7.E built by vmurphy on Mar 14 2005 11:25:43
got address 165.91.48.19
S7
S7.1
S7.2
S7.3
S7.4
ignoring responder-lifetime notify
S7.3
S7.4
S7.5
S7.6
IPSEC SA selected des-md5
S7.7
S7.8
++ uname -s
+ OS=Linux
+ DEFAULT_ROUTE_FILE=/var/run/vpnc/defaultroute
+ RESOLV_CONF_BACKUP=/var/run/vpnc/resolv.conf-backup
++ which ip
++ grep '^/'
+ IPROUTE=/sbin/ip
+ '[' Linux = Linux ']'
+ ifconfig_syntax_ptp=pointopoint
+ route_syntax_gw=gw
+ route_syntax_del=del
+ route_syntax_netmask=netmask
+ '[' -n /sbin/ip ']'
+ '[' -z connect ']'
+ case "$reason" in
+ do_connect
+ '[' -r /etc/vpnc/vpnc-script-connect-action ']'
+ '[' -n '' ']'
+ do_ifconfig
+ ifconfig tun0 inet 165.91.48.19 pointopoint 165.91.48.19 netmask
255.255.255.255 mtu 1390 up
+ set_vpngateway_route
++ ip route get 165.91.140.250
++ fix_ip_get_output
++ sed 's/cache//;s/metric \?[0-9]\+ [0-9]\+//g'
+ /sbin/ip route add 165.91.140.250 via 10.32.19.1 dev ath0 src
10.32.19.129 mtu 1500 advmss 1460 hoplimit 64
+ /sbin/ip route flush cache
+ test $'@Ø\005\b\021'
+ for network in '$TARGET_NETWORKS'
+ ip route del $'@Ø\005\b\021'
+ ip route add $'@Ø\005\b\021' dev tun0
Error: an inet prefix is expected rather than "@".
+ '[' -n '128.194.178.1 128.194.198.5' ']'
+ write_resolvconf
+ case "$DNS_UPDATE" in
+ '[' -x /sbin/resolvconf ']'
+ grep '[EMAIL PROTECTED]@' /etc/resolv.conf
+ cp -- /etc/resolv.conf /var/run/vpnc/resolv.conf-backup
+ NEW_RESOLVCONF='[EMAIL PROTECTED]@ -- this file is generated by vpnc
# and will be overwritten by vpnc
# as long as the above mark is intact'
+ exec
+ read LINE
+ case "$LINE" in
+ '[' -n '' ']'
+ NEW_RESOLVCONF='[EMAIL PROTECTED]@ -- this file is generated by vpnc
# and will be overwritten by vpnc
# as long as the above mark is intact
search tamu.edu'
+ read LINE
+ case "$LINE" in
+ '[' -n '128.194.178.1 128.194.198.5' ']'
+ read ONE_NAMESERVER INTERNAL_IP4_DNS
+ LINE='nameserver 128.194.178.1'
+ NEW_RESOLVCONF='[EMAIL PROTECTED]@ -- this file is generated by vpnc
# and will be overwritten by vpnc
# as long as the above mark is intact
search tamu.edu
nameserver 128.194.178.1'
+ read LINE
+ case "$LINE" in
+ '[' -n 128.194.198.5 ']'
+ read ONE_NAMESERVER INTERNAL_IP4_DNS
+ LINE='nameserver 128.194.198.5'
+ NEW_RESOLVCONF='[EMAIL PROTECTED]@ -- this file is generated by vpnc
# and will be overwritten by vpnc
# as long as the above mark is intact
search tamu.edu
nameserver 128.194.178.1
nameserver 128.194.198.5'
+ read LINE
+ case "$LINE" in
+ '[' -n '' ']'
+ LINE=
+ NEW_RESOLVCONF='[EMAIL PROTECTED]@ -- this file is generated by vpnc
# and will be overwritten by vpnc
# as long as the above mark is intact
search tamu.edu
nameserver 128.194.178.1
nameserver 128.194.198.5
'
+ read LINE
+ exec
+ '[' -n '' ']'
+ echo '[EMAIL PROTECTED]@ -- this file is generated by vpnc
# and will be overwritten by vpnc
# as long as the above mark is intact
search tamu.edu
nameserver 128.194.178.1
nameserver 128.194.198.5
'
+ exit 0
S7.9
S7.10
VPNC started in background (pid: 11882)...

wam:/home/waqar# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
165.91.140.250  10.32.19.1      255.255.255.255 UGH   0      0        0 ath0
10.32.19.0      0.0.0.0         255.255.255.0   U     0      0        0 ath0
0.0.0.0         10.32.19.1      0.0.0.0         UG    0      0        0 ath0

wam:/home/waqar# ifconfig -a
ath0      Link encap:Ethernet  HWaddr 00:02:8A:E2:24:75
          inet addr:10.32.19.129  Bcast:10.32.19.255  Mask:255.255.255.0
          inet6 addr: fe80::202:8aff:fee2:2475/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:151 errors:875 dropped:0 overruns:0 frame:875
          TX packets:158 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:200
          RX bytes:28632 (27.9 KiB)  TX bytes:45480 (44.4 KiB)
          Interrupt:9 Memory:e0fc0000-e0fd0000

lo        Link encap:Local Loopback
          LOOPBACK  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

tun0      Link encap:UNSPEC  HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:165.91.48.19  P-t-P:165.91.48.19  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1390  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
--
Waqar A. Malik

Reply via email to