Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: wvdial: command not found

  1. #1
    Join Date
    Jul 2008
    Location
    India
    Beans
    22
    Distro
    Ubuntu 9.10 Karmic Koala

    Exclamation wvdial: command not found

    I use a BSNL EVDO wireless data card and have been using the 'wvdial' command in Intrepid Ibex all this while. But recently I installed Jaunty Jackalope in one of my friend's comp and when I try the command 'sudo wvdial' to connect to internet, it says
    'wvdial: command not found' (or something like that).

    Could someone tell me what the new command for Jaunty to connect to internet is?

    P.S.: I have added the same lines in wvdial.conf as in Intrepid. But it works perfectly OK in Intrepid.

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

    Re: wvdial: command not found

    Hi HarryBhat,

    at 9.04 the wvdial program is not including as standard!

    So if you have a modem (especially EVDO cards or other 3G modems) not supported by the Network Manager you must first download wvdial from the repository using Synaptic Package Manager.

    Regards,
    George
    Last edited by GeorgeVita; May 4th, 2009 at 11:53 PM. Reason: useless data removed

  3. #3
    Join Date
    Jul 2008
    Location
    India
    Beans
    22
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: wvdial: command not found

    Thanks a lot for the reply buddy
    But how do I download from repositories if my only means of connecting to internet is my 3G Wireless Card which fails to connect now?

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

    Re: wvdial: command not found

    Quote Originally Posted by HarryBhat View Post
    Thanks a lot for the reply buddy
    But how do I download from repositories if my only means of connecting to internet is my 3G Wireless Card which fails to connect now?
    !!!
    So we will try to find a solution, I thing we have to use pppd or gnome ppp or anything else (I don't know).
    Start searching, I am doing the same and good luck to both of us!

    Regards,
    George

    EDIT: try post#6 of http://ubuntuforums.org/showthread.php?t=1108766
    Last edited by GeorgeVita; May 4th, 2009 at 11:53 PM. Reason: useless data removed

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

    Re: wvdial: command not found

    Another way:

    Use Synaptic Package Manager (from an internet connected pc) to download the .deb package of wvdial if not already there. In my pc i found it at:

    /var/cache/apt/archives/wvdial_1.60.1+nmu2_i386.deb

    Copy above file to the 9.04 pc (I don't know if it must be in the same directory).

    Find this file (Places, Computer, Filesystem, ...) and double click it.

    The Package Installer will start and help you get back your TOOL!

    Regards,
    George

  6. #6
    Join Date
    Jul 2008
    Location
    India
    Beans
    22
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: wvdial: command not found

    @ above,
    Thanks a lot dude. Will try ur second solution soon. But concerning the link in your first solution, I didnt get this-
    "6.Became root and then connected using pon ZTE"

  7. #7
    Join Date
    Mar 2006
    Beans
    1,441
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: wvdial: command not found

    Quote Originally Posted by GeorgeVita View Post
    Another way:

    Use Synaptic Package Manager (from an internet connected pc) to download the .deb package of wvdial if not already there. In my pc i found it at:

    /var/cache/apt/archives/wvdial_1.60.1+nmu2_i386.deb

    Copy above file to the 9.04 pc (I don't know if it must be in the same directory).

    Find this file (Places, Computer, Filesystem, ...) and double click it.

    The Package Installer will start and help you get back your TOOL!

    Regards,
    George
    I dont think that would work, because wvdial has some dependencies, and you would need also those debs. (If they aren't already installed)

    EDIT:
    and here are the dependencies that wvdial needs: ie. dependencies that aren't pre-installed after installing ubuntu from desktop CD. (copied them from the output of
    apt-get install wvdial from an internet connected machine.

    Setting up libxplc0.3.13 (0.3.13-1build1) ...
    Setting up libwvstreams4.4-base (4.4.1-0.2ubuntu2) ...
    Setting up libwvstreams4.4-extras (4.4.1-0.2ubuntu2) ...
    Setting up libuniconf4.4 (4.4.1-0.2ubuntu2) ...
    Setting up wvdial (1.60.1+nmu2) ...
    Last edited by anaconda; May 8th, 2009 at 03:54 PM.
    _______________
    - anaconda

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

    Re: wvdial: command not found

    This post helps you to install wvdial in "offline mode!"
    (when you do not have an internet connection)

    Last update: 27-MAY-2011

    Program wvdial is one method to connect via DIAL UP modems and some rare 3G modems.

    Consider to use a newer Ubuntu version.
    Take a look at Ubuntu Official Documentation
    Search for "dialup" to get info like: DialupModemHowto SetUpDialer

    Ubuntu 9.04
    It is not easy to find the appropriate old packages for an old NON LTS version of Ubuntu (as 9.04 Jaunty). If you have your Ubuntu PC connected to internet you can update your system and install wvdial using terminal commands:
    Code:
    sudo apt-get update && sudo apt-get dist-upgrade
    Code:
    sudo apt-get install wvdial
    If you have NO INTERNET CONNECTION to your Ubuntu PC you have to install wvdial in "offline mode". You need some packages which are included in my .zip file and follow the following procedure (read some historical info here):

    - use a "connected" PC to download my wvdial_904_i386.zip (size=1.04MB, version=32bit/i386)

    - create a folder to desktop of the Ubuntu PC (ex. wvdial_packages)

    - copy .zip file into that directory, right click it and choose "extract here"

    - double click on all 5 packages icons (one each time) to install them in order:
    1. libxplc0.3.13
    2. libwvstreams4.4-base
    3. libwvstreams4.4-extras
    4. libuniconf4.4
    5. wvdial
    Ignore messages suggesting to use 'typical way' as you have no connection.
    Note that above are all for an 32bit "i386" pc.

    Now you have installed wvdial program (and its dependencies).
    To use wvdial you have to setup some parameters for your modem port and your internet account (phone to dial, username and password). Some times this is also a difficult procedure which you will find help from DialupModemHowto SetUpDialer and www.ubuntuforums.org. Search for "wvdial dialup modem".

    Briefly you need to run from terminal:
    Code:
    sudo wvdialconf
    Edit your configuration file (/etc/wvdial.conf) with:
    Code:
    gksudo gedit /etc/wvdial.conf
    and try to connect:
    Code:
    sudo wvdial

    For Ubuntu 9.10 (karmic koala) 4 files needed:
    1. http://packages.ubuntu.com/karmic/i3...-base/download
    2. http://packages.ubuntu.com/karmic/i3...xtras/download
    3. http://packages.ubuntu.com/karmic/i3...nf4.6/download
    4. http://packages.ubuntu.com/karmic/i386/wvdial/download

    which can be found (i386) into my wvdial910.zip

    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)


    Update for Ubuntu 10.10
    Although wvdial and dependencies are included into CD of 10.10 are NOT installed by default!
    You can install it simply from terminal:
    Code:
    sudo apt-get install wvdial
    Full example shown below:
    Code:
    To run a command as administrator (user "root"), use "sudo <command>".
    See "man sudo_root" for details.
    
    ubuntu@ubuntu:~$ wvdial
    The program 'wvdial' is currently not installed.  You can install it by typing:
    sudo apt-get install wvdial
    ubuntu@ubuntu:~$ sudo apt-get install wvdial
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following extra packages will be installed:
      libuniconf4.6 libwvstreams4.6-base libwvstreams4.6-extras
    The following NEW packages will be installed:
      libuniconf4.6 libwvstreams4.6-base libwvstreams4.6-extras wvdial
    0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0B/1,093kB of archives.
    After this operation, 2,839kB of additional disk space will be used.
    Do you want to continue [Y/n]? y 
    Preconfiguring packages ...
    Selecting previously deselected package libwvstreams4.6-base.
    (Reading database ... 124417 files and directories currently installed.)
    Unpacking libwvstreams4.6-base (from .../libwvstreams4.6-base_4.6.1-1ubuntu1_i386.deb) ...
    Selecting previously deselected package libwvstreams4.6-extras.
    Unpacking libwvstreams4.6-extras (from .../libwvstreams4.6-extras_4.6.1-1ubuntu1_i386.deb) ...
    Selecting previously deselected package libuniconf4.6.
    Unpacking libuniconf4.6 (from .../libuniconf4.6_4.6.1-1ubuntu1_i386.deb) ...
    Selecting previously deselected package wvdial.
    Unpacking wvdial (from .../wvdial/wvdial_1.60.4_i386.deb) ...
    Processing triggers for man-db ...
    Setting up libwvstreams4.6-base (4.6.1-1ubuntu1) ...
    Setting up libwvstreams4.6-extras (4.6.1-1ubuntu1) ...
    Setting up libuniconf4.6 (4.6.1-1ubuntu1) ...
    Setting up wvdial (1.60.4) ...
    
    Sorry.  You can retry the autodetection at any time by running "wvdialconf".
       (Or you can create /etc/wvdial.conf yourself.)
    Processing triggers for libc-bin ...
    ldconfig deferred processing now taking place
    ubuntu@ubuntu:~$

    Update for Ubuntu 11.04
    The same as 10.10 included but not installed. Use:
    Code:
    sudo apt-get install wvdial

    Genaral Notice: by default wvdial uses /dev/modem as the modem port
    An error 'Cannot open /dev/modem: No such file or directory" means that you have not configured file wvdial.conf (read above).

    Regards,
    George

    P.S. thanks to anaconda for the helpful note!
    Last edited by GeorgeVita; May 27th, 2011 at 03:19 PM. Reason: 10.10 update

  9. #9
    Join Date
    Jan 2006
    Beans
    8

    Re: wvdial: command not found

    hi GeorgeVita
    i follow your suggestion step by step on ubuntu 9.04, but i had unlucky.
    wvdialconf can't detct my PCI fax modem on my PC.
    how to solve this problem?
    thank you.

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

    Re: wvdial: command not found

    Quote Originally Posted by prasopsuk View Post
    hi GeorgeVita
    i follow your suggestion step by step on ubuntu 9.04, but i had unlucky.
    wvdialconf can't detct my PCI fax modem on my PC.
    how to solve this problem?
    thank you.
    Hi prasopsuk, I am not sure I can help you with a PCI modem but it helps (for other readers also) if you give more info:

    - Full data for your modem (manufacturer, model)
    - The respond of the terminal command: lspci

    Regards,
    George

Page 1 of 3 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
  •