Re: my modem is smartHCF or smart link ltd how install it on fedora7 and fedora9?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



excuse me i forget attach it 
now again

hi 
i get error

attached
/etc/modprobe.conf with name m.txt 
and
/etc/rc.d/init.d/slmodemd with name s.txt
see them please
this is my terminal  

[root@localhost ~]# '/etc/init.d/slmodemd' restart
/etc/init.d/slmodemd: line 35: ===: No such file or directoryAILED]
/etc/init.d/slmodemd: line 36: ===: No such file or directory
/etc/init.d/slmodemd: line 39: --country=USA: command not found
: command not foundd: line 39: 
: integer expression expected: [: 127
: command not foundd: line 41: failure
: command not foundd: line 42: slmodemd startup
: command not foundd: line 43: echo
: integer expression expected: [: 127
: numeric argument required45: return: 127

--------------
i cant write
"  install slamr modprobe --ignore-install ungrab-winmodem ;
modprobe
--ignore-install slamr; test -e /dev/slamr0 || (/bin/mknod -m
660
/dev/slamr0 c 242 0 2>/dev/null && chgrp uucp /dev/slamr0)"
in one line with gedit
---------------------
slamr0 is exist in /dev

now what my mistake? and what i doing?
after correcting error i should what doing
thnks.
i now wating

--- On Sun, 7/12/08, Antonio Olivares <olivares14031@xxxxxxxxx> wrote:

> From: Antonio Olivares <olivares14031@xxxxxxxxx>
> Subject: Re: my modem is smartHCF or smart link ltd how install it on fedora7 and fedora9?
> To: hogat_allah_sh@xxxxxxxxx
> Cc: discuss@xxxxxxxxxxxxx
> Date: Sunday, 7 December, 2008, 12:46 AM
> Try to read here a bit:
> 
> http://www20.brinkster.com/olivares/slmodemd-setup-1.html
> 
> Add a line to /etc/modprobe.conf first
> 
> install slamr modprobe --ignore-install ungrab-winmodem ; 
> modprobe
> --ignore-install slamr; test -e /dev/slamr0 || (/bin/mknod
> -m 660
> /dev/slamr0 c 242 0 2>/dev/null && chgrp uucp
> /dev/slamr0)
> 
> as a whole line no spaces, otherwise you will see error
> message.
> 
> Modify start{
> procedure to add the following:
> 
> /* start() procedure from slmodemd script
> /etc/rc.d/init.d/slmodemd
> start() {
>         modprobe ungrab-winmodem  <=== add this and
>         modprobe slamr                      <=== this
>         echo -n "Starting SmartLink Modem driver for
> $SLMODEMD_DEVICE: "
>         $prog /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
> }
> 
> Otherwise might be that this is chipset is not supported by
> slamr driver?
> 
> Regards,
> 
> Antonio
> 
> On 12/6/08, hogat allah shahamiri
> <hogat_allah_sh@xxxxxxxxx> wrote:
> > i act this but befor see this please
> > -----
> > [root@localhost ~]#gedit /etc/rc.modules    ------>
>   I insert to it
> > modprobe slamr
> > [root@localhost ~]#cd 
> /root/Desktop/m/slmodem-2.9.11-20080126
> > #[root@localhost
> /root/Desktop/m/slmodem-2.9.11-20080126]cp scripts/slmodemd
> > /etc/init.d/
> > [root@localhost ~]# chkconfig -- add slmodemd
> > chkconfig version 1.3.34 - Copyright (C) 1997-2000 Red
> Hat, Inc.
> > This may be freely redistributed under the terms of
> the GNU Public License.
> >
> > usage:   chkconfig --list [name]
> >          chkconfig --add <name>
> >          chkconfig --del <name>
> >          chkconfig --override <name>
> >          chkconfig [--level <levels>]
> <name> <on|off|reset|resetpriorities>
> > [root@localhost ~]# chkconfig slmodemd on
> > [root@localhost ~]# service slmodemd start
> > Starting SmartLink Modem driver for slamr0:           
>     [  OK  ]
> > [root@localhost ~]#
> > ----------------
> >
> > [root@localhost ~]# modprobe ungrab-winmodem
> > [root@localhost ~]# modprobe slamr
> > [root@localhost ~]# /usr/sbin/slmodemd --country=USA
> /dev/slamr0
> > error: mdm setup: cannot stat `/dev/slamr0': No
> such file or directory
> > error: cannot setup device `/dev/slamr0'
> > [root@localhost ~]# dmesg | grep slamr
> > slamr: module license 'Smart Link Ltd.' taints
> kernel.
> > slamr: SmartLink AMRMO modem.
> > slamr: probe 2000:2800 ï؟½\$
> ï؟½ï؟½ï؟½ï؟½ï؟½ï؟½t$ ï؟½|$ ï؟½ï؟½
> ï؟½ï؟½G 0
> > card...
> > slamr: cannot create card.
> > slamr: probe of 0000:04:01.0 failed with error -12
> > [root@localhost ~]#
> >
> > ---------------
> > what is your opinion
> > regard
> >
> >
> > --- On Sat, 6/12/08, Antonio Olivares
> <olivares14031@xxxxxxxxx> wrote:
> >
> >> From: Antonio Olivares
> <olivares14031@xxxxxxxxx>
> >> Subject: Re: my modem is smartHCF or smart link
> ltd how install it on
> >> fedora7 and fedora9?
> >> To: hogat_allah_sh@xxxxxxxxx
> >> Cc: discuss@xxxxxxxxxxxxx,
> marvin.stodolsky@xxxxxxxxx
> >> Date: Saturday, 6 December, 2008, 6:22 PM
> >> Hogat,
> >>
> >> First login as a regular user, then open a
> terminal and try
> >> the commands:
> >>
> >> $ su -
> >> passwd:
> >> # modprobe ungrab-winmodem
> >> # modprobe slamr
> >> # slmodemd -c USA /dev/slamr0
> >>
> >> if last step fails try putting in
> >> # mknod -m 600 /dev/slamr0 c 242 0
> >> then this one again
> >> # slmodemd -c USA /dev/slamr0
> >>
> >> Should you run into trouble, please write and show
> us your
> >> steps to fix this.
> >>
> >> Regards,
> >>
> >> Antonio
> >>
> >> On Sat, Dec 6, 2008 at 2:12 AM, hogat allah
> shahamiri
> >> <hogat_allah_sh@xxxxxxxxx> wrote:
> >> > hi
> >> > i am now and at first login as root user
> >> >  and this resault of your code:
> >> >
> >> > [root@localhost ~]# exit           ---> 
> terminal
> >> closed .
> >> > [root@localhost ~]# su -
> >> > [root@localhost ~]# modprobe ungrab-winmodem
> >> > [root@localhost ~]# modprobe slamr
> >> > [root@localhost ~]# /usr/sbin/slmodemd
> --country=USA
> >> /dev/slamr0
> >> > error: mdm setup: cannot stat
> `/dev/slamr0': No
> >> such file or directory
> >> > error: cannot setup device `/dev/slamr0'
> >> > [root@localhost ~]#
> >> > --------------with other user
> >> > [ommat@localhost ~]$ su -
> >> > Password:
> >> > [root@localhost ~]#  modprobe ungrab-winmodem
> >> > [root@localhost ~]#  modprobe slamr
> >> > [root@localhost ~]# /usr/sbin/slmodemd
> --country=USA
> >> /dev/slamr0
> >> > error: mdm setup: cannot stat
> `/dev/slamr0': No
> >> such file or directory
> >> > error: cannot setup device `/dev/slamr0'
> >> > [root@localhost ~]#
> >> > --------------
> >> > now what i would doing?
> >> > thanks
> >> > hogat.
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >> type exit
> >> >> and then you get back to $
> >> >> then
> >> >> $ su -
> >> >> password:
> >> >> # modprobe ungrab-winmodem
> >> >> # modprobe slamr
> >> >> then do
> >> >> # /usr/sbin/slmodemd --country=USA
> /dev/slamr0
> >> >>
> >> >> You should get it working.
> >> >>
> >> >> Regards,
> >> >
> >> >
> >> >
> >> >      New Email addresses available on Yahoo!
> >> > Get the Email name you've always wanted
> on the new
> >> @ymail and @rocketmail.
> >> > Hurry before someone else does!
> >> >
> http://mail.promotions.yahoo.com/newdomains/aa/
> >> >
> >> >
> >
> >
> >       New Email names for you!
> > Get the Email name you&#39;ve always wanted on the
> new @ymail and
> > @rocketmail.
> > Hurry before someone else does!
> > http://mail.promotions.yahoo.com/newdomains/aa/
> >
> >


      New Email addresses available on Yahoo!
Get the Email name you&#39;ve always wanted on the new @ymail and @rocketmail. 
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/
install slamr modprobe --ignore-install ungrab-winmodem ; 
modprobe
--ignore-install slamr; test -e /dev/slamr0 || (/bin/mknod -m 
660
/dev/slamr0 c 242 0 2>/dev/null && chgrp uucp /dev/slamr0)
alias scsi_hostadapter ata_piix
alias snd-card-0 snd-hda-intel
options snd-card-0 index=0  
options snd-hda-intel index=0  
alias eth0 r8169
#!/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() {
	modprobe ungrab-winmodem <=== add this and
	modprobe slamr <=== this
	echo -n "Starting SmartLink Modem driver for $SLMODEMD_DEVICE: "
	$prog /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


[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux