Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 14 of 14
Hello, Thinker! Thank you for helping me out here. Contents of /etc/wvdial.conf file ------------------------------- [Dialer Defaults] Modem = /dev/ttySL0 Baud = 460800 Init1 = ATZ Init2 = ATQ0 V1 E1 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined!
    Join Date
    Dec 2006
    Posts
    16

    Still problem with Browsing


    Hello, Thinker! Thank you for helping me out here.

    Contents of /etc/wvdial.conf file
    -------------------------------
    [Dialer Defaults]
    Modem = /dev/ttySL0
    Baud = 460800
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ISDN = 0
    Modem Type = Analog Modem
    Phone = 15100
    Username = june15
    Password = yahoo
    Carrier Check = no

    One thing more, everytime I restart my system and execute this:
    --------------------------------------------------------------
    [root@localhost ~]# /usr/sbin/slmodemd --country=USA /dev/slamr0
    error: mdm setup: cannot stat `/dev/slamr0': No such file or directory
    error: cannot setup device `/dev/slamr0'

    I had to start from make, make install,....again! why?

    I checked firefox; it is directly connected to the internet.
    ? is ipv6 ? is it like tcp/ip in windows? anyway I didn't find any option in firefox for that. plz, tell me where I have to look.

    Mozilla Firefox give error message: Server not found.
    Konqueror give error message: Unknown host www.google.com. Same for www.yahoo.com.

  2. #12
    Linux User
    Join Date
    Jun 2006
    Posts
    311
    Hi rachin,

    [root@localhost ~]# /usr/sbin/slmodemd --country=USA /dev/slamr0
    error: mdm setup: cannot stat `/dev/slamr0': No such file or directory
    error: cannot setup device `/dev/slamr0'

    I had to start from make, make install,....again! why?
    When the above case happens, run the following command and post its contents : -

    $ dmesg | grep slamr
    Well, this happens because, when Linux loads, it will scan all the devices connected to PCI and when a particular device is recognised, it loads the default associated driver and the device gets grabbed by this driver. So, in this case, the device gets bound to the default serial driver and when you try to load slmodemd, it cannot be loaded because you do not have the device unbounded.

    A quick solution would be to use the pseudo-driver, ungrab-winmodem. This is mentioned in the README file of the modem driver you installed. Install it after downloading the source from the link given below and do read its Readme.txt file : -

    http://linmodems.technion.ac.il/pack...inmodem.tar.gz

    But always remember that you have to load ungrab-winmodem before loading slamr.

    To check IPv6 setting in Firefox, type about:config in address bar of Firefox and type IPv6 in the filter to see the preference name, network.dns.disableIPv6, which is set as false by default. To make it true, double click on it or right click and select toggle which makes it bold.

    With Regards,
    Thinker

  3. #13
    Just Joined!
    Join Date
    Dec 2006
    Posts
    16

    Full Steps

    From the start:
    ---------------
    [root@localhost ungrab-winmodem]# make
    make modules -C /lib/modules/2.6.18-1.2798.fc6/build SUBDIRS=/home/rachin/ungrab-winmodem
    make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-i586'
    Building modules, stage 2.
    MODPOST
    make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6-i586'

    [root@localhost ungrab-winmodem]# make install
    make modules -C /lib/modules/2.6.18-1.2798.fc6/build SUBDIRS=/home/rachin/ungrab-winmodem
    make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-i586'
    Building modules, stage 2.
    MODPOST
    make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6-i586'
    install -D -m 644 ungrab-winmodem.ko /lib/modules/2.6.18-1.2798.fc6/extra/ungrab-winmodem.ko
    /sbin/depmod -a

    [root@localhost ungrab-winmodem]# cd ..
    [root@localhost rachin]# cd slmodem-2.9.11-20061021
    [root@localhost slmodem-2.9.11-20061021]# make

    make -C modem all
    make[1]: Entering directory `/home/rachin/slmodem-2.9.11-20061021/modem'
    make[1]: Leaving directory `/home/rachin/slmodem-2.9.11-20061021/modem'
    make -C drivers KERNEL_DIR=/lib/modules/2.6.18-1.2798.fc6/build
    make[1]: Entering directory `/home/rachin/slmodem-2.9.11-20061021/drivers'
    cc -I/lib/modules/2.6.18-1.2798.fc6/build/include -o kernel-ver kernel-ver.c
    make all KERNEL_VER=2.6.18-1.2798.fc6
    make[2]: Entering directory `/home/rachin/slmodem-2.9.11-20061021/drivers'
    make modules -C /lib/modules/2.6.18-1.2798.fc6/build SUBDIRS=/home/rachin/slmodem-2.9.11-20061021/drivers
    make[3]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-i586'
    Building modules, stage 2.
    MODPOST
    WARNING: could not find /home/rachin/slmodem-2.9.11-20061021/drivers/.amrlibs.o.cmd for /home/rachin/slmodem-2.9.11-20061021/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/kernels/2.6.18-1.2798.fc6-i586'
    make[2]: Leaving directory `/home/rachin/slmodem-2.9.11-20061021/drivers'
    make[1]: Leaving directory `/home/rachin/slmodem-2.9.11-20061021/drivers'

    [root@localhost slmodem-2.9.11-20061021]# make install
    make -C modem all
    make[1]: Entering directory `/home/rachin/slmodem-2.9.11-20061021/modem'
    make[1]: Leaving directory `/home/rachin/slmodem-2.9.11-20061021/modem'
    make -C drivers KERNEL_DIR=/lib/modules/2.6.18-1.2798.fc6/build
    make[1]: Entering directory `/home/rachin/slmodem-2.9.11-20061021/drivers'
    cc -I/lib/modules/2.6.18-1.2798.fc6/build/include -o kernel-ver kernel-ver.c
    make all KERNEL_VER=2.6.18-1.2798.fc6
    make[2]: Entering directory `/home/rachin/slmodem-2.9.11-20061021/drivers'
    make modules -C /lib/modules/2.6.18-1.2798.fc6/build SUBDIRS=/home/rachin/slmodem-2.9.11-20061021/drivers
    make[3]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-i586'
    Building modules, stage 2.
    MODPOST
    WARNING: could not find /home/rachin/slmodem-2.9.11-20061021/drivers/.amrlibs.o.cmd for /home/rachin/slmodem-2.9.11-20061021/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/kernels/2.6.18-1.2798.fc6-i586'
    make[2]: Leaving directory `/home/rachin/slmodem-2.9.11-20061021/drivers'
    make[1]: Leaving directory `/home/rachin/slmodem-2.9.11-20061021/drivers'
    make install -C drivers KERNEL_DIR=/lib/modules/2.6.18-1.2798.fc6/build
    make[1]: Entering directory `/home/rachin/slmodem-2.9.11-20061021/drivers'
    cc -I/lib/modules/2.6.18-1.2798.fc6/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-1.2798.fc6
    make[2]: Entering directory `/home/rachin/slmodem-2.9.11-20061021/drivers'
    install -D -m 644 slamr.ko /lib/modules/2.6.18-1.2798.fc6/extra/slamr.ko
    install -D -m 644 slusb.ko /lib/modules/2.6.18-1.2798.fc6/extra/slusb.ko
    /sbin/depmod -a
    make[2]: Leaving directory `/home/rachin/slmodem-2.9.11-20061021/drivers'
    make[1]: Leaving directory `/home/rachin/slmodem-2.9.11-20061021/drivers'
    install -D -m 755 modem/slmodemd /usr/sbin/slmodemd
    rm -f -rf /var/lib/slmodem
    install -d -D -m 755 /var/lib/slmodem

    [root@localhost slmodem-2.9.11-20061021]# modprobe ungrab-winmodem
    [root@localhost slmodem-2.9.11-20061021]# dmesg | grep slamr

    slamr: module license 'Smart Link Ltd.' taints kernel.
    slamr: SmartLink AMRMO modem.
    slamr: probe 2000:2800 SL2800 card...
    slamr: slamr0 is SL2800 card.
    device 2000:2800 is grabbed by driver slamr: try to release

    [root@localhost slmodem-2.9.11-20061021]# modprobe slamr
    [root@localhost slmodem-2.9.11-20061021]# dmesg | grep slamr

    slamr: module license 'Smart Link Ltd.' taints kernel.
    slamr: SmartLink AMRMO modem.
    slamr: probe 2000:2800 SL2800 card...
    slamr: slamr0 is SL2800 card.
    device 2000:2800 is grabbed by driver slamr: try to release
    slamr: SmartLink AMRMO modem.
    slamr: probe 2000:2800 SL2800 card...
    slamr: slamr0 is SL2800 card.

    [root@localhost slmodem-2.9.11-20061021]# /usr/sbin/slmodemd --country=USA /dev/slamr0
    SmartLink Soft Modem: version 2.9.11 Jan 2 2007 21:02:38
    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.

    In another terminal:
    -------------------
    [root@localhost ~]# wvdial
    --> WvDial: Internet dialer version 1.54.0
    --> 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: ATDT15100
    --> Waiting for carrier.
    ATDT15100
    CONNECT 53333
    --> Carrier detected. Waiting for prompt.
    Welcome to World Link Birgunj:
    Username:
    Username:
    --> Looks like a login prompt.
    --> Sending: june15
    june15
    Password:
    --> Looks like a password prompt.
    --> Sending: (password)
    *****
    ~[7f]}#@!}!}!} }8}!}$}%\}"}&} } } } }%}&[16]pvj}'}"}(}";&~
    --> PPP negotiation detected.
    --> Starting pppd at Wed Jan 10 14:05:40 2007
    --> pid of pppd: 3085
    --> Using interface ppp0
    --> pppd: Modem
    --> pppd: Modem
    --> local IP address 202.79.56.13
    --> pppd: Modem
    --> remote IP address 202.79.56.34
    --> pppd: Modem
    --> primary DNS address 202.79.56.39
    --> pppd: Modem
    --> secondary DNS address 202.79.32.40
    --> pppd: Modem


    After Reboot:
    ------------
    [root@localhost ~]# dmesg | grep slamr
    slamr: module license 'Smart Link Ltd.' taints kernel.
    slamr: SmartLink AMRMO modem.
    slamr: probe 2000:2800 SL2800 card...
    slamr: slamr0 is SL2800 card.

    [root@localhost ~]# modprobe ungrab-winmodem
    [root@localhost ~]# dmesg | grep slamr

    slamr: module license 'Smart Link Ltd.' taints kernel.
    slamr: SmartLink AMRMO modem.
    slamr: probe 2000:2800 SL2800 card...
    slamr: slamr0 is SL2800 card.
    device 2000:2800 is grabbed by driver slamr: try to release

    [root@localhost ~]# modprobe slamr
    [root@localhost ~]# /usr/sbin/slmodemd --country=USA /dev/slamr0

    error: mdm setup: cannot stat `/dev/slamr0': No such file or directory
    error: cannot setup device `/dev/slamr0'

    I have set the ipv6 to true as you said, but still same error page is displayed.

  4. #14
    Linux User
    Join Date
    Jun 2006
    Posts
    311

    Read the Smartlink.txt File

    Hi rachin,
    From your "From the start" post, it seems like the modem does not get grabbed by the default serial driver. Well, /dev/slamr0 and /dev/slusb0 does have a problem with reboot as they will not exist after a reboot because they are created in the RAM.

    You will have to manually create the devices as root or you can use the startup scripts provided in the scripts directory of the extracted archive. Read the Smartlink.txt file and follow the steps given in it. Post with details, when you are stuck somewhere.

    With Regards,
    Thinker

Page 2 of 2 FirstFirst 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •