[Nottingham] Ububtu & dial-up networking
Martin Kirk
martin at applab.co.uk
Wed Jul 19 12:34:55 BST 2006
Hi All,
i recently installed Ububtu 6.06 on my mum's machine (at her request!).
i need to get her dial-up networking set up but i'm kind of lost when it comes
to modems.
i've got as far as running scanModem but sifting through the resulting output
is making me dizzy (& the heat isn't helping...).
the modem is identified as "Broadcom Corporation BCM4212 v.90 56k modem (rev
02)"
the machine it's in is a Dell Dimension 2300 and i think it's a softmodem but
i'm not sure.
the machine has no network card so i can't connect it to the lan to download
stuff, but i can download elsewhere & transfer to it via cd-rom or usb-stick.
can anyone give me any pointers on identifying, obtaining & installing the
correct modem drivers ?
i've pasted the contents of scanModem's 'ModemData.txt' below, if there's any
other info i should provide, please let me know.
thanks,
martin.
scanModem, Ubuntu 6.06 LTS kernel 2.6.15-23-386
------------ -------------- System information ------------------------
Ubuntu 6.06 LTS
on System with processor: i686
currently under kernel: 2.6.15-23-386
https://wiki.ubuntu.com/DialupModemHowto has good general guidance.
DEVPPP=crw------- 1 root root 108, 0 2006-05-31 02:15 /dev/ppp
A /dev/modem symbolic link is not present
USB modem not detected.
Checking for audio card
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
Reading /proc/asound/pcm
00-00: Intel ICH : Intel 82801DB-ICH4 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel 82801DB-ICH4 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel 82801DB-ICH4 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel 82801DB-ICH4 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel 82801DB-ICH4 - IEC958 : playback 1
The potentially supporting audio + modem drivers now loaded on this System
are:
0 snd_intel8x0
The kernel was assembled with compiler: 4.0.3
No compiler installed.
a gcc-4.0.3 package must be installed to support driver compiling
If compiling a modem driver proves to be necessary, one of the two procedures
must be followed.
If not yet on the Internet, put the Dapper install CD in the drive
Open a terminal and therein:
$ sudo apt-get install gcc-4.0 make
Additionally the package linux-headers-2.6.15-23-386 must be downloaded.
Goto http://packages.ubuntu.com/ and search for linux-image-2.6.15-23-386
After downloading, it can be installed with:
$ sudo apt-get install linux-header*.deb
Or alternatively if online through Ethernet do:
$ sudo apt-get install build-essential
will do all the necessary installations mentioned above.
In either installation case, set a symbolic link which will be expected later:
$ sudo ln -s /usr/bin/gcc-4.0 /usr/bin/gcc
After check with:
$ ls -l /usr/bin/gcc*
which should display:
lrwxrwxrwx 1 root root 16 2006-07-09 21:53 /usr/bin/gcc -> /usr/bin/gcc-4.0
-rwxr-xr-x 1 root root 93584 2006-04-20 18:22 /usr/bin/gcc-4.0
-rwxr-xr-x 1 root root 16245 2006-04-20 18:13 /usr/bin/gccbug-4.0
-------------
Compiling utility make Not found.
-------------
Checking for kernel-headers needed for compiling.
Kernel-header resources needed for compiling are not manifestly ready!
Modem candidates are at PCI_buses: 0000:01:04.0
Providing detail for device at 0000:01:04.0
with vendor-ID:device-ID
----:----
Class 0703: 14e4:4212 Modem: Broadcom Corporation BCM4212 v.90 56k modem
(rev 02) (prog-if 00 [Generic])
SubSystem 1028:0001 Dell: Unknown device 0001
Flags: bus master, fast devsel, latency 32, IRQ 169
Checking for IRQ 169 sharing with modem.
O-APIC-level uhci_hcd:usb1, i915 at pci:0000:00:02.0
-----PCI_IDs------- --CompilerVer-
Feature List: Primary Subsystem Distr KernelVer kernel default CPU
./scanModem test 14e4:4212 1028:0001 debian_version 2.6.15-23-386 4.0.3 none
i686
Information on several modem chipset providers is provided below,
because ambiguities remain on the correct choice of supporting software.
== Checking PCI IDs through modem chip suppliers ==
Vendor 14e4 is BroadCom
14e4:4212 is a BCM V.90 56k modem
There is a driver for 2.2.n kernels called BCOM_WAN_V20.
Search for it at http://www.dell.com
However the code has not been updated for some time.
For 2.4 kernels, fix by Giacomo Comes must be used. See :
http://linmodems.technion.ac.il/archive-third/msg01652.html
http://cengique.2y.net/~cengiz/BCMSM/
There is no support under 2.6.n kernels for the
14e4:4212 BCM V.90 56k modem
When serving under softmodem controllers like the Intel ICH series,
the Broadcom Subsystem 14e4:4d64 has mc97 codec BCM64.
Kernels of version 2.6.6 or later are necessary. See success reports:
http://linmodems.technion.ac.il/archive-fifth/msg02486.html
http://linmodems.technion.ac.il/archive-fourth/msg03690.html
http://oboc.ucdavis.edu/Marik/inspiron/
The support is achieved through a combination of:
1) the snd-intel8x0m.ko of 2.6.n kernel releases, which provides a low
level interface with the modem;
2) an slmodemd which creates ports and provides higher level functions.
Get the slmodem-CurrentVersion.tar.gz from
http://linmodems.technion.ac.il/packages/smartlink/
To compile the slmodemd, it is first Necessary to install a libasound2-dev
package, providing alsa headers. Alternately follow the link SLMODEMD.gcc4
to an already compiled slmodemd with documentation. The slmodemd is not
kernel specific.
3) After compilation and installation of slmodemd, initiate service with:
# sudo modprobe snd-intel8x0m
# sudo slmodemd --alsa --country=YOURCOUNTRY hw:1
Read the accompanying documentation for details and Modem/Slmodem.txt
======= PCI_ID checking completed ======
Update=2006_July_18
A PCMCIA CardBus is not detected on this System.
Checking for modem symbolic link support lines within /etc/udev/ files
Checking the /etc/apt/sources.list
deb http://gb.archive.ubuntu.com/ubuntu/ dapper main restricted
deb-src http://gb.archive.ubuntu.com/ubuntu/ dapper main restricted
deb http://gb.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
deb-src http://gb.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
deb http://security.ubuntu.com/ubuntu dapper-security main restricted
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
A package kernel-kbuild-2.6-3 or later version must be installed to support
compiling
The Major.Minor versions differ in the designated compiler none and the 4.0.3
used in kernel assembly!!"
But there must be a match on the target for driver installation,
of gcc Major.Minor versions or kernel and drivers!!
Otherwise the drivers will fail to load with warning:
Invalid module format!!"
See http://linmodems.technion.ac.il/archive-fifth/msg04252.html
Kernel-header resources needed for compiling are not manifestly ready!
Checking /usr/src/ for compressed compressed headers or kernel-source
Kernel-header resources needed for compiling are not manifestly ready!
If compressed resources are present, expand and then configure them following
DriverCompiling.txt
They may have to be installed.
Within your Linux distributions' installation CD or online resource (and
mirrows), search for :
Distribution PackageName OnLine
----------------------------------------------------------------------
Debian kernel-headers-2.6.15-23-386
http://www.debian.org/distrib/packages or install CD
Ubuntu linux-headers-2.6.15-23-386 http://http://packages.ubuntu.com/ or
install CD
Xandros
kernel-kbuild-3.6 are additionally required by
Debian, Ubuntu and Xandros
Mandrake kernel-source-2.6.15-23-386 If not present on install CDs search
http://mirror.switch.ch/ftp/mirror/mandrake/official/10.0/i586/Mandrake/RPMS/
http://rpms.mandrakeclub.com/rpms/mandrake/official/LByName.html, or other
mirrors.
SuSE kernel-source-2.6.15-23-386 , kernels are named k_deflt
FedoraCore4 kernel-devel-2.6.15-23-386 or kernel-smp-devel-2.6.15-23-386 on
install CD1 or CD4
One of which must be installed if compiling drivers to match kernel
2.6.15-23-386 proves necessary.
Within the output Modem/ folder, read CompilingDrivers.txt for details.
A /dev/modem symbolic link is not set.
The following information blocks just query some ppp support items.
====================================================
grep -rs ppp /etc/modprobe.*
-------------------------------------
/etc/modprobe.d/aliases:alias net-pf-24 pppoe
-------------------------------------
Resident PPP support modules are properly uncompressed .
COMM services are not active
Be sure to read the section about ppp related modules and aliases in
Modem/YourSystem.txt
---- dmesg queries -------
[4294667.296000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[4294668.642000] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 9 10 11 12 14
15) *0, disabled.
[4294668.642000] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 9 10 11 12 14
15) *0, disabled.
[4294668.643000] ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 5 7 9 10 11 12 14
15) *0, disabled.
[4294668.663000] PREFETCH window: disabled.
[4294668.663000] audit: initializing netlink socket (disabled)
[4294701.454000] ibm_acpi: ec object not found
[4294701.484000] pcc_acpi: loading...
[4294709.394000] apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
[4294709.394000] apm: overridden by ACPI.
pppd version 2.4.2 may not be fully compatible with 2.6.8 kernel releases.
If an initial CONNECT is achieved without PPP being subsequently
established,
drop back to a 2.4.1 version. This has worked for PCTEL AMR modem users,
supported by the http://www.smlink.com slmodem software.
Check pppd version with:
pppd --version
See http://linmodems.technion.ac.il/archive-fourth/msg03167.html
debian_version is not yet providing pre-compiled drivers for WinModems
More information about the Nottingham
mailing list