Linux is kicking my butt.I have attempted to use wvdial for the first time to get 3G working on my Raspberry Pi, but things have not gone as expected. First of all, when I do a simple sudo wvdialconf The scan gives me the following message:Ok. Probably not the best start I can get because of the errors on lines:ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- ERRORttyUSB0<*1>: ATQ0 V1 E1 &C1 -- ERRORttyUSB0<*1>: ATQ0 V1 E1 &D2 -- ERRORI figured that these errors could probably be the reason of the failure of my later attempt to use wvdial, which gives me the output as such:--> WvDial: Internet dialer version 1.61--> Initializing modem.--> Sending: ATZATZOK--> Sending: ATQ0 V1 E1 +FCLASS=0ATQ0 V1 E1 +FCLASS=0OK--> Sending: AT+CGDCONT=1, IP, internetAT+CGDCONT=1, IP, internetERROR--> Bad init string.--> Initializing modem.--> Sending: ATZATZOK--> Sending: ATQ0 V1 E1 +FCLASS=0ATQ0 V1 E1 +FCLASS=0OK--> Sending: AT+CGDCONT=1, IP, internetAT+CGDCONT=1, IP, internetERROR--> Bad init string.--> Initializing modem.--> Sending: ATZATZOK--> Sending: ATQ0 V1 E1 +FCLASS=0ATQ0 V1 E1 +FCLASS=0OK--> Sending: AT+CGDCONT=1, IP, internetAT+CGDCONT=1, IP, internetERROR--> Bad init string.To provide some background on my configurations:My wvdial.conf looks like this:[Dialer Defaults]Init1 = ATZInit2 = ATQ0 V1 E1 +FCLASS=0Modem Type = Analog ModemISDN = 0New PPPD = yesPhone = *99#Modem = /dev/ttyUSB0Username = usernamePassword = passwordBaud = 9600[Dialer E1820]Init1 = ATZInit2 = ATQ0 V1 E1 +FCLASS=0Init3 = AT+CGDCONT=1, IP, internetStupid Mode = 1Phone = *99#New PPPD = yesModem = /dev/ttyUSB0Username = usernameCarrier Check = noPassword = passwordBaud = 9600and my dmesg logs look as such:From these outputs, I infer (or possibly wrongly assumed) that my Huawei E1820 has indeed been turned into a modem and is ready for wvdial dialing.Additional Info:The SIM Card I'm using has been disabled of SIM_PIN and is bought from Chunghwa Telecom, a major telecom company located in Taiwan.UpdatedHi all, I have tried changing my configs in the /etc/wvdial.conf file and now it looks as such:[Dialer E1820]Init1 = ATZInit2 = ATQ0 V1 E1 +FCLASS=0Stupid Mode = 1Modem Type = Analog ModemISDN = 0Phone = *99#New PPPD = yesModem = /dev/gsmmodemBaud = 460800Username = usernameCarrier Check = noPassword = passwordNow when I run wvdial, I get such error:--> WvDial: Internet dialer version 1.61--> Initializing modem.--> Sending: ATZATZOK--> Sending: ATQ0 V1 E1 +FCLASS=0ATQ 0 V1 E1 +FCLASS=0OK--> Modem initialized.--> Sending: ATD*99#--> Waiting for carrier.ATD*99#ERROR--> Invalid dial command.--> Disconnecting at Sat Aug 20 08:53:35 2016I suspect that the reason for this is either:the modem is not working as expected, orthe parameter Phone in the /etc/wvdial.conf file is not properly assigned.Hope I get this to work. Any ideas out there?
Wvdial.conf dial errors. Raspberry Pi Model B Huawei E1820 3G Modem
linux;modem;mobile;wvdial