-
Senior Member
registered user
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
-
Senior Member
registered user
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.
-
Senior Member
registered user
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?
-
Senior Member
registered user
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..
-
Senior Member
registered user
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
-
Senior Member
registered user
![Quote](images/misc/quote_icon.png)
Originally Posted by
rajibando
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.
-
Senior Member
registered user
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!
-
Senior Member
registered user
![Quote](images/misc/quote_icon.png)
Originally Posted by
rajibando
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.
-
Senior Member
registered user
Let us please not waste time using redundant cycles of communication
![Quote](images/misc/quote_icon.png)
Originally Posted by
Capricorny
... 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.
-
Senior Member
registered user
![Quote](images/misc/quote_icon.png)
Originally Posted by
rajibando
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![New Precision DWDM SFP+ 10G 80km Tunable Transceiver 50GHz C-Temp DWDM-SFP10G-C picture](/store/img/g/tqEAAOSwkbxmR-l8/s-l225/New-Precision-DWDM-SFP-10G-80km-Tunable-Transceive.jpg)
New Precision DWDM SFP+ 10G 80km Tunable Transceiver 50GHz C-Temp DWDM-SFP10G-C
$90.00
![LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module picture](/store/img/g/JEEAAOSwzu9ibCFX/s-l225/LOT-OF-20-Genuine-Cisco-SFP-10G-SR-V03-10GBASE-SR-.jpg)
LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module
$95.00
![New Cisco GLC-TE 1G SFP Copper RJ45 100m 1000BASE-T Transceiver Module picture](/store/img/g/UFgAAOSwrw9l1Cbr/s-l225/New-Cisco-GLC-TE-1G-SFP-Copper-RJ45-100m-1000BASE-.jpg)
New Cisco GLC-TE 1G SFP Copper RJ45 100m 1000BASE-T Transceiver Module
$21.62
![Fully Compatibility 10GBase-T Transceiver SFP-10G-T SFP+ to RJ45 Copper 30M 80M picture](/store/img/g/X6IAAOSwypBl4Uhu/s-l225/Fully-Compatibility-10GBase-T-Transceiver-SFP-10G-.jpg)
Fully Compatibility 10GBase-T Transceiver SFP-10G-T SFP+ to RJ45 Copper 30M 80M
$58.50
![🔥🔥🔥 CISCO SFP-10G-SR V03 10-2415-03 850nm 10GBASE-SR SFP+ Multi Module 🔥🔥🔥 picture](/store/img/g/KTkAAOSwcmBisISE/s-l225/-CISCO-SFP-10G-SR-V03-10-2415-03-850nm-10GBASE-SR-.jpg)
🔥🔥🔥 CISCO SFP-10G-SR V03 10-2415-03 850nm 10GBASE-SR SFP+ Multi Module 🔥🔥🔥
$6.80
![GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03 picture](/store/img/g/tAkAAOSwdENkHItI/s-l225/GENUINE-Cisco-SFP-10G-SR-V03-SFP-GBIC-Transceiver-.jpg)
GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03
$6.80
![Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC picture](/store/img/g/aIgAAOSwXWNi1sm1/s-l225/Brand-New-Cisco-GLC-LH-SMD-1000BASE-LX-LH-SFP-Modu.jpg)
Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC
$12.99
![CISCO SFP-10G-LR SFP TRANSCEIVER MODULE GBIC 10G 10GB SFP - 1 Year Warranty picture](/store/img/g/FkQAAOSwtBZbqRX9/s-l225/CISCO-SFP-10G-LR-SFP-TRANSCEIVER-MODULE-GBIC-10G-1.jpg)
CISCO SFP-10G-LR SFP TRANSCEIVER MODULE GBIC 10G 10GB SFP - 1 Year Warranty
$39.99
![ARISTA SFP-10G-SR 10GBASE-SR SFP+ Optical Transceiver ModuXVR-00001-02 Lot of 10 picture](/store/img/g/FIoAAOSwNGFkIrU0/s-l225/ARISTA-SFP-10G-SR-10GBASE-SR-SFP-Optical-Transceiv.jpg)
ARISTA SFP-10G-SR 10GBASE-SR SFP+ Optical Transceiver ModuXVR-00001-02 Lot of 10
$69.19
![Cisco GLC-SX-MM Transceiver Module 1000-Base SX SFP 30-1301-04 - 1 Year Warranty picture](/store/img/g/imwAAOSwm5VllZl7/s-l225/Cisco-GLC-SX-MM-Transceiver-Module-1000-Base-SX-SF.jpg)
Cisco GLC-SX-MM Transceiver Module 1000-Base SX SFP 30-1301-04 - 1 Year Warranty
$8.50