Nayan, THe compile processes were fine. After rebooting do $ su - root # mknod -m 600 /dev/slamr0 c 242 0 as devices generally are created in RAM space and do not survive shutdown. But this can be automated later. Again do # modprobe ungrab-winmodem # modprobe slamr # slmodemd -c INDIA /dev/slamr0 Check for port creation: # ls -l /dev/ttySL0 /dev/pts/* If there is a symbolic link: /dev/ttySL0 --> /dev/pts/N N some number. Again try # wvdialconf /etc/wvdial.conf MarvS On 6/10/07, nayan nakhare <nayannakhare@xxxxxxxxx> wrote:
Hi Marvin, Thanks for the reply. I do not have /usr/src/modules/, & couldn't create modules folder in /usr/src/, so I created it in my home directory & copied the ungrab-winmodem-20070505.tar.gz & slmodem-2.9.11-20070505.tar.gz to it. I followed your other instructions, but was unsuccessful. Will you please guide me in this situation? The output of the terminal is given below: su Password: linux-k5vv:/home/nayan # cd modules linux-k5vv:/home/nayan/modules # cd ungrab-winmodem-20070505 linux-k5vv:/home/nayan/modules/ungrab-winmodem-20070505 # make clean rm -f *.o *.ko *.mod.* .*.cmd *~ rm -f -r .tmp_versions linux-k5vv:/home/nayan/modules/ungrab-winmodem-20070505 # make make modules -C /lib/modules/2.6.18.2-34-default/build SUBDIRS=/home/nayan/modules/ungrab-winmodem-20070505 make[1]: Entering directory `/usr/src/linux-2.6.18.2-34-obj/i386/default' make -C ../../../linux-2.6.18.2-34 O=../linux-2.6.18.2-34-obj/i386/default modules CC [M] /home/nayan/modules/ungrab-winmodem-20070505/ungrab-winmodem.o Building modules, stage 2. MODPOST CC /home/nayan/modules/ungrab-winmodem-20070505/ungrab-winmodem.mod.o LD [M] /home/nayan/modules/ungrab-winmodem-20070505/ungrab-winmodem.ko make[1]: Leaving directory `/usr/src/linux-2.6.18.2-34-obj/i386/default' linux-k5vv:/home/nayan/modules/ungrab-winmodem-20070505 # make install make modules -C /lib/modules/2.6.18.2-34-default/build SUBDIRS=/home/nayan/modules/ungrab-winmodem-20070505 make[1]: Entering directory `/usr/src/linux-2.6.18.2-34-obj/i386/default' make -C ../../../linux-2.6.18.2-34 O=../linux-2.6.18.2-34-obj/i386/default modules Building modules, stage 2. MODPOST make[1]: Leaving directory `/usr/src/linux-2.6.18.2-34-obj/i386/default' install -D -m 644 ungrab-winmodem.ko /lib/modules/2.6.18.2-34-default/extra/ungrab-winmodem.ko /sbin/depmod -a linux-k5vv:/home/nayan/modules/ungrab-winmodem-20070505 # cd /home/nayan/modules/slmodem-2.9.11-20070505 linux-k5vv:/home/nayan/modules/slmodem-2.9.11-20070505 # make clean make -C modem clean && make -C drivers clean && echo "done." make[1]: Entering directory `/home/nayan/modules/slmodem-2.9.11-20070505/modem' rm -f slmodemd modem_test modem_main.o modem_cmdline.o modem_test.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 sysdep_common.o rm -f *~ *.orig *.rej make[1]: Leaving directory `/home/nayan/modules/slmodem-2.9.11-20070505/modem' make[1]: Entering directory `/home/nayan/modules/slmodem-2.9.11-20070505/drivers' rm -f kernel-ver slamr.o slusb.o slamr.ko slusb.ko *st7554.o amrmo_init.o sysdep_amr.o *.mod.* .*.cmd *~ rm -f -r .tmp_versions make[1]: Leaving directory `/home/nayan/modules/slmodem-2.9.11-20070505/drivers' done. linux-k5vv:/home/nayan/modules/slmodem-2.9.11-20070505 # make make -C modem all make[1]: Entering directory `/home/nayan/modules/slmodem-2.9.11-20070505/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 modem_pack.c: In function ?modem_async_get_bits?: modem_pack.c:100: warning: pointer targets in passing argument 2 of ?m->get_chars? differ in signedness modem_pack.c: In function ?modem_async_put_bits?: modem_pack.c:148: warning: pointer targets in passing argument 2 of ?m->put_chars? differ in signedness gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_ec.o -c modem_ec.c modem_ec.c: In function ?tx_info?: modem_ec.c:723: warning: pointer targets in passing argument 2 of ?l->modem->get_chars? differ in signedness modem_ec.c: In function ?push_rest_data?: modem_ec.c:811: warning: pointer targets in passing argument 2 of ?l->modem->put_chars? differ in signedness modem_ec.c: In function ?rx_info?: modem_ec.c:860: warning: pointer targets in passing argument 2 of ?l->modem->put_chars? differ in signedness 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 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/nayan/modules/slmodem-2.9.11-20070505/modem' make -C drivers KERNEL_DIR=/lib/modules/2.6.18.2-34-default/build make[1]: Entering directory `/home/nayan/modules/slmodem-2.9.11-20070505/drivers' cc -I/lib/modules/2.6.18.2-34-default/build/include -o kernel-ver kernel-ver.c make all KERNEL_VER=2.6.18.2-34-default make[2]: Entering directory `/home/nayan/modules/slmodem-2.9.11-20070505/drivers' make modules -C /lib/modules/2.6.18.2-34-default/build SUBDIRS=/home/nayan/modules/slmodem-2.9.11-20070505/drivers make[3]: Entering directory `/usr/src/linux-2.6.18.2-34-obj/i386/default' make -C ../../../linux-2.6.18.2-34 O=../linux-2.6.18.2-34-obj/i386/default modules CC [M] /home/nayan/modules/slmodem-2.9.11-20070505/drivers/amrmo_init.o CC [M] /home/nayan/modules/slmodem-2.9.11-20070505/drivers/sysdep_amr.o CC [M] /home/nayan/modules/slmodem-2.9.11-20070505/drivers/st7554.o LD [M] /home/nayan/modules/slmodem-2.9.11-20070505/drivers/slamr.o LD [M] /home/nayan/modules/slmodem-2.9.11-20070505/drivers/slusb.o Building modules, stage 2. MODPOST WARNING: could not find /home/nayan/modules/slmodem-2.9.11-20070505/drivers/.amrlibs.o.cmd for /home/nayan/modules/slmodem-2.9.11-20070505/drivers/amrlibs.o WARNING: modpost: GPL-incompatible module slusb.ko uses future GPL-only symbol 'usb_deregister' WARNING: modpost: GPL-incompatible module slusb.ko uses future GPL-only symbol 'usb_register_driver' CC /home/nayan/modules/slmodem-2.9.11-20070505/drivers/slamr.mod.o LD [M] /home/nayan/modules/slmodem-2.9.11-20070505/drivers/slamr.ko CC /home/nayan/modules/slmodem-2.9.11-20070505/drivers/slusb.mod.o LD [M] /home/nayan/modules/slmodem-2.9.11-20070505/drivers/slusb.ko make[3]: Leaving directory `/usr/src/linux-2.6.18.2-34-obj/i386/default' make[2]: Leaving directory `/home/nayan/modules/slmodem-2.9.11-20070505/drivers' make[1]: Leaving directory `/home/nayan/modules/slmodem-2.9.11-20070505/drivers' linux-k5vv:/home/nayan/modules/slmodem-2.9.11-20070505 # make install make -C modem all make[1]: Entering directory `/home/nayan/modules/slmodem-2.9.11-20070505/modem' make[1]: Leaving directory `/home/nayan/modules/slmodem-2.9.11-20070505/modem' make -C drivers KERNEL_DIR=/lib/modules/2.6.18.2-34-default/build make[1]: Entering directory `/home/nayan/modules/slmodem-2.9.11-20070505/drivers' cc -I/lib/modules/2.6.18.2-34-default/build/include -o kernel-ver kernel-ver.c make all KERNEL_VER=2.6.18.2-34-default make[2]: Entering directory `/home/nayan/modules/slmodem-2.9.11-20070505/drivers' make modules -C /lib/modules/2.6.18.2-34-default/build SUBDIRS=/home/nayan/modules/slmodem-2.9.11-20070505/drivers make[3]: Entering directory `/usr/src/linux-2.6.18.2-34-obj/i386/default' make -C ../../../linux-2.6.18.2-34 O=../linux-2.6.18.2-34-obj/i386/default modules Building modules, stage 2. MODPOST WARNING: could not find /home/nayan/modules/slmodem-2.9.11-20070505/drivers/.amrlibs.o.cmd for /home/nayan/modules/slmodem-2.9.11-20070505/drivers/amrlibs.o WARNING: modpost: GPL-incompatible module slusb.ko uses future GPL-only symbol 'usb_deregister' WARNING: modpost: GPL-incompatible module slusb.ko uses future GPL-only symbol 'usb_register_driver' make[3]: Leaving directory `/usr/src/linux-2.6.18.2-34-obj/i386/default' make[2]: Leaving directory `/home/nayan/modules/slmodem-2.9.11-20070505/drivers' make[1]: Leaving directory `/home/nayan/modules/slmodem-2.9.11-20070505/drivers' make install -C drivers KERNEL_DIR=/lib/modules/2.6.18.2-34-default/build make[1]: Entering directory `/home/nayan/modules/slmodem-2.9.11-20070505/drivers' cc -I/lib/modules/2.6.18.2-34-default/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 mknod -m 600 /dev/slusb0 c 243 0 ; mknod -m 600 /dev/slusb1 c 243 1 ; mknod -m 600 /dev/slusb2 c 243 2 ; mknod -m 600 /dev/slusb3 c 243 3 ; echo -n make install KERNEL_VER=2.6.18.2-34-default make[2]: Entering directory `/home/nayan/modules/slmodem-2.9.11-20070505/drivers' install -D -m 644 slamr.ko /lib/modules/2.6.18.2-34-default/extra/slamr.ko install -D -m 644 slusb.ko /lib/modules/2.6.18.2-34-default/extra/slusb.ko /sbin/depmod -a make[2]: Leaving directory `/home/nayan/modules/slmodem-2.9.11-20070505/drivers' make[1]: Leaving directory `/home/nayan/modules/slmodem-2.9.11-20070505/drivers' install -D -m 755 modem/slmodemd /usr/sbin/slmodemd rm -f -rf /var/lib/slmodem install -d -D -m 755 /var/lib/slmodem linux-k5vv:/home/nayan/modules/slmodem-2.9.11-20070505 # modprobe ungrab-winmodem linux-k5vv:/home/nayan/modules/slmodem-2.9.11-20070505 # modprobe slamr linux-k5vv:/home/nayan/modules/slmodem-2.9.11-20070505 # dmesg | grep slamr slamr: module license 'Smart Link Ltd.' taints kernel. slamr: SmartLink AMRMO modem. slamr: probe 134d:2189 SL1900 card... slamr: slamr0 is SL1900 card. linux-k5vv:/home/nayan/modules/slmodem-2.9.11-20070505 # slmodemd -c INDIA /dev/slamr0 SmartLink Soft Modem: version 2.9.11 Jun 10 2007 11:49:47 symbolic link `/dev/ttySL0' -> `/dev/pts/2' created. modem `slamr0' created. TTY is `/dev/pts/2' Use `/dev/ttySL0' as modem device, Ctrl+C for termination. linux-k5vv:/home/nayan/modules/slmodem-2.9.11-20070505 # wvdialconf wvtest 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. Port Scan<*1>: S2 ttyS4<Info>: No such device or address Port Scan<*1>: S4 ttyS5<Info>: No such device or address Port Scan<*1>: S5 ttyS6<Info>: No such device or address Port Scan<*1>: S6 ttyS7<Info>: No such device or address Port Scan<*1>: S7 Sorry, no modem was detected! Is it in use by another program? Did you configure it properly with setserial? Please read the FAQ at http://open.nit.ca/wvdial/ If you still have problems, send mail to wvdial-list@xxxxxxxxxxxxx linux-k5vv:/home/nayan/modules/slmodem-2.9.11-20070505 # -Nayan.