https://bugzilla.novell.com/show_bug.cgi?id=668613
https://bugzilla.novell.com/show_bug.cgi?id=668613#c9
Marius Tomaschewski changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
CC|lnussel@novell.com |bili@novell.com,
| |max@novell.com
InfoProvider|kviset@mail.ru |
AssignedTo|bili@novell.com |lnussel@novell.com
--- Comment #9 from Marius Tomaschewski 2011-02-24 15:35:18 UTC ---
(In reply to comment #8)
Hmm... Seems, some things changed a lot since I've used ppp last time...
The workflow is:
- ifup dsl0 starts /etc/sysconfig/network/scripts/ifup-ppp
calling smpppd-ifcfg --up what triggers smpppd to connect(?)
note: ifup-route is not called in this case as the interface
does not exists, ...
- the ppp daemon creates the interface and tries to connect;
when the connection has been established, the ppp daemon
calls /etc/ppp/ip-up.
And /etc/ppp/ip-up is responsible for the ifup post scripts,
that is also to call ifup-route.
When I look into /etc/ppp/ip-up, the post scripts (alias "dhcp")
has been disabled for some reason:
# run ifup script to execute additional scripts
run_ifup()
{
[ -z "$ifcfg" -o -z "$INTERFACE" ] && return
/sbin/ifup $ifcfg $INTERFACE -o dhcp 2>&1 | logger -t ifup
}
[...]
case "$BASENAME" in
*-up)
[...]
#run_ifup
^^^^^^^^^
Workaround would be to
a) remove the comment at run_ifup
b) add a /etc/ppp/ip-up.d/ip-up-route doing it:
#!/bin/bash
INTERFACE=$1
test "x$INTERFACE" = x && exit 1
case "$0" in
*ip-up.d*)
if test -f "/etc/sysconfig/network/ifcfg-$INTERFACE" ; then
# execute the usual post scripts (-o dhcp)
/sbin/ifup $INTERFACE -o dhcp 2>&1 | logger -t ifup
# or e.g. just route only:
#/etc/sysconfig/network/scripts/ifup-route $INTERFACE 2>&1 | logger -t
ifup-route
fi
;;
esac
Reassigning to Ludwig (osc bugowner -e smpppd).
Ludwig,
would you take a look at this issue, especially why the ifup post
scripts have been disabled in ip-up? Were there some problem with
them?
--
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.