do you know a specific linmodem that works?

Antonio Olivares olivares14031 at yahoo.com
Fri Jul 15 02:27:23 UTC 2005



--- Claude Jones <claude_jones at levitjames.com> wrote:

> On Thu July 14 2005 9:34 pm, Antonio Olivares wrote:
> >
> > Get a Smartlink PCI modem.  They are pretty cheap
> and
> > they work well with some minor modifications.  For
> > only $6.50 + Shipping & Handling from
> > http://shopnow123.safeshopper.com/13/cat13.htm?71
> >
> Well, could you point me to a page that shows how to
> get this one going? When 
> you speak of 'minor modifications' could you give me
> a sense of what you 
> mean?  According to one database I linked to from
> linmodems.org, the 
> SmartLink 1900 is 'not working'. 
> 
> That price is definitely right <g>
> -- 
> Claude Jones
> Bluemont, VA, USA
> 
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe:
> http://www.redhat.com/mailman/listinfo/fedora-list
> 

That same exact modem is the one that I am using. 
Setup is not that hard, in fact there is a help page 

http://linmodems.technion.ac.il/smartlink.setup.html

However for the newer Fedora Core 4, I had to change
things slightly.  You have to download
slmodem-2.9.9e-pre1.tar.gz, and ungrab-winmodem.tar.gz
from 
http://linmodems.technion.ac.il/packages/smartlink/.

Apply what was on the smartlink.setup.html, but
because of ungrab-winmodem, the automatic loading of
slmodemd at boot time is changed.  Apply the following
as root user open up and edit /etc/rc.local and cut
and past to match this one 

[olivares at localhost ~]$ cat /etc/rc.local
#!/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.

touch /var/lock/subsys/local
echo -n "Loading ungrab-winmodem driver from kernel
... "
modprobe ungrab-winmodem
modprobe slamr
rmmod slamr
sleep 3
[olivares at localhost ~]$

also, in /etc/init.d/slmodemd to match this one 

[olivares at localhost ~]$ cat /etc/init.d/slmodemd
#!/bin/sh
#
# slmodemd:    Starts the SmartLink Modem Daemon
#
# chkconfig: 345 90 10
# description: This is the user space part of the
SmartLink Modem driver
# processname: slmodemd
# config: /etc/sysconfig/slmodem

# Source function library.
. /etc/init.d/functions

prog=slmodemd
RETVAL=0

# Default configuration
SLMODEMD_DEVICE=slamr0
SLMODEMD_COUNTRY=USA

# Source configuration
CONFIG=/etc/sysconfig/$prog
if [ -f $CONFIG ]; then
        . $CONFIG
        # override default group and permissions if
defined in $CONFIG;
        # other valid options also can be put into
SLMODEMD_OPTS variable
        [ "$GROUP" ] && SLMODEMD_OPTS="$SLMODEMD_OPTS
--group=$GROUP"
        [ "$PERMS" ] && SLMODEMD_OPTS="$SLMODEMD_OPTS
--perm=$PERMS"
fi

# uncomment this if you want this feature (if
necessary edit module pattern):
# do not try to start on a kernel which does not
support it
# grep -q 'slamr\..*o' /lib/modules/`uname
-r`/modules.dep || exit 0

start() {
        cat /proc/modules | grep 'slamr' >/dev/null ||
{
          echo -n "Loading SmartLink Modem driver into
kernel ... "
          modprobe slamr && echo "done." || {
            echo "failed."
            exit -1
          }
        }
        echo -n "Starting SmartLink Modem driver for
$SLMODEMD_DEVICE: "
        $prog </dev/null >/dev/null 2>/dev/null \
            --country=$SLMODEMD_COUNTRY $SLMODEMD_OPTS
/dev/$SLMODEMD_DEVICE &
        RETVAL=$?
        [ $RETVAL -eq 0 ] && success $"$prog startup"
|| failure $"$prog startup"
        echo
        [ $RETVAL -eq 0 ] && touch
/var/lock/subsys/$prog
        return $RETVAL
}

stop() {
        echo -n "Shutting down SmartLink Modem driver:
"
        killproc $prog
        RETVAL=$?
        [ $RETVAL -eq 0 ] && rm -f
/var/lock/subsys/$prog
        return $RETVAL
}

# See how we were called.
case "$1" in
  start)
        start
        ;;
  stop)
        stop
        ;;
  status)
        status $prog
        RETVAL=$?
        ;;
  restart|reload)
        stop
        start
        RETVAL=$?
        ;;
  condrestart)
        if [ -f /var/lock/subsys/$prog ]; then
                stop
                start
                RETVAL=$?
        fi
        ;;
  *)
        echo "*** Usage: $prog
{start|stop|status|restart|condrestart}"
        exit 1
esac

exit $RETVAL

If you have questions or concerns, do not hestitate to
email.  The archives at discuss at linmodems.org will
also prove very beneficial.

Kind Regards,

Antonio

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the fedora-list mailing list