Re: Error setting up dialup in Ubuntu 10.10 kernel 2.6.35.22

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Derek

Apologies,
It is such common long term knowledge on this List, that we forgot to
explicit inform you to keep martian_modem running. It is however in
the documentation.
For the martian_modem and the Smartlink slmodemd helpers, their Open
Source companion drivers are mostly dumb.  They make connection  with
the modem hardware, but almost all the COMM brains resides in the
helpers.  If is this separation of roles, which allows residence of a
large Closed Source component in the helpers, and avoidance of a
"Tainted Kernel" report when the drivers are loaded.  This separation
strategy was implemented first in the Smartlink code, and later
entended to Lucent/Agere/LSI modems.

MarvS

On Sat, Feb 26, 2011 at 10:17 PM, Antonio Olivares
<olivares14031@xxxxxxxxx> wrote:
> Derek & all,
>
> On Sat, Feb 26, 2011 at 8:58 PM, Antonio Olivares
> <olivares14031@xxxxxxxxx> wrote:
>> Derek,
>>
>> On Sat, Feb 26, 2011 at 8:16 PM, Derek <yawder@xxxxxxxxxxx> wrote:
>>> Hi Marvin
>>>
>>> Thanks for your latest reply - first a comment:
>>> Â Â Â ÂLogging in as root I have exactly the same response so I don't think
>>> this is an ownership problem.
>>>
>>> Â Â Â ÂI have included the terminal output on Ubuntu 9.10 for sudo
>>> wvdialconf which shows found modem on /dev/ttySM0 and Modem
>>> configuration written to wvtest.
>>>
>>> Â Â Â ÂFirst is the terminal output on ubuntu 10.10 for your latest
>>> suggestion of deletion of modprobe martian_dev and martian_modem
>>> from /etc/rc.local then reboot.
>>>
>>> NOTE AFTER "martian: info: Your port is /dev/ttySM0" THERE IS NO RETURN
>>> TO TERMINAL PROMPT "derek@derek-desktop:~$" AND control/c is required
>>>
>>> Â Â Â Â------- Â10.10 terminal output
>>> derek@derek-desktop:~$ sudo modprobe martian_dev
>>> [sudo] password for derek:
>>> derek@derek-desktop:~$ sudo martian_modem
>>> martian: info: Your port is /dev/ttySM0
>>> ^Cmartian: info: Bye.
>>
>> You typed CTRL + C, don't do this. It will never work if you do it
>> this way. ÂLeave it running in the background. ÂThen run
>>
>> $ sudo wvdialconf
> Typo should be
> $ sudo wvdialconf /etc/wvdial.conf
>>
>>> derek@derek-desktop:~$ sudo wvdialconf
>>> Editing `/etc/wvdial.conf'.
>>>
>>> Scanning your serial ports for a modem.
>>>
>>> ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
>>> ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
>>> ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
>>> ttyS1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
>>> ttyS1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
>>> ttyS1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
>>> Modem Port Scan<*1>: S2 Â S3
>>>
>>>
>>> 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://open.nit.ca/wiki/?WvDial
>>>
>>> If you still have problems, send mail to <wvdial-list@xxxxxxxxxxxx>.
>>> derek@derek-desktop:~$
>>
>> Now that you have left it running it should find the modem port. ÂEdit
>> your file /etc/wvdial.conf (sudo gedit /etc/wvdial.conf or other
>> editor) Âand add your username, password and ISP phone number and a
>> line Carrier Check = no to the file. ÂSave it and close it and type
>>
>> $ sudo wvdial
>>
>> If it works you should be able to connect successfully. ÂIf you are
>> connected but unable to browse capture the numbers that are output by
>> wvdial and place them in the file /etc/resolv.conf
>>
>> $ sudo gedit /etc/resolv.conf
>> and add word
>> nameserver NUMBERS THAT come up after wvdial command
>>
>> Let us know if you could connect or not.
>>
>> Regards,
>>
>> Antonio
>>
>>> Â Â Â Â-------------
>>> FOR YOUR INFORMATION THIS IS THE CONTINUING TERMINAL OUTPUT AFTER
>>> Modem Port Scan<*1>: S2 Â S3 Â FOR THE SAME MODEM IN UBUNTU 9.10
>>>
>>> WvModem<*1>: Cannot get information for serial port.
>>> ttySM0<*1>: ATQ0 V1 E1 -- OK
>>> ttySM0<*1>: ATQ0 V1 E1 Z -- OK
>>> ttySM0<*1>: ATQ0 V1 E1 S0=0 -- OK
>>> ttySM0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
>>> ttySM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
>>> ttySM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
>>> ttySM0<*1>: Modem Identifier: ATI -- LT V.92 Data+Fax Modem Version 8.30
>>> ttySM0<*1>: Speed 4800: AT -- OK
>>> ttySM0<*1>: Speed 9600: AT -- OK
>>> ttySM0<*1>: Speed 19200: AT -- OK
>>> ttySM0<*1>: Speed 38400: AT -- OK
>>> ttySM0<*1>: Speed 57600: AT -- OK
>>> ttySM0<*1>: Speed 115200: AT -- OK
>>> ttySM0<*1>: Speed 230400: AT -- OK
>>> ttySM0<*1>: Speed 460800: AT -- OK
>>> ttySM0<*1>: Max speed is 460800; that should be safe.
>>> ttySM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
>>>
>>> Found a modem on /dev/ttySM0.
>>> wvtest<Warn>: Can't open 'wvtest' for reading: No such file or directory
>>> wvtest<Warn>: ...starting with blank configuration.
>>> Modem configuration written to wvtest.
>>> ttySM0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
>>> derek@derek-desktop:~$
>>> ---------------------------------------------------------------
>>>
>>> On Sat, 2011-02-19 at 20:38 -0500, Marvin Stodolsky wrote:
>>>> Derek,
>>>>
>>>> The root Âownership of
>>>> Â1 root Âroot   10 2011-02-19 12:27 /dev/ttySM0 -> /dev/pts/1>
>>>> may be Âyour problem. ÂTry Ânot using the bootup activation and do it
>>>> manually after bootup
>>>> $ sudo modprobe martian_dev
>>>> $ sudo martian_modem
>>>> $ sudo wvdialconf
>>>>
>>>> MarvS
>>>>
>>>>
>>>> On Sat, Feb 19, 2011 at 8:13 PM, Derek <yawder@xxxxxxxxxxx> wrote:
>>>> > Hi Marvin
>>>> >
>>>> > This is the terminal listing after following your instructions
>>>> > immediately after boot:
>>>> >
>>>> > derek@derek-desktop:~$ sudo ls -l Â/dev/ttySM0 Â/dev/pts/*
>>>> > crw--w---- 1 derek tty Â136, 0 2011-02-19 12:58 /dev/pts/0
>>>> > crw--w---- 1 root Âtty Â136, 1 2011-02-19 12:27 /dev/pts/1
>>>> > c--------- 1 root Âroot  5, 2 2011-02-19 22:56 /dev/pts/ptmx
>>>> > lrwxrwxrwx
>>>> Â1 root Âroot   10 2011-02-19 12:27 /dev/ttySM0 -> /dev/pts/1>
>>>> > derek@derek-desktop:~$ sudo wvdial
>>>> > --> WvDial: Internet dialer version 1.60
>>>> > --> Cannot get information for serial port.
>>>> > --> Cannot open /dev/ttySM0: Input/output error
>>>> > --> Cannot open /dev/ttySM0: No such file or directory
>>>> > --> Cannot open /dev/ttySM0: No such file or directory
>>>> > derek@derek-desktop:~$
>>>> >
>>>> > I then checked /dev/ttySM0 and link to /dev/pts/1 is not broken
>>>> >
>>>> > Regards ÂDerek
>>>> > -----------------------------------------------------------------
>>>> >
>>>> > On Wed, 2011-02-16 at 23:27 -0500, Marvin Stodolsky wrote:
>>>> >> Do
>>>> >>
>>>> >> $ sudo ls -l Â/dev/ttySM0 Â/dev/pts/*
>>>> >> because if all is well, the true port is a /dev/pts/Number and
>>>> >> Â Â/dev/ttySM0 --> /dev/pts/3 (say)
>>>> >> a symbolic link to it.
>>>> >>
>>>> >> MarvS
>>>> >>
>>>> >> On Wed, Feb 16, 2011 at 8:33 PM, Antonio Olivares
>>>> >> <olivares14031@xxxxxxxxx> wrote:
>>>> >> > Derek,
>>>> >> >
>>>> >> > You have set autoloading of martian modem via rc.local script. ÂThen
>>>> >> > if this was working correctly, you should just do a
>>>> >> > $ sudo wvdial
>>>> >> > but before check to see that the port exists, i.e, output of
>>>> >> > $ sudo ls /dev/ttySM0
>>>> >> >
>>>> >> > don't do this:
>>>> >> >
>>>> >> > derek@derek-desktop:~$ sudo martian_modem
>>>> >> > martian: error: open: Device or resource busy
>>>> >> > martian: info: martian is already running.
>>>> >> >
>>>> >> > instead just do:
>>>> >> > derek@derek-desktop:~$ sudo wvdial
>>>> >> > --> WvDial: Internet dialer version 1.60
>>>> >> > --> Cannot open /dev/ttySM0: No such file or directory
>>>> >> >
>>>> >> > if this fails let us know.
>>>> >> >
>>>> >> > Regards,
>>>> >> >
>>>> >> > Antonio
>>>> >> > On Wed, Feb 16, 2011 at 7:19 PM, Derek <yawder@xxxxxxxxxxx> wrote:
>>>> >> >> Hi Martin
>>>> >> >>
>>>> >> >> You wrote:
>>>> >> >>
>>>> >> >> You may have to manually load the driver
>>>> >> >> $ sudo modprobe martian_dev
>>>> >> >> before the
>>>> >> >> $ sudo martian_modem
>>>> >> >>
>>>> >> >> This was done correctly as you can see from the terminal outputs below
>>>> >> >> when I installed Agere modem software. ÂThis may help you find out why
>>>> >> >> ttySM0 link points to a non-existent file - "/dev/pts/1"
>>>> >> >>
>>>> >> >> Â Â Â Â Â Â Â ÂTerminal output for 'martian-full-20100123'
>>>> >> >>
>>>> >> >> derek@derek-desktop:~$ cd '/home/derek/Desktop/martian-full-20100123'
>>>> >> >>
>>>> >> >> derek@derek-desktop:~/Desktop/martian-full-20100123$ make all
>>>> >> >> make -C kmodule/ modules
>>>> >> >> make[1]: Entering directory
>>>> >> >> `/home/derek/Desktop/martian-full-20100123/kmodule'
>>>> >> >> make -C /lib/modules/2.6.35-22-generic/build
>>>> >> >> M="/home/derek/Desktop/martian-full-20100123/kmodule" Âmodules
>>>> >> >> make[2]: Entering directory `/usr/src/linux-headers-2.6.35-22-generic'
>>>> >> >> ÂCC [M] Â/home/derek/Desktop/martian-full-20100123/kmodule/martian.o
>>>> >> >> /home/derek/Desktop/martian-full-20100123/kmodule/martian.c: In function
>>>> >> >> âmartian_isrâ:
>>>> >> >> /home/derek/Desktop/martian-full-20100123/kmodule/martian.c:135:
>>>> >> >> warning: value computed is not used
>>>> >> >> ÂCC [M] Â/home/derek/Desktop/martian-full-20100123/kmodule/marsio.o
>>>> >> >> /home/derek/Desktop/martian-full-20100123/kmodule/marsio.c:358: warning:
>>>> >> >> âmars_read_register_remâ defined but not used
>>>> >> >> /home/derek/Desktop/martian-full-20100123/kmodule/marsio.c:371: warning:
>>>> >> >> âmars_write_register_remâ defined but not used
>>>> >> >> In file included
>>>> >> >> from /usr/src/linux-headers-2.6.35-22-generic/arch/x86/include/asm/uaccess.h:571,
>>>> >> >>
>>>> >> >> from /home/derek/Desktop/martian-full-20100123/kmodule/marsio.c:2:
>>>> >> >> In function âcopy_from_userâ,
>>>> >> >> Â Âinlined from âmars_download_dsp_userâ
>>>> >> >> at /home/derek/Desktop/martian-full-20100123/kmodule/marsio.c:767:
>>>> >> >> /usr/src/linux-headers-2.6.35-22-generic/arch/x86/include/asm/uaccess_32.h:212: warning: call to âcopy_from_user_overflowâ declared with attribute warning: copy_from_user() buffer size is not provably correct
>>>> >> >> ÂCC [M] Â/home/derek/Desktop/martian-full-20100123/kmodule/mfifo.o
>>>> >> >> ÂLD
>>>> >> >> [M] Â/home/derek/Desktop/martian-full-20100123/kmodule/martian_dev.o
>>>> >> >> ÂBuilding modules, stage 2.
>>>> >> >> ÂMODPOST 1 modules
>>>> >> >>
>>>> >> >> CC Â Â Â/home/derek/Desktop/martian-full-20100123/kmodule/martian_dev.mod.o
>>>> >> >> ÂLD
>>>> >> >> [M] Â/home/derek/Desktop/martian-full-20100123/kmodule/martian_dev.ko
>>>> >> >> make[2]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
>>>> >> >> make[1]: Leaving directory
>>>> >> >> `/home/derek/Desktop/martian-full-20100123/kmodule'
>>>> >> >> make -C modem/ all
>>>> >> >> make[1]: Entering directory
>>>> >> >> `/home/derek/Desktop/martian-full-20100123/modem'
>>>> >> >> Â ÂCC Âmain.o
>>>> >> >> Â ÂCC Âdumpers.o
>>>> >> >> Â ÂCC Âlog.o
>>>> >> >> Â ÂCC Âsession.o
>>>> >> >> Â ÂCC Âmport.o
>>>> >> >> Â ÂCC Âpty.o
>>>> >> >> Â ÂCC Âsysdep.o
>>>> >> >> Â ÂCC Âisr.o
>>>> >> >> Â ÂCC Âsmp.o
>>>> >> >> Â ÂCC Âcore_if.o
>>>> >> >> Â ÂCC Âcoresubst.o
>>>> >> >> Â ÂCC Âlink.o
>>>> >> >> Â ÂCC Âtweakrelocsdynamic.o
>>>> >> >> Â ÂCC Âcoreadd.o
>>>> >> >> Â ÂCC Âelf386tweakrelocs
>>>> >> >> Â ÂLD Âmarscore.o
>>>> >> >> Â ÂTWEAK Â Â Â marscore.o
>>>> >> >> Â ÂLD Âmartian_modem
>>>> >> >> make[1]: Leaving directory
>>>> >> >> `/home/derek/Desktop/martian-full-20100123/modem'
>>>> >> >>
>>>> >> >> derek@derek-desktop:~/Desktop/martian-full-20100123$ sudo make install
>>>> >> >> [sudo] password for derek:
>>>> >> >> make -C kmodule/ install
>>>> >> >> make[1]: Entering directory
>>>> >> >> `/home/derek/Desktop/martian-full-20100123/kmodule'
>>>> >> >> make -C /lib/modules/2.6.35-22-generic/build
>>>> >> >> M="/home/derek/Desktop/martian-full-20100123/kmodule" modules_install
>>>> >> >> make[2]: Entering directory `/usr/src/linux-headers-2.6.35-22-generic'
>>>> >> >>
>>>> >> >> INSTALL /home/derek/Desktop/martian-full-20100123/kmodule/martian_dev.ko
>>>> >> >> ÂDEPMOD Â2.6.35-22-generic
>>>> >> >> make[2]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
>>>> >> >> if ! /sbin/modprobe -nq martian_dev ; then /sbin/depmod -a; fi
>>>> >> >> make[1]: Leaving directory
>>>> >> >> `/home/derek/Desktop/martian-full-20100123/kmodule'
>>>> >> >> make -C modem/ install
>>>> >> >> make[1]: Entering directory
>>>> >> >> `/home/derek/Desktop/martian-full-20100123/modem'
>>>> >> >> Â ÂLD Âmartian_modem.debug
>>>> >> >> Â ÂSTRIP Â Â Â martian_modem.debug
>>>> >> >> Â ÂSTRIP Â Â Â martian_modem.stripped
>>>> >> >> Â ÂINSTALL Â Â /usr/sbin/martian_modem
>>>> >> >> Â ÂINSTALL Â Â /usr/lib/debug/usr/sbin/martian_modem.debug
>>>> >> >> make[1]: Leaving directory
>>>> >> >> `/home/derek/Desktop/martian-full-20100123/modem'
>>>> >> >>
>>>> >> >> derek@derek-desktop:~/Desktop/martian-full-20100123$ sudo modprobe
>>>> >> >> martian_dev
>>>> >> >> derek@derek-desktop:~/Desktop/martian-full-20100123$ sudo martian_modem
>>>> >> >> martian: info: Your port is /dev/ttySM0
>>>> >> >>
>>>> >> >> #!/bin/sh -e
>>>> >> >> #
>>>> >> >> # rc.local
>>>> >> >> #
>>>> >> >> # This script is executed at the end of each multiuser runlevel.
>>>> >> >> # Make sure that the script will "exit 0" on success or any other
>>>> >> >> # value on error.
>>>> >> >> #
>>>> >> >> # In order to enable or disable this script just change the execution
>>>> >> >> # bits.
>>>> >> >> #
>>>> >> >> # By default this script does nothing.
>>>> >> >>
>>>> >> >> /sbin/modprobe martian_dev
>>>> >> >> martian_modem
>>>> >> >>
>>>> >> >>
>>>> >> >> exit 0
>>>> >> >> ---------------------------------
>>>> >> >> Computer restart - enter at terminal
>>>> >> >>
>>>> >> >> derek@derek-desktop:~$ sudo martian_modem
>>>> >> >> martian: error: open: Device or resource busy
>>>> >> >> martian: info: martian is already running.
>>>> >> >> derek@derek-desktop:~$ sudo wvdial
>>>> >> >> --> WvDial: Internet dialer version 1.60
>>>> >> >> --> Cannot open /dev/ttySM0: No such file or directory
>>>> >> >> --> Cannot open /dev/ttySM0: No such file or directory
>>>> >> >> --> Cannot open /dev/ttySM0: No such file or directory
>>>> >> >> derek@derek-desktop:~$ sudo martian_modem
>>>> >> >> martian: info: Your port is /dev/ttySM0
>>>> >> >>
>>>> >> >>
>>>> >> >
>>>> >
>>>> >
>>>> >
>>>
>>>
>>>
>>
>



[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux