Re: New ModemData.txt

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

 



On 11/19/07, Nitin Niroula <nisalome@xxxxxxxxx> wrote:
> I reinstalled opensuse 10.3 and I have attached ModemData.txt
> Below I have pasted the output of the commands.
>
> Waiting for help.
>
> nisalome@linux-c0k6:~> ls
> bin        Modem        RanOnce.txt   slmodem-2.9.11-20070813.tar.gz
> Desktop    Music        scanModem     ungrab-winmodem-20070505.tar.gz
> Documents  public_html  scanModem.gz
> nisalome@linux-c0k6:~> tar zxf sl*.tar.gz un*.tar.gz
> tar: ungrab-winmodem-20070505.tar.gz: Not found in archive
> tar: Error exit delayed from previous errors
> nisalome@linux-c0k6:~> tar zxf sl*.tar.gz
> nisalome@linux-c0k6:~> tar zxf un*.tar.gz
> nisalome@linux-c0k6:~> ls
> bin        public_html              slmodem-2.9.11-20070813.tar.gz
> Desktop    RanOnce.txt              ungrab-winmodem-20070505
> Documents  scanModem                ungrab-winmodem-20070505.tar.gz
> Modem      scanModem.gz
> Music      slmodem-2.9.11-20070813
> nisalome@linux-c0k6:~> cd sl*
> nisalome@linux-c0k6:~/slmodem-2.9.11-20070813> ls
> Changes  drivers   modem    README   slamr_compile.txt
> COPYING  Makefile  patches  scripts  Smartlink.txt
> nisalome@linux-c0k6:~/slmodem-2.9.11-20070813> make clean
> make -C modem clean &&  make -C drivers clean &&  echo "done."
> make[1]: Entering directory `/home/nisalome/slmodem-2.9.11-20070813/modem'
> rm -f slmodemd modem_test modem_main.o modem_cmdline.o modem_test.o modem.o mode
> m_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/nisalome/slmodem-2.9.11-20070813/modem'
> make[1]: Entering directory `/home/nisalome/slmodem-2.9.11-20070813/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/nisalome/slmodem-2.9.11-20070813/drivers'
> done.
> nisalome@linux-c0k6:~/slmodem-2.9.11-20070813> make all
> make -C modem all
> make[1]: Entering directory `/home/nisalome/slmodem-2.9.11-20070813/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_char
> s' 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_char
> s' 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_a
> t.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/nisalome/slmodem-2.9.11-20070813/modem'
> make -C drivers KERNEL_DIR=/lib/modules/2.6.22.5-31-default/build
> make[1]: Entering directory `/home/nisalome/slmodem-2.9.11-20070813/drivers'
> cc -I/lib/modules/2.6.22.5-31-default/build/include -o kernel-ver kernel-ver.c
> make all KERNEL_VER=2.6.22.5-31-default
> make[2]: Entering directory `/home/nisalome/slmodem-2.9.11-20070813/drivers'
> make modules -C /lib/modules/2.6.22.5-31-default/build SUBDIRS=/home/nisalome/sl
> modem-2.9.11-20070813/drivers
> make[3]: Entering directory `/usr/src/linux-2.6.22.5-31-obj/i386/default'
> make -C ../../../linux-2.6.22.5-31 O=../linux-2.6.22.5-31-obj/i386/default modul
> es
>  CC [M]  /home/nisalome/slmodem-2.9.11-20070813/drivers/amrmo_init.o
> /home/nisalome/slmodem-2.9.11-20070813/drivers/amrmo_init.c: In function 'amrmo_
> pci_probe':
> /home/nisalome/slmodem-2.9.11-20070813/drivers/amrmo_init.c:620: warning: 'depre
> cated_irq_flag' is deprecated (declared at /usr/src/linux-2.6.22.5-31/include/li
> nux/interrupt.h:66)
> /home/nisalome/slmodem-2.9.11-20070813/drivers/amrmo_init.c: In function 'amrmo_
> init':
> /home/nisalome/slmodem-2.9.11-20070813/drivers/amrmo_init.c:760: warning: 'pci_f
> ind_device' is deprecated (declared at /usr/src/linux-2.6.22.5-31/include/linux/
> pci.h:477)
>  CC [M]  /home/nisalome/slmodem-2.9.11-20070813/drivers/sysdep_amr.o
>  CC [M]  /home/nisalome/slmodem-2.9.11-20070813/drivers/st7554.o
>  LD [M]  /home/nisalome/slmodem-2.9.11-20070813/drivers/slamr.o
>  LD [M]  /home/nisalome/slmodem-2.9.11-20070813/drivers/slusb.o
>  Building modules, stage 2.
>  MODPOST 2 modules
> WARNING: could not find /home/nisalome/slmodem-2.9.11-20070813/drivers/.amrlibs.
> o.cmd for /home/nisalome/slmodem-2.9.11-20070813/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/nisalome/slmodem-2.9.11-20070813/drivers/slamr.mod.o
>  LD [M]  /home/nisalome/slmodem-2.9.11-20070813/drivers/slamr.ko
>  CC      /home/nisalome/slmodem-2.9.11-20070813/drivers/slusb.mod.o
>  LD [M]  /home/nisalome/slmodem-2.9.11-20070813/drivers/slusb.ko
> make[3]: Leaving directory `/usr/src/linux-2.6.22.5-31-obj/i386/default'
> make[2]: Leaving directory `/home/nisalome/slmodem-2.9.11-20070813/drivers'
> make[1]: Leaving directory `/home/nisalome/slmodem-2.9.11-20070813/drivers'
> nisalome@linux-c0k6:~/slmodem-2.9.11-20070813> make install

Here before you can type make all, you need to do
nisalome@linux-c0k6:~/slmodem-2.9.11-20070813> su
Then you become root and can type
root@linux-c0k6:~/slmodem-2.9.11-20070813> make install

> make -C modem all
> make[1]: Entering directory `/home/nisalome/slmodem-2.9.11-20070813/modem'
> make[1]: Leaving directory `/home/nisalome/slmodem-2.9.11-20070813/modem'
> make -C drivers KERNEL_DIR=/lib/modules/2.6.22.5-31-default/build
> make[1]: Entering directory `/home/nisalome/slmodem-2.9.11-20070813/drivers'
> cc -I/lib/modules/2.6.22.5-31-default/build/include -o kernel-ver kernel-ver.c
> make all KERNEL_VER=2.6.22.5-31-default
> make[2]: Entering directory `/home/nisalome/slmodem-2.9.11-20070813/drivers'
> make modules -C /lib/modules/2.6.22.5-31-default/build SUBDIRS=/home/nisalome/sl
> modem-2.9.11-20070813/drivers
> make[3]: Entering directory `/usr/src/linux-2.6.22.5-31-obj/i386/default'
> make -C ../../../linux-2.6.22.5-31 O=../linux-2.6.22.5-31-obj/i386/default modul
> es
>  Building modules, stage 2.
>  MODPOST 2 modules
> WARNING: could not find /home/nisalome/slmodem-2.9.11-20070813/drivers/.amrlibs.
> o.cmd for /home/nisalome/slmodem-2.9.11-20070813/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.22.5-31-obj/i386/default'
> make[2]: Leaving directory `/home/nisalome/slmodem-2.9.11-20070813/drivers'
> make[1]: Leaving directory `/home/nisalome/slmodem-2.9.11-20070813/drivers'
> make install -C drivers KERNEL_DIR=/lib/modules/2.6.22.5-31-default/build
> make[1]: Entering directory `/home/nisalome/slmodem-2.9.11-20070813/drivers'
> cc -I/lib/modules/2.6.22.5-31-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: `/dev/slamr0': Permission denied
> mknod: `/dev/slamr1': Permission denied
> mknod: `/dev/slamr2': Permission denied
> mknod: `/dev/slamr3': Permission denied
> 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
> mknod: `/dev/slusb0': Permission denied
> mknod: `/dev/slusb1': Permission denied
> mknod: `/dev/slusb2': Permission denied
> mknod: `/dev/slusb3': Permission denied
> make install KERNEL_VER=2.6.22.5-31-default
> make[2]: Entering directory `/home/nisalome/slmodem-2.9.11-20070813/drivers'
> install -D -m 644 slamr.ko /lib/modules/2.6.22.5-31-default/extra/slamr.ko
> install: cannot create directory /lib/modules/2.6.22.5-31-default/extra: Permiss
> ion denied
> make[2]: *** [install] Error 1
> make[2]: Leaving directory `/home/nisalome/slmodem-2.9.11-20070813/drivers'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/home/nisalome/slmodem-2.9.11-20070813/drivers'
> make: *** [install-drivers] Error 2
> nisalome@linux-c0k6:~/slmodem-2.9.11-20070813> cd ..
> nisalome@linux-c0k6:~> cd un*
> nisalome@linux-c0k6:~/ungrab-winmodem-20070505> ls
> Makefile  Modules.symvers  Module.symvers  Readme.txt  ungrab-winmodem.c
> nisalome@linux-c0k6:~/ungrab-winmodem-20070505> make clean
> rm -f *.o *.ko *.mod.* .*.cmd *~
> rm -f -r .tmp_versions
> nisalome@linux-c0k6:~/ungrab-winmodem-20070505> make all
> make modules -C /lib/modules/2.6.22.5-31-default/build SUBDIRS=/home/nisalome/un
> grab-winmodem-20070505
> make[1]: Entering directory `/usr/src/linux-2.6.22.5-31-obj/i386/default'
> make -C ../../../linux-2.6.22.5-31 O=../linux-2.6.22.5-31-obj/i386/default modul
> es
>  CC [M]  /home/nisalome/ungrab-winmodem-20070505/ungrab-winmodem.o
> /home/nisalome/ungrab-winmodem-20070505/ungrab-winmodem.c: In function 'softmode
> m_release_init':
> /home/nisalome/ungrab-winmodem-20070505/ungrab-winmodem.c:90: warning: 'pci_find
> _device' is deprecated (declared at /usr/src/linux-2.6.22.5-31/include/linux/pci
> .h:477)
>  Building modules, stage 2.
>  MODPOST 1 modules
>  CC      /home/nisalome/ungrab-winmodem-20070505/ungrab-winmodem.mod.o
>  LD [M]  /home/nisalome/ungrab-winmodem-20070505/ungrab-winmodem.ko
> make[1]: Leaving directory `/usr/src/linux-2.6.22.5-31-obj/i386/default'
> nisalome@linux-c0k6:~/ungrab-winmodem-20070505> make install

Here as well you need to continue as super user/root user to do the
the following steps

root@linux-c0k6:~/ungrab-winmodem-20070505> make clean
root@linux-c0k6:~/ungrab-winmodem-20070505> make
root@linux-c0k6:~/ungrab-winmodem-20070505> make install


> make modules -C /lib/modules/2.6.22.5-31-default/build SUBDIRS=/home/nisalome/un
> grab-winmodem-20070505
> make[1]: Entering directory `/usr/src/linux-2.6.22.5-31-obj/i386/default'
> make -C ../../../linux-2.6.22.5-31
> O=../linux-2.6.22.5-31-obj/i386/default modul
>    es
>  Building modules, stage 2.
>  MODPOST 1 modules
> make[1]: Leaving directory `/usr/src/linux-2.6.22.5-31-obj/i386/default'
> install -D -m 644 ungrab-winmodem.ko
> /lib/modules/2.6.22.5-31-default/extra/ungr
>  ab-winmodem.ko
> install: cannot create directory
> /lib/modules/2.6.22.5-31-default/extra: Permiss
>      ion denied
> make: *** [install] Error 1
> nisalome@linux-c0k6:~/ungrab-winmodem-20070505> su root
> Password:
> linux-c0k6:/home/nisalome/ungrab-winmodem-20070505 # modprobe ungrab-winmodem
> FATAL: Module ungrab_winmodem not found.
> linux-c0k6:/home/nisalome/ungrab-winmodem-20070505 # cd ..
> linux-c0k6:/home/nisalome # cd sl*
> linux-c0k6:/home/nisalome/slmodem-2.9.11-20070813 # modprobe slamr
> FATAL: Module slamr not found.
> linux-c0k6:/home/nisalome/slmodem-2.9.11-20070813 # slmodemd -c USA /dev/slamr0
> error: mdm setup: cannot stat `/dev/slamr0': No such file or directory
> error: cannot setup device `/dev/slamr0'
> linux-c0k6:/home/nisalome/slmodem-2.9.11-20070813 #
>
>

After which you may now type
nisalome@linux-c0k6:~/ungrab-winmodem-20070505> su root
Password:
linux-c0k6:/home/nisalome/ungrab-winmodem-20070505 # modprobe ungrab-winmodem
linux-c0k6:/home/nisalome/slmodem-2.9.11-20070813 # modprobe slamr
linux-c0k6:/home/nisalome/slmodem-2.9.11-20070813 # slmodemd -c USA /dev/slamr0

and you should get a line like the following:

SmartLink Soft Modem: version 2.9.11 Nov  19 2007 21:19:29
symbolic link `/dev/ttySL0' -> `/dev/pts/3' created.
modem `slamr0' created. TTY is `/dev/pts/3'
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.

after which you need to fire up another terminal and do the following:

$ su -
Password:
# wvdialconf /etc/wvdial.conf

[Dialer Defaults]
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
; Phone =
ISDN = 0
; Username =
Init1 = ATZ
; Password =
Modem = /dev/ttySL0
Baud = 460800


Add username and password by removing ;


[Dialer Defaults]
Init2 = ATQ0 V1 E1 S0=0 X3 &C1 &D2 +MS=90
Modem Type = Analog Modem
Phone = XXXX <--- number to dial for your ISP goes here
ISDN = 0
Username = yourusername
Init1 = ATZ
Password = **********
Modem = /dev/ttySL0
Baud = 460800
Carrier Check = no
Stupid Mode = yes
Auto DNS = yes


Report back if you have questions/troubles.  Also you can refer to the
page below which is what I did except that I use Fedora 8, but it is
pretty much the same steps in your OpenSUSE distro

http://www.geocities.com/olivares14031/slmodemd-fedora8.html

also a section was added to the slmodemd-setup page with Suse *thanks
to Binoj K.N.

http://www20.brinkster.com/olivares/slmodemd-setup-1.html


Regards,

Antonio

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

  Powered by Linux