Re: janvrot BRAZIL

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

 



Marvin

I used -l sisce default log is 5
Here it goes

botinas:~ # sudo slmodemd -l -c BRAZIL --alsa --debug=2 hw:0,6
SmartLink Soft Modem: version 2.9.11 Aug  6 2007 22:02:27
<879.317750> SmartLink Soft Modem: version 2.9.11 Aug  6 2007 22:02:27
<879.317964> hw:0,6: startup modem...
<879.318188> hw:0,6: update termios...
symbolic link `/dev/ttySL0' -> `/dev/pts/11' created.
modem `hw:0,6' created. TTY is `/dev/pts/11'
<879.318790> open file: /var/lib/slmodem/data.hw:0,6...
<879.318945> cannot open '/var/lib/slmodem/data.hw:0,6': No such file
or directory
<879.342973> main: rt applyed: SCHED_FIFO, pri 99
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.

ok, the sudo wasn't necessary, but anyway

Ivan

On Jan 6, 2008 3:55 PM, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> wrote:
> Ivan,
>
> Start slmodemd in logging and debug=2 to mode, I'm not under linux now
> so check the syntax of the following with: slmodemd --help
> $ sudo slmodemd --log -c BRAZIL --alsa --debug=2 hw:0,6
>
> Send us the log file
>
> MarvS
>
>
>
> On Jan 6, 2008 10:07 AM, Ivan Vicente Janvrot Miranda <janvrot@xxxxxxxxx> wrote:
> > Marvin,
> >
> > It still does not dial. I'm watching the line with a spy phone extension.
> >
> > I did not get exactly your instructions, specially the
> > > Between trials stop wvdial with
> > > Ctrl-C
> > > stop slmodemd
> > > Ctr-C
> > Well, the first Ctrl-C is to stop wvdial
> > stop slmodemd is done with a Ctr-C in the terminal it is executing,
> > the other Ctr-C I did no get.
> >
> > Anyway, please check these tests ( after unloading the oss modules ):
> >
> > botinas:/usr/sbin # cp -p /tmp/SLMODEMD.gcc4.1/slmodemd .
> > botinas:/usr/sbin # ls -l slmod*
> > -rwxr-xr-x 1 root root 1323019 Sep  3 10:00 slmodemd
> > -rwxr-xr-x 1 root root  955700 Sep 24 17:06 slmodemd-org
> >
> > /etc/wvdial.conf inittial contents to be compleated with wvdialconf:
> > botinas:/etc # cat /etc/wvdial.conf
> >
> > [Dialer Defaults]
> > Phone = 25125352
> > Idle Seconds = 300
> > Stupid Mode = 1
> > Compuserve = 0
> > Auto DNS = 1
> > Dial Command = ATDT
> > Carrier check = no
> > Ask Password = 0
> > ISDN = 0
> > Password = 123456
> > Username = janvrot
> >
> > Running slmodem:
> > botinas:/etc # modprobe -r snd-intel8x0m
> > botinas:/etc # modprobe snd-intel8x0m
> > botinas:/etc # slmodemd -c BRAZIL --alsa hw:0,6
> > SmartLink Soft Modem: version 2.9.11 Aug  6 2007 22:02:27
> > symbolic link `/dev/ttySL0' -> `/dev/pts/2' created.
> > modem `hw:0,6' created. TTY is `/dev/pts/2'
> > Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
> >
> > Running wvdialconf:
> > botinas:~ # wvdialconf
> > Editing `/etc/wvdial.conf'.
> >
> > Scanning your serial ports for a modem.
> >
> > Modem Port Scan<*1>: S0   S1   S2   S3
> > ttyS4<Info>: No such device or address
> > Modem Port Scan<*1>: S4
> > ttyS5<Info>: No such device or address
> > Modem Port Scan<*1>: S5
> > ttyS6<Info>: No such device or address
> > Modem Port Scan<*1>: S6
> > ttyS7<Info>: No such device or address
> > Modem Port Scan<*1>: S7
> > WvModem<*1>: Cannot get information for serial port.
> > ttySL0<*1>: ATQ0 V1 E1 -- OK
> > ttySL0<*1>: ATQ0 V1 E1 Z -- OK
> > ttySL0<*1>: ATQ0 V1 E1 S0=0 -- OK
> > ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
> > ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
> > ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
> > ttySL0<*1>: Modem Identifier: ATI -- SmartLink Soft Modem
> > ttySL0<*1>: Speed 4800: AT -- OK
> > ttySL0<*1>: Speed 9600: AT -- OK
> > ttySL0<*1>: Speed 19200: AT -- OK
> > ttySL0<*1>: Speed 38400: AT -- OK
> > ttySL0<*1>: Speed 57600: AT -- OK
> > ttySL0<*1>: Speed 115200: AT -- OK
> > ttySL0<*1>: Speed 230400: AT -- OK
> > ttySL0<*1>: Speed 460800: AT -- OK
> > ttySL0<*1>: Max speed is 460800; that should be safe.
> > ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
> >
> > Found a modem on /dev/ttySL0.
> > Modem configuration written to /etc/wvdial.conf.
> > ttySL0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
> >
> > /etc/wvdial.conf as changed by wvdialconf:
> > botinas:~ # cat /etc/wvdial.conf
> >
> > [Dialer Defaults]
> > Init1 = ATZ
> > Stupid Mode = 1
> > Password = 123456
> > Ask Password = 0
> > Phone = 25125352
> > Idle Seconds = 300
> > Modem Type = Analog Modem
> > Compuserve = 0
> > Baud = 460800
> > Auto DNS = 1
> > Dial Command = ATDT
> > Modem = /dev/ttySL0
> > ISDN = 0
> > Username = janvrot
> > Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> > Carrier check = no
> >
> > BTW, the oss modules are istill downloaded after those commands.
> >
> > It seems wvdialconf recognized the modem, but wvdial still does not dial
> >
> > Ivan
> >
> >
> > On Jan 5, 2008 11:16 PM, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> wrote:
> > > Ivan,
> > >
> > > All your setup seems OK
> > > except for modems using  /dev/pts/N  ports, it is necessary to use the
> > >  Carrier  Check  =  no
> > >
> > > I presume a trial like
> > > # wvdialconf   wvtest
> > > does report finding the modem.
> > >
> > > You can copy the slmodemd to /usr/sbin/slmodemd, followed by
> > > # chmod +x  /usr/sbin/slmodemd
> > > putting on the command PATH. so that it can be called simply with
> > > # slmodemd -c BRAZIL --alsa hw:0,6
> > >
> > > Between trials stop wvdial with
> > > Ctrl-C
> > > stop slmodemd
> > > Ctr-C
> > >
> > > Unload and reload the driver if possible:
> > > # modprobe -r snd-intel8x0m
> > > # modprobe r snd-intel8x0m
> > >
> > > Certainly testging a home phone number is a good test.
> > >
> > > MarvS
> > >
> > >
> > >
> > > On Jan 5, 2008 4:06 PM, Ivan Vicente Janvrot Miranda <janvrot@xxxxxxxxx> wrote:
> > > > Hello,
> > > > Sorry, I've been out for a couple of days and only now I'm doing those
> > > > tests, but I need some more help. Thanks in advance.
> > > >
> > > > I tried to document the steps in order to pinpoint eventual mistakes.
> > > >
> > > > botinas:~ # lsmod | grep oss
> > > > snd_pcm_oss            50432  0
> > > > snd_mixer_oss          20096  1 snd_pcm_oss
> > > > snd_pcm                82564  4 snd_pcm_oss,snd_hda_intel
> > > > snd                    58164  13
> > > > snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm,snd_timer
> > > > botinas:~ # modprobe -r snd_pcm_oss
> > > > botinas:~ # modprobe -r snd_mixer_oss
> > > >
> > > > botinas:/etc # lsmod | grep intel
> > > > snd_intel8x0m          21132  0
> > > > snd_ac97_codec         97060  1 snd_intel8x0m
> > > > snd_hda_intel         272796  4
> > > > snd_pcm                82564  5 snd_intel8x0m,snd_ac97_codec,snd_hda_intel
> > > > snd                    58164  13
> > > > snd_intel8x0m,snd_ac97_codec,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm,snd_timer
> > > > intel_agp              27156  0
> > > > snd_page_alloc         13960  3 snd_intel8x0m,snd_hda_intel,snd_pcm
> > > > agpgart                35764  1 intel_agp
> > > >
> > > > with the recommended package:
> > > > botinas:~ # cd /tmp/SLMODEMD.gcc4.1/
> > > > botinas:/tmp/SLMODEMD.gcc4.1 # ./slmodemd -c BRAZIL --alsa hw:0,6
> > > > SmartLink Soft Modem: version 2.9.11 Aug  6 2007 22:02:27
> > > > symbolic link `/dev/ttySL0' -> `/dev/pts/5' created.
> > > > modem `hw:0,6' created. TTY is `/dev/pts/5'
> > > > Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
> > > >
> > > > HERE IS THE OUTPUT OF wvdial
> > > > botinas:/etc # wvdial
> > > > --> WvDial: Internet dialer version 1.56 (abuild@mandelbrot)
> > > > --> Cannot get information for serial port.
> > > > --> Initializing modem.
> > > > --> Sending: ATZ
> > > > ATZ
> > > > OK
> > > > --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> > > > ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 X3
> > > > OK
> > > > --> Modem initialized.
> > > > --> Idle Seconds = 300, disabling automatic reconnect.
> > > > --> Sending: ATDT40040800
> > > > --> Waiting for carrier.
> > > > ATDT40040800
> > > > --> Timed out while dialing.  Trying again.
> > > > --> Sending: ATDT40040800
> > > > --> Waiting for carrier.
> > > > --> Timed out while dialing.  Trying again.
> > > >
> > > >
> > > > HERE ARE THE WDIAL CONFIGURATIONS /etc/wvdial.conf
> > > > [Dialer Defaults]
> > > > Init1 = ATZ
> > > > Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> > > > Modem = /dev/ttySL0
> > > > Phone = 40040800
> > > > Idle Seconds = 300
> > > > Modem Type = Analog Modem
> > > > Stupid Mode = 1
> > > > Compuserve = 0
> > > > Baud = 115200
> > > > Auto DNS = 1
> > > > Dial Command = ATDT
> > > > #Carrier check = no
> > > > Ask Password = 0
> > > > ISDN = 0
> > > > Password = (the real password was here)
> > > > Username = janvrot
> > > >
> > > > PLEASE NOTE
> > > > With Carrier check = no is the same
> > > > with Carrier check = no and X3 is the same
> > > > with Carrier check = yes and without X3 is the same
> > > >
> > > > I used another phone number in my house as a destination and it did
> > > > not call it, as I expected !!!
> > > >
> > > > Janvrot
> > > >
> > > >
> > > >
> > > > On Jan 3, 2008 12:11 PM, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> wrote:
> > > > > Ivan
> > > > >
> > > > > RE:  The /proc/asound/pcm file reports:
> > > > >
> > > > > 00-06: Si3054 Modem : Si3054 Modem : playback 1 : capture 1
> > > > >
> > > > > This predicts that your driver is the snd-hda-intel audio+modem driver.
> > > > > and the setup command to be used is:
> > > > > ----------
> > > > > $ su root
> > > > > $ slmodemd -c BRAZIL --alsa hw:0,6
> > > > >
> > > > > If your installed slmodemd does not work, get from
> > > > > http://phep2.technion.ac.il/linmodems/packages/smartlink/
> > > > > the SLMODEMD.gcc4.1.tar.gz
> > > > >
> > > > > MarvS
> > > > > scanModem maintainer
> > > > >
> > > > >
> > > > >
> > > > > On Jan 2, 2008 10:34 PM, Ivan Vicente Janvrot Miranda <janvrot@xxxxxxxxx> wrote:
> > > > > > Hello
> > > > > >
> > > > > > This is an openSUSE 10.3 installation on a new Toshiba X200-LC3
> > > > > > laptop. First thing was to kill the installed Vista, even before
> > > > > > checking the hardware modules, so there is no previous information on
> > > > > > modems.
> > > > > >
> > > > > > Out of the shelf the modem did not work:
> > > > > > /etc/init.d/slmodemd restart
> > > > > > Shutting down SmartLink Modem driver: Starting SmartLink Modem driver:
> > > > > > startproc:  exit status of parent of /usr/sbin/slmodemd: 255
> > > > > >
> > > > > > So I did install the smartlinnk-softmodem-kmpdefault and got the
> > > > > > /lib/modules/2.6.22.5-31
> > > > > > -default/updates/slusb.ko
> > > > > > Still did not work, so I followed the instructions on
> > > > > > /usr/share/doc/packages/smartlink-softmodem except for the
> > > > > > in '/etc/sysconfig/kernel' add <your_modem_driver> to
> > > > > > 'MODULES_LOADED_ON_BOOT' because the lsmod already gave  snd_hda_intel
> > > > > > the slamr.ko is not there ( as I understood, it is not GPL and tha
> > > > > > alsa driver would be a substitute, is that correct? )
> > > > > >
> > > > > > Below you can find the ModemData.txt file.
> > > > > >
> > > > > > Any help would be appreciated.
> > > > > > Thanks in advance.
> > > > > >
> > > > > > Janvrot
> > > > > >
> > > > > > --------------------------  System information ----------------------------
> > > > > > CPU=i686,
> > > > > > Welcome to openSUSE 10.3 (i586) - Kernel
> > > > > > Linux version 2.6.22.5-31-default (geeko@buildhost ) (gcc version
> > > > > > 4.2.1 (SUSE Linux)) #1 SMP 2007/09/21 22:29:00 UTC
> > > > > >  scanModem update of:  2008_01_01
> > > > > > The modem symbolic link is /dev/modem -> /dev/ttySL0
> > > > > >
> > > > > >  There are no blacklisted modem drivers in /etc/modprobe*  files
> > > > > >
> > > > > > The Advanced Linux Sound Architecture (ALSA) packages providing audio support,
> > > > > > also includes drivers for some modems. The ALSA diagnostics are written during
> > > > > > bootup to /proc/asound/ folders.
> > > > > >
> > > > > >
> > > > > > The ALSA verion is 1.0.14
> > > > > > The modem cards detected by "aplay -l"  are:
> > > > > > card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]
> > > > > >
> > > > > >
> > > > > > The /proc/asound/pcm file reports:
> > > > > > -----------------------
> > > > > > 00-06: Si3054 Modem : Si3054 Modem : playback 1 : capture 1
> > > > > > 00-02: ALC268 Analog : ALC268 Analog : capture 2
> > > > > > 00-01: ALC268 Digital : ALC268 Digital : playback 1
> > > > > > 00-00: ALC268 Analog : ALC268 Analog : playback 1 : capture 2
> > > > > >
> > > > > > about /proc/asound/cards:
> > > > > > ------------------------
> > > > > >  0 [Intel          ]: HDA-Intel - HDA Intel
> > > > > >                       HDA Intel at 0xfa600000 irq 22
> > > > > >
> > > > > > USB modem not detected by lsusb
> > > > > >
> > > > > > For candidate card in slot 00:1b.0, firmware information and bootup
> > > > > > diagnostics are:
> > > > > >  PCI slot    PCI ID        SubsystemID    Name
> > > > > >  ----------    ---------    ---------    --------------
> > > > > >  00:1b.0    8086:284b    1179:ff00    Audio device: Intel Corporation 82801H
> > > > > >
> > > > > >  Modem interrupt assignment and sharing:
> > > > > >  22:        615       2822   IO-APIC-fasteoi   HDA Intel
> > > > > >  --- Bootup diagnostics for card in PCI slot 00:1b.0 ----
> > > > > > ACPI: PCI Interrupt 0000:00:1b.0[A] -> <6>ACPI: PCI Interrupt
> > > > > > 0000:0e:00.0[A] -> GSI 18 (level, low) -> IRQ 18
> > > > > > PCI: Setting latency timer of device 0000:00:1b.0 to 64
> > > > > >
> > > > > >
> > > > > >  === Finished modem firmware and bootup diagnostics section. ===
> > > > > >  === Next deducing cogent software ===
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >  The base of the UDEV device file system is: /dev/.udev
> > > > > >
> > > > > >  Versions adequately match for the compiler installed: 4.2.1
> > > > > >              and the compiler used in kernel assembly: 4.2.1
> > > > > >
> > > > > >  linux-headers-2.6.22.5-31-default resources needed for compiling are
> > > > > > not manifestly ready!
> > > > > >
> > > > > >  If compiling is necessary packages must be installed, providing:
> > > > > >      kernel-source-2.6.22.5-31-default
> > > > > >
> > > > > >
> > > > > > 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 package
> > > > > > 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:
> > > > > >     -rwxr-xr-x 1 root dialout 298784 Sep 21 20:41 /usr/sbin/pppd
> > > > > >
> > > > > > In case of an "error 17" "serial loopback" problem, see:
> > > > > >     http://phep2.technion.ac.il/linmodems/archive-sixth/msg02637.html
> > > > > >
> > > > > > To enable dialout without Root permission do:
> > > > > >     $ su - root  (not for Ubuntu)
> > > > > >          chmod a+x /usr/sbin/pppd
> > > > > > or under Ubuntu related Linuxes
> > > > > >      chmod a+x /usr/sbin/pppd
> > > > > >
> > > > > > Checking settings of:    /etc/ppp/options
> > > > > > noipdefault
> > > > > > noauth
> > > > > > crtscts
> > > > > > lock
> > > > > > modem
> > > > > > asyncmap 0
> > > > > > nodetach
> > > > > > lcp-echo-interval 30
> > > > > > lcp-echo-failure 4
> > > > > > lcp-max-configure 60
> > > > > > lcp-restart 2
> > > > > > idle 600
> > > > > > noipx
> > > > > > file /etc/ppp/filters
> > > > > >
> > > > > > 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/YourSystem.txt concerning other COMM channels: eth0 wlan0 wmaster0
> > > > > > Which can interfere with Browser naviagation.
> > > > > >
> > > > > >  Don't worry about the following, it is for the experts
> > > > > >  should trouble shooting be necessary.
> > > > > > ==========================================================
> > > > > >
> > > > > >  Checking for modem support lines:
> > > > > >  --------------------------------------
> > > > > >      /device/modem symbolic link:   lrwxrwxrwx 1 root root 11 Jan  3
> > > > > > 00:51 /dev/modem -> /dev/ttySL0
> > > > > > slmodemd created symbolic link /dev/ttySL0:
> > > > > >      Within /etc/udev/ files:
> > > > > > /etc/udev/rules.d/77-network.rules:SUBSYSTEM=="net",
> > > > > > ENV{INTERFACE}=="ppp*|ippp*|isdn*|plip*|lo*|irda*|dummy*|ipsec*|tun*|tap*|bond*|vlan*|modem*|dsl*",
> > > > > > GOTO="skip_ifup"
> > > > > > /etc/udev/rules.d/50-udev-default.rules:KERNEL=="mwave",
> > > > > > NAME="modems/%k", GROUP="uucp"
> > > > > >      Within /etc/modprobe.conf files:
> > > > > > /etc/modprobe.conf:# Linux ACP modem (Mwave)
> > > > > >      Within any ancient /etc/devfs files:
> > > > > >
> > > > > >      Within ancient kernel 2.4.n /etc/module.conf files:
> > > > > >
> > > > > > --------- end modem support lines --------
> > > > > >
> > > > >
> > > >
> > >
> >
>

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

  Powered by Linux