Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11th April 2006, 11:12 AM
Nonc Offline
Registered User
 
Join Date: Mar 2006
Location: Nottingham, England
Age: 26
Posts: 17
/sbin/adsl-start: line 216: 4032 Terminated $CONNECT "$@" >/dev/null 2>

hi, im trying to connect to the internet using an ambit usb cable modem (ntl). ive been told to start and xDSL connection, which ive done, i put in all my stuff and i get this error message

Code:
/sbin/adsl-start: line 216:  4032 Terminated              $CONNECT "$@" >/dev/null 2>&1
the number 4032 sometimes changes but i cant get past it. any help to tell me what it means and how to connect to the internet?

Cheers,
Caspar
__________________
Caspar
Reply With Quote
  #2  
Old 11th April 2006, 02:58 PM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,961
Post the contents of /sbin/adsl-start or at least the part of it in the vicinity of line 216 and perhaps someone will figure this out.
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #3  
Old 11th April 2006, 03:18 PM
Nonc Offline
Registered User
 
Join Date: Mar 2006
Location: Nottingham, England
Age: 26
Posts: 17
the bit around line 216 is

Code:
# Monitor connection
TIME=0
while [ true ] ; do
    /sbin/adsl-status $CONFIG > /dev/null 2>&1

    # Looks like the interface came up
    if [ $? = 0 ] ; then
	# Print newline if standard input is a TTY
	[ "$DEBUG" = "1" ] && tty -s && $ECHO " Connected!"
	exit 0
    fi

    if test -n "$FORCEPING" ; then
	[ "$DEBUG" = "1" ] && $ECHO -n "$FORCEPING"
    else
	[ "$DEBUG" = "1" ] && tty -s && $ECHO -n "$PING"
    fi
    sleep $CONNECT_POLL
    TIME=`expr $TIME + $CONNECT_POLL`
    if [ $TIME -gt $CONNECT_TIMEOUT ] ; then
	break
    fi
done
where
Code:
sleep $CONNECT_POLL
is line 216



the whole thing is
Code:
#! /bin/bash
# Generated automatically from adsl-start.in by configure.
#***********************************************************************
#
# adsl-start
#
# Shell script to bring up an ADSL connection
#
# Copyright (C) 2000 Roaring Penguin Software Inc.
#
# $Id: adsl-start.in,v 1.7 2001/06/25 15:00:47 dfs Exp $
#
# This file may be distributed under the terms of the GNU General
# Public License.
#
# Usage: adsl-start [config_file]
#        adsl-start interface user [config_file]
# Second form overrides USER and ETH from config file.
# If config_file is omitted, defaults to /etc/ppp/pppoe.conf
#
#***********************************************************************

# From AUTOCONF
prefix=/usr
exec_prefix=/usr

# Paths to programs
CONNECT=/sbin/adsl-connect
ECHO=/bin/echo
IP=/sbin/ip
LS=/bin/ls
NETWORKDIR=/etc/sysconfig/network-scripts

get_device() {
    if [ ! -d $NETWORKDIR ] ; then
        $ECHO "** $NETWORKDIR not found"
        $ECHO "** Quitting"
        exit 1
    fi

    cd $NETWORKDIR
    interfaces=$($LS ifcfg-ppp* 2>/dev/null | egrep -v '(~|\.bak)$' | \
                 egrep -v '(rpmsave|rpmorig|rpmnew)' | sed 's/^ifcfg-//g')

    for i in $interfaces ; do
        test -f ifcfg-$i && . ifcfg-$i 2>/dev/null
        if [ "$TYPE" = "xDSL" ] ; then
            CONFIG=$NETWORKDIR/ifcfg-$i
            break
        fi
    done
}

# Set to "C" locale so we can parse messages from commands
LANG=C
export LANG

# Defaults
USER=""
ETH=""
ME=`basename $0`

# Must be root
if [ "`/usr/bin/id -u`" != 0 ] ; then
    [ "$DEBUG" = "1" ] && $ECHO "$ME: You must be root to run this script" >& 2
    exit 1
fi

# Debugging
if [ "$DEBUG" = "1" ] ; then
    $ECHO "*** Running in debug mode... please be patient..."
    DEBUG=`mktemp -d /tmp/pppoe-debug-XXXXXXXX`
    if [ $? -ne 0 ] ; then
	$ECHO "Could not create directory $DEBUG... exiting"
	exit 1
    fi
    export DEBUG
    DEBUG=$DEBUG/pppoe-debug.txt

    # Initial debug output
    $ECHO "---------------------------------------------" > $DEBUG
    $ECHO "* The following section contains information about your system" >> $DEBUG
    date >> $DEBUG
    $ECHO "Output of uname -a" >> $DEBUG
    uname -a >> $DEBUG
    $ECHO "---------------------------------------------" >> $DEBUG
    $ECHO "* The following section contains information about your network" >> $DEBUG
    $ECHO "* interfaces.  The one you chose for PPPoE should contain the words:" >> $DEBUG
    $ECHO "* 'UP' and 'RUNNING'.  If it does not, you probably have an Ethernet" >> $DEBUG
    $ECHO "* driver problem." >> $DEBUG
    $ECHO "Output of ip addr show" >> $DEBUG
    $IP addr show >> $DEBUG
    $ECHO "---------------------------------------------" >> $DEBUG
    if [ "`uname -s`" = "Linux" ] ; then
        $ECHO "* The following section contains information about kernel modules" >> $DEBUG
	$ECHO "* If the module for your Ethernet card is 'tulip', you might" >> $DEBUG
	$ECHO "* want to look for an updated version at http://www.scyld.com" >> $DEBUG
	$ECHO "Output of lsmod" >> $DEBUG
	lsmod >> $DEBUG
	$ECHO "---------------------------------------------" >> $DEBUG
    fi
    $ECHO "* The following section lists your routing table." >> $DEBUG
    $ECHO "* If you have an entry which starts with '0.0.0.0', you probably" >> $DEBUG
    $ECHO "* have defined a default route and gateway, and pppd will" >> $DEBUG
    $ECHO "* not create a default route using your ISP.  Try getting" >> $DEBUG
    $ECHO "* rid of this route." >> $DEBUG
    $ECHO "Output of netstat -n -r" >> $DEBUG
    netstat -n -r >> $DEBUG
    $ECHO "---------------------------------------------" >> $DEBUG
    $ECHO "Contents of /etc/resolv.conf" >> $DEBUG
    $ECHO "* The following section lists DNS setup." >> $DEBUG
    $ECHO "* If you can browse by IP address, but not name, suspect" >> $DEBUG
    $ECHO "* a DNS problem." >> $DEBUG
    cat /etc/resolv.conf >> $DEBUG
    $ECHO "---------------------------------------------" >> $DEBUG
    $ECHO "* The following section lists /etc/ppp/options." >> $DEBUG
    $ECHO "* You should have NOTHING in that file." >> $DEBUG
    $ECHO "Contents of /etc/ppp/options" >> $DEBUG
    cat /etc/ppp/options >> $DEBUG 2>/dev/null
    $ECHO "---------------------------------------------" >> $DEBUG
    DEBUG="1"
fi

# Sort out command-line arguments
case "$#" in
    1)
	CONFIG="$1"
	;;
    3)
	CONFIG="$3"
	;;
esac

if [ -z "$CONFIG" ] ; then
    get_device
    [ -z "$CONFIG" ] && CONFIG=/etc/ppp/pppoe.conf
fi

if [ ! -f "$CONFIG" -o ! -r "$CONFIG" ] ; then
    [ "$DEBUG" = "1" ] && $ECHO "$ME: Cannot read configuration file '$CONFIG'" >& 2
    exit 1
fi

. $CONFIG

# Check for command-line overriding of ETH and USER
case "$#" in
    2|3)
	ETH="$1"
	USER="$2"
	;;
esac

# Check for pidfile
if [ -r "$PIDFILE" ] ; then
    PID=`cat "$PIDFILE"`
    # Check if still running
    kill -0 $PID > /dev/null 2>&1
    if [ $? = 0 ] ; then
	[ "$DEBUG" = "1" ] && $ECHO "$ME: There already seems to be an ADSL connection up (PID $PID)" >& 2
	exit 1
    fi
    # Delete bogus PIDFILE
    rm -f "$PIDFILE" "$PIDFILE.pppd" "$PIDFILE.pppoe" "$PIDFILE.start"
fi

echo $$ > $PIDFILE.start

# Start the connection in the background unless we're debugging
if [ "$DEBUG" = "1" ] ; then
    $CONNECT "$@"
    exit 0
fi

$CONNECT "$@" > /dev/null 2>&1 &
CONNECT_PID=$!

if [ "$CONNECT_TIMEOUT" = "" -o "$CONNECT_TIMEOUT" = 0 ] ; then
    exit 0
fi

# Don't monitor connection if dial-on-demand
if [ "$DEMAND" != "" -a "$DEMAND" != "no" ] ; then
    exit 0
fi

# Monitor connection
TIME=0
while [ true ] ; do
    /sbin/adsl-status $CONFIG > /dev/null 2>&1

    # Looks like the interface came up
    if [ $? = 0 ] ; then
	# Print newline if standard input is a TTY
	[ "$DEBUG" = "1" ] && tty -s && $ECHO " Connected!"
	exit 0
    fi

    if test -n "$FORCEPING" ; then
	[ "$DEBUG" = "1" ] && $ECHO -n "$FORCEPING"
    else
	[ "$DEBUG" = "1" ] && tty -s && $ECHO -n "$PING"
    fi
    sleep $CONNECT_POLL
    TIME=`expr $TIME + $CONNECT_POLL`
    if [ $TIME -gt $CONNECT_TIMEOUT ] ; then
	break
    fi
done

[ "$DEBUG" = "1" ] && $ECHO "TIMED OUT" >& 2
# Timed out!  Kill the adsl-connect process and quit
kill $CONNECT_PID > /dev/null 2>&1

# Clean up PIDFILE(s)
rm -f "$PIDFILE" "$PIDFILE.pppd" "$PIDFILE.pppoe" "$PIDFILE.start"

# add old default gw back
if [ -s /etc/default-route ] ; then
    route add default gw `cat /etc/default-route`
    rm -f /etc/default-route
fi

exit 1
__________________
Caspar
Reply With Quote
  #4  
Old 11th April 2006, 04:19 PM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,961
Look in /var/log/messages and see if your username or password is being rejected.

Since the script has debug provisions you could try running it from the command line. Something like:
env DEBUG=1 /sbin/adsl-start
( I don't know the exact syntax is it DEBUG=1 or DEBUG='1'?)
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #5  
Old 11th April 2006, 06:05 PM
Nonc Offline
Registered User
 
Join Date: Mar 2006
Location: Nottingham, England
Age: 26
Posts: 17
i looked at the /var/log/messages and got a really long thing for 1 attempt

part 1 is here
Code:
Apr 11 17:47:37 localhost system-config-network[2680]: -+ //etc/modprobe.conf 	eth0 alias 8139too
Apr 11 17:47:37 localhost system-config-network[2680]: -+ //etc/modprobe.conf 	eth1 alias usbnet
Apr 11 17:47:37 localhost system-config-network[2680]: -+ //etc/modprobe.conf 	eth2 alias cdc_ether
Apr 11 17:47:37 localhost modprobe: WARNING: /etc/modprobe.conf line 7: ignoring bad line starting with 'options' 
Apr 11 17:47:37 localhost last message repeated 3 times
Apr 11 17:47:37 localhost kernel: via_rhine: Unknown parameter `irq'
Apr 11 17:47:37 localhost modprobe: FATAL: Error inserting via_rhine (/lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/via-rhine.ko): Unknown symbol in module, or unknown parameter (see dmesg) 
Apr 11 17:47:37 localhost modprobe: WARNING: /etc/modprobe.conf line 7: ignoring bad line starting with 'options' 
Apr 11 17:47:37 localhost last message repeated 2 times
Apr 11 17:47:37 localhost kernel: audit(1144774057.708:38): avc:  granted  { execmem } for  pid=2570 comm="nautilus" scontext=root:system_r:unconfined_t:s0-s0:c0.c255 tcontext=root:system_r:unconfined_t:s0-s0:c0.c255 tclass=process
Apr 11 17:47:37 localhost kernel: audit(1144774057.712:39): avc:  granted  { execmem } for  pid=2570 comm="nautilus" scontext=root:system_r:unconfined_t:s0-s0:c0.c255 tcontext=root:system_r:unconfined_t:s0-s0:c0.c255 tclass=process
Apr 11 17:47:37 localhost kernel: audit(1144774057.712:40): avc:  granted  { execmem } for  pid=2570 comm="nautilus" scontext=root:system_r:unconfined_t:s0-s0:c0.c255 tcontext=root:system_r:unconfined_t:s0-s0:c0.c255 tclass=process
Apr 11 17:47:37 localhost kernel: audit(1144774057.712:41): avc:  granted  { execmem } for  pid=2570 comm="nautilus" scontext=root:system_r:unconfined_t:s0-s0:c0.c255 tcontext=root:system_r:unconfined_t:s0-s0:c0.c255 tclass=process
Apr 11 17:47:37 localhost kernel: audit(1144774057.716:42): avc:  granted  { execmem } for  pid=2570 comm="nautilus" scontext=root:system_r:unconfined_t:s0-s0:c0.c255 tcontext=root:system_r:unconfined_t:s0-s0:c0.c255 tclass=process
Apr 11 17:47:37 localhost kernel: audit(1144774057.716:43): avc:  granted  { execmem } for  pid=2570 comm="nautilus" scontext=root:system_r:unconfined_t:s0-s0:c0.c255 tcontext=root:system_r:unconfined_t:s0-s0:c0.c255 tclass=process
Apr 11 17:47:37 localhost system-config-network[2680]: chmod 0644 //etc/sysconfig/networking/devices/ifcfg-ntl
Apr 11 17:47:37 localhost system-config-network[2680]: chmod 0644 //etc/sysconfig/networking/devices/ifcfg-ntl
Apr 11 17:47:37 localhost system-config-network[2680]: chmod 0644 //etc/sysconfig/networking/devices/ifcfg-eth0
Apr 11 17:47:37 localhost system-config-network[2680]: chmod 0644 //etc/sysconfig/networking/devices/ifcfg-internet
Apr 11 17:47:38 localhost modprobe: WARNING: /etc/modprobe.conf line 7: ignoring bad line starting with 'options' 
Apr 11 17:47:38 localhost pppd[3693]: pppd 2.4.3 started by root, uid 0
Apr 11 17:47:38 localhost pppd[3693]: Using interface ppp0
Apr 11 17:47:38 localhost pppd[3693]: Connect: ppp0 <--> /dev/pts/1
Apr 11 17:47:38 localhost modprobe: WARNING: /etc/modprobe.conf line 7: ignoring bad line starting with 'options' 
Apr 11 17:47:39 localhost pppoe[3694]: Unable to set line discipline to N_HDLC.  Make sure your kernel supports the N_HDLC line discipline, or do not use the SYNCHRONOUS option.  Quitting.
Apr 11 17:47:39 localhost pppd[3693]: Modem hangup
Apr 11 17:47:39 localhost pppd[3693]: Connection terminated.
Apr 11 17:47:39 localhost pppd[3693]: Exit.
Apr 11 17:47:39 localhost adsl-connect: ADSL connection lost; attempting re-connection.
Apr 11 17:47:44 localhost pppd[3714]: pppd 2.4.3 started by root, uid 0
Apr 11 17:47:44 localhost pppd[3714]: Using interface ppp0
Apr 11 17:47:44 localhost kernel: audit(1144774064.101:44): avc:  granted  { execmem } for  pid=2570 comm="nautilus" scontext=root:system_r:unconfined_t:s0-s0:c0.c255 tcontext=root:system_r:unconfined_t:s0-s0:c0.c255 tclass=process
Apr 11 17:47:44 localhost modprobe: WARNING: /etc/modprobe.conf line 7: ignoring bad line starting with 'options' 
Apr 11 17:47:44 localhost pppd[3714]: Connect: ppp0 <--> /dev/pts/1
Apr 11 17:47:44 localhost pppoe[3715]: Unable to set line discipline to N_HDLC.  Make sure your kernel supports the N_HDLC line discipline, or do not use the SYNCHRONOUS option.  Quitting.
Apr 11 17:47:44 localhost pppd[3714]: Modem hangup
Apr 11 17:47:44 localhost pppd[3714]: Connection terminated.
Apr 11 17:47:44 localhost pppd[3714]: Exit.
Apr 11 17:47:44 localhost adsl-connect: ADSL connection lost; attempting re-connection.
Apr 11 17:47:49 localhost pppd[3741]: pppd 2.4.3 started by root, uid 0
Apr 11 17:47:49 localhost pppd[3741]: Using interface ppp0
Apr 11 17:47:49 localhost pppd[3741]: Connect: ppp0 <--> /dev/pts/1
Apr 11 17:47:49 localhost modprobe: WARNING: /etc/modprobe.conf line 7: ignoring bad line starting with 'options' 
Apr 11 17:47:49 localhost pppoe[3742]: Unable to set line discipline to N_HDLC.  Make sure your kernel supports the N_HDLC line discipline, or do not use the SYNCHRONOUS option.  Quitting.
Apr 11 17:47:49 localhost pppd[3741]: Modem hangup
Apr 11 17:47:49 localhost pppd[3741]: Connection terminated.
Apr 11 17:47:49 localhost pppd[3741]: Exit.
Apr 11 17:47:49 localhost adsl-connect: ADSL connection lost; attempting re-connection.
Apr 11 17:47:54 localhost pppd[3765]: pppd 2.4.3 started by root, uid 0
Apr 11 17:47:54 localhost pppd[3765]: Using interface ppp0
Apr 11 17:47:54 localhost pppd[3765]: Connect: ppp0 <--> /dev/pts/1
Apr 11 17:47:54 localhost modprobe: WARNING: /etc/modprobe.conf line 7: ignoring bad line starting with 'options' 
Apr 11 17:47:54 localhost pppoe[3766]: Unable to set line discipline to N_HDLC.  Make sure your kernel supports the N_HDLC line discipline, or do not use the SYNCHRONOUS option.  Quitting.
Apr 11 17:47:54 localhost pppd[3765]: Modem hangup
Apr 11 17:47:54 localhost pppd[3765]: Connection terminated.
Apr 11 17:47:54 localhost pppd[3765]: Exit.
Apr 11 17:47:54 localhost adsl-connect: ADSL connection lost; attempting re-connection.
Apr 11 17:47:59 localhost pppd[3791]: pppd 2.4.3 started by root, uid 0
Apr 11 17:47:59 localhost pppd[3791]: Using interface ppp0
Apr 11 17:47:59 localhost pppd[3791]: Connect: ppp0 <--> /dev/pts/1
Apr 11 17:47:59 localhost modprobe: WARNING: /etc/modprobe.conf line 7: ignoring bad line starting with 'options' 
Apr 11 17:47:59 localhost pppoe[3792]: Unable to set line discipline to N_HDLC.  Make sure your kernel supports the N_HDLC line discipline, or do not use the SYNCHRONOUS option.  Quitting.
Apr 11 17:47:59 localhost pppd[3791]: Modem hangup
Apr 11 17:47:59 localhost pppd[3791]: Connection terminated.
Apr 11 17:47:59 localhost pppd[3791]: Exit.
Apr 11 17:47:59 localhost adsl-connect: ADSL connection lost; attempting re-connection.
__________________
Caspar
Reply With Quote
  #6  
Old 11th April 2006, 06:06 PM
Nonc Offline
Registered User
 
Join Date: Mar 2006
Location: Nottingham, England
Age: 26
Posts: 17
part 2

Code:
Apr 11 17:48:04 localhost pppd[3815]: pppd 2.4.3 started by root, uid 0
Apr 11 17:48:04 localhost modprobe: WARNING: /etc/modprobe.conf line 7: ignoring bad line starting with 'options' 
Apr 11 17:48:04 localhost pppd[3815]: Using interface ppp0
Apr 11 17:48:04 localhost pppd[3815]: Connect: ppp0 <--> /dev/pts/1
Apr 11 17:48:04 localhost pppoe[3816]: Unable to set line discipline to N_HDLC.  Make sure your kernel supports the N_HDLC line discipline, or do not use the SYNCHRONOUS option.  Quitting.
Apr 11 17:48:04 localhost pppd[3815]: Modem hangup
Apr 11 17:48:04 localhost pppd[3815]: Connection terminated.
Apr 11 17:48:04 localhost pppd[3815]: Exit.
Apr 11 17:48:04 localhost adsl-connect: ADSL connection lost; attempting re-connection.
Apr 11 17:48:09 localhost pppd[3841]: pppd 2.4.3 started by root, uid 0
Apr 11 17:48:09 localhost modprobe: WARNING: /etc/modprobe.conf line 7: ignoring bad line starting with 'options' 
Apr 11 17:48:09 localhost pppoe[3842]: Unable to set line discipline to N_HDLC.  Make sure your kernel supports the N_HDLC line discipline, or do not use the SYNCHRONOUS option.  Quitting.
Apr 11 17:48:09 localhost pppd[3841]: Couldn't get channel number: Input/output error
Apr 11 17:48:09 localhost pppd[3841]: Exit.
Apr 11 17:48:09 localhost adsl-connect: ADSL connection lost; attempting re-connection.
Apr 11 17:48:14 localhost pppd[3853]: pppd 2.4.3 started by root, uid 0
Apr 11 17:48:14 localhost pppd[3853]: Using interface ppp0
Apr 11 17:48:14 localhost pppd[3853]: Connect: ppp0 <--> /dev/pts/1
Apr 11 17:48:14 localhost modprobe: WARNING: /etc/modprobe.conf line 7: ignoring bad line starting with 'options' 
Apr 11 17:48:14 localhost pppoe[3854]: Unable to set line discipline to N_HDLC.  Make sure your kernel supports the N_HDLC line discipline, or do not use the SYNCHRONOUS option.  Quitting.
Apr 11 17:48:14 localhost pppd[3853]: Modem hangup
Apr 11 17:48:14 localhost pppd[3853]: Connection terminated.
Apr 11 17:48:14 localhost pppd[3853]: Exit.
Apr 11 17:48:14 localhost adsl-connect: ADSL connection lost; attempting re-connection.
Apr 11 17:48:19 localhost pppd[3880]: pppd 2.4.3 started by root, uid 0
Apr 11 17:48:19 localhost pppd[3880]: Using interface ppp0
Apr 11 17:48:19 localhost pppd[3880]: Connect: ppp0 <--> /dev/pts/1
Apr 11 17:48:19 localhost modprobe: WARNING: /etc/modprobe.conf line 7: ignoring bad line starting with 'options' 
Apr 11 17:48:19 localhost pppoe[3881]: Unable to set line discipline to N_HDLC.  Make sure your kernel supports the N_HDLC line discipline, or do not use the SYNCHRONOUS option.  Quitting.
Apr 11 17:48:19 localhost pppd[3880]: Modem hangup
Apr 11 17:48:19 localhost pppd[3880]: Connection terminated.
Apr 11 17:48:19 localhost pppd[3880]: Exit.
Apr 11 17:48:19 localhost adsl-connect: ADSL connection lost; attempting re-connection.
Apr 11 17:48:24 localhost pppd[3904]: pppd 2.4.3 started by root, uid 0
Apr 11 17:48:24 localhost pppd[3904]: Using interface ppp0
Apr 11 17:48:24 localhost pppd[3904]: Connect: ppp0 <--> /dev/pts/1
Apr 11 17:48:24 localhost modprobe: WARNING: /etc/modprobe.conf line 7: ignoring bad line starting with 'options' 
Apr 11 17:48:24 localhost pppoe[3905]: Unable to set line discipline to N_HDLC.  Make sure your kernel supports the N_HDLC line discipline, or do not use the SYNCHRONOUS option.  Quitting.
Apr 11 17:48:24 localhost pppd[3904]: Modem hangup
Apr 11 17:48:24 localhost pppd[3904]: Connection terminated.
Apr 11 17:48:25 localhost pppd[3904]: Exit.
Apr 11 17:48:25 localhost adsl-connect: ADSL connection lost; attempting re-connection.
Apr 11 17:48:30 localhost pppd[3930]: pppd 2.4.3 started by root, uid 0
Apr 11 17:48:30 localhost pppd[3930]: Using interface ppp0
Apr 11 17:48:30 localhost pppd[3930]: Connect: ppp0 <--> /dev/pts/1
Apr 11 17:48:30 localhost modprobe: WARNING: /etc/modprobe.conf line 7: ignoring bad line starting with 'options' 
Apr 11 17:48:30 localhost pppoe[3931]: Unable to set line discipline to N_HDLC.  Make sure your kernel supports the N_HDLC line discipline, or do not use the SYNCHRONOUS option.  Quitting.
Apr 11 17:48:30 localhost pppd[3930]: Modem hangup
Apr 11 17:48:30 localhost pppd[3930]: Connection terminated.
Apr 11 17:48:30 localhost pppd[3930]: Exit.
Apr 11 17:48:30 localhost adsl-connect: ADSL connection lost; attempting re-connection.
Apr 11 17:48:35 localhost pppd[3954]: pppd 2.4.3 started by root, uid 0
Apr 11 17:48:35 localhost pppd[3954]: Using interface ppp0
Apr 11 17:48:35 localhost pppd[3954]: Connect: ppp0 <--> /dev/pts/1
Apr 11 17:48:35 localhost modprobe: WARNING: /etc/modprobe.conf line 7: ignoring bad line starting with 'options' 
Apr 11 17:48:35 localhost pppoe[3955]: Unable to set line discipline to N_HDLC.  Make sure your kernel supports the N_HDLC line discipline, or do not use the SYNCHRONOUS option.  Quitting.
Apr 11 17:48:35 localhost pppd[3954]: Modem hangup
Apr 11 17:48:35 localhost pppd[3954]: Connection terminated.
Apr 11 17:48:35 localhost pppd[3954]: Exit.
Apr 11 17:48:35 localhost adsl-connect: ADSL connection lost; attempting re-connection.
Apr 11 17:48:40 localhost pppd[3978]: pppd 2.4.3 started by root, uid 0
Apr 11 17:48:40 localhost pppd[3978]: Using interface ppp0
Apr 11 17:48:40 localhost pppd[3978]: Connect: ppp0 <--> /dev/pts/1
Apr 11 17:48:40 localhost modprobe: WARNING: /etc/modprobe.conf line 7: ignoring bad line starting with 'options' 
Apr 11 17:48:40 localhost pppoe[3979]: Unable to set line discipline to N_HDLC.  Make sure your kernel supports the N_HDLC line discipline, or do not use the SYNCHRONOUS option.  Quitting.
Apr 11 17:48:40 localhost pppd[3978]: Modem hangup
Apr 11 17:48:40 localhost pppd[3978]: Connection terminated.
Apr 11 17:48:40 localhost pppd[3978]: Exit.
Apr 11 17:48:40 localhost adsl-connect: ADSL connection lost; attempting re-connection.
i then went and tried in debug mode like u said and got

Code:
[root@localhost ~]# env DEBUG=1 /sbin/adsl-start
*** Running in debug mode... please be patient...
adsl-start: Cannot read configuration file '/etc/ppp/pppoe.conf'
__________________
Caspar
Reply With Quote
  #7  
Old 11th April 2006, 07:59 PM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,961
I've only some lines of investigation, no solution for you.

It is worth investigating, as the error log suggests, whether your kernel supports N_HDLC. What is the simplest way to do this? I looked around on the web and there seems to be a module called n_hdlc.o. So try /sbin/lsmod and see if it is in the list.

The error in line 7 of /etc/modprobe.conf makes one curious. What does that line look like?

Are you using a built-in ethernet card? Does the system have more than one kind of networking device such as ethernet and wireless?
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #8  
Old 11th April 2006, 09:49 PM
Nonc Offline
Registered User
 
Join Date: Mar 2006
Location: Nottingham, England
Age: 26
Posts: 17
/etc/modprobe.conf looks like this

Code:
alias eth0 8139too
alias scsi_hostadapter sata_via
alias snd-card-0 snd-via82xx
options snd-card-0 index=0  
options snd-via82xx index=0  
remove snd-via82xx { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-via82xx
options usbnet
options via-rhine irq=3  
options cdc_ether  irq=3 
alias eth2 cdc_ether
alias eth1 usbnet
n_hdlc.o. is not there and lsmod i cannot do anything with. it wont run in terminal or the text editor

no, its not through ethernet, its usb. i do have a network card in my computer but the modem is just plugged into one of my usb ports (ive seen all the stuff about how ethernet is better, but i know that it can work with usb). and there is nothing wireless about my computer.
__________________
Caspar
Reply With Quote
  #9  
Old 11th April 2006, 09:58 PM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,961
I don't understand what you meant by "i cannot do anything with. it wont run in terminal or the text editor". What were you trying to run? The lsmod command? Or the module n_hdlc.o? The module will not run. The command should run from a command line in a terminal.
/sbin/lsmod
Do you have a link to the directions you followed? Did they say to run adsl-setup ?
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #10  
Old 11th April 2006, 10:10 PM
Nonc Offline
Registered User
 
Join Date: Mar 2006
Location: Nottingham, England
Age: 26
Posts: 17
ah, sorry, thats me stuck in me windows ways. i went to it in file manager and couldnt do anything with it.

ive just been into terminal and ran it and i get

Code:
[root@localhost ~]# /sbin/lsmod
Module                  Size  Used by
ppdev                  42441  0
autofs4                55241  1
hidp                   83137  2
l2cap                  91585  5 hidp
bluetooth             116933  2 hidp,l2cap
sunrpc                192137  1
ip_conntrack_ftp       41361  0
ip_conntrack_netbios_ns    36033  0
ipt_REJECT             38977  1
xt_state               35265  5
ip_conntrack           92669  3 ip_conntrack_ftp,ip_conntrack_netbios_ns,xt_state
nfnetlink              40073  1 ip_conntrack
xt_tcpudp              36545  7
iptable_filter         36289  1
ip_tables              48385  1 iptable_filter
x_tables               48201  4 ipt_REJECT,xt_state,xt_tcpudp,ip_tables
vfat                   47041  1
fat                    86385  1 vfat
dm_mirror              54593  0
dm_mod                 90257  1 dm_mirror
video                  50505  0
button                 40545  0
battery                43337  0
ac                     38473  0
sg                     69097  0
ipv6                  398689  14
lp                     47633  0
parport_pc             62697  1
parport                74061  3 ppdev,lp,parport_pc
floppy                100617  0
nvram                  42441  0
usb_storage           103841  0
cdc_ether              39489  0
usbnet                 51785  1 cdc_ether
usblp                  47937  0
uhci_hcd               65505  0
ohci_hcd               54877  0
ehci_hcd               65229  0
snd_via82xx            63337  1
gameport               50385  1 snd_via82xx
snd_ac97_codec        136089  1 snd_via82xx
snd_ac97_bus           35777  1 snd_ac97_codec
snd_seq_dummy          37061  0
snd_seq_oss            66241  0
snd_seq_midi_event     41025  1 snd_seq_oss
snd_seq                89825  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            85457  0
snd_mixer_oss          50881  2 snd_pcm_oss
snd_pcm               126409  3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_timer              59465  2 snd_seq,snd_pcm
snd_page_alloc         44497  2 snd_via82xx,snd_pcm
snd_mpu401_uart        41665  1 snd_via82xx
snd_rawmidi            61249  1 snd_mpu401_uart
snd_seq_device         42833  4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd                    97129  11 snd_via82xx,snd_ac97_codec,snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
i2c_viapro             42713  0
i2c_core               57409  1 i2c_viapro
soundcore              44129  2 snd
8139too                61761  0
8139cp                 57025  0
mii                    38849  2 8139too,8139cp
ext3                  164945  1
jbd                    93929  1 ext3
sata_via               42693  0
libata                 94297  1 sata_via
sd_mod                 51009  0
scsi_mod              181905  4 sg,usb_storage,libata,sd_mod
and the n_hdlc.o module, i have no idea about. my little search didnt show anything
__________________
Caspar
Reply With Quote
  #11  
Old 11th April 2006, 10:26 PM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,961
The n_hdlc module doesn't show up so the error message about "Make sure your kernel supports the N_HDLC line discipline, or do not use the SYNCHRONOUS option." makes sense. There is a command called "modprobe" to insert modules in the kernel.

But before we try that, explain to me what directions you were following. Did they assume you were using the ethernet card or were they specifically for the usb cable modem? What does
/sbin/ifconfig
show when your cable modem is plugged-in Does it show one network device "eth0" or two ("eth0" and "eth1"). Is it possible that the directions you are using assume you are using "eth0"?
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #12  
Old 11th April 2006, 10:43 PM
Nonc Offline
Registered User
 
Join Date: Mar 2006
Location: Nottingham, England
Age: 26
Posts: 17
if you mean the directions to set up the xdsl connection.

i installed fedora core 5 and was not able to connect to the internet. so i, like a newbie, tried to use my windows disk. that didnt work so i posted on a forum to see what to do, they said that the driver is supported and i just need to go to network and setup a new xDSL connection and put in my stuff and id be away, but i kept getting this error message.

on the network thing it comes up with ambit being as etho2 (i think) but was told that that wouldnt matter. so on my xdsl connection properties box its using etho2 Ambit USB cable modem.

/sbin/ifconfig gives me this
Code:
[root@localhost ~]# /sbin/ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1781 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1781 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1916593 (1.8 MiB)  TX bytes:1916593 (1.8 MiB)
__________________
Caspar
Reply With Quote
  #13  
Old 12th April 2006, 01:43 AM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,961
Neither eth0 or eth1 are running according to that output.

Did your internet provider say that they used aDSL as opposed to hDSL or some other kind of DSL? If they say they want you to use aDSL then try running /usr/sbin/adsl-setup . You don't have to really set up the connection. (You can interrupt the process with CTRL-C.) But get an idea of the kind of things that it asks and see if you have the answers.
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #14  
Old 12th April 2006, 10:49 AM
Nonc Offline
Registered User
 
Join Date: Mar 2006
Location: Nottingham, England
Age: 26
Posts: 17
my internet provider has said nothing, so i dont know what kind of DSL im using.

i tried that /usr/sbin/adsl-setup and this is what happens ( ive removed all the stuff of me entering the info.

Code:
** Summary of what you entered **

Ethernet Interface: eth2
User name:          nonclercq
Activate-on-demand: No
Primary DNS:        194.168.8.100
Secondary DNS:      194.168.4.100
Firewalling:        STANDALONE
User Control:       yes
Accept these settings and adjust configuration files (y/n)? y
Adjusting /etc/sysconfig/network-scripts/ifcfg-ppp0
Adjusting /etc/resolv.conf
Adjusting /etc/ppp/chap-secrets and /etc/ppp/pap-secrets
  (But first backing it up to /etc/ppp/chap-secrets.bak)
  (But first backing it up to /etc/ppp/pap-secrets.bak)



Congratulations, it should be all set up!

Type '/sbin/ifup ppp0' to bring up your xDSL link and '/sbin/ifdown ppp0'
to bring it down.
Type '/sbin/adsl-status /etc/sysconfig/network-scripts/ifcfg-ppp0'
to see the link status.

[root@localhost ~]# /sbin/ifup ppp0
/sbin/adsl-start: line 216:  3652 Terminated              $CONNECT "$@" >/dev/null 2>&1
[root@localhost ~]# /sbin/adsl-status /etc/sysconfig/network-scripts/ifcfg-ppp0
adsl-status: Link is down (can't read pppoe PID file /var/run/pppoe-adsl.pid.pppoe)
the DNS servers i got from windows in my network connections panel from control panel.

i had fiddle on network, and ur right, its as if its not plugged in. i checked, it is (it must be cus im using it in windows to write this message). it does come up as an ethernet thing tho. and it is eth2.

if i need to phone up my internet provider and ask them something, i can, just tell me what to ask, and what kind of thing i need.
__________________
Caspar
Reply With Quote
  #15  
Old 12th April 2006, 02:55 PM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,961
Try the command
/sbin/ifup ppp0
See if it the interface eth2 is running with the command
/sbin/ifconfig
If not try
/sbin/ifconfig eth2 up
And see if eth2 will come up.
If it will, try /sbin/ifup/ppp0 and see if you can use your browser.
If it won't, look in /var/log/messages and see if you have that same error about N_HDLC. If you have that error, I think the logical step is to try to add the n_hdlc module to the kernel.
Since you knew the answers for adsl-setup, the only thing to ask the ISP is to request troubleshooting tips. Does the ISP have a website?
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
Reply

Tags
$connect, > or dev or null, 2>, 216, 4032, line, or sbin or adslstart, terminated

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
error with the code line fopen("/proc/uptime", "r") A_n_H Programming & Packaging 4 21st May 2009 04:20 PM
Sound card issue. "Null Output" Ry J Using Fedora 3 27th February 2009 08:08 PM
Fedora PPPOE Connecting (/usr/sbin/adsl-start: line 217:) technotux Servers & Networking 0 28th January 2008 03:50 PM
Scroll down to the last line by "end" key in "less" using "Terminal GNOME&q Szpak Using Fedora 0 7th June 2004 02:24 AM
Couldn't display "SMB:///" , No host "(Null)" could been Found?????? help please munkey Using Fedora 4 12th May 2004 11:31 PM


Current GMT-time: 11:33 (Wednesday, 17-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat