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]

 



Hogat if you got it to work in /etc/modprobe.conf, then the line

       /bin/mknod -m  660 /dev/slamr0 c 242 0 2>/dev/null && chgrp
uucp /dev/slamr0

is not needed in /etc/rc.d/init.d/slmodemd script.  Try removing that
line.  Also please remove the service momemntarily. (slmodemd service)

$ su -
passwd:
# chkconfig slmodemd off
check that it is off
# chkconfig slmodemd --list

then (try manually first) to make sure that it works, otherwise we are
beating the head against the wall

# modprobe ungrab-winmodem
# modprobe slamr
please do this also to make sure /dev/slamr0 exists :)
# ls /dev/slamr -l

then do a
# slmodemd -c USA /dev/slamr0

leave that as is and open up a tab or another terminal then do
$ su -
passwd:
# wvdialconf /etc/wvdial.conf

if
# slmodedmd -c USA /dev/slamr0 does not work, then please send output of
# dmesg | grep 'slamr'

Regards,

Antonio

On 12/7/08, hogat allah shahamiri <hogat_allah_sh@xxxxxxxxx> wrote:
> hi
>
> this is  start()  in the    /etc/rc.d/init.d/slmodemd  :
>
> start() {
> 	modprobe ungrab-winmodem
> 	modprobe slamr
> 	/bin/mknod -m  660 /dev/slamr0 c 242 0 2>/dev/null && chgrp uucp
> /dev/slamr0
> 	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
> }
>
> this is /etc/modprobe.conf :
>
> 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
>
> this is termial :
>
> [root@localhost ~]# ls /dev/sla* -l
> crw-rw---- 1 root root 242, 0 2007-06-18 17:38 /dev/slamr0
> [root@localhost ~]# modprobe ungrab-winmodem
> [root@localhost ~]# modprobe slamr
> [root@localhost ~]# '/etc/init.d/slmodemd' restart
> Starting SmartLink Modem driver for slamr0:                [  OK  ]
> [root@localhost ~]# slmodemd -c USA /dev/slamr0
> error: mdm setup: cannot open dev `/dev/slamr0': No such device
> error: cannot setup device `/dev/slamr0'
> [root@localhost ~]#
>
> now what doing ?
> thanks.
> hogat
>
>
>
>
>
>
>
>
> --- 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 shahamiri" <hogat_allah_sh@xxxxxxxxx>
>> Cc: discuss@xxxxxxxxxxxxx
>> Date: Sunday, 7 December, 2008, 5:06 AM
>> Hogat,
>>
>> Maximize gedit and then cut and paste little by little till
>> the end of the line
>>
>> 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)
>>
>> If you can't get it to put all of that in one line,
>> your other option is to put in the the command in start{
>> procedure
>> after
>> modprobe ungrab-winmodem
>> modprobe slamr
>> mknod -m 660 /dev/slamr0
>>
>> and then it should work, but please try to put it in one
>> line.
>>
>> Regards,
>>
>> Antonio
>
>
>
>
>
>       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/
>
>

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

  Powered by Linux