LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-30-2009, 05:18 AM   #1
OWEGA
LQ Newbie
 
Registered: Nov 2009
Posts: 5

Rep: Reputation: 0
I can not connect using my Huawei E156g , need help plz


so my wvdial.conf looks like that :
PHP Code:
Dialer Defaults]
Init1 ATZ
Init2 
ATQ0 V1 E1 S0=&C1 &D2 +FCLASS=0
Modem Type 
Analog Modem
Baud 
460800
New PPPD yes
Modem 
= /dev/ttyUSB0
ISDN 
0

[Dialer umts-pin]
Init3 AT+CPIN=6810

[Dialer umts]
Dial Command ATD
Carrier Check 
no
Phone 
= *99#
Password 6810
Username 
0619742787
Stupid Mode 
1
Init4 
AT+CGDCONT=1,"IP","meditel.ma"
Dial Attempts 
also when I try to connect using sudo wvdial umts
PHP Code:
root@Omega:~# sudo wvdial umts
--> WvDialInternet dialer version 1.60
--> Cannot get information for serial port.
--> 
Initializing modem.                    
--> 
SendingATZ                           
ATZ                                        
OK                                         
--> SendingATQ0 V1 E1 S0=&C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0
=&C1 &D2 +FCLASS=0             
OK                                            
--> SendingAT+CGDCONT=1,"IP","meditel.ma"   
AT+CGDCONT=1,"IP","meditel.ma"                
OK                                            
--> Modem initialized.                        
--> 
SendingATD*99#                          
--> Waiting for carrier.                      
ATD*99#                                       
CONNECT                                       
--> Carrier detected.  Starting PPP immediately.
--> 
Starting pppd at Sun Nov 29 16:02:35 2009   
--> Pid of pppd5257                           
--> Using interface ppp0                        
--> Disconnecting at Sun Nov 29 16:02:37 2009   
--> The PPP daemon has diedA modem hung up the phone (exit code 16)
--> 
man pppd explains pppd error codes in more detail.                 
--> Try 
again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> 
Auto Reconnect will be attempted in 5 seconds                                                    
--> Cannot get information for serial port.                                                          
--> 
Initializing modem.                                                                              
--> 
SendingATZ                                                                                     
ATZ                                                                                                  
OK                                                                                                   
--> SendingATQ0 V1 E1 S0=&C1 &D2 +FCLASS=0                                                       
ATQ0 V1 E1 S0
=&C1 &D2 +FCLASS=0                                                                    
OK                                                                                                   
--> SendingAT+CGDCONT=1,"IP","meditel.ma"                                                          
AT+CGDCONT=1,"IP","meditel.ma"                                                                       
OK                                                                                                   
--> Modem initialized.                                                                               
--> 
Cannot get information for serial port.                                                          
--> 
Initializing modem.                                                                              
--> 
SendingATZ                                                                                     
ATZ                                                                                                  
OK                                                                                                   
--> SendingATQ0 V1 E1 S0=&C1 &D2 +FCLASS=0                                                       
ATQ0 V1 E1 S0
=&C1 &D2 +FCLASS=0                                                                    
OK                                                                                                   
--> SendingAT+CGDCONT=1,"IP","meditel.ma"                                                          
AT+CGDCONT=1,"IP","meditel.ma"                                                                       
OK                                                                                                   
--> Modem initialized.                                                                               
--> 
SendingATD*99#                                                                                 
--> Waiting for carrier.                                                                             
ATD*99#                                                                                              
CONNECT                                                                                              
--> Carrier detected.  Starting PPP immediately.                                                     
--> 
Starting pppd at Sun Nov 29 16:02:42 2009                                                        
--> Pid of pppd5274                                                                                
--> Using interface ppp0                                                                             
--> Disconnecting at Sun Nov 29 16:02:44 2009                                                        
--> The PPP daemon has diedA modem hung up the phone (exit code 16)                              
--> 
man pppd explains pppd error codes in more detail.                                               
--> Try 
again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> 
Auto Reconnect will be attempted in 10 seconds                                                   
--> Cannot get information for serial port.                                                          
--> 
Initializing modem
 
Old 11-30-2009, 04:48 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Hi, in my /etc/sysconfig/network-scripts/chat-ppp0 file I have this for the dial Number...

Code:
OK 'ATDT*99***1#'
I have also seen it with a 3 replacing the 1.

I'm using a Hauwei E220 and E620 USB Modems (not at the same time)

Won't hurt to try.

Cheers, Glenn
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Installing HSDPA modem HUAWEI E156G in Lenny randhiet Linux - Newbie 5 05-17-2010 02:45 PM
[SOLVED] Cannot connect internet E220 Huawei alleyoopster Linux - Hardware 3 10-16-2009 05:26 AM
connect huawei usb modem with linux rajusenthi Linux - Newbie 6 03-16-2009 11:21 AM
Trying to run 3 connect e156g on CNM minibook mwmlynx Linux - Networking 0 12-31-2008 08:31 AM
Unable to connect to the internet in fedora with a huawei WA1003A cooldudeoj Linux - Newbie 4 09-21-2008 05:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration