Hello!

On Tue 01 Nov 2005 09:47 +0100, Eduard Bloch wrote:
> Interesting. It is not your university's config, it is in your
> routing configuration, _before_ you connect. Look:
>
> ++ ip route get 192.33.214.142
> ++ fix_ip_get_output
> ++ sed 's/cache//;s/metric [0-9]\+ [0-9]\+//g'
> + /sbin/ip route add 192.33.214.142 via 10.64.64.64 dev ppp0 src
>   10.122.28.127 mtu 1500 advmss 1460 hoplimit 64
> RTNETLINK answers: Network is unreachable
>
> So what do "ip route show" and "ip route get 192.33.214.142" before
> you connect?

My routing configuration seems to work...

=====
gismo:/home/luca# ip route show
192.168.123.0/24 dev wifi  proto kernel  scope link  src
 192.168.123.123 
default via 192.168.123.254 dev wifi 

gismo:/home/luca# ip route get 192.33.214.142
192.33.214.142 via 192.168.123.254 dev wifi  src 192.168.123.123 
    cache  mtu 1500 advmss 1460 hoplimit 64

gismo:/home/luca# vpnc
Enter password for [EMAIL PROTECTED]: 
++ uname -s
+ OS=Linux
<cut>
+ do_ifconfig
+ ifconfig tun0 inet 129.194.216.17 pointopoint 129.194.216.17 netmask
+ 255.255.255.255 mtu 1390 up
+ set_vpngateway_route
++ ip route get 192.33.214.142
++ fix_ip_get_output
++ sed 's/cache//;s/metric [0-9]\+ [0-9]\+//g'
+ /sbin/ip route add 192.33.214.142 via 192.168.123.254 dev wifi src
+ 192.168.123.123 mtu 1500 advmss 1460 hoplimit 64
RTNETLINK answers: Network is unreachable
+ /sbin/ip route flush cache
+ '[' -n '' ']'
+ set_default_route
+ /sbin/ip route
+ grep '^default'
+ fix_ip_get_output
+ sed 's/cache//;s/metric [0-9]\+ [0-9]\+//g'
+ /sbin/ip route del default
+ /sbin/ip route add default dev tun0
RTNETLINK answers: No such device
+ /sbin/ip route flush cache
+ '[' -n '129.194.8.7 129.194.4.6' ']'
+ write_resolvconf
+ case "$DNS_UPDATE" in
+ return
+ exit 0
VPNC started in background (pid: 26815)...

gismo:/home/luca# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref
 Use Iface
192.168.123.0   *               255.255.255.0   U     0      0
 0 wifi

gismo:/home/luca# 
=====

> And this one is more confusing:
> + ifconfig tun0 inet 129.194.216.16 pointopoint 129.194.216.16
>   netmask 255.255.255.255 mtu 1390 up 
> ...
> + /sbin/ip route add default dev tun0
> RTNETLINK answers: No such device
>
> How does that happen? Misconfigured SELinux setup?

AFAIK, I disabled the SELinux option in the kernel quite a long time
ago:
=====
gismo:/home/luca# uname -a
Linux gismo 2.6.13 #1 Sun Sep 4 10:14:11 CEST 2005 i686 GNU/Linux

gismo:/home/luca# grep SEL /boot/config-2.6.13 
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_VIDEO_SELECT=y
# CONFIG_SECURITY_SELINUX is not set

gismo:/home/luca# 
=====

But I got an error messages at boot: "Failed to mount /selinux/: no
such file or directory".

Is SELinux the real problem?

Thx, bye,
Gismo / Luca

Attachment: pgp0jD2MSUFd2.pgp
Description: PGP signature

Reply via email to