Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25

Thread: wvdial: command not found

  1. #11
    Join Date
    Jul 2008
    Beans
    221
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: wvdial: command not found

    Many thanks to GeorgeVita!

    I had exactly the same problem on my Asus Eee PC 901.

  2. #12
    Join Date
    Oct 2009
    Beans
    25

    Re: wvdial: command not found

    hello,
    i am a new member here and also not quite well known to ubuntu 9.04. i have successfully installed wvdial on ubuntu 9.04 but it is still giving problem to connect a netconnect modem. here are the errors occurring. can somebody please help me? i have changed wvdial.conf and usbswitch.conf appropriately. also in lsusb it detects the device with correct vendor id and product id.

    himanee@himanee-laptop:~$ wvdialconf /etc/wvdial.conf
    Editing `/etc/wvdial.conf'.
    Scanning your serial ports for a modem.
    Modem Port Scan<*1>: S0 S1 S2 S3
    WvModem<*1>: Cannot get information for serial port.
    ttyUSB0<*1>: ATQ0 V1 E1 -- OK
    ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK
    ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK
    ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
    ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
    ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
    ttyUSB0<*1>: Modem Identifier: ATI -- Manufacturer: +GMI: HUAWEI TECHNOLOGIES CO., LTD
    ttyUSB0<*1>: Speed 9600: AT -- OK
    ttyUSB0<*1>: Max speed is 9600; that should be safe.
    ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
    WvModem<*1>: Cannot get information for serial port.
    ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
    ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
    ttyUSB1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
    WvModem<*1>: Cannot get information for serial port.
    ttyUSB2<*1>: ATQ0 V1 E1 -- OK
    ttyUSB2<*1>: ATQ0 V1 E1 Z -- OK
    ttyUSB2<*1>: ATQ0 V1 E1 S0=0 -- OK
    ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
    ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
    ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
    ttyUSB2<*1>: Modem Identifier: ATI -- Manufacturer: +GMI: HUAWEI TECHNOLOGIES CO., LTD
    ttyUSB2<*1>: Speed 9600: AT -- OK
    ttyUSB2<*1>: Max speed is 9600; that should be safe.
    ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
    Found a modem on /dev/ttyUSB0.
    Modem configuration written to /etc/wvdial.conf.
    /etc/wvdial.conf<Warn>: Can't write '/etc/wvdial.conf.tmp6501': Permission denied
    /etc/wvdial.conf<Warn>: Can't write '/etc/wvdial.conf' ('/etc/wvdial.conf'): Bad file descriptor
    ttyUSB0<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
    ttyUSB2<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"



    himanee@himanee-laptop:~$ sudo wvdial
    [sudo] password for himanee:
    --> WvDial: Internet dialer version 1.60
    --> Warning: inherited section [Modem0] does not exist in wvdial.conf
    --> Cannot get information for serial port.
    --> 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
    OK
    --> Modem initialized.
    --> Configuration does not specify a valid phone number.
    --> Configuration does not specify a valid login name.
    --> Configuration does not specify a valid password.
    himanee@himanee-laptop:~$ sudo wvdial netconnect
    --> WvDial: Internet dialer version 1.60
    --> Warning: inherited section [Modem0] does not exist in wvdial.conf
    --> Cannot get information for serial port.
    --> 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
    OK
    --> Modem initialized.
    --> Sending: ATDT#777
    --> Waiting for carrier.
    ATDT#777
    CONNECT
    --> Carrier detected. Starting PPP immediately.
    --> Starting pppd at Fri Oct 2 16:09:16 2009
    --> Pid of pppd: 6520
    --> Using interface ppp0
    --> pppd: �T][08]�R][08]
    --> pppd: �T][08]�R][08]
    --> pppd: �T][08]�R][08]
    --> pppd: �T][08]�R][08]
    --> Disconnecting at Fri Oct 2 16:09:24 2009
    --> The PPP daemon has died: Authentication error.
    --> We failed to authenticate ourselves to the peer.
    --> Maybe bad account or password? (exit code = 19)
    --> man pppd explains pppd error codes in more detail.
    --> I guess that's it for now, exiting
    --> The PPP daemon has died. (exit code = 19)

  3. #13
    Join Date
    Aug 2008
    Location
    Athens Greece
    Beans
    973
    Distro
    Ubuntu Mate

    Re: wvdial: command not found

    Hi himanee, welcome to this forum!

    Usually a Huawei modem can be used with network manager, so as you have the 'real modem mode' try: right click on network manager icon, edit connections, mobile broadband, add, select country/provider.

    Alternative solution: wvdial
    Auto configuration needs root user: sudo wvdialconf
    but you don't need it now. Just edit your /etc/wvdial.conf file:
    Code:
    gksudo gedit /etc/wvdial.conf
    Copy the following data into gedit window:
    Code:
    [Dialer Defaults]
    Modem = /dev/ttyUSB0
    Modem Type = Analog Modem
    Baud = 460800
    ISDN = 0
    Phone = "#777"
    Init1 = ATZ
    Init2 = AT&F E0 V1 X1 &D2 &C1 S0=0
    ; Init3 = AT+CGDCONT=1,"IP","internet"
    Stupid Mode = Yes
    Username = <YourNumber>
    Password = <YourPassword>
    Replace above your username and password (for your internet provider) and ask them if they need a specific APN (if so you must remove semicolon from Init3 line and replace the word internet with the suggested one).

    Connect using sudo wvdial and remove 'offline mode' from firefox (ALT+F W).

    Post any progress to follow up.

    Regards,
    George

  4. #14
    Join Date
    Dec 2008
    Beans
    7

    Re: wvdial: command not found

    George, link #1 and #5 are good. The others are dead.

    I'm running 9.10 on a P4.

    Thanks for your efforts. From another post I understand 9.04 still has wvdial in it. I'm going to downgrade I think.

  5. #15
    Join Date
    Aug 2008
    Location
    Athens Greece
    Beans
    973
    Distro
    Ubuntu Mate

    Re: wvdial: command not found

    Hi SanoTwo, thanks for your test & trigger on above post!

    >>> to install 'offline' wvdial on Ubuntu 9.10 4 .deb packages needed:

    1. libwvstreams4.6-base_4.6-2_i386.deb
    2. libwvstreams4.6-extras_4.6-2_i386.deb
    3. libuniconf4.6_4.6-2_i386.deb
    4. wvdial_1.60.1+nmu2ubuntu1_i386.deb

    Which can be downloaded to desktop and double click 1st to install. When finished continue with the 2nd, 3rd, 4th (in above series 1-2-3-4 one by one).

    Warning: above links and my wvdial910.zip file are for Ubuntu 9.10 running on i386 architecture. For other you must find appropriate packages.

    Note 1: Above solution is for those that do not have other internet connection to the ubuntu PC (cannot use synaptic).

    Note 2: although pppd and pppconfig are included into Ubuntu 9.10 release, wvdial method is more documented in a lot of Howtos.

    Note 3: Above file links are valid as per 8-NOV-09

    Regards,
    George

  6. #16
    Join Date
    Dec 2008
    Beans
    7

    Re: wvdial: command not found

    Thanks George. Actually I am running 9.04 but I have not had the time to solve the issue.

    -for the thread- I was using this page, https://help.ubuntu.com/community/Di...to/SetUpDialer , and see that I also had a printing issue (w/ my XP machine for some reason).

    Got it going now and turned on the Update Manager to make my installation "whole" I hope.

    Note: For some reason, 8.10 and 9.04 didn't like some of my hardware. Stuff that was available running the Live CD wasn't installed w/ either of the above distros on two separate machines. gparted is one that wasn't installed. Otherwise, I'm posting now on 9.04 through a dialup ext. modem that wasn't installed when I originally loaded 9.04. Maybe that's the reason Network Manager wasn't available for me to use.
    Last edited by SanoTwo; November 9th, 2009 at 08:14 AM.

  7. #17
    Join Date
    Sep 2007
    Location
    los angeles
    Beans
    152
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: wvdial: command not found

    Still failing after all these years?

    Who is this system for?

    Mark S. This is absurd.

    There must be a simpler way, or I'd be glad to use an older version of Ubuntu or figure out some other distribution in order to have working dialup.

    Don't discount the lowballers, je vous en prie!

  8. #18
    Join Date
    Feb 2010
    Beans
    1

    Re: wvdial: command not found

    Many Thanks to GeorgeVita for the wvdial info to get Ubuntu 9.10 connected to the Internet.
    Tom, USA

  9. #19
    Join Date
    Aug 2005
    Beans
    Hidden!

    Re: wvdial: command not found

    Quote Originally Posted by GeorgeVita View Post
    Update for Ubuntu 10.04
    Although wvdial and dependencies are included into CD of 10.04 are NOT installed by default! Bug#400573
    You do not need to download them, just use the .iso or LiveCD or LiveUSB following the procedure below:

    1. right click ubuntu-10.04-desktop-i386.iso and 'open with archive mounter'
    (or mount LiveCD/LiveUSB)
    2. right click on icon created (from 1) to 'browse folder'
    3. create a folder on Desktop (ex. named 'wvdial')
    4. copy into that folder all 4 .deb files that exist into .iso/LiveCD/LiveUSB
    ... /pool/main/w/wvdial
    and /pool/main/w/wvstreams
    5. use System > Administration > Synaptic Package Manager
    and then from menu File > Add downloaded packages > double click Desktop and then the folder you created at point #3, click open, follow instructions to install

    (above procedure is fully tested, other ways may work also)

    Regards,
    George
    I am stuck on step 5 here. I double click on Desktop and the folder Wvdial appears that I made. I double click on this and the 4 .deb files are all shaded out or faint. Wondering what I am doing wrong here?

  10. #20
    Join Date
    Aug 2008
    Location
    Athens Greece
    Beans
    973
    Distro
    Ubuntu Mate

    Re: wvdial: command not found

    Quote Originally Posted by ntu View Post
    I am stuck on step 5 here. I double click on Desktop and the folder Wvdial appears that I made. I double click on this and the 4 .deb files are all shaded out or faint. Wondering what I am doing wrong here?
    Hi ntu,
    these files are 'shaded' but you can click on 'Open' to continue and finally 'Apply' to finish installation:





    Regards,
    George

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •