[ILUG] pppd errors in ip-up and ip-down

From: root (root at domain mail.nuvotem.com)
Date: Thu 12 Sep 2002 - 10:31:55 IST


Hi folks,
I noticed recurring errors from my pppd process : 'Argument list too long'
(see below)

This is occurring for both my ip-up and ip-down scripts in /etc/ppp folder.

The scripts look alright to me, but then again I still have my newbie status.
(Copy of my ip-up script is below).

How can I get more debugging info ?

Thanks,
Declan

- Extract from my /var/log/messages file -

Sep 12 09:38:39 mail pppd[656]: Starting link
Sep 12 09:39:09 mail pppd[656]: Serial connection established.
Sep 12 09:39:09 mail pppd[656]: Connect: ppp0 <--> /dev/ttyS0
Sep 12 09:39:11 mail pppd[5294]: Can't execute /etc/ppp/ip-up: Argument list too long

My ip-up file:

#!/bin/bash

# This file should not be modified -- make local changes to
# /etc/ppp/ip-up.local instead

LOGDEVICE=$6
REALDEVICE=$1

export PATH=/sbin:/usr/sbin:/bin:/usr/bin

/etc/sysconfig/network-scripts/ifup-post ifcfg-${LOGDEVICE}

[ -x /etc/ppp/ip-up.local ] && /etc/ppp/ip-up.local "$ at domain "

exit 0



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:18:49 GMT