Just a few suggestions, start in runlevel 2 (multiuser, no network) and 
try loading the network modules manually. Experiment with the 'eth1' card 
connected to your LAN first. If it's that SMC USB thing that Telstra 
supply it's the pegasus module. 

I found that occasionally on boot up on my system sometimes the USB one 
didn't start up on time, depending on the timing of loading modules eth0 
and eth1 were swapped. I wrote a little script to launch before the 
/etc/rc.d/init.d/network gets run which ensures the modules are loaded in 
the correct order, if not it unloads & reloads them! Just save this in 
/etc/rc.d/init.d, run ntsysv and turn on ethmodule.

Took me a while to go from symtoms to problem, then after overcoming my 
disbelief the solution was easy.

On Thu, 24 Jan 2002, Kevin Waterson wrote:

> I am setting up telstral ADSL and having a problem with eth1
> this a new install of RH 7.2
> 
> I have eth0 setup and running fine, it is activated at boot,
> for eth1 I do
> ifconfig eth1 up
> 
> and /var/log/messages/ replies
> Jan 24 15:11:57 anthem gconfd (root-1305): Successfully registered 
>`OAFIID:gconfd:19991118'
> 
> Jan 24 15:12:00 anthem kernel: cdrom: This disc doesn't have any tracks I recognize!
> 
> Jan 24 15:12:01 anthem xinetd[1313]: warning: can't get client address: Transport 
>endpoint is not connected
> 
> Jan 24 15:15:43 anthem kernel: eth1: Setting half-duplex based on auto-negotiated 
>partner ability 0000.
> 
> 
> 
> and if I try adsl-start it says
> 
> Jan 24 15:16:51 anthem modprobe: modprobe: Can't locate module eth1^M
> 
> Jan 24 15:16:51 anthem last message repeated 2 times
> 
> Jan 24 15:16:51 anthem kernel: CSLIP: code copyright 1989 Regents of the University 
>of California
> 
> Jan 24 15:16:51 anthem kernel: PPP generic driver version 2.4.1
> 
> Jan 24 15:16:51 anthem adsl-connect: ADSL connection lost; attempting re-connection.
> 
> Jan 24 15:16:56 anthem adsl-connect: ADSL connection lost; attempting re-connection.
> 
> Jan 24 15:16:57 anthem gconfd (root-1305): 20 items remain in the cache after 
>cleaning already-synced items older than 300 seconds
> 
> Jan 24 15:17:01 anthem adsl-connect: ADSL connection lost; attempting re-connection.
> 
> 
> 
> Any tips here would be much appreciated
> 
> Kind regards
> 
> Kevin
> 
> 
> 
> 

-- 
---<GRiP>--- 
Web: www.arcadia.au.com/gripz 
Phone/fax: 02 4950 1194   
Mobile: 0408 686 201


#!/bin/bash
#
# ethmodule       Load / Unload ethernet modules in correct order
#
# chkconfig: 2345 6 90
# description: Determines if the modules are loaded and if so, are they
#              loaded in the correct order, will reload if necessary.
#              Should be used early on before network started.
#              
# probe: true

case "$1" in
  start)
        IF0=`/sbin/ifconfig eth0`
        IF1=`/sbin/ifconfig eth1`
        IF0m=`/sbin/ifconfig eth0 | grep Interrupt`
        IF1m=`/sbin/ifconfig eth1 | grep Interrupt`
        if [ "x$IF0" = "x" ]; then
                echo "Loading both ethernet modules"
                # load eth0
                /sbin/modprobe pegasus
                # load eth1
                /sbin/modprobe tulip
        else
                # there is an eth0 already
                if [ ! "x$IF0m" = "x" ]; then
                        echo "Modules in wrong order, reloading"
                        # tulip on eth0 (ie ass about)
                        /sbin/modprobe -r tulip
                        /sbin/modprobe -r pegasus
                        /sbin/modprobe pegasus
                        /sbin/modprobe tulip
                else
                        echo "Pegasus already on eth0"
                        if [ ! "x$IF1" = "x" ]; then
                                echo "Loading tulip on eth1"
                                /sbin/modprobe tulip
                        else
                                echo "Tulip already on eth1"
                        fi
                fi
        fi
        ;;
  stop)
        echo "Unloading ethernet modules (if network not up)"
        /sbin/modprobe -r pegasus
        /sbin/modprobe -r tulip
        ;;
  status)
        IF0=`/sbin/ifconfig eth0`
        IF1=`/sbin/ifconfig eth1`
        IF0m=`/sbin/ifconfig eth0 | grep Interrupt`
        IF1m=`/sbin/ifconfig eth1 | grep Interrupt`
        if [ ! "x$IF0" = "x" ]; then
                if [ "x$IF0m" = "x" ]; then
                        echo "Pegasus (USB SMC) loaded on eth0"
                else
                        echo "PCI NIC on eth0"
                fi
        else
                echo "No eth0 module loaded"
        fi
        if [ ! "x$IF1" = "x" ]; then
                if [ "x$IF1m" = "x" ]; then
                        echo "Pegasus (USB SMC) loaded on eth1"
                else
                        echo "PCI NIC on eth1"
                fi
        else
                echo "No eth1 module loaded"
        fi
        ;;
  restart)
        $0 stop
        $0 start
        ;;
  *)
        echo $"Usage: $0 {start|stop|restart|status}"
        exit 1
esac

exit 0

Reply via email to