Find the answer to your Linux question:
Results 1 to 9 of 9
I'm using mandrake 10.1 I have a conexant modem I have installed the linuxant drivers and can browse quite happily. However when ever I restart my machine I loose my ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2005
    Location
    Rotorua, NZ
    Posts
    21

    modems and modules


    I'm using mandrake 10.1

    I have a conexant modem

    I have installed the linuxant drivers and can browse quite happily. However when ever I restart my machine I loose my modem and have to run hsfconfig all over again.

    I assume it's a case of modules but I don't know how to make sure a module is loaded during start up.

    I should add that when I run hsfconfig my details are already there. I just have to answer Y use the drivers already found and then press enter through everything else.

    Any ideas?

  2. #2
    Just Joined!
    Join Date
    Feb 2005
    Location
    Rotorua, NZ
    Posts
    21
    Is bumping allowed? This is the last thing preventing a seamless linux experience

  3. #3
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    To figure out what modules are loaded on your system, go to a terminal and type in:

    lsmod
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  4. #4
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    Once you figure out which module your modem uses, you should be able to add the module name to a file in /etc. I think for Mandrake 10.1 it would be:

    /etc/modprobe.preload
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  5. #5
    Just Joined!
    Join Date
    Feb 2005
    Location
    Rotorua, NZ
    Posts
    21
    Thanks, I'll try that out in my lunch break

  6. #6
    Just Joined!
    Join Date
    Feb 2005
    Location
    Rotorua, NZ
    Posts
    21

    New Problem

    Now the modules are loading automatically but I still need to run hsfconfig or KPPP gives the error

    unable to find /dev/modem

    It seems that when I shut down /dev/modem dissapears.

    more help please

  7. #7
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    It is possible that the lines inserted in the '/etc/modprobe.conf' file
    by the 'hsfconfig' script are removed after each reboot.

    Lines are added to /etc/modprobe.conf after you run hsfconfig. If you place those lines in /etc/rc.local, it may help. Sorry, but I'm not all that familiar with hsfconfig these days...I've had broadband for years.
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  8. #8
    Just Joined!
    Join Date
    Feb 2005
    Location
    Rotorua, NZ
    Posts
    21
    I'd like to convince my wife that we need hi speed internet...

    I'll try your suggestion as soon as I can, thanks

  9. #9
    Just Joined!
    Join Date
    Feb 2005
    Location
    Rotorua, NZ
    Posts
    21
    okay I opened /etc/modprobe.conf and it was full of hsf entries. Then I opened /etc/rc.local and I didn't recognise a thing.

    below is my rc.local could you tell where I'd insert the lines?

    Code:
    #!/bin/sh
    #
    # This script will be executed *after* all the other init scripts.
    # You can put your own initialization stuff in here if you don't
    # want to do the full Sys V style init stuff.
    
    [ -f /etc/sysconfig/system ] && source /etc/sysconfig/system
    [ -f /etc/sysconfig/msec ] && source /etc/sysconfig/msec
    [ -z "$SECURE_LEVEL" ] && SECURE_LEVEL=3
    [ -f /etc/sysconfig/init ] && source /etc/sysconfig/init
    if [ $SECURE_LEVEL -lt 4 ]; then
        [ -z "$REWRITEISSUE" ] && REWRITEISSUE=rewrite
        if [ $SECURE_LEVEL -lt 3 ]; then
    	[ -z "$REWRITEISSUENET" ] && REWRITEISSUENET=rewrite
        fi
    fi
    
    SYSTEM=${SYSTEM=Mandrakelinux}
    
    # Source functions
    . /etc/init.d/functions
    
    if [ "$REWRITEISSUE" = "rewrite" -a -f /etc/mandrake-release ]; then
        R=$(cat /etc/mandrake-release)
    
        arch=$(uname -m)
        a="a"
        case "_$arch" in
    	    _a*) a="an";;
    	    _i*) a="an";;
        esac
        
        NUMPROC=`egrep -c "^cpu[0-9]+" /proc/stat`
        if [ "$NUMPROC" -gt "1" ]; then
            SMP="$NUMPROC-processor "
    	[ "$NUMPROC" = "2" ] && \
    	SMP="Dual-processor "
            if [ "$NUMPROC" = "8" -o "$NUMPROC" = "11" ]; then
                a="an"
    	else
    	    a="a"
            fi
        fi
    
        # This will overwrite /etc/issue at every boot.  So, make any changes you
        # want to make to /etc/issue here or you will lose them when you reboot.
    
        if [ -x /usr/bin/linux_logo ]; then
    	/usr/bin/linux_logo -n -f | sed -e 's|\\|\\\\|g' > /etc/issue
    	echo "" >> /etc/issue
        else
    	> /etc/issue
        fi
        echo "$R" >> /etc/issue
        echo "Kernel $(uname -r) on $a $SMP$(uname -m) / \l" >> /etc/issue
        
        if [ "$REWRITEISSUENET" = "rewrite" ]; then
    	echo "Welcome to ${HOST}" > /etc/issue.net
    	echo "$R" >> /etc/issue.net
    	echo "Kernel $(uname -r) on $a $SMP$(uname -m)" >> /etc/issue.net
        else
    	NAME="$SYSTEM"
    	gprintf "Welcome to %s\n" "$NAME" > /etc/issue.net
    	echo "-------------------------" >> /etc/issue.net
        fi
    else
        if [ -f /etc/security/msec/issue.$SECURE_LEVEL ]; then
    	cat /etc/security/msec/issue.$SECURE_LEVEL > /etc/issue
        elif [ -f /etc/security/msec/issue ]; then
    	cat /etc/security/msec/issue > /etc/issue
        else
    	rm -f /etc/issue
        fi
        if [ -f /etc/security/msec/issue.net.$SECURE_LEVEL ]; then
    	cat /etc/security/msec/issue.net.$SECURE_LEVEL > /etc/issue.net
        elif [ -f /etc/security/msec/issue.net ]; then
    	cat /etc/security/msec/issue.net > /etc/issue.net
        else
    	rm -f /etc/issue.net
        fi
    fi
    
    touch /var/lock/subsys/local

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •