Linmodems --
Did.
J
tra@geb:~$ sudo apt-get update
[sudo] password for tra:
Err http://security.ubuntu.com karmic-security Release.gpg
Could not resolve 'security.ubuntu.com'
Err http://security.ubuntu.com karmic-security/main Translation-en_US
Could not resolve 'security.ubuntu.com'
Err http://security.ubuntu.com karmic-security/restricted Translation-en_US
Could not resolve 'security.ubuntu.com'
Err http://security.ubuntu.com karmic-security/universe Translation-en_US
Could not resolve 'security.ubuntu.com'
Err http://security.ubuntu.com karmic-security/multiverse Translation-en_US
Could not resolve 'security.ubuntu.com'
Err http://us.archive.ubuntu.com karmic Release.gpg
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com karmic/main Translation-en_US
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com karmic/restricted Translation-en_US
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com karmic/universe Translation-en_US
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com karmic/multiverse Translation-en_US
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com karmic-updates Release.gpg
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com karmic-updates/main Translation-en_US
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com karmic-updates/restricted Translation-en_US
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com karmic-updates/universe Translation-en_US
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com karmic-updates/multiverse Translation-en_US
Could not resolve 'us.archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/karmic/Release.gpg Could not resolve 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/karmic/main/i18n/Translation-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/karmic/restricted/i18n/Translation-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/karmic/universe/i18n/Translation-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/karmic/multiverse/i18n/Translation-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/karmic-updates/Release.gpg Could not resolve 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/karmic-updates/main/i18n/Translation-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/karmic-updates/restricted/i18n/Translation-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/karmic-updates/universe/i18n/Translation-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/karmic-updates/multiverse/i18n/Translation-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/karmic-security/Release.gpg Could not resolve 'security.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/karmic-security/main/i18n/Translation-en_US.bz2 Could not resolve 'security.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/karmic-security/restricted/i18n/Translation-en_US.bz2 Could not resolve 'security.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/karmic-security/universe/i18n/Translation-en_US.bz2 Could not resolve 'security.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/karmic-security/multiverse/i18n/Translation-en_US.bz2 Could not resolve 'security.ubuntu.com'
W: Some index files failed to download, they have been ignored, or old ones used instead.
tra@geb:~$ sudo apt-get install dkms patch
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package dkms 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 dkms has no installation candidate
tra@geb:~$ ls
agrsm-11c11040_20091225_i386.deb scanModem
agrsm-tools_0.0.1_all.deb SLMODEMD_gcc4.4_alsa1.0.21
Desktop SLMODEMD_gcc4.4_alsa1.0.21.tar.gz
Documents Templates
Downloads try_this
examples.desktop Ubuntu One
Modem Videos
Music wvdial-karmic
Pictures wvdial-karmic.zip
Public
tra@geb:~$ sudo dpkg -i agrsm-1*.deb
(Reading database ... 114250 files and directories currently installed.)
Preparing to replace agrsm-11c11040 20091225 (using agrsm-11c11040_20091225_i386.deb) ...
The DKMS driver autocompiling package is not installed.
Manually compile and install the drivers following directions in /usr/src/agrsm-11c11040-2.1.80
DKMS provides for auto compiling needed drivers upon kernel upgrades.
Once on the Internet do:
$ sudo apt-get update
$ sudo apt-get install dkms
Thereafter, manually compiling drivers will be unnecessary.
Unpacking replacement agrsm-11c11040 ...
Setting up agrsm-11c11040 (20091225) ...
kboot=2.6.31-14-generic
DKMS support not detected, so attempting standard compilation and installation.
source package is at /usr/src/agrsm-11c11040-2.1.80
make -C /lib/modules/2.6.31-14-generic/build M=/usr/src/agrsm-11c11040-2.1.80 clean
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
CLEAN /usr/src/agrsm-11c11040-2.1.80/.tmp_versions
CLEAN /usr/src/agrsm-11c11040-2.1.80/Module.markers /usr/src/agrsm-11c11040-2.1.80/modules.order
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
applying GPL patch, temporarily necessary to support compiling.
/var/lib/dpkg/info/agrsm-11c11040.postinst: 39: patch: not found
Starting compilation
make -C /lib/modules/2.6.31-14-generic/build M=/usr/src/agrsm-11c11040-2.1.80 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
CC [M] /usr/src/agrsm-11c11040-2.1.80/agrsoftmodem.o
/usr/src/agrsm-11c11040-2.1.80/agrsoftmodem.c: In function ?x_linux_dbg_print_crit?:
/usr/src/agrsm-11c11040-2.1.80/agrsoftmodem.c:358: warning: the frame size of 1540 bytes is larger than 1024 bytes
/usr/src/agrsm-11c11040-2.1.80/agrsoftmodem.c: In function ?x_linux_dbg_print?:
/usr/src/agrsm-11c11040-2.1.80/agrsoftmodem.c:346: warning: the frame size of 1540 bytes is larger than 1024 bytes
SHIPPED /usr/src/agrsm-11c11040-2.1.80/agrmodemlib.o
CC [M] /usr/src/agrsm-11c11040-2.1.80/HDA.o
CC [M] /usr/src/agrsm-11c11040-2.1.80/serial26.o
LD [M] /usr/src/agrsm-11c11040-2.1.80/agrmodem.o
LD [M] /usr/src/agrsm-11c11040-2.1.80/agrserial.o
Building modules, stage 2.
MODPOST 2 modules
WARNING: could not find /usr/src/agrsm-11c11040-2.1.80/.agrmodemlib.o.cmd for /usr/src/agrsm-11c11040-2.1.80/agrmodemlib.o
FATAL: modpost: GPL-incompatible module agrmodem.ko uses GPL-only symbol 'usb_put_dev'
make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
make: *** [default] Error 2
For a first functional test, run:
sudo agrsm-test
tra@geb:~$ sudo agrsm-test
The agrsm drivers not found for boot kernel 2.6.31-14-generic .
Were they installed for a different kernel version?
Checking all installed module trees:
Exiting
tra@geb:~$
Jin,
Do
$ sudo apt-get update
$ sudo apt-get install dkms patch
Then repeat the driver installation that failed.
MarvS