--- On Wed, 11/19/08, Brian Voss <bevoss@xxxxxxxx> wrote: > From: Brian Voss <bevoss@xxxxxxxx> > Subject: RE: BrianVoss, Canada kernel 2.6.24-19-generic > To: "Marvin Stodolsky" <marvin.stodolsky@xxxxxxxxx> > Cc: discuss@xxxxxxxxxxxxx > Date: Wednesday, November 19, 2008, 2:48 PM > MarvS and Antonio, > > Thank you both very much for your help. I am up and running > again, although can't seem to do better tha 26400 bps. > My basic problem was not specifying 'hardy' when > searching for the ubuntu package downloads. That got me the > incompatible packages. > > I can now establish a dial up connection by opening two > terminals, issuing > > $ sudo martian_modem > > in one and > > $ sudi wvdial > > in the other. > > Is there a way to simplify this process? Say, automatically > set up martian_modem on startup? ============== Auto ============== In scripts/ directory run automate.sh. $ cd scripts/ $ ./automate.sh You can supply the option to be passed to martian_modem on loading like $ ./automate --mode 0660 See ./automate.sh --help for more options. Look in the scripts/ folder of martian-20080625/ folder. There is a program called automate.sh, you may run it, except I believe it is designed to run on Fedora/OpenSuse/Mandriva or other rpm based distro. IT might need a little tweaking to work for Ubuntu. chkconfig might/might not work on Ubuntu? service=martian sed -e "s/%Options%/$options/" -e "s/%TTY%/$tty/" martian.in > martian install -m 744 -D $service /etc/init.d/$service /sbin/chkconfig --add $service /sbin/chkconfig $service on I modified it a bit to work on Slax (Slackware based live cd), but it is different from Ubuntu in some ways. they use /etc/rc.d/ only and Ubuntu uses more runlevels like Red Hat/Fedora. Regards, Antonio > > Brian > > -----Original Message----- > From: Marvin Stodolsky [mailto:marvin.stodolsky@xxxxxxxxx] > Sent: November 17, 2008 6:38 PM > To: Brian Voss > Cc: discuss@xxxxxxxxxxxxx > Subject: Re: BrianVoss, Canada kernel 2.6.24-19-generic > > > Brian, > > You need to install linux-libc-dev and libc6-dev packages > again. > Then again do the compile > > MarvS > > On Mon, Nov 17, 2008 at 1:10 PM, Brian Voss > <bevoss@xxxxxxxx> wrote: > > MarvS, > > > > I have tried to go back to square 1 by reinstalling > 8.04, then following your and Antonio's instructions (I > think): > > > > I put martian-full-20080625.tar.gz into my home > directory, then unpacked it using > > > > ~$ tar -zxvf martian-full-20080625.tar.gz > > > > That resulted in a new directory, > martian-full-20080625, appearing in my home directory. > > > > I opened a terminal and changed to this directory, > then ran the make all: > > > > $ cd martian-full-20080625 > > $ make clean > > $ make all > > > > - there were many warning and error messages in > response, like "main.c:488: warning: statement has no > effect" > > > > $ sudo make install > > > > - resulted in a further flurry of error and warning > messages. > > > > Please assume we are starting from scratch and provide > step-by-step guidance on how to proceed. > > > > Thank you, Brian > > > > -----Original Message----- > > From: Brian Voss [mailto:bevoss@xxxxxxxx] > > Sent: November 17, 2008 9:53 AM > > To: Marvin Stodolsky > > Cc: discuss@xxxxxxxxxxxxx > > Subject: RE: BrianVoss, Canada kernel > 2.6.24-19-generic > > > > > > MarvS, > > > > I am afraid this is getting beyond me. I am not trying > to go beyond 8.04 (Hardy?). Can you help me reset and avoid > further complications, since my knowledge of the linux > system is too limited to do anything complicated. > > > > If it will help I can reinstall 8.04 in order to have > a clean system; I have not added much to the install so far. > > > > Thanks, Brian > > > > -----Original Message----- > > From: Marvin Stodolsky > [mailto:marvin.stodolsky@xxxxxxxxx] > > Sent: November 16, 2008 6:58 PM > > To: Brian Voss > > Cc: discuss@xxxxxxxxxxxxx > > Subject: Re: BrianVoss, Canada kernel > 2.6.24-19-generic > > > > > > Brian > > > > 0) unless you have done a full Ubuntu Intrepid > installation, you > > should first work under a kernel like > 2.6.24-21-generic, to get the > > modem working. The 2.7.27 kernels were compiled with a > gcc-4.3 > > compiler, so you would have to install gcc-4.3 and all > its depedent > > packages too. I am working under a mixed > Hardy/Intrepid installation > > but it is NONE trivial keeping track of their separate > requirements. > > Not for the novice > > > > > > 1) you don't need the build-essential. > > 2) martian-20080617.tar.bz2 is not needed since you > also downloaded > > the martian-full-20080625.tar.gz which includes the > ltmdmobj.o Just > > work in the folder unpacked from > > martian-full-20080625.tar.gz > > 3) to clean up the libc6-dev situation, you probably > have to download > > from http://packages.ubuntu.com/intrepid/libc6 the > libc6 package. > > Then again > > $ sudo dpkg -i libc6 libc6-dev > > > > But you should really be working under Hardy, not the > 2.7.27 Intepid kernel. > > > > MarvS > > > > > > > > > > > > On Sun, Nov 16, 2008 at 12:58 PM, Brian Voss > <bevoss@xxxxxxxx> wrote: > >> Antonio, > >> > >> Thank you. I downloaded just the two packages you > suggested, put them in my > >> home directory, then issued the dpkg -i *.deb > command, resulting in the > >> following response: > >> > >> Selecting previously deselected package libc6-dev. > >> (Reading database ... 95844 files and directories > currently installed.) > >> Unpacking libc6-dev (from > libc6-dev_2.8-20080505-0ubuntu7_i386.deb) ... > >> Selecting previously deselected package > linux-libc-dev. > >> Unpacking linux-libc-dev (from > linux-libc-dev_2.6.27-7.16_i386.deb) ... > >> dpckg: dependency problems prevent configuration > of libc6-dev: > >> libc6-dev depends on libc6 (= > 2.8-20080505-0ubuntu7); however: > >> Versions of libc6 on system is 2.7-10ubuntu3. > >> dpckg: error processing libc6-dev (--install): > >> dependency problems - leaving unconfigured > >> Setting up linux-libc-dev (2.6.27-7.16) ... > >> Errors were encountered while processing: > >> libc6-dev > >> > >> Where to from here? > >> > >> Brian > >> > >> -----Original Message----- > >> From: Antonio Olivares > [mailto:olivares14031@xxxxxxxxx] > >> Sent: November 16, 2008 11:26 AM > >> To: Brian Voss > >> Cc: discuss@xxxxxxxxxxxxx > >> Subject: RE: BrianVoss, Canada kernel > 2.6.24-19-generic > >> > >> > >> --- On Sun, 11/16/08, Brian Voss > <bevoss@xxxxxxxx> wrote: > >> > >>> From: Brian Voss <bevoss@xxxxxxxx> > >>> Subject: RE: BrianVoss, Canada kernel > 2.6.24-19-generic > >>> To: olivares14031@xxxxxxxxx > >>> Cc: discuss@xxxxxxxxxxxxx > >>> Date: Sunday, November 16, 2008, 8:20 AM > >>> Antonio, > >>> > >>> Thank you. What do I do with the libc6-dev and > >>> linux-libc-dev packages once > >>> I've downloaded them? > >> Install them with > >> $ sudo dpkg -i *.deb > >> > >> and it should work. Otherwise please post your > error messages :) > >> > >> Regards, > >> > >> Antonio > >>> > >>> Brian > >>> > >>> -----Original Message----- > >>> From: Antonio Olivares > [mailto:olivares14031@xxxxxxxxx] > >>> Sent: November 15, 2008 9:38 PM > >>> To: Brian Voss > >>> Cc: discuss@xxxxxxxxxxxxx > >>> Subject: Re: BrianVoss, Canada kernel > 2.6.24-19-generic > >>> > >>> > >>> Brian, > >>> > >>> scanModem recommends that you get > martian-20080625.tar.gz > >>> > >>> The modem has a Lucent/Agere/LSI Mars or > Apollo DSP > >>> (digital signal > >>> processing) chipset. > >>> Support packages for 2.6.n kernels are at: > >>> > http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/martian/ > >>> Always use the most update for kernels after > 2.6.20, > >>> currently > >>> martian-full-20080625.tar.gz > >>> For kernels 2.6.20 and less, usr > >>> martian-full-20080407.tar.gz. > >>> > >>> See DOCs/AgereDSP.txt for Details. > >>> > >>> I'll take a shot but not certain that it > would be the > >>> way to do it. > >>> > >>> 1) download martian-full-20080625.tar.gz > >>> 2) download libc6-dev and linux-libc-dev (to > be safe), look > >>> for them in > >>> http://packages.ubuntu.com > >>> 3) copy martian-full-20080625 to your home > directory or > >>> Desktop whichever > >>> you prefer > >>> 4) extract martian-full-20080625.tar.gz with > >>> $ tar -zxvf martian-full-20080625.tar.gz > >>> 4) run > >>> $ make all > >>> $ sudo make install > >>> $ sudo modprobe martian_dev > >>> $ sudo martian_modem > >>> > >>> open up another terminal and do > >>> $ sudo wvdialconf /etc/wvdial.conf > >>> should find the modem driver /dev/ttySM0 and > you would need > >>> to edit the > >>> /etc/wvdial.conf with your favorite editor and > remove > >>> ";" and add your > >>> username, password and phone number. Add also > a line > >>> "Carrier Check = no", > >>> it might also help if you put a line > "Stupid Mode = > >>> 1". > >>> > >>> Get back to us if you succeed or need further > help/advice. > >>> > >>> Regards, > >>> > >>> Antonio > >>> > >>> > >>> --- On Sat, 11/15/08, Brian Voss > <bevoss@xxxxxxxx> > >>> wrote: > >>> > >>> > From: Brian Voss <bevoss@xxxxxxxx> > >>> > Subject: BrianVoss, Canada kernel > 2.6.24-19-generic > >>> > To: Discuss@xxxxxxxxxxxxx > >>> > Date: Saturday, November 15, 2008, 2:53 > PM > >>> > I sent a message yesterday with most of > the following > >>> > information, to the > >>> > Discussion.Subscribe address. This is in > case that > >>> message > >>> > did not get to > >>> > areal person! > >>> > > >>> > In 2007 I had my first experience with > linux using > >>> ubuntu > >>> > 6.10 and I had > >>> > help from Firas Kraiem to set up the dial > up modem. > >>> His > >>> > advice included > >>> > instructions for installing the package > containing the > >>> C > >>> > compiler and my > >>> > kernel headers. Then he told me how to > install > >>> > martian_modem and configure > >>> > wvdial. This worked well for ubuntu 6.10, > although > >>> there > >>> > were error messages > >>> > when installing the build-essential > package. > >>> > > >>> > I recently overwrote the 6.10 version > with an install > >>> of > >>> > ubuntu 8.04, then > >>> > attempted to repeat the dial up modem > support > >>> installation. > >>> > Again I received > >>> > error messages installing the > build-essential package > >>> and > >>> > more error > >>> > messages with the martian_modem > installation. At the > >>> end of > >>> > the process when > >>> > I entered sudo martian-modem the system > responded that > >>> the > >>> > command is not > >>> > available. I used the martian and > martian-full > >>> tarballs > >>> > from 20061203, which > >>> > may be one of my mistakes. > >>> > > >>> > Is there a way to ensure that what I have > tried so far > >>> has > >>> > not corrupted the > >>> > system, or should I start over and > re-install ubuntu > >>> 8.04? > >>> > > >>> > Can you provide an update on the advice > Firas provided > >>> May > >>> > 10, 2007, to walk > >>> > me through the dial up modem support > installation. Any > >>> help > >>> > will be greatly > >>> > appreciated, because I still seem to be a > novice with > >>> linux > >>> > and the > >>> > implications of some of the steps I go > through is not > >>> > entirely clear. Thank > >>> > you for help. The ModemData file follows: > >>> > > >>> > Only plain text email is forwarded by > the > >>> > Discuss@xxxxxxxxxxxxx List > >>> > Server, > >>> > as HTML can contain viruses. Use as the > email Subject > >>> > Line: > >>> > YourName, YourCountry kernel > >>> 2.6.24-19-generic > >>> > With this Subject Line cogent experts > will be > >>> alerted, and > >>> > useful case > >>> > names left in the Archive. > >>> > YourCountry will enable Country specific > guidance. > >>> Linux > >>> > experts in > >>> > YourCountry > >>> > can be found through: > >>> > http://www.linux.org/groups/index.html. > >>> > They will know your Country's modem > code, which > >>> may be > >>> > essential for dialup > >>> > service. > >>> > Responses from Discuss@xxxxxxxxxxxxx are > sometimes > >>> blocked > >>> > by an Internet > >>> > Provider mail filters. > >>> > So in a day, also check the Archived > responses at > >>> > http://www.linmodems.org > >>> > -------------------------- System > information > >>> > ---------------------------- > >>> > CPU=i686, > >>> > Linux version 2.6.24-19-generic > (buildd@palmer) (gcc > >>> > version 4.2.3 (Ubuntu > >>> > 4.2.3-2ubuntu7)) #1 SMP Wed Jun 18 > 14:43:41 UTC 2008 > >>> > scanModem update of: 2008_11_06 > >>> > > >>> > There are no blacklisted modem drivers > in > >>> /etc/modprobe* > >>> > files > >>> > Attached USB devices are: > >>> > ID 0402:5621 ALi Corp. USB 2.0 Storage > Device > >>> > ID 04a9:108d Canon, Inc. > >>> > > >>> > USB modems not recognized > >>> > > >>> > For candidate card in slot 00:0c.0, > firmware > >>> information > >>> > and bootup > >>> > diagnostics are: > >>> > PCI slot PCI ID SubsystemID > Name > >>> > ---------- --------- --------- > -------------- > >>> > 00:0c.0 11c1:0441 13e0:0410 > Communication controller: > >>> > Agere Systems 56k > >>> > WinModem > >>> > > >>> > Modem interrupt assignment and sharing: > >>> > 11: 90740 XT-PIC-XT > ehci_hcd:usb4 > >>> > --- Bootup diagnostics for card in PCI > slot 00:0c.0 > >>> ---- > >>> > [ 35.704332] PCI: Sharing IRQ 11 with > 0000:00:0c.0 > >>> > > >>> > === Finished firmware and bootup > diagnostics, next > >>> deducing > >>> > cogent software. > >>> > === > >>> > > >>> > Predictive diagnostics for card in bus > 00:0c.0: > >>> > Modem chipset detected on > >>> > NAME="Communication controller: > Agere Systems 56k > >>> > WinModem " > >>> > CLASS=0780 > >>> > PCIDEV=11c1:0441 > >>> > SUBSYS=13e0:0410 > >>> > IRQ=11 > >>> > IDENT=Agere.DSP > >>> > > >>> > For candidate modem in: 00:0c.0 > >>> > 0780 Communication controller: Agere > Systems 56k > >>> > WinModem > >>> > Primary device ID: 11c1:0441 > >>> > Support type needed or chipset: > Agere.DSP > >>> > > >>> > > >>> > ----------------end Softmodem section > -------------- > >>> > > >>> > The modem has a Lucent/Agere/LSI Mars or > Apollo DSP > >>> > (digital signal > >>> > processing) chipset. > >>> > Support packages for 2.6.n kernels are > at: > >>> > > >>> > > >>> > http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/martian/ > >>> > Always use the most update for kernels > after 2.6.20, > >>> > currently > >>> > martian-full-20080625.tar.gz > >>> > For kernels 2.6.20 and less, usr > >>> > martian-full-20080407.tar.gz. > >>> > > >>> > See DOCs/AgereDSP.txt for Details. > >>> > > >>> > > >>> > Vendor 11c1 is Lucent Technologies with > modem > >>> technology > >>> > now under LSI Inc. > >>> > Their Linux code developer/maintainer is > Soumyendu > >>> Sarkar. > >>> > Support for a > >>> > chipset and its > >>> > continued maintenance is only initiated > at the > >>> request of > >>> > a major chipset > >>> > buyer, > >>> > or comparable sponsor. Several different > modem > >>> chipset > >>> > types are > >>> > produced: > >>> > with varying support under Linux. > >>> > Device ID Support Name > Comment > >>> > --------- ------------- ----------- > >>> > ----------------------------- > >>> > 0480 serial_drivers Venus > controller > >>> > chipset 1673JV7 > >>> > 0440-045d martian Mars/Apollo > DSP > >>> (digital > >>> > signal processing) > >>> > chipsets > >>> > 0462 none 56K.V90/ADSL > Wildwire > >>> > 048d none SV2P > soft modem > >>> > 048(c or f) AGRSM SV2P > soft modem > >>> > 0600 none soft modem, > very few in > >>> the > >>> > field. > >>> > 0620 AGRSM Pinball soft > modem, in > >>> some HP > >>> > desktop PCs > >>> > 011c11040 AGRSM hosted on > High Definition > >>> Audio > >>> > cards > >>> > 062(1-3) none > SV92PP,Pinball soft > >>> modem, in > >>> > some HP desktop > >>> > PCs > >>> > > >>> > martian - At > >>> > > >>> > http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/martian/ > >>> > AGRSM - At > >>> > > >>> > http://linmodems.technion.ac.il/packages/ltmodem/11c11040/ > >>> > Compiling resources for a driver module > pair: > >>> agrmodem.ko > >>> > + agrserial.ko > >>> > Use the > agrsm-HDA-20080721-ALSA15.tar.bz2 or > >>> > agrsm-HDA-20080721.tar.bz2 > >>> > Read the agrsm_howto.txt. For 11c11040 > chips, also > >>> the > >>> > HOWTO-Agere-11c11040-HDA.html > >>> > > >>> > 0x0441 -- Mars 2 - data/fax only > >>> > -------------- end Agere Systems section > >>> > ------------------- > >>> > > >>> > Completed candidate modem analyses. > >>> > > >>> > The base of the UDEV device file system > is: > >>> /dev/.udev > >>> > > >>> > Versions adequately match for the > compiler installed: > >>> > 4.2.3 > >>> > and the compiler used in > kernel assembly: > >>> > 4.2.3 > >>> > > >>> > > >>> > > >>> > Minimal compiling resources appear > complete: > >>> > make utility - /usr/bin/make > >>> > Compiler version 4.2 > >>> > linuc_headers base folder > >>> > /lib/modules/2.6.24-19-generic/build > >>> > > >>> > However some compilations and executable > functions > >>> may > >>> > need additional > >>> > files, > >>> > in the FileNames.h (so called kernel > >>> "h"eaders) > >>> > collection installed in > >>> > /usr/include/ . > >>> > For martian_modem, additional required > packages are > >>> > needed. The also > >>> > required headers of package libc6 are > commonly > >>> installed by > >>> > default. > >>> > Compiling hsfmodem drivers does require > >>> linux-libc-dev and > >>> > libc6-dev > >>> > packages, for kernels 2.6.24 and later > versions. > >>> > In not included on your install CD, > search for them > >>> at > >>> > http://packages.ubuntu.com > >>> > or comparable Repository for other Linux > distros. > >>> > When compiling ALSA drivers, the utility > >>> "patch" > >>> > will also be needed. > >>> > > >>> > > >>> > > >>> > > >>> > If a driver compilation fails, with > message including > >>> some > >>> > lack of some > >>> > FileName.h (stdio.h for example), then > >>> > Some additional kernel-header files need > installation > >>> to > >>> > /usr/include. The > >>> > minimal additional packages are libc6-dev > >>> > and any of its dependents, under Ubuntu > linux-libc-dev > >>> > > >>> > If an alternate ethernet connection is > available, > >>> > $ apt-get update > >>> > $ apt-get -s install linux-kernel-devel > >>> > will install needed packages. > >>> > For Debian/Ubuntu related distributions, > run the > >>> following > >>> > command to > >>> > display the needed package list: > >>> > > >>> > Otherwise packages have to be found > through > >>> > http://packages.ubuntu.com > >>> > Once downloaded and transferred into a > Linux > >>> partition, > >>> > they can be installed alltogether with: > >>> > $ sudo dpkg -i *.deb > >>> > > >>> > > >>> > Checking pppd properties: > >>> > -rwsr-xr-- 1 root dip 269256 > 2007-10-04 15:57 > >>> > /usr/sbin/pppd > >>> > > >>> > In case of an "error 17" > "serial > >>> > loopback" problem, see: > >>> > > >>> > > >>> > http://linmodems.technion.ac.il/linmodems/archive-sixth/msg02637.html > >>> > > >>> > To enable dialout without Root permission > do: > >>> > $ su - root (not for Ubuntu) > >>> > sudo chmod a+x /usr/sbin/pppd > >>> > or under Ubuntu related Linuxes > >>> > sudo chmod a+x /usr/sbin/pppd > >>> > > >>> > Checking settings of: > /etc/ppp/options > >>> > asyncmap 0 > >>> > noauth > >>> > crtscts > >>> > lock > >>> > hide-password > >>> > modem > >>> > proxyarp > >>> > lcp-echo-interval 30 > >>> > lcp-echo-failure 4 > >>> > noipx > >>> > > >>> > In case of a message like: > >>> > Warning: Could not modify > /etc/ppp/pap-secrets: > >>> > Permission denied > >>> > see > >>> > > >>> > http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html > >>> > > >>> > Read Modem/DOCs/YourSystem.txt concerning > other COMM > >>> > channels: eth0 > >>> > Which can interfere with Browser > naviagation. > >>> > > >>> > Don't worry about the following, it > is for > >>> experts > >>> > should trouble shooting > >>> > be necessary. > >>> > > >>> > ========================================================== > >>> > > >>> > Checking for modem support lines: > >>> > -------------------------------------- > >>> > /device/modem symbolic link: > >>> > slmodemd created symbolic link > /dev/ttySL0: > >>> > Within /etc/udev/ files: > >>> > > >>> > Within /etc/modprobe.conf files: > >>> > /etc/modprobe.d/alsa-base:options > snd-atiixp-modem > >>> index=-2 > >>> > /etc/modprobe.d/alsa-base:options > snd-via82xx-modem > >>> > index=-2 > >>> > /etc/modprobe.d/blacklist-modem:# > Uncomment these > >>> entries > >>> > in order to > >>> > blacklist unwanted modem drivers > >>> > /etc/modprobe.d/blacklist-modem:# > blacklist > >>> > snd-atiixp-modem > >>> > /etc/modprobe.d/blacklist-modem:# > blacklist > >>> > snd-via82xx-modem > >>> > Within any ancient /etc/devfs files: > >>> > > >>> > Within ancient kernel 2.4.n > /etc/module.conf > >>> files: > >>> > > >>> > --------- end modem support lines > -------- > >>> > > >>> > > >>> > BrianVoss > >> > >> > >> > >> > >> > >> > >> > > > > > > > > > > > > > >