Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: wvdial script with knoppix & easy setup for Indian datacards - one trouble though

  1. #1
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272

    wvdial script with knoppix & easy setup for Indian datacards - one trouble though

    What is wrong with the script wv-connect.sh (originally compiled from various sources and posted in knoppix forum http://forums.debian.net/viewtopic.php?f=5&t=74246 ) that the modem is reinitialised after an incremental time period every time the system fails to connect to the internet?
    Otherwise, the script is excellent to connect to the internet when the software provided by the service provider is only capable of operation in Windows.
    The outputs are:
    --> Auto Reconnect will be attempted in 5 seconds
    --> Auto Reconnect will be attempted in 10 seconds
    --> Auto Reconnect will be attempted in 20 seconds
    ............
    and so on.
    The script and the output files are attached.
    output.txt
    wv-connect.sh.txt
    Regards

  2. #2
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272
    I am extremely sorry, the word 'originally' should be ignored. I am _not_ the creator of the script.
    And the 'knoppix forum' should be read as 'Debian forum'.
    I once again apologise for the words used, had there been an option I would've edited the post.
    Last edited by rajibando; 02-23-2013 at 01:14 PM.

  3. #3
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    Do you use the same modem as the author of the script ('Teracom device (Model no. LW273)')?
    If this is not the case are the AT commands the right ones for your device?

  4. #4
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    If you are not sure the problem is Knoppix-specific, I suggest you ask for advice in more specialized fora. As is implied in klaus2008's answer, this might be a rather model-related issue, so this may be one of the less useful places to ask for advice..

  5. #5
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272

    The BSNL data card outputs

    yes, it works excellently. It is a 3G modem, but since my SIM card is 2G I can use the card in 2G speeds only. reports itself as HSPAdatacard.
    The lsusb code in detailed mode produces the attached output.
    BSNLdatacard.txt.zip
    Regards

  6. #6
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    Quote Originally Posted by rajibando View Post
    yes, it works excellently. It is a 3G modem, but since my SIM card is 2G I can use the card in 2G speeds only. reports itself as HSPAdatacard.
    The lsusb code in detailed mode produces the attached output.
    BSNLdatacard.txt.zip
    Regards
    This might still have little to do with Knoppix?
    I was in a similar situation with a 4G mobile router/3G SIM card some weeks ago. Instability, frequent rebooting. Changed to 4G SIM card, problem solved.

  7. #7
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272

    My issue is different - it's regarding the script

    My setup doesn't hang up frequently, works just fine!
    I just wanted to learn where exactly in the code is the incremental time period is incorporated?
    Recall:
    --> Auto Reconnect will be attempted in 5 seconds
    --> Auto Reconnect will be attempted in 10 seconds
    --> Auto Reconnect will be attempted in 20 seconds
    ...........
    and so on, i.e., a sequence of ar^n, where a=5, r=2, n=0,1,2,...,n
    My question was how this happens, where in the script is this formulation given? Or is it with the wvdial code itself!

  8. #8
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    Quote Originally Posted by rajibando View Post
    My setup doesn't hang up frequently, works just fine!
    I just wanted to learn where exactly in the code is the incremental time period is incorporated?
    .....
    My question was how this happens, where in the script is this formulation given? Or is it with the wvdial code itself!
    Oh, I didn't understand that. Sorry!

    It has to be in the wvdial code, which can be inspected by installing Debian source packages, or similar downloads, like this one:
    http://linux.softpedia.com/progDownl...oad-10580.html

    What happens in the script, is that a conf file for wvdial is generated from user provided parameters and defaults, and wvdial is then called with that configuration.

  9. #9
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272

    Let us please not waste time using redundant cycles of communication

    Quote Originally Posted by Capricorny View Post
    ... a conf file for wvdial is generated from user provided parameters and defaults, and wvdial is then called with that configuration.
    You had to go through the script wv-connect.sh. Please read the file carefully and then post. We have to understand that since our timezones are different, the redundant cycles of exchanges waste our time.
    See particularly, the area EOT... and tmp file creation...
    Last edited by rajibando; 02-24-2013 at 10:43 AM.

  10. #10
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    Quote Originally Posted by rajibando View Post
    You had to go through the script wv-connect.sh. Please read the file carefully and then post. We have to understand that since our timezones are different, the redundant cycles of exchanges waste our time.
    See particularly, the area EOT... and tmp file creation...
    I told you, it is not in that script. OK?

Page 1 of 2 12 LastLast

Posting Permissions

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


Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$89.99



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45

$284.00



Dell PowerEdge R230 Single Intel Xeon E3-1220 v5 @3.00GHz 16GB RAM No HDD H330 picture

Dell PowerEdge R230 Single Intel Xeon E3-1220 v5 @3.00GHz 16GB RAM No HDD H330

$102.50



Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu picture

Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu

$135.00



Dell PowerEdge R710 2.5

Dell PowerEdge R710 2.5" 2U Server 2x X5670 2.93GHZ 12-Core 128gb 2x 1TB SAS

$214.99



Dell PowerEdge R610 1U Server 2x Intel Xeon E5504 2.0Ghz 8GB RAM NO HD NO OS,QTY picture

Dell PowerEdge R610 1U Server 2x Intel Xeon E5504 2.0Ghz 8GB RAM NO HD NO OS,QTY

$86.95



DELL PowerEdge R630 8SFF Server 2x E5-2699v3 2.3GHz =36 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2699v3 2.3GHz =36 Cores 32GB H730 4xRJ45

$310.00



Dell Poweredge R720 2x Xeon E5-2660 v2 2.2GHz 20-Cores / 192gb / H710 / 2x 750w picture

Dell Poweredge R720 2x Xeon E5-2660 v2 2.2GHz 20-Cores / 192gb / H710 / 2x 750w

$239.99