当我运行命令时:
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 的信息,然后我安装了它。现在我面临另一个问题。我首先在终端上输入lsusb
了调制解调器(bsnl evdo 数据卡)。然后我输入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<Info>: Permission denied
Modem Port Scan<*1>: S0
ttyS1<Info>: Permission denied
Modem Port Scan<*1>: S1
ttyS2<Info>: Permission denied
Modem Port Scan<*1>: S2
!!切!!!
ttyS31<Info>: Permission denied
Modem Port Scan<*1>: 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
你能帮我吗?我想安装我的调制解调器。
答案1
使用已连接到互联网的计算机下载该包。
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
答案2
您无法使用,apt-get
因为您未连接到互联网。wvdial 包及其依赖项可在 Ubuntu Live CD 上找到;将文件从那里复制到目录中并使用sudo dpkg -i *.deb
。
答案3
检查至少在 Ubuntu 软件中心 | 编辑 | 软件源... 中启用了“主”存储库。然后运行sudo apt-get update
,如果没有收到错误消息,请再次尝试您的命令。