Re: slamr & 2.6.27-14 generic

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

 



Thanks Marvin
I modified the script as you suggested and got the following:

trevorj@trevorj-desktop:/media/disk/slamr-2.6.27-14-generic$
sudo ./setup
installing drivers for kernel version 2.6.27-14-generic
driver=slamr

Installing the Debian packages supporting autoloading
(Reading database ... 155179 files and directories currently installed.)
Preparing to replace sl-modem-daemon 2.9.10+2.9.9d+e-pre2-5ubuntu4
(using sl-modem-daemon_2.9.10+2.9.9d+e-pre2-5ubuntu4_i386.deb) ...
Shutting down SmartLink Modem driver normally ... no slmodemd daemon
running.
Unloading modem driver from kernel ... slamr.
Unpacking replacement sl-modem-daemon ...
Setting up sl-modem-daemon (2.9.10+2.9.9d+e-pre2-5ubuntu4) ...
The system user `Slmodemd' already exists. Exiting.
update-rc.d: warning: /etc/init.d/sl-modem-daemon missing LSB style
header
Starting SmartLink Modem driver for: slamr0.
Creating /dev/modem symlink, pointing to: /dev/ttySL0.


Copying over newer files
Making folder /lib/modules/2.6.27-14-generic/extra
Copying drivers to /lib/modules/2.6.27-14-generic/extra
Checking driver install
slamr.ko  slusb.ko  ungrab-winmodem.ko
Copying newer slmodemd to /usr/sbin/
Checking slmodemd version. Should be 2.9.11
SmartLink Soft Modem: version 2.9.11 Nov 27 2008 14:36:23
Finished installs.
Informing the System

Starting function tests, loading drivers:
Running diagnostic:

[  350.957975] slamr: module license 'Smart Link Ltd.' taints kernel.
[  350.964898] slamr: SmartLink AMRMO modem.
[  350.964971] slamr: probe 1057:3052 SL1900 card...
[  350.964989] slamr 0000:03:01.0: PCI INT A -> GSI 19 (level, low) ->
IRQ 19
[  351.207098] slamr: slamr0 is SL1900 card.
[  898.521860] slamr 0000:03:01.0: PCI INT A disabled
[  899.091389] slamr: SmartLink AMRMO modem.
[  899.091443] slamr: probe 1057:3052 SL1900 card...
[  899.091456] slamr 0000:03:01.0: PCI INT A -> GSI 19 (level, low) ->
IRQ 19
[  899.182092] slamr: slamr0 is SL1900 card.
echo  "ports should be created by:"
echo slmodemd -c USA /dev/slamr0
/usr/sbin/slmodemd -c USA /dev/slamr0

echo "Checking for success"
if test -L /dev/ttySL0 ; then
  echo Running wvdialconf
  wvdialconf  /etc/wvdial.conf
  if [ -f /etc/wvdial.conf ] ; then
    echo Modem detection successful
    sleep 2
    echo "Carrier check = no" >>  /etc/wvdial.conf
    echo "Read wdial.txt"
    echo "Then edit /etc/wvdial.conf  with:"
    echo "sudo gedit /etc/wvdial.conf"
    echo "at the lines beginning with ; and deleting the ; < >  "
    echo "Then dialout with:"
    echo "	sudo wvdial"
    echo "Running setup again is NOT necessary. Only for dialout the:"
    echo "	sudo wvdial"
  else
    echo "wvdialconf failed"
  fi
else
  echo "Port creation with slmodemd failed."
fi
echo "Read the Slamr.txt record, other *.txt files and the sample
wvdial.conf ."
echo
# END

So I ran wvdialconf in the terminal and from there on everything was
fine.

It seems as if there is still an error somewhere around line 73, 74:

cat<<END
echo  "ports should be created by:"

My problem is solved (thanks) but there may be problems for others using
the script.

Regards and thanks Trevor


 


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

  Powered by Linux