vwdial Bad init string on RPI [closed]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I'm trying to get a Huawei E398 3G USB modem to work on my Raspberry Pi 3
When I run wvdial I get the following response:



pi@mypi:~ $ sudo wvdial
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ERROR
--> Bad init string.


This is my wvdial.conf:



pi@mypi:~ $ cat /etc/wvdial.conf
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
ISDN = 0
New PPPD = yes
Stupid Mode = yes
Modem = /dev/ttyUSB0
Phone = *99#
Username = internet
Password = internet
Baud = 115200


Anyone have any clue on what could cause this? I've tried every other init string I could come across, but every single one gives me the same error.







share|improve this question














closed as off-topic by Jeff Schaller, Satō Katsura, Archemar, Rui F Ribeiro, garethTheRed Feb 19 at 5:31


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Jeff Schaller, Satō Katsura, Archemar, Rui F Ribeiro, garethTheRed
If this question can be reworded to fit the rules in the help center, please edit the question.
















    up vote
    1
    down vote

    favorite












    I'm trying to get a Huawei E398 3G USB modem to work on my Raspberry Pi 3
    When I run wvdial I get the following response:



    pi@mypi:~ $ sudo wvdial
    --> WvDial: Internet dialer version 1.61
    --> Initializing modem.
    --> Sending: ATZ
    ATZ
    OK
    --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ERROR
    --> Bad init string.


    This is my wvdial.conf:



    pi@mypi:~ $ cat /etc/wvdial.conf
    [Dialer Defaults]
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Modem Type = USB Modem
    ISDN = 0
    New PPPD = yes
    Stupid Mode = yes
    Modem = /dev/ttyUSB0
    Phone = *99#
    Username = internet
    Password = internet
    Baud = 115200


    Anyone have any clue on what could cause this? I've tried every other init string I could come across, but every single one gives me the same error.







    share|improve this question














    closed as off-topic by Jeff Schaller, Satō Katsura, Archemar, Rui F Ribeiro, garethTheRed Feb 19 at 5:31


    This question appears to be off-topic. The users who voted to close gave this specific reason:


    • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Jeff Schaller, Satō Katsura, Archemar, Rui F Ribeiro, garethTheRed
    If this question can be reworded to fit the rules in the help center, please edit the question.














      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I'm trying to get a Huawei E398 3G USB modem to work on my Raspberry Pi 3
      When I run wvdial I get the following response:



      pi@mypi:~ $ sudo wvdial
      --> WvDial: Internet dialer version 1.61
      --> Initializing modem.
      --> Sending: ATZ
      ATZ
      OK
      --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
      ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
      ERROR
      --> Bad init string.


      This is my wvdial.conf:



      pi@mypi:~ $ cat /etc/wvdial.conf
      [Dialer Defaults]
      Init1 = ATZ
      Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
      Modem Type = USB Modem
      ISDN = 0
      New PPPD = yes
      Stupid Mode = yes
      Modem = /dev/ttyUSB0
      Phone = *99#
      Username = internet
      Password = internet
      Baud = 115200


      Anyone have any clue on what could cause this? I've tried every other init string I could come across, but every single one gives me the same error.







      share|improve this question














      I'm trying to get a Huawei E398 3G USB modem to work on my Raspberry Pi 3
      When I run wvdial I get the following response:



      pi@mypi:~ $ sudo wvdial
      --> WvDial: Internet dialer version 1.61
      --> Initializing modem.
      --> Sending: ATZ
      ATZ
      OK
      --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
      ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
      ERROR
      --> Bad init string.


      This is my wvdial.conf:



      pi@mypi:~ $ cat /etc/wvdial.conf
      [Dialer Defaults]
      Init1 = ATZ
      Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
      Modem Type = USB Modem
      ISDN = 0
      New PPPD = yes
      Stupid Mode = yes
      Modem = /dev/ttyUSB0
      Phone = *99#
      Username = internet
      Password = internet
      Baud = 115200


      Anyone have any clue on what could cause this? I've tried every other init string I could come across, but every single one gives me the same error.









      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 18 at 1:55









      Jeff Schaller

      31.8k848109




      31.8k848109










      asked Jan 15 at 10:49









      Bobbzorzen

      188




      188




      closed as off-topic by Jeff Schaller, Satō Katsura, Archemar, Rui F Ribeiro, garethTheRed Feb 19 at 5:31


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Jeff Schaller, Satō Katsura, Archemar, Rui F Ribeiro, garethTheRed
      If this question can be reworded to fit the rules in the help center, please edit the question.




      closed as off-topic by Jeff Schaller, Satō Katsura, Archemar, Rui F Ribeiro, garethTheRed Feb 19 at 5:31


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Jeff Schaller, Satō Katsura, Archemar, Rui F Ribeiro, garethTheRed
      If this question can be reworded to fit the rules in the help center, please edit the question.




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          Make sure that you are using the correct APN.
          My company's SIM cards used a special APN; once I added the correct one it worked perfectly.



          Init3 = AT +CGDCONT=1,"IP","<company APN>"






          share|improve this answer





























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote



            accepted










            Make sure that you are using the correct APN.
            My company's SIM cards used a special APN; once I added the correct one it worked perfectly.



            Init3 = AT +CGDCONT=1,"IP","<company APN>"






            share|improve this answer


























              up vote
              1
              down vote



              accepted










              Make sure that you are using the correct APN.
              My company's SIM cards used a special APN; once I added the correct one it worked perfectly.



              Init3 = AT +CGDCONT=1,"IP","<company APN>"






              share|improve this answer
























                up vote
                1
                down vote



                accepted







                up vote
                1
                down vote



                accepted






                Make sure that you are using the correct APN.
                My company's SIM cards used a special APN; once I added the correct one it worked perfectly.



                Init3 = AT +CGDCONT=1,"IP","<company APN>"






                share|improve this answer














                Make sure that you are using the correct APN.
                My company's SIM cards used a special APN; once I added the correct one it worked perfectly.



                Init3 = AT +CGDCONT=1,"IP","<company APN>"







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Feb 18 at 1:55









                Jeff Schaller

                31.8k848109




                31.8k848109










                answered Feb 5 at 8:51









                Bobbzorzen

                188




                188












                    Popular posts from this blog

                    Peggy Mitchell

                    Palaiologos

                    The Forum (Inglewood, California)