[14:12 peter@penguin:~]$ sudo rpm -qf /sbin/ifup
initscripts-5.82-10mdk
[14:15 peter@penguin:/mnt/downloads/Mandrake/8.0/Mandrake/RPMS]$ sudo rpm
--force -Uvh initscripts-5.82-10mdk*.rpm
initscripts ##################################################
[14:16 peter@penguin:~]$ /sbin/ifup ppp0
Failed to activate ppp0 with error 35
[14:24 root@penguin:/home/peter]# /sbin/ifup ppp0
Failed to activate ppp0 with error 6
>From `man pppd`, error 6 means "The serial port could not be locked.". I
don't know what error 35 means - only 19 are listed.
There is no response from the external modem on /dev/ttyS0, but I can connect
OK with kppp. I use kppp in a script to rsync cooker - it complains about
not being able to find ppp0 but then connects OK:
[14:33 peter@penguin:~]$ rsync-cooker-refresh
==============================================================================
rsync-cooker - downloads Mandrake-devel from ftp.sunet.se::Mandrake-devel/
started at 14:34
Connecting to greatXscape ...
( [ "$ISTATUS" != "" ] || /usr/bin/kppp -c $MYISP -q & )
Couldn't find interface ppp0: No such device
Kernel supports ppp alright.
OK, ppp0 is connected to greatXscape.
[���]
With Mandrake 7.2 I used /sbin/ifup ppp0 and /sbin/ifdown ppp0 in scripts and
I'd prefer to use then in scripts than the gui interface. Any ideas?
Regards,
Peter
--
Linux Mandrake release 8.0 (Traktopel) for i586
Linux 2.4.3-20mdk-p, KDE: 2.1.2, Qt: 2.3.0
Uptime 17 hours 2 minutes