Skip to content
View in the app

A better way to browse. Learn more.

Thailand News and Discussion Forum | ASEANNOW

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Can not run dtac 3g modem on debian 7

Featured Replies

Hello!

Today i bought new 3g modem from Dtac, but i can not run on my debian. I try used wvdial.

It's my configuration:

root@debian:~# lsusb | grep 'GSM'
Bus 002 Device 021: ID 12d1:1506 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard
root@debian:~# uname -a
Linux debian 3.2.0-4-686-pae #1 SMP Debian 3.2.46-1 i686 GNU/Linux
 
root@debian:~# ls /dev | grep 'USB'
ttyUSB0
ttyUSB1
ttyUSB2
 
root@debian:~# cat /etc/wvdial.conf

[Dialer Defaults]
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Modem Type = Analog Modem
Phone = *99#
ISDN = 0
Username = ''
Init1 = ATZ
Password = ''
Modem = /dev/ttyUSB0
Baud = 9600
My lsmod - http://hastebin.com/kocilesudi.hs

And when i run wvdial:

root@debian:~# wvdial
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
ATQ0 V1 E1 S0=0 &C1 &D2
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
ERROR
--> Invalid dial command.
--> Disconnecting at Thu Jul  4 01:11:44 2013
If i correctly understand, i must enter correct phone number, but i don't know what enter. Number on sim? my number has a format 08808131**, if i use this number, i get same error.

Help me please make correct config for wvdial!

  • Author

silly question have you tried running wvdialconf?

yes, i generated my config by means of wvdialconf, but default config not work, and after i'm uncommented Phone,User,Password lines

grasping at straws but try thee modem in different usb ports.

see above i added to the post

  • Author

grasping at straws but try thee modem in different usb ports.

see above i added to the post

Thanx, i try, but it's does not work.

Besides, in another post sometimes does not work

try this number *99***1# correct for ais. think it is ok for dtac not sure.

could be else *99***2#

if there is a config variable for APN it is "internet" (no quotes) for ais which could also work for dtac

ais sim cards are not expensive:)

see how you go, if not i'll look in my pussy which is substantially debian.

Maybe a dumb question but has the modem been activated? You may need to do that from Dtac's Windows based programme. It MAY be possible using an

echo ATDT*104*22*9# > /dev/usb0

You can also use the same command to try ringing your cell....

**edit**

If you have access to wifi or cabled install network manager; for those who never used hayes commands it can be quite intimidating.

Sent from my GT-N7100 using Thaivisa Connect Thailand mobile app

  • Author

Maybe a dumb question but has the modem been activated? You may need to do that from Dtac's Windows based programme. It MAY be possible using an echo ATDT*104*22*9# > /dev/usb0 You can also use the same command to try ringing your cell.... **edit** If you have access to wifi or cabled install network manager; for those who never used hayes commands it can be quite intimidating. Sent from my GT-N7100 using Thaivisa Connect Thailand mobile app

After this actions i get this:

NO CARRIER
--> No Carrier!  Trying again.
--> Sending: ATDT*104*22*9#
--> Waiting for carrier.
^CCaught signal 2:  Attempting to exit gracefully...
ATDT*104*22*9#
NO CARRIER
--> No Carrier!  Trying again.
--> Disconnecting at Fri Jul  5 23:39:55 2013

Maybe a dumb question but has the modem been activated? You may need to do that from Dtac's Windows based programme. It MAY be possible using an echo ATDT*104*22*9# > /dev/usb0 You can also use the same command to try ringing your cell.... **edit** If you have access to wifi or cabled install network manager; for those who never used hayes commands it can be quite intimidating. Sent from my GT-N7100 using Thaivisa Connect Thailand mobile app

After this actions i get this:



NO CARRIER
--> No Carrier!  Trying again.
--> Sending: ATDT*104*22*9#
--> Waiting for carrier.
^CCaught signal 2:  Attempting to exit gracefully...
ATDT*104*22*9#
NO CARRIER
--> No Carrier!  Trying again.
--> Disconnecting at Fri Jul  5 23:39:55 2013

i didnt have to do this initialization on either of the two phones i have used as modems.

this "no carrier" message can be a real problem in some areas. i think it means that the network is jammed up with phone calls because it will sometimes/occasionally get through without needing to change settings, but you gotta be persistent. but then if it does connect it will drop out frequently. i'm guessing your not in a major tourist destination. although i have had this no carrier problem consistently in places such as pak chong and nakorn pathom.

  • Author

Maybe a dumb question but has the modem been activated? You may need to do that from Dtac's Windows based programme. It MAY be possible using an echo ATDT*104*22*9# > /dev/usb0 You can also use the same command to try ringing your cell.... **edit** If you have access to wifi or cabled install network manager; for those who never used hayes commands it can be quite intimidating. Sent from my GT-N7100 using Thaivisa Connect Thailand mobile app

After this actions i get this:



NO CARRIER
--> No Carrier!  Trying again.
--> Sending: ATDT*104*22*9#
--> Waiting for carrier.
^CCaught signal 2:  Attempting to exit gracefully...
ATDT*104*22*9#
NO CARRIER
--> No Carrier!  Trying again.
--> Disconnecting at Fri Jul  5 23:39:55 2013
i didnt have to do this initialization on either of the two phones i have used as modems.

this "no carrier" message can be a real problem in some areas. i think it means that the network is jammed up with phone calls because it will sometimes/occasionally get through without needing to change settings, but you gotta be persistent. but then if it does connect it will drop out frequently. i'm guessing your not in a major tourist destination. although i have had this no carrier problem consistently in places such as pak chong and nakorn pathom.

May be, but I receive a lot of messages and very fast.

May be, but I receive a lot of messages and very fast.

yes thats how they come.

thinking some more, perhaps the dail number is still wrong. did you try those i wrote above.?

ok a bit more thinking about initiation strings. i have used mostly the guis in puppy distros which do this initiation type thing before it even tries to connect, just by pressing a button in the gui it probes and gives an initiation string, which i assume it then passes along the line somewhere. but i vaguely recall using wvdial in pussy and something in knoppix to get a connection and i am still absolutely certain i did not need to enter that code ATDT*104*22*9# anywhere. not here nor in neighboring SEA countries on their networks.

  • 3 weeks later...

I run PClinuxOS KDE.

I understand your problem as it drove my nuts for weeks but later found it was not my card or config but the usb switching script at that time was the main problem dealing with some cards which have the virtual CD on them and its desire to mount was screwing things up.

Mine now works out of the box with just the network manager (now it does anyway) but it was not always so. It will use the info provided by the program if it is up to date. The distro needed to have update usb switching and a few other depends. If they are all up to date you don't have to do anything other then give it time after plugging in to sort i.e. 2 minutes sometimes. Ask network manager to disconnect the normal eth0 connect and enable the 3g connection - then after the first time it works faster and automatically.

Even better I have now a wifi/router with 3G option and just plug it in and it brings the whole LAN to the internet by itself. Works with the true card also. It will auto disconnect the internet only leaving the LAN up after 3 min without internet activity and reconnects it if you ask for internet i.e. open firefox or other app. and it just dials out and connects the LAN. Any PC on the LAN can activity the WAN connection this way.

I can use the card at home in the LAN with router complete with wifi or in my laptop on the road. No tweaking was needed other then the right depends being installed by the disto's maintainers. Use there forum they maybe should be working on this or have because it must have been over a year I solved this issue.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.