Mailinglist Archive: opensuse-bugs (5931 mails)

< Previous Next >
[Bug 668613] ifroute fails if it was started from ifup <int>

https://bugzilla.novell.com/show_bug.cgi?id=668613

https://bugzilla.novell.com/show_bug.cgi?id=668613#c6


Marius Tomaschewski <mt@xxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
CC| |lnussel@xxxxxxxxxx,
| |mt@xxxxxxxxxx
InfoProvider|mt@xxxxxxxxxx |

--- Comment #6 from Marius Tomaschewski <mt@xxxxxxxxxx> 2011-02-24 08:50:14 UTC
---
(In reply to comment #0)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.2.13)
Gecko/20101203 SUSE/3.6.13-0.2.1 Firefox/3.6.13

I'm trying to auto add route for pptp connections. But using ifroute-dsl0
fails.

Reproducible: Always

Steps to Reproduce:
1. Create symbolik link: ln -s /etc/sysconfig/network/scripts/ifup-route
/etc/sysconfig/network/if-up.d/ifup-route

This is wrong. ifup will execute ifup-route automatically.

2. Create /etc/sysconfig/network/ifroute-dsl0 with:
192.168.52.0 0.0.0.0 255.255.255.0 dsl0


Content of ifcfg-dsl0:
BOOTPROTO='none'
^^^^^^^^^^^^^^^^

This should be the reason: Use BOOTPROTO='static' instead.

A 'none' is for bonding slaves (and another special cases), where you
want to *disable* the setup inclusive setting the interface into "up"
state ("ip link set up dev XXX"), ip configuration and ifup-route run.

[When (the ppp scripts/daemon call "ip link set up dev eth0" anyway;
I don't know if they actually do), then you may set BOOTPROTO='none'
in ifcfg-eth0 when you don't use it otherwise / as "tty" only]

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
References