[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
[LI] ppp coonection
I am running RH6.0 from chip. I connected using kppp to internet.
During ppp connection I have observer following errors.
/etc/ppp/ip-up: /var/run/ppp-.dev: Permission denied
/etc/ppp/ip-up.local: /var/log/ppplog: Permission denied
WWWOFFLE Already Online
WWWOFFLE Now Fetching.
WWWOFFLE No more to fetch.
/etc/sysconfig/network-scripts/ifup-post: ifcfg-: No such file or
directory
usage: /etc/sysconfig/network-scripts/ifup-routes <net-device>
usage: /etc/sysconfig/network-scripts/ifup-aliases <net-device>
wwwoffle[1025] Warning: Unknown host 'localhost' for server [Name Lookup
Non-Authoritive Answer Host not found].
wwwoffle[1025] Fatal: Cannot open connection to wwwoffle server
localhost
port 8081.
/etc/ppp/ip-down.local: /var/log/ppplog: Permission denied
/etc/sysconfig/network-scripts/ifdown-post: ifcfg-: No such file or
directory
----
1)I have following permissions for the dirs
drwxr-xr-x 20 root root 1024 Oct 4 01:24 var/
drwxr-xr-x 7 root root 1024 Oct 5 05:53 log/
-------------------------------------------------
2)my ip-up file is as follows.
#!/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
echo "$REALDEVICE" > /var/run/ppp-$LOGDEVICE.dev
[ -x /etc/ppp/ip-up.local ] && /etc/ppp/ip-up.local $*
/etc/sysconfig/network-scripts/ifup-post ifcfg-${LOGDEVICE}
exit 0
----------------------------------------
3) my ip-up.local file is as follows.
#!/bin/bash
echo `date` CONNECT $4 >> /var/log/ppplog
/usr/local/bin/wwwoffle -online
/usr/local/bin/wwwoffle -fetch
Still ppplog was found to be written by ip-up.local. Further I would
like to know the significance of various error msgs given above.
Sorry for such a long mail.
--
L.V.Gandhi
MECON, 5th Floor, RTC Complex, Visakhapatnam AP 530020 INDIA
http://www.poboxes.com/lvgandhi lvgandhi@xxxxxxxxxxx,
lvgandhi@xxxxxxxx, 31882656@xxxxxxxxxxxxxxxxxxx
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available. Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.