[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Wheezy] [networking] post-up NOT executed



On Thu, Jul 24, 2014 at 08:41:50PM +0200, Mickael MONSIEUR wrote:
>    Hi,
>    I have a fresh installation of Debian Wheezy 7.6.0 amd64. 
>    The post-up line does not execute when eth0 is mounted! 
>    (by against my eth0 interface is mounted!)
>    I have to mount routes, and are not:
>    post-up /sbin/route add 1.2.3.4 dev eth0

You probably don't need the path there. "route" should be sufficient.
Alternatively, try "ip route add 1.2.3.4/32 dev eth0".

>    simple test: 
>    post-up touch /tmp/test
>    reboot (...)
>    cat /tmp/test
>    cat: /tmp/1: No such file or directory

Is there a reason that cat is complaining about a different filename?

>    Have you ever had this problem? 
>    I find nothing in dmesg and syslog!

Try "ifdown eth0; ifup -v eth0" when your system is up and running to
see what's happening.

>    With Kind Regards,
>    Mickael Monsieur

Attachment: signature.asc
Description: Digital signature


Reply to: