Mohammed, Please installl the package sl-modem-daemon. If will automate driver loading and port creation during bootup. MarvS On Tue, Jul 20, 2010 at 3:05 PM, Antonio Olivares <olivares14031@xxxxxxxxx> wrote: > Mohammad, > > If you get that error message, try the following sequence > > $ sudo modprobe ungrab-winmodem > $ sudo modprobe slamr > $ sudo mkdir -p /dev > $ sudo mknod -m 600 /dev/slamr0 c 242 0 > > Then do > $ sudo slmodemd -c USA /dev/slamr0 > > If this fails, please post again. For automation, [to avoid typing > this everytime you want to connect, there is a sl-modem-daemon native > to ubuntu/debian distros]. Sorry I don't know how it works in > Ubuntu/Debian, otherwise I would explain a bit more. > > https://help.ubuntu.com/community/DialupModemHowto/Smartlink > > It is a bit outdated, but you need to search for sl-modem-daemon and install it. > > Regards, > > Antonio > > > > On 7/20/10, Mohammad Shabani M. <foxtuts@xxxxxxxxx> wrote: >> dosnt work! >> help me! >> >> Are you using same username, >> password. and ISP phone that you have successfully used before? yes. >> >> >> _________________________________________________________ >> >> mohammad@FoXtUtS:~$ cd ~/ungrab-winmodem-20090716 >> mohammad@FoXtUtS:~/ungrab-winmodem-20090716$ sudo modprobe ungrab-winmodem >> mohammad@FoXtUtS:~/ungrab-winmodem-20090716$ sudo modprobe slamr >> mohammad@FoXtUtS:~/ungrab-winmodem-20090716$ sudo slmodemd -c USA >> /dev/slamr0 >> error: mdm setup: cannot stat `/dev/slamr0': No such file or directory >> error: cannot setup device `/dev/slamr0' >> mohammad@FoXtUtS:~/ungrab-winmodem-20090716$ >> >> ___________________________________________________________ >> >> >> >> >> >> On 7/20/2010 7:20 PM, Antonio Olivares wrote: >>> Mohammad, >>> >>> When you restart Ubuntu, you would need to repeat these commands to >>> get connected: >>> >>> mohammad@FoXtUtS:~/ungrab-winmodem-20090716$ sudo modprobe ungrab-winmodem >>> mohammad@FoXtUtS:~/ungrab-winmodem-20090716$ sudo modprobe slamr >>> mohammad@FoXtUtS:~/ungrab-winmodem-20090716$ sudo slmodemd -c USA >>> /dev/slamr0 >>> >>> Then >>> mohammad@FoXtUtS:~/ungrab-winmodem-20090716$ sudo wvdial >>> >>> What makes me wonder is the following: >>> CONNECT 49333 >>> User Access Verification >>> Username: >>> --> Carrier detected. Waiting for prompt. >>> Username: >>> Username: >>> --> Looks like a login prompt. >>> --> Sending: d4538542t >>> d4538542t >>> Password: >>> --> Looks like a password prompt. >>> --> Sending: (password) >>> % Authentication failed. >>> NO CARRIER >>> --> Don't know what to do! Starting pppd and hoping for the best. >>> --> Starting pppd at Tue Jul 20 18:46:48 2010 >>> --> Pid of pppd: 7064 >>> --> Using interface ppp0 >>> --> pppd: (�l @�l >>> --> pppd: (�l @�l >>> --> pppd: (�l @�l >>> --> pppd: (�l @�l >>> --> pppd: (�l @�l >>> --> Disconnecting at Tue Jul 20 18:47:19 2010 >>> --> The PPP daemon has died: A modem hung up the phone (exit code = 16) >>> >>> You have "Carrier Check = no" in /etc/wvdial.conf and you get NO >>> CARRIER, you can't seem to connect :(, Are you using same username, >>> password. and ISP phone that you have successfully used before? >>> >>> If you have, try adding >>> "Stupid Mode = yes" >>> to /etc/wvdial.conf >>> >>> and see if it makes a difference? If this fails, let us know. >>> >>> Regards, >>> >>> Antonio >>> >>> On 7/20/10, Mohammad Shabani M.<foxtuts@xxxxxxxxx> wrote: >>>> ___install__________________________________________________________________ >>>> mohammad@FoXtUtS:~$ tar -zxvf slmodem-2.9.11-20100613.tar.gz >>>> slmodem-2.9.11-20100613/ >>>> slmodem-2.9.11-20100613/patches/ >>>> slmodem-2.9.11-20100613/patches/alsa-linux-2.6.0.patch >>>> slmodem-2.9.11-20100613/patches/zello.txt >>>> slmodem-2.9.11-20100613/patches/no_slusb.patch >>>> slmodem-2.9.11-20100613/patches/sldiffs-20090222/ >>>> slmodem-2.9.11-20100613/patches/sldiffs-20090222/03_Makefile_2.6.12.4.diff >>>> slmodem-2.9.11-20100613/patches/sldiffs-20090222/fortify_source.diff >>>> slmodem-2.9.11-20100613/patches/sldiffs-20090222/Readme.txt >>>> slmodem-2.9.11-20100613/patches/sldiffs-20090222/kernel-ver.diff >>>> slmodem-2.9.11-20100613/patches/sldiffs-20090222/06_slmodem-class-simple-to-class-meins.diff >>>> slmodem-2.9.11-20100613/patches/sldiffs-20090222/README.diff >>>> slmodem-2.9.11-20100613/patches/sldiffs-20090222/05_st7554_license.diff >>>> slmodem-2.9.11-20100613/patches/sldiffs-20090222/class_device.diff >>>> slmodem-2.9.11-20100613/patches/sldiffs-20090222/02_dial_string_size.diff >>>> slmodem-2.9.11-20100613/patches/no_slusb.txt >>>> slmodem-2.9.11-20100613/patches/marv.diff >>>> slmodem-2.9.11-20100613/patches/zello.diff >>>> slmodem-2.9.11-20100613/patches/marv.txt >>>> slmodem-2.9.11-20100613/patches/modem_20100303.patch >>>> slmodem-2.9.11-20100613/patches/slmodem-2.9.11-20090222.patch >>>> slmodem-2.9.11-20100613/patches/slmodem-usb-2.6.16.patch >>>> slmodem-2.9.11-20100613/drivers/ >>>> slmodem-2.9.11-20100613/drivers/amrmo_init.c.orig >>>> slmodem-2.9.11-20100613/drivers/DEADJOE >>>> slmodem-2.9.11-20100613/drivers/old_st7554.c >>>> slmodem-2.9.11-20100613/drivers/kernel-ver.c >>>> slmodem-2.9.11-20100613/drivers/Module.markers >>>> slmodem-2.9.11-20100613/drivers/amrlibs.o >>>> slmodem-2.9.11-20100613/drivers/amrmo_init.c >>>> slmodem-2.9.11-20100613/drivers/Modules.symvers >>>> slmodem-2.9.11-20100613/drivers/Makefile >>>> slmodem-2.9.11-20100613/drivers/.#kernel-ver.c >>>> slmodem-2.9.11-20100613/drivers/st7554.c >>>> slmodem-2.9.11-20100613/drivers/sysdep_amr.c >>>> slmodem-2.9.11-20100613/drivers/modules.order >>>> slmodem-2.9.11-20100613/drivers/Module.symvers >>>> slmodem-2.9.11-20100613/drivers/makefile.0 >>>> slmodem-2.9.11-20100613/Changes >>>> slmodem-2.9.11-20100613/scripts/ >>>> slmodem-2.9.11-20100613/scripts/slmodem.spec >>>> slmodem-2.9.11-20100613/scripts/slmodemd.ubuntu.italy >>>> slmodem-2.9.11-20100613/scripts/mandrake/ >>>> slmodem-2.9.11-20100613/scripts/mandrake/slmodemd >>>> slmodem-2.9.11-20100613/scripts/debian/ >>>> slmodem-2.9.11-20100613/scripts/debian/slmodemd >>>> slmodem-2.9.11-20100613/scripts/slmodemd >>>> slmodem-2.9.11-20100613/scripts/suse/ >>>> slmodem-2.9.11-20100613/scripts/suse/slmodemd.SUSE >>>> slmodem-2.9.11-20100613/scripts/suse/slmodemd.conf >>>> slmodem-2.9.11-20100613/scripts/slackware/ >>>> slmodem-2.9.11-20100613/scripts/slackware/rc.slmodemd >>>> slmodem-2.9.11-20100613/scripts/slackware/README >>>> slmodem-2.9.11-20100613/Documentation/ >>>> slmodem-2.9.11-20100613/Documentation/ALSA_support.txt >>>> slmodem-2.9.11-20100613/Documentation/Smartlink.txt >>>> slmodem-2.9.11-20100613/Documentation/compile_example.txt >>>> slmodem-2.9.11-20100613/Documentation/x86_64.txt >>>> slmodem-2.9.11-20100613/modem/ >>>> slmodem-2.9.11-20100613/modem/modem_param.c >>>> slmodem-2.9.11-20100613/modem/modem_timer.h >>>> slmodem-2.9.11-20100613/modem/modem_debug.h >>>> slmodem-2.9.11-20100613/modem/modem_defs.h >>>> slmodem-2.9.11-20100613/modem/modem.c >>>> slmodem-2.9.11-20100613/modem/modem_test.c >>>> slmodem-2.9.11-20100613/modem/modem_dp.h >>>> slmodem-2.9.11-20100613/modem/modem_cmdline.c >>>> slmodem-2.9.11-20100613/modem/modem_homolog.h >>>> slmodem-2.9.11-20100613/modem/modem_comp.c >>>> slmodem-2.9.11-20100613/modem/Makefile.20080401 >>>> slmodem-2.9.11-20100613/modem/modem_ec.c >>>> slmodem-2.9.11-20100613/modem/dp_sinus.c >>>> slmodem-2.9.11-20100613/modem/homolog_data.c >>>> slmodem-2.9.11-20100613/modem/modem_param.h >>>> slmodem-2.9.11-20100613/modem/modem_main.c >>>> slmodem-2.9.11-20100613/modem/modem_pack.c >>>> slmodem-2.9.11-20100613/modem/modem_datafile.c >>>> slmodem-2.9.11-20100613/modem/sysdep_common.c >>>> slmodem-2.9.11-20100613/modem/dp_dummy.c >>>> slmodem-2.9.11-20100613/modem/Makefile >>>> slmodem-2.9.11-20100613/modem/modem_timer.c >>>> slmodem-2.9.11-20100613/modem/modem_at.c >>>> slmodem-2.9.11-20100613/modem/modem_debug.c >>>> slmodem-2.9.11-20100613/modem/dsplibs.o >>>> slmodem-2.9.11-20100613/modem/modem.h >>>> slmodem-2.9.11-20100613/COPYING >>>> slmodem-2.9.11-20100613/faxing/ >>>> slmodem-2.9.11-20100613/faxing/xtel.diff >>>> slmodem-2.9.11-20100613/faxing/smartlink.pdf >>>> slmodem-2.9.11-20100613/faxing/1stRead.txt >>>> slmodem-2.9.11-20100613/faxing/modem.sh >>>> slmodem-2.9.11-20100613/faxing/xtel.lignes >>>> slmodem-2.9.11-20100613/faxing/modem >>>> slmodem-2.9.11-20100613/faxing/sm56_initstrings >>>> slmodem-2.9.11-20100613/faxing/wvdial.conf >>>> slmodem-2.9.11-20100613/README >>>> slmodem-2.9.11-20100613/Makefile >>>> mohammad@FoXtUtS:~$ cd slmodem-2.9.11-20100613 >>>> mohammad@FoXtUtS:~/slmodem-2.9.11-20100613$ make >>>> /=/lib/modules/2.6.32-21-generic/build >>>> make -C modem all >>>> make[1]: Entering directory >>>> `/home/mohammad/slmodem-2.9.11-20100613/modem' >>>> rebuild profile... >>>> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_main.o -c modem_main.c >>>> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_cmdline.o -c >>>> modem_cmdline.c >>>> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem.o -c modem.c >>>> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_datafile.o -c >>>> modem_datafile.c >>>> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_at.o -c modem_at.c >>>> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_timer.o -c >>>> modem_timer.c >>>> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_pack.o -c modem_pack.c >>>> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_ec.o -c modem_ec.c >>>> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_comp.o -c modem_comp.c >>>> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_param.o -c >>>> modem_param.c >>>> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_debug.o -c >>>> modem_debug.c >>>> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o homolog_data.o -c >>>> homolog_data.c >>>> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o dp_sinus.o -c dp_sinus.c >>>> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o dp_dummy.o -c dp_dummy.c >>>> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o sysdep_common.o -c >>>> sysdep_common.c >>>> gcc -o slmodemd modem_main.o modem_cmdline.o modem.o modem_datafile.o >>>> modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o >>>> modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o >>>> dsplibs.o sysdep_common.o >>>> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_test.o -c modem_test.c >>>> modem_test.c: In function ‘modem_test_start’: >>>> modem_test.c:110: warning: ignoring return value of ‘write’, declared >>>> with attribute warn_unused_result >>>> gcc -o modem_test modem_test.o modem_cmdline.o modem.o modem_datafile.o >>>> modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o >>>> modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o >>>> dsplibs.o sysdep_common.o >>>> make[1]: Leaving directory `/home/mohammad/slmodem-2.9.11-20100613/modem' >>>> make -C drivers KERNEL_DIR=/lib/modules/2.6.32-21-generic/build >>>> make[1]: Entering directory >>>> `/home/mohammad/slmodem-2.9.11-20100613/drivers' >>>> doing kernel-ver:: >>>> cc -I/lib/modules/2.6.32-21-generic/build/include -o kernel-ver >>>> kernel-ver.c >>>> make all KERNEL_VER=2.6.32-21-generic >>>> make[2]: Entering directory >>>> `/home/mohammad/slmodem-2.9.11-20100613/drivers' >>>> obj-m=slamr.o >>>> slamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o >>>> make modules -C /lib/modules/2.6.32-21-generic/build >>>> SUBDIRS=/home/mohammad/slmodem-2.9.11-20100613/drivers >>>> make[3]: Entering directory `/usr/src/linux-headers-2.6.32-21-generic' >>>> CC [M] /home/mohammad/slmodem-2.9.11-20100613/drivers/amrmo_init.o >>>> CC [M] /home/mohammad/slmodem-2.9.11-20100613/drivers/sysdep_amr.o >>>> LD [M] /home/mohammad/slmodem-2.9.11-20100613/drivers/slamr.o >>>> Building modules, stage 2. >>>> MODPOST 1 modules >>>> WARNING: could not find >>>> /home/mohammad/slmodem-2.9.11-20100613/drivers/.amrlibs.o.cmd for >>>> /home/mohammad/slmodem-2.9.11-20100613/drivers/amrlibs.o >>>> CC /home/mohammad/slmodem-2.9.11-20100613/drivers/slamr.mod.o >>>> LD [M] /home/mohammad/slmodem-2.9.11-20100613/drivers/slamr.ko >>>> make[3]: Leaving directory `/usr/src/linux-headers-2.6.32-21-generic' >>>> finished all: >>>> make[2]: Leaving directory >>>> `/home/mohammad/slmodem-2.9.11-20100613/drivers' >>>> make[1]: Leaving directory >>>> `/home/mohammad/slmodem-2.9.11-20100613/drivers' >>>> mohammad@FoXtUtS:~/slmodem-2.9.11-20100613$ make >>>> make -C modem all >>>> make[1]: Entering directory >>>> `/home/mohammad/slmodem-2.9.11-20100613/modem' >>>> make[1]: Leaving directory `/home/mohammad/slmodem-2.9.11-20100613/modem' >>>> make -C drivers KERNEL_DIR=/lib/modules/2.6.32-21-generic/build >>>> make[1]: Entering directory >>>> `/home/mohammad/slmodem-2.9.11-20100613/drivers' >>>> doing kernel-ver:: >>>> cc -I/lib/modules/2.6.32-21-generic/build/include -o kernel-ver >>>> kernel-ver.c >>>> make all KERNEL_VER=2.6.32-21-generic >>>> make[2]: Entering directory >>>> `/home/mohammad/slmodem-2.9.11-20100613/drivers' >>>> obj-m=slamr.o >>>> slamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o >>>> make modules -C /lib/modules/2.6.32-21-generic/build >>>> SUBDIRS=/home/mohammad/slmodem-2.9.11-20100613/drivers >>>> make[3]: Entering directory `/usr/src/linux-headers-2.6.32-21-generic' >>>> Building modules, stage 2. >>>> MODPOST 1 modules >>>> WARNING: could not find >>>> /home/mohammad/slmodem-2.9.11-20100613/drivers/.amrlibs.o.cmd for >>>> /home/mohammad/slmodem-2.9.11-20100613/drivers/amrlibs.o >>>> make[3]: Leaving directory `/usr/src/linux-headers-2.6.32-21-generic' >>>> finished all: >>>> make[2]: Leaving directory >>>> `/home/mohammad/slmodem-2.9.11-20100613/drivers' >>>> make[1]: Leaving directory >>>> `/home/mohammad/slmodem-2.9.11-20100613/drivers' >>>> mohammad@FoXtUtS:~/slmodem-2.9.11-20100613$ sudo make install >>>> make -C modem all >>>> make[1]: Entering directory >>>> `/home/mohammad/slmodem-2.9.11-20100613/modem' >>>> make[1]: Leaving directory `/home/mohammad/slmodem-2.9.11-20100613/modem' >>>> make -C drivers KERNEL_DIR=/lib/modules/2.6.32-21-generic/build >>>> make[1]: Entering directory >>>> `/home/mohammad/slmodem-2.9.11-20100613/drivers' >>>> doing kernel-ver:: >>>> cc -I/lib/modules/2.6.32-21-generic/build/include -o kernel-ver >>>> kernel-ver.c >>>> make all KERNEL_VER=2.6.32-21-generic >>>> make[2]: Entering directory >>>> `/home/mohammad/slmodem-2.9.11-20100613/drivers' >>>> obj-m=slamr.o >>>> slamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o >>>> make modules -C /lib/modules/2.6.32-21-generic/build >>>> SUBDIRS=/home/mohammad/slmodem-2.9.11-20100613/drivers >>>> make[3]: Entering directory `/usr/src/linux-headers-2.6.32-21-generic' >>>> Building modules, stage 2. >>>> MODPOST 1 modules >>>> WARNING: could not find >>>> /home/mohammad/slmodem-2.9.11-20100613/drivers/.amrlibs.o.cmd for >>>> /home/mohammad/slmodem-2.9.11-20100613/drivers/amrlibs.o >>>> make[3]: Leaving directory `/usr/src/linux-headers-2.6.32-21-generic' >>>> finished all: >>>> make[2]: Leaving directory >>>> `/home/mohammad/slmodem-2.9.11-20100613/drivers' >>>> make[1]: Leaving directory >>>> `/home/mohammad/slmodem-2.9.11-20100613/drivers' >>>> make install -C drivers KERNEL_DIR=/lib/modules/2.6.32-21-generic/build >>>> make[1]: Entering directory >>>> `/home/mohammad/slmodem-2.9.11-20100613/drivers' >>>> doing kernel-ver:: >>>> cc -I/lib/modules/2.6.32-21-generic/build/include -o kernel-ver >>>> kernel-ver.c >>>> mkdir -p /dev >>>> mknod -m 600 /dev/slamr0 c 242 0 ; mknod -m 600 /dev/slamr1 c 242 1 ; >>>> mknod -m 600 /dev/slamr2 c 242 2 ; mknod -m 600 /dev/slamr3 c 242 3 ; >>>> echo -n >>>> make install KERNEL_VER=2.6.32-21-generic >>>> make[2]: Entering directory >>>> `/home/mohammad/slmodem-2.9.11-20100613/drivers' >>>> install -D -m 644 slamr.ko /lib/modules/2.6.32-21-generic/extra/slamr.ko >>>> /sbin/depmod -a >>>> make[2]: Leaving directory >>>> `/home/mohammad/slmodem-2.9.11-20100613/drivers' >>>> make[1]: Leaving directory >>>> `/home/mohammad/slmodem-2.9.11-20100613/drivers' >>>> install -D -m 755 modem/slmodemd /usr/sbin/slmodemd >>>> rm -f -rf /var/lib/slmodem >>>> install -d -D -m 755 /var/lib/slmodem >>>> mohammad@FoXtUtS:~/slmodem-2.9.11-20100613$ cd .. >>>> mohammad@FoXtUtS:~$ tar -zxvf ungrab-winmodem-20090716.tar.gz >>>> ungrab-winmodem-20090716/ >>>> ungrab-winmodem-20090716/Makefile >>>> ungrab-winmodem-20090716/updates.txt >>>> ungrab-winmodem-20090716/ungrab-winmodem.c >>>> ungrab-winmodem-20090716/Modules.symvers >>>> ungrab-winmodem-20090716/Module.symvers >>>> ungrab-winmodem-20090716/Module.markers >>>> ungrab-winmodem-20090716/Readme.txt >>>> ungrab-winmodem-20090716/modules.order >>>> mohammad@FoXtUtS:~$ cd ungrab-winmodem-20090716 >>>> mohammad@FoXtUtS:~/ungrab-winmodem-20090716$ sudo make clean >>>> rm -f *.o *.ko *.mod.* .*.cmd *~ >>>> rm -f -r .tmp_versions >>>> mohammad@FoXtUtS:~/ungrab-winmodem-20090716$ sudo make >>>> make modules -C /lib/modules/2.6.32-21-generic/build >>>> SUBDIRS=/home/mohammad/ungrab-winmodem-20090716 >>>> make[1]: Entering directory `/usr/src/linux-headers-2.6.32-21-generic' >>>> CC [M] /home/mohammad/ungrab-winmodem-20090716/ungrab-winmodem.o >>>> Building modules, stage 2. >>>> MODPOST 1 modules >>>> CC /home/mohammad/ungrab-winmodem-20090716/ungrab-winmodem.mod.o >>>> LD [M] /home/mohammad/ungrab-winmodem-20090716/ungrab-winmodem.ko >>>> make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-21-generic' >>>> mohammad@FoXtUtS:~/ungrab-winmodem-20090716$ sudo make install >>>> make modules -C /lib/modules/2.6.32-21-generic/build >>>> SUBDIRS=/home/mohammad/ungrab-winmodem-20090716 >>>> make[1]: Entering directory `/usr/src/linux-headers-2.6.32-21-generic' >>>> Building modules, stage 2. >>>> MODPOST 1 modules >>>> make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-21-generic' >>>> install -D -m 644 ungrab-winmodem.ko >>>> /lib/modules/2.6.32-21-generic/extra/ungrab-winmodem.ko >>>> /sbin/depmod -a >>>> mohammad@FoXtUtS:~/ungrab-winmodem-20090716$ sudo modprobe >>>> ungrab-winmodem >>>> mohammad@FoXtUtS:~/ungrab-winmodem-20090716$ sudo modprobe slamr >>>> mohammad@FoXtUtS:~/ungrab-winmodem-20090716$ sudo slmodemd -c USA >>>> /dev/slamr0 >>>> SmartLink Soft Modem: version 2.9.11 Jul 20 2010 18:24:39 >>>> symbolic link `/dev/ttySL0' -> `/dev/pts/1' created. >>>> modem `slamr0' created. TTY is `/dev/pts/1' >>>> Use `/dev/ttySL0' as modem device, Ctrl+C for termination. >>>> >>>> >>>> >>>> >>>> ____________in new >>>> terminal___________________________________________________ >>>> mohammad@FoXtUtS:~$ sudo wvdialconf /etc/wvdial.conf >>>> [sudo] password for mohammad: >>>> Editing `/etc/wvdial.conf'. >>>> >>>> Scanning your serial ports for a modem. >>>> >>>> ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud >>>> ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud >>>> ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up. >>>> ttyS1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud >>>> ttyS1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud >>>> ttyS1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up. >>>> Modem Port Scan<*1>: S2 S3 >>>> WvModem<*1>: Cannot get information for serial port. >>>> ttySL0<*1>: ATQ0 V1 E1 -- OK >>>> ttySL0<*1>: ATQ0 V1 E1 Z -- OK >>>> ttySL0<*1>: ATQ0 V1 E1 S0=0 -- OK >>>> ttySL0<*1>: ATQ0 V1 E1 S0=0&C1 -- OK >>>> ttySL0<*1>: ATQ0 V1 E1 S0=0&C1&D2 -- OK >>>> ttySL0<*1>: ATQ0 V1 E1 S0=0&C1&D2 +FCLASS=0 -- OK >>>> ttySL0<*1>: Modem Identifier: ATI -- SmartLink Soft Modem >>>> ttySL0<*1>: Speed 4800: AT -- OK >>>> ttySL0<*1>: Speed 9600: AT -- OK >>>> ttySL0<*1>: Speed 19200: AT -- OK >>>> ttySL0<*1>: Speed 38400: AT -- OK >>>> ttySL0<*1>: Speed 57600: AT -- OK >>>> ttySL0<*1>: Speed 115200: AT -- OK >>>> ttySL0<*1>: Speed 230400: AT -- OK >>>> ttySL0<*1>: Speed 460800: AT -- OK >>>> ttySL0<*1>: Max speed is 460800; that should be safe. >>>> ttySL0<*1>: ATQ0 V1 E1 S0=0&C1&D2 +FCLASS=0 -- OK >>>> >>>> Found a modem on /dev/ttySL0. >>>> Modem configuration written to /etc/wvdial.conf. >>>> ttySL0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0&C1&D2 +FCLASS=0" >>>> mohammad@FoXtUtS:~$ sudo gedit /etc/wvdial.conf >>>> mohammad@FoXtUtS:~$ wvdial >>>> --> WvDial: Internet dialer version 1.60 >>>> --> Cannot open /dev/ttySL0: Permission denied >>>> --> Cannot open /dev/ttySL0: Permission denied >>>> --> Cannot open /dev/ttySL0: Permission denied >>>> mohammad@FoXtUtS:~$ sudo wvdial >>>> --> WvDial: Internet dialer version 1.60 >>>> --> Cannot get information for serial port. >>>> --> Initializing modem. >>>> --> Sending: ATZ >>>> ATZ >>>> OK >>>> --> Sending: ATQ0 V1 E1 S0=0&C1&D2 +FCLASS=0 >>>> ATQ0 V1 E1 S0=0&C1&D2 +FCLASS=0 >>>> OK >>>> --> Modem initialized. >>>> --> Sending: ATDT3239998 >>>> --> Waiting for carrier. >>>> ATDT3239998 >>>> CONNECT 49333 >>>> User Access Verification >>>> Username: >>>> --> Carrier detected. Waiting for prompt. >>>> Username: >>>> Username: >>>> --> Looks like a login prompt. >>>> --> Sending: d4538542t >>>> d4538542t >>>> Password: >>>> --> Looks like a password prompt. >>>> --> Sending: (password) >>>> % Authentication failed. >>>> NO CARRIER >>>> --> Don't know what to do! Starting pppd and hoping for the best. >>>> --> Starting pppd at Tue Jul 20 18:46:48 2010 >>>> --> Pid of pppd: 7064 >>>> --> Using interface ppp0 >>>> --> pppd: (�l @�l >>>> --> pppd: (�l @�l >>>> --> pppd: (�l @�l >>>> --> pppd: (�l @�l >>>> --> pppd: (�l @�l >>>> --> Disconnecting at Tue Jul 20 18:47:19 2010 >>>> --> The PPP daemon has died: A modem hung up the phone (exit code = 16) >>>> --> man pppd explains pppd error codes in more detail. >>>> --> Try again and look into /var/log/messages and the wvdial and pppd >>>> man pages for more information. >>>> --> Auto Reconnect will be attempted in 5 seconds >>>> --> Cannot get information for serial port. >>>> --> Initializing modem. >>>> --> Sending: ATZ >>>> ATZ >>>> OK >>>> --> Sending: ATQ0 V1 E1 S0=0&C1&D2 +FCLASS=0 >>>> ATQ0 V1 E1 S0=0&C1&D2 +FCLASS=0 >>>> OK >>>> --> Modem initialized. >>>> --> Cannot get information for serial port. >>>> --> Initializing modem. >>>> --> Sending: ATZ >>>> ATZ >>>> OK >>>> --> Sending: ATQ0 V1 E1 S0=0&C1&D2 +FCLASS=0 >>>> ATQ0 V1 E1 S0=0&C1&D2 +FCLASS=0 >>>> OK >>>> --> Modem initialized. >>>> --> Sending: ATDT3239998 >>>> --> Waiting for carrier. >>>> ATDT3239998 >>>> CONNECT 49333 >>>> User Access Verification >>>> Username: >>>> --> Carrier detected. Waiting for prompt. >>>> Username: >>>> --> Looks like a login prompt. >>>> --> Sending: d4538542t >>>> d4538542t >>>> Password: >>>> --> Looks like a password prompt. >>>> --> Sending: (password) >>>> % Authentication failed. >>>> Username: >>>> --> Looks like a login prompt. >>>> --> Sending: d4538542t >>>> d4538542t >>>> Password: >>>> --> Looks like a password prompt. >>>> --> Sending: (password) >>>> % Authentication failed. >>>> NO CARRIER >>>> --> Don't know what to do! Starting pppd and hoping for the best. >>>> --> Starting pppd at Tue Jul 20 18:48:14 2010 >>>> --> Pid of pppd: 7686 >>>> --> Using interface ppp0 >>>> --> pppd: (�l @�l >>>> --> pppd: (�l @�l >>>> --> pppd: (�l @�l >>>> --> pppd: (�l @�l >>>> --> pppd: (�l @�l >>>> --> Disconnecting at Tue Jul 20 18:49:11 2010 >>>> --> The PPP daemon has died: A modem hung up the phone (exit code = 16) >>>> --> man pppd explains pppd error codes in more detail. >>>> --> Try again and look into /var/log/messages and the wvdial and pppd >>>> man pages for more information. >>>> --> Auto Reconnect will be attempted in 5 seconds >>>> --> Cannot get information for serial port. >>>> --> Initializing modem. >>>> --> Sending: ATZ >>>> ATZ >>>> OK >>>> --> Sending: ATQ0 V1 E1 S0=0&C1&D2 +FCLASS=0 >>>> ATQ0 V1 E1 S0=0&C1&D2 +FCLASS=0 >>>> OK >>>> --> Modem initialized. >>>> --> Cannot get information for serial port. >>>> --> Initializing modem. >>>> --> Sending: ATZ >>>> ATZ >>>> OK >>>> --> Sending: ATQ0 V1 E1 S0=0&C1&D2 +FCLASS=0 >>>> ATQ0 V1 E1 S0=0&C1&D2 +FCLASS=0 >>>> OK >>>> --> Modem initialized. >>>> --> Sending: ATDT3239998 >>>> --> Waiting for carrier. >>>> ATDT3239998 >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> ____wvdial.conf____(i connect to internet with this username& password >>>> in windows 7)_______________________________________________ >>>> [Dialer Defaults] >>>> Init1 = ATZ >>>> Init2 = ATQ0 V1 E1 S0=0&C1&D2 +FCLASS=0 >>>> Modem Type = Analog Modem >>>> ISDN = 0 >>>> New PPPD = yes >>>> Phone = 3239998 >>>> Modem = /dev/ttySL0 >>>> Username = d4538542t >>>> Carrier Check = no >>>> Password = d42695375 >>>> Baud = 460800 >>>> _______________________________________________________________________________ >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> and restart ubuntu! >>>> >>>> >>>> >>>> >>>> run this commond and: >>>> >>>> >>>> >>>> ______________________________________________________________________________ >>>> mohammad@FoXtUtS:~$ wvdial >>>> --> WvDial: Internet dialer version 1.60 >>>> --> Cannot open /dev/ttySL0: No such file or directory >>>> --> Cannot open /dev/ttySL0: No such file or directory >>>> --> Cannot open /dev/ttySL0: No such file or directory >>>> mohammad@FoXtUtS:~$ sudo wvdial >>>> [sudo] password for mohammad: >>>> --> WvDial: Internet dialer version 1.60 >>>> --> Cannot open /dev/ttySL0: No such file or directory >>>> --> Cannot open /dev/ttySL0: No such file or directory >>>> --> Cannot open /dev/ttySL0: No such file or directory >>>> mohammad@FoXtUtS:~$ >>>> _______________________________________________________________________________ >>>> >>>> Help me! >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> On 7/15/2010 7:59 PM, Antonio Olivares wrote: >>>>> Mohammad, >>>>> >>>>> scanModem reports that your modem is supported through >>>>> slamr(slmodem-2.9.11-20100613.tar.gz) >>>>> >>>>> Predictive diagnostics for card in bus 04:05.0: >>>>> Modem chipset detected on >>>>> NAME="Modem: Smart Link Ltd. LM-I56N " >>>>> CLASS=0703 >>>>> PCIDEV=2003:8800 >>>>> SUBSYS=16ef:2800 >>>>> IRQ=18 >>>>> IDENT=slamr >>>>> >>>>> For candidate modem in: 04:05.0 >>>>> 0703 Modem: Smart Link Ltd. LM-I56N >>>>> Primary device ID: 2003:8800 >>>>> Support type needed or chipset: slamr >>>>> >>>>> >>>>> The modem is supported by the Smartlink >>>>> plus the slmodemd helper utility. Read the >>>>> DOCs/Smartlink.txt and Modem/DOCs/YourSystem.txt for follow through >>>>> guidance. >>>>> >>>>> >>>>> For 2.6.32-21-generic compiling drivers is necessary. As of July 2010 >>>>> the current packages at >>>>> http://linmodems.technion.ac.il/packages/smartlink/ are the >>>>> ungrab-winmodem-20090716.tar.gz and slmodem-2.9.11-20100613.tar.gz >>>>> >>>>> Read DOCs/Smartlink.txt >>>>> >>>>> Download: >>>>> http://linmodems.technion.ac.il/packages/smartlink/slmodem-2.9.11-20100613.tar.gz >>>>> and >>>>> http://linmodems.technion.ac.il/packages/smartlink/ungrab-winmodem-20090716.tar.gz >>>>> >>>>> Copy both to your Linux partition. >>>>> $ tar -zxvf slmodem-2.9.11-20100613 >>>>> $ cd slmodem-2.9.11-20100613 >>>>> $ make KERNEL_DIR=/lib/modules/2.6.32-21-generic/build >>>>> $ make >>>>> $ sudo make install >>>>> $ cd .. >>>>> $ tar -zxvf ungrab-winmodem-20090716.tar.gz >>>>> $ cd ungrab-winmodem-20090716 >>>>> $ sudo make clean >>>>> $ sudo make >>>>> $ sudo make install >>>>> >>>>> After that is successfull, run >>>>> $ sudo modprobe ungrab-winmodem >>>>> $ sudo modprobe slamr >>>>> $ slmodemd -c YOUR_COUNTRY /dev/slamr0 >>>>> >>>>> Then leave slmodemd running in the background, and open up another >>>>> terminal and run >>>>> $ sudo wvdialconf /etc/wvdial.conf >>>>> >>>>> and hopefully it finds modem port which should be /dev/ttySL0, edit the >>>>> file >>>>> $ sudo gedit /etc/wvdial.conf and remove the ";" and "<" and">" add >>>>> your Username, Password, ISP phone number and a line Carrier Check = >>>>> no. >>>>> >>>>> Let us know if the modem responded or not. >>>>> >>>>> Regards, >>>>> >>>>> >>>>> Antonio >>>>> >>>>> On 7/15/10, Mohammad Shabani M.<foxtuts@xxxxxxxxx> wrote: >>>>>> how to install this modem driver? >>>>>> >>>>>> >>>>>> _______________________________________________________________________________ >>>>>> Only plain text email is forwarded by the Discuss@xxxxxxxxxxxxx >>>>>> List >>>>>> Server, >>>>>> as HTML can contain viruses. Use as the email Subject Line: >>>>>> YourName, YourCountry kernel 2.6.32-21-generic >>>>>> With this Subject Line cogent experts will be alerted, and useful >>>>>> case >>>>>> names left in the Archive. >>>>>> YourCountry will enable Country specific guidance. Linux experts in >>>>>> YourCountry >>>>>> can be found through: http://www.linux.org/groups/index.html. >>>>>> They will know your Country's modem code, which may be essential for >>>>>> dialup service. >>>>>> Responses from Discuss@xxxxxxxxxxxxx are sometimes blocked by an >>>>>> Internet Provider mail filters. >>>>>> So in a day, also check the Archived responses at >>>>>> http://www.linmodems.org >>>>>> -------------------------- System information >>>>>> ---------------------------- >>>>>> CPU=i686, Ubuntu , ALSA_version=1.0.21 >>>>>> Linux version 2.6.32-21-generic (buildd@rothera) (gcc version 4.4.3 >>>>>> (Ubuntu 4.4.3-4ubuntu5) ) #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 >>>>>> scanModem update of: 2010_05_29 >>>>>> >>>>>> Distrib_ID=Ubuntu >>>>>> DistribCodeName=lucid >>>>>> AptRepositoryStem=http://ir.archive.ubuntu.com/ubuntu/ >>>>>> >>>>>> >>>>>> Presently install your Linux Distributions dkms package. It provides >>>>>> for >>>>>> automated driver updates, >>>>>> following upgrade of your kernel. For details see >>>>>> http://linux.dell.com/projects.shtml#dkms >>>>>> >>>>>> There are no blacklisted modem drivers in /etc/modprobe* files >>>>>> >>>>>> Potentially useful modem drivers now loaded are: >>>>>> >>>>>> >>>>>> If a USB modem or cellphone is attached and was not detected, please >>>>>> provide available information in your request to discuss@xxxxxxxxxxxxx >>>>>> >>>>>> Candidate PCI devices with modem chips are: >>>>>> 04:05.0 Modem: Smart Link Ltd. LM-I56N (rev 02) >>>>>> High Definition Audio cards can host modem chips. >>>>>> >>>>>> For candidate card in slot 04:05.0, firmware information and bootup >>>>>> diagnostics are: >>>>>> PCI slot PCI ID SubsystemID Name >>>>>> ---------- --------- --------- -------------- >>>>>> 04:05.0 2003:8800 16ef:2800 Modem: Smart Link Ltd. LM-I56N >>>>>> >>>>>> Modem interrupt assignment and sharing: >>>>>> 18: 0 0 IO-APIC-fasteoi uhci_hcd:usb4 >>>>>> --- Bootup diagnostics for card in PCI slot 04:05.0 ---- >>>>>> [ 0.201338] pci 0000:04:05.0: reg 10 32bit mmio pref: >>>>>> [0xfc000000-0xfcffffff] >>>>>> [ 0.201404] pci 0000:04:05.0: PME# supported from D3hot D3cold >>>>>> [ 0.201411] pci 0000:04:05.0: PME# disabled >>>>>> [ 0.308917] serial 0000:04:05.0: PCI INT A -> GSI 18 (level, low) >>>>>> -> >>>>>> IRQ 18 >>>>>> [ 0.308929] serial 0000:04:05.0: PCI INT A disabled >>>>>> >>>>>> The PCI slot 04:05.0 of the modem card may be disabled early in >>>>>> a bootup process, but then enabled later. If modem drivers load >>>>>> but the modem is not responsive, read DOCs/Bootup.txt about >>>>>> possible >>>>>> fixes. >>>>>> Send dmesg.txt along with ModemData.txt to discuss@xxxxxxxxxxxxx >>>>>> if help is needed. >>>>>> >>>>>> >>>>>> === Finished firmware and bootup diagnostics, next deducing cogent >>>>>> software. === >>>>>> >>>>>> Predictive diagnostics for card in bus 04:05.0: >>>>>> Modem chipset detected on >>>>>> NAME="Modem: Smart Link Ltd. LM-I56N " >>>>>> CLASS=0703 >>>>>> PCIDEV=2003:8800 >>>>>> SUBSYS=16ef:2800 >>>>>> IRQ=18 >>>>>> IDENT=slamr >>>>>> >>>>>> For candidate modem in: 04:05.0 >>>>>> 0703 Modem: Smart Link Ltd. LM-I56N >>>>>> Primary device ID: 2003:8800 >>>>>> Support type needed or chipset: slamr >>>>>> >>>>>> >>>>>> The modem is supported by the Smartlink >>>>>> plus the slmodemd helper utility. Read the >>>>>> DOCs/Smartlink.txt and Modem/DOCs/YourSystem.txt for follow through >>>>>> guidance. >>>>>> >>>>>> >>>>>> For 2.6.32-21-generic compiling drivers is necessary. As of October >>>>>> 2007 >>>>>> the current packages at >>>>>> http://linmodems.technion.ac.il/packages/smartlink/ are the >>>>>> ungrab-winmodem-20070505.tar.gz and slmodem-2.9.11-20080126.tar.gz >>>>>> >>>>>> Writing DOCs/Smartlink.txt >>>>>> ============ end Smartlink section ===================== >>>>>> >>>>>> Completed candidate modem analyses. >>>>>> >>>>>> The base of the UDEV device file system is: /dev/.udev >>>>>> >>>>>> Versions adequately match for the compiler installed: 4.4.3 >>>>>> and the compiler used in kernel assembly: 4.4.3 >>>>>> >>>>>> The patch utility is needed for compiling ALSA drivers, and >>>>>> possibly >>>>>> others. >>>>>> >>>>>> >>>>>> Minimal compiling resources appear complete: >>>>>> make utility - /usr/bin/make >>>>>> Compiler version 4.4 >>>>>> linuc_headers base folder /lib/modules/2.6.32-21-generic/build >>>>>> >>>>>> However some compilations and executable functions may need >>>>>> additional >>>>>> files, >>>>>> in the FileNames.h (so called kernel "h"eaders) collection >>>>>> installed >>>>>> in /usr/include/ . >>>>>> For martian_modem, additional required packages are needed. The >>>>>> also >>>>>> required headers of package libc6 are commonly installed by default. >>>>>> Compiling hsfmodem drivers does require linux-libc-dev and >>>>>> libc6-dev >>>>>> packages, for kernels 2.6.24 and later versions. >>>>>> In not included on your install CD, search for them at >>>>>> http://packages.ubuntu.com >>>>>> or comparable Repository for other Linux distros. >>>>>> When compiling ALSA drivers, the utility "patch" will also be >>>>>> needed. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> If a driver compilation fails, with message including some lack of some >>>>>> FileName.h (stdio.h for example), then >>>>>> Some additional kernel-header files need installation to /usr/include. >>>>>> The minimal additional packages are libc6-dev >>>>>> and any of its dependents, under Ubuntu linux-libc-dev >>>>>> >>>>>> If an alternate ethernet connection is available, >>>>>> $ apt-get update >>>>>> $ apt-get -s install linux-kernel-devel >>>>>> will install needed packages. >>>>>> For Debian/Ubuntu related distributions, run the following command to >>>>>> display the needed package list: >>>>>> >>>>>> Otherwise packages have to be found through http://packages.ubuntu.com >>>>>> Once downloaded and transferred into a Linux partition, >>>>>> they can be installed alltogether with: >>>>>> $ sudo dpkg -i *.deb >>>>>> >>>>>> >>>>>> Checking pppd properties: >>>>>> -rwsr-xr-- 1 root dip 273312 2010-03-07 07:29 /usr/sbin/pppd >>>>>> >>>>>> In case of an "error 17" "serial loopback" problem, see: >>>>>> >>>>>> http://linmodems.technion.ac.il/linmodems/archive-sixth/msg02637.html >>>>>> >>>>>> To enable dialout without Root permission do: >>>>>> $ su - root (not for Ubuntu) >>>>>> sudo chmod a+x /usr/sbin/pppd >>>>>> or under Ubuntu related Linuxes >>>>>> sudo chmod a+x /usr/sbin/pppd >>>>>> >>>>>> Checking settings of: /etc/ppp/options >>>>>> asyncmap 0 >>>>>> noauth >>>>>> crtscts >>>>>> lock >>>>>> hide-password >>>>>> modem >>>>>> proxyarp >>>>>> lcp-echo-interval 30 >>>>>> lcp-echo-failure 4 >>>>>> noipx >>>>>> >>>>>> In case of a message like: >>>>>> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied >>>>>> see http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html >>>>>> >>>>>> For guidance on FAX usage, get from >>>>>> http://linmodems.technion.ac.il/packages/ get faxing.tar.gz >>>>>> It has samples for a modem using port /dev/ttySL0, which must be >>>>>> changed >>>>>> to match your modem's port. >>>>>> >>>>>> Read Modem/DOCs/YourSystem.txt concerning other COMM channels: eth0 >>>>>> Which can interfere with Browser naviagation. >>>>>> >>>>>> Don't worry about the following, it is for experts should trouble >>>>>> shooting be necessary. >>>>>> ========================================================== >>>>>> >>>>>> Checking for modem support lines: >>>>>> -------------------------------------- >>>>>> /device/modem symbolic link: >>>>>> slmodemd created symbolic link /dev/ttySL0: >>>>>> Within /etc/udev/ files: >>>>>> >>>>>> Within /etc/modprobe.conf files: >>>>>> /etc/modprobe.d/alsa-base.conf:options snd-atiixp-modem index=-2 >>>>>> /etc/modprobe.d/alsa-base.conf:options snd-via82xx-modem index=-2 >>>>>> /etc/modprobe.d/blacklist-modem.conf:# Uncomment these entries in order >>>>>> to blacklist unwanted modem drivers >>>>>> /etc/modprobe.d/blacklist-modem.conf:# blacklist snd-atiixp-modem >>>>>> /etc/modprobe.d/blacklist-modem.conf:# blacklist snd-via82xx-modem >>>>>> Within any ancient /etc/devfs files: >>>>>> >>>>>> Within ancient kernel 2.4.n /etc/module.conf files: >>>>>> >>>>>> --------- end modem support lines -------- >>>>>> >>>>>> _______________________________________________________________________________ >>>>>> :-( >>>>>> >>>> >> >> >