I have revised my Smartlink Modem installation howto and have decided to rather publish it as a new thread as the older ones are just becoming more bloated and becomes very confusing. I will appreciate any feedback and varifications.
Recognition to Marv Stodolsky at linmodems for his work which I am only summarizing so that us mere mortals can understand it better!
Howto get Smartlink winmodem working in Feisty
These drivers have been tested on a LG modem which is a Smartlink modem using a Netodragon chip with device number 2003:8800. It has also been tested on a LG modem with a Netodragon chip MDV92XP that has a device number 10b9:5459 and acually shows it to be Acer Labs Incorporated Ali/Uli, using Kubuntu kernel 184.108.40.206-generic and may also work of different ,versions of kernel, flavours of Ubuntu and modems.
Just some recognition to linmodems and specifically Marv Stodolsky – I hope someone is cloning you and making sure there are many of you around! Your work is much appreciated!
Marv's documentation states: The slamr-KernelVersion. Files provide drivers supporting Smartlink PCI card modems and USB modems sold under a variety of brand names.
Soft modems requiring ALSA modem drivers cannot be supported by the included slamr.ko driver. However the slamr.ko does provide a usefull diagnostic readout by:
sudo modprobe slamr
demsg | grep slamr
(A)Firstly - Before starting, identify your modem properly. Use lspci or lsusb or scan-modem at http://linmodems.technion.ac.il/packages/smartlink/Ubuntu/scanModem.gz You can also identify it in windows with the windows modem diagnostics or any windows program such as Astra32 or Aida32, even test your modem to make sure it is working. Or sneak a peek at the windows drivers that came with the modem.
(B) Secondly - Clean out your pc - If you have been experimenting with drivers, rather clean out all the dreggs and changes to configs you may have made or rather start with a new and clean Ubuntu install, otherwise you may get stuck with weird results that take longer to fix than a new reinstall.
Smartlink soft modems work very well in Ubuntu, the slamr-KernelVersion.tar.gz files have been specifically compiled for Ubuntu by Marv Stodolsy at Linmodem http://linmodems.technion.ac.il/ and can be found at http://linmodems.technion.ac.il/packages/ you can use these but can also compile your own from the latest source files also found there if you are adventurous.
If you intend compiling your own drivers (see method B) then use Synaptic or Adept to first ensure that you have all the necessary packages installed for compiling your drivers. This includes build-essential, linux-headers-ARCH (where ARCH is your kernel version and can be found with uname -r in the terminal), fakeroot, module-assistant and debhelper. Basically the sl-modem-source has to be installed first and then the sl-modem-daemon. The latest daemon also looks for ungrab-winmodem so download and you will have to also install this from the linmodem website.
Please note that you may have to do this(recompile) after every update of your kernel if your modem stops working after an update.
This method id the easiest method uses the latest packages from linmodems which are complete and contain all the files you may need.
- Determine you kernel version by typing uname -r in a terminal
- Go to http://phep2.technion.ac.il/linmodem...rtlink/Ubuntu/ and download the latest package that has already been compiled for your kernel version i.e. slamr-2.6.20-16-generic.tar.gz
- This package contains all the files you will need for installing the driver.
- Copy the slamr-2.6.20-16-generic.tar.gz to your Desktop and right click on it and select “Extract here” and a folder wth a similar name will be created with the extracted files on your Desktop.
- Now rename the folder to an easier name such as “slmodem”
- Open a terminal and cd in to the slmodem folder
- For details you can read the file 1st_Read.txt for more insight
- Type sudo ./setup and the install should start and complete successfully
- Type sudo modprobe ungrab_winmodem no results given shows success
- Type sudo modprobe slamr no results given shows success
- Type sudo /etc/init.d/sl-modem-daemon restart to restart modem ot just reboot
- Type dmesg | grep slamr
- Use Kppp to query the modem on /dev/modem, if this works you are there! If you are not using Kubuntu then just see if it works from Gnome-ppp (wvdial must first be set up)
- Edit /etc/default/sl-modem-daemon to change the line SLMODEMD_COUNTRY= USA to i.e SOUTHAFRICA or your country
- If you do a Query modem in Kppp you will see that your country has changed
This is the ideal way if you feel strongly about using linux "properly" go to the linmodem sites shown above and download the latest .http://linmodems.technion.ac.il/packages/smartlink/slmodem-2.9.11-20070505.tar.gz and http://linmodems.technion.ac.il/packages/smartlink/ungrab-winmodem-20070505.tar.gz and then the ubuntu file above http://linmodems.technion.ac.il/packages/smartlink/Ubuntu/slamr-2.6.20-16-generic.tar.gz that contains a working copy of the daemon. You can also try using Synaptic or adept to install sl-modem daemon and sl-modem-source as well as ungrab-winmodem(from linmodem website) as a dependancy from the repositories
Note: If you are going to use Kppp it is advisable that you check that the line noauth is not commented out with a # in /etc/ppp/peers/kppp-options this may only be in older versions than Feisty.
- Also download and install the ungrab-winmodem from the linmodem website. Install with, extract, make, sudo make install.
- Download slmodem-2.9.11-20070505.tar.gz from the linmodem website. Install with extract, make, sudo make install.
- Download and open slamr-2.6.20-16-generic.tar.gz. Extract and install the sl-modem-daemon xxx.deb file you find in there.
- Now go to /etc/default/sl-modem-daemon, right click, Action, Edit as Root, find the line SLMODEMD_COUNTRY=USA and change the USA to SOUTHAFRICA or your country name.
- Go to the konsole:
- sudo modprobe slamr
- sudo /etc/init.d/sl-modem-daemon restart
- Now go to Kppp and select /dev/modem and use the Query Modem to test you modem. Now setup Kppp and go on line!
To release a locked up Smartlink modem use sudo modprobe ungrab-winmodem, then sudo modprobe slamr, then restart the daemon with sudo /etc/init.d/sl-modem-daemon restart. This may help you from rebooting.
Additional info added: If you find that the modem does not seem to initialise after a new boot, but does if Ubuntu is restarted, the try sudo /etc/init.d/sl-modem-daemon restart. If this has to be done at times after a new start then it seems to be eliminated by replacing the sl-modem-daemon that was installed above with the latest one from the Debian site. Download at http://packages.debian.org/cgi-bin/d...i386&type=main
, uninstall the old one with Synaptic or Adept and right click on the new downloaded version and install.
There are packages in the Ubuntu Feisty repository that can be tried, but they may be outdated in reference to the kernel version. We actually need Marv's version as well as ungrab-winmodem to be put in the repos.
To remove any installation go to Synaptic, search for sl-modem, slmodem and uninstall completely. Then use Krusader or your file manager in root mode to search for sl-modem and slmodem. Double click on any found (except those in your repository or download folder) and right click for delete. Usually the date created should give you an indication if this is one you put there. This clears all dreggs and leftovers of a previous installation that may be causing a problem with a new sl-modem install. Be very carefull before you delete anything in this way. Remember to reboot if you are picking up problems and also to re-extract a new folder of files if a compilation failed, as there are changes made during compilation that may cause issues if you just compile again with the failed one.
Final note: when adding your init string i.e. Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 do not include W2 in the line for a Smartlink modem, only include to show connection speed for a Conexant modem!