如何安装wvdial而不会出现以下错误?

当我运行命令时:

sudo apt-get install wvdial

我收到此错误消息:

 error p@p:~$ sudo apt-get install wvdial Reading package lists... Done Building dependency tree Reading state information... Done Package wvdial is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package wvdial has no installation candidate p@p:~$ 

那么如何安装wvdial?

BSNL EVDO Rev A USB数据卡型号:T-U500

我没有从Ubuntu访问互联网直接安装。

在我发布这个问题之后,我得到了如何安装wvdial并安装了它。 现在我面临另一个问题。 在插入我的调制解调器(bsnl evdo数据卡)后,我首先使用终端并输入lsusb 。 然后我输入了wvdialconf ,我得到了以下内容:

 at@at-Presario-V3700-Notebook-PC:~$ lsusb Bus 005 Device 002: ID 15eb:7153 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub at@at-Presario-V3700-Notebook-PC:~$ wvdialconf Editing `/etc/wvdial.conf'. Scanning your serial ports for a modem. ttyS0: Permission denied Modem Port Scan: S0 ttyS1: Permission denied Modem Port Scan: S1 ttyS2: Permission denied Modem Port Scan: S2 

!!切!!!

 ttyS31: Permission denied Modem Port Scan: S31 Sorry, no modem was detected! Is it in use by another program? Did you configure it properly with setserial? Please read the FAQ at http://alumnit.ca/wiki/?WvDial 

你能帮帮我吗? 我想安装我的调制解调器。

使用已连接到Internet的计算机下载程序包。

 http://packages.ubuntu.com/quantal/wvdial 

下载适用于您的架构,i386或amd64的软件包。 我假设你有Quantal; 如果没有,请选择其他版本。

将软件包放在要安装的计算机上后运行:

 sudo dpkg -i package_file_name 

例如,

 sudo dpkg -i wvdial_1.61-4.1_amd64.deb 

您无法使用apt-get因为您未连接到Internet。 wvdial包及其依赖项可在Ubuntu Live CD上找到; 将文件从那里复制到一个目录中并使用sudo dpkg -i *.deb

检查至少在Ubuntu软件中心启用了“主”存储库 编辑| 软件源….然后运行sudo apt-get update ,如果没有收到错误消息,请再次尝试命令。