On 9/23/05, Thomas Hood <[EMAIL PROTECTED]> wrote:

> If all of the above checks out then we need to start debugging.
> Please add
>
>     LOG=/tmp/resolvconf.log
>     echo "-------------" >> $LOG
>     echo "ARGS: $*" >> $LOG
>     echo "run:" >> $LOG
>     ls -dl /etc/resolvconf/run/* >> $LOG
>     echo "interface:" >> $LOG
>     ls -l /etc/resolvconf/run/interface >> $LOG
>     echo "-------------" >> $LOG
>
> to the top of it and send the contents of /tmp/resolvconf.log after a
> reboot.

Ok, I have found the problem: in /etc/network/interfaces I have
another line with a post-up command that I need to establish
automatically an ssh tunnel  to use irc when I am behind a firewall at
work; if I comment out that line resolvconf works fine, if that line
is present resolvconf doesn't work. The line is:
post-up /usr/bin/ssh -l guest -f -N -L 19401:crypto.azzurra.org:9999
xxx.yyy.zzz.www

(where xxx.yyy.zzz.www is the ip public address of the pc I use for the tunnel)

The /tmp/resolvconf.log however shows:
-------------
ARGS: -a lo.inet
run:
-rw-r--r--  1 root root   0 Sep 23 10:40 /etc/resolvconf/run/enable-updates
drwxr-xr-x  2 root root  40 Sep 23 10:40 /etc/resolvconf/run/interface
-rw-r--r--  1 root root 151 Sep 23 10:40 /etc/resolvconf/run/resolv.conf
interface:
total 0
-------------
-------------
ARGS: -a wlan0
run:
-rw-r--r--  1 root root   0 2005-09-23 10:40 /etc/resolvconf/run/enable-updates
drwxr-xr-x  2 root root  40 2005-09-23 10:40 /etc/resolvconf/run/interface
-rw-r--r--  1 root root 151 2005-09-23 10:40 /etc/resolvconf/run/resolv.conf
interface:
total 0
-------------

Reply via email to