Public bug reported:

Binary package hint: ifupdown

Distro: Ubuntu 8.04 Server
Linux dragonfly 2.6.24-16-server #1 SMP Thu Apr 10 13:58:00 UTC 2008 i686 
GNU/Linux
I've noticed that my ppp interface doesn't start during system boot through 
/etc/network/interfaces ip-post-up command.

Part of /etc/network/interfaces file:
---------
auto eth1
iface eth1 inet static
  address 10.0.3.4
  netmask 255.255.255.0
  hwaddress ether 12:34:56:78:9a:bc
  post-up ip route replace 10.0.0.1/32 via 10.0.3.1 dev eth1
  post-up pon telenet-vpn
  pre-down poff telenet-vpn
--------
The weird thing is that second command "pon telenet-vpn" doesn't execute during 
system boot.
But if i bring down the interface (ifdown eth1) and then then execute "ifup -a" 
(same command is executed during boot) ppp interface will connect properly.

I tried to insert various commands for testing, so I came to this:
I insert a dummy command like "post-up echo buggy > /dev/null" - ppp interface 
will go up during boot.
Here is example:
auto eth1
iface eth1 inet static
  address 10.0.3.4
  netmask 255.255.255.0
  hwaddress ether 12:34:56:78:9a:bc
  post-up echo "buggy" > /dev/null
  post-up ip route replace 10.0.0.1/32 via 10.0.3.1 dev eth1
  post-up pon telenet-vpn
  pre-down poff telenet-vpn

** Affects: ifupdown (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: boot ifup network network-config ppp

-- 
ifup doesn't process all of post-up commands during system boot
https://bugs.launchpad.net/bugs/225881
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to