Re: Gary Kaucher, USA, kernel 2.6.22-14-generic

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

 



Too bad that people do not read the instructions.
For every Linux command, say xyz,  the command
man xyz explains everything with necessary pointers (See Also:) to other man files. (man = manual, just in case)
Also, http://linmodems.technion.ac.il starts with an index where Line 11
(not so far to be read...) points to wvdial usage.

Your modem connects at speed CONNECT 45333 (see wvdial log) which is close to a theoretical, never achieved, 56k promise.

Slowness in browsing in your case is due to the external world, starting from your ISP (Internet Service Provider) way to the Web site which you are trying to browse.

High baud rates such as 460800 or whatever are meaningless for you, they describe the maximum rate at which the CPU of your computer talks with the modem chip (roughly speaking for mundane readers).

About
"> I open up Firefox, and I am able to browse slowly,
> but at least it works! After I disconnect, I have to
> do the
>
> # modprobe snd-intel8x0m
> # slmodemd --alsa -c USA modem:1"

How did you disconnect, CTRL-C which stops wvdial or CTRL-C which stops slmodemd ? Stopping wvdial does not stop slmodemd, thus you probably stopped slmodemd instead.

About:
" 2)I need an easier way to load slmodem so
> I can wvdial. Is there some kind of graphical
> wvdial dialer that is good with Ubuntu 7.10
> that will load slmodemd first?
"
The tool is sl-modem-daemon distributed with Ubuntu 7.10 (remember, contains a wrong slmodemd, so reinstall the right one after reintroducing the wrong one). To "graphically" load slmodemd you can add a launcher button to your toolbar using Gnome (right click the bar, add to panel, learn the rest yourself). But again, your problem will become essentially inexisting if you stop wvdial with CTRL-C, not slmodemd .

I am not an expert in "graphical interfaces" for which I don't care less. Using it since about its creation, at least 15 years ago, I just type wvdial in a command line rather than fighting with the mouse.

Jacques


Gary Kaucher wrote:
Jacques,

Wonderful! I removed the ; and things are getting better!
I added -

Carrier check = no
Auto DNS = yes

Now the wvdial.conf looks like

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
New PPPD = yes
Phone = 1234567891
Modem = /dev/ttySL0
Username = phoneyusename
Carrier check = no
Auto DNS = yes
Password = phoneypassword
Baud = 460800

Now if I do

# modprobe snd-intel8x0m
# slmodemd --alsa -c USA modem:1

and I open up another terminal and
type

$ sudo wvdial

I get-

WvDial<*1>: WvDial: Internet dialer version 1.56
WvModem<*1>: Cannot get information for serial port.
WvDial<*1>: Initializing modem.
WvDial<*1>: Sending: ATZ
WvDial Modem<*1>: ATZ
WvDial Modem<*1>: OK
WvDial<*1>: Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem<*1>: OK
WvDial<*1>: Modem initialized.
WvDial<*1>: Sending: ATDT1234567891
WvDial<*1>: Waiting for carrier.
WvDial Modem<*1>: ATDT1234567891
WvDial Modem<*1>: CONNECT 45333
WvDial<*1>: Carrier detected.  Waiting for prompt.
WvDial Modem<*1>: Thank you for calling Prolog from PenTeleData
WvDial Modem<*1>: http://www.ptd.net
WvDial Modem<*1>: For technical support/customer service call
WvDial Modem<*1>: 800-804-5783 or send E-Mail to
WvDial Modem<*1>: sysop@xxxxxxxxxxxxx
WvDial Modem<*1>: All users are subject to PTD policies
WvDial Modem<*1>: http://www.ptd.net/Policies.html
WvDial Modem<*1>: Login:
WvDial Modem<*1>: Username:
WvDial<*1>: Looks like a login prompt.
WvDial<*1>: Sending: phoneyusername
WvDial Modem<*1>: phoneyusername
WvDial Modem<*1>: Password:
WvDial<*1>: Looks like a password prompt.
WvDial<*1>: Sending: (password)
WvDial Modem<*1>: .net> ppp: Establishing PPP connection.
WvDial Modem<*1>: Connected. Your IP address is  216.144.191.110
WvDial Modem<*1>: ~[7f]}#@!}!}!} }?}!}$}%j}"}&[7f][7f][7f][7f]}%}&cR[0c]"}'}"}(}"}1}$}%j}3}#} Q}+~
WvDial<*1>: PPP negotiation detected.
WvDial<Notice>: Starting pppd at Fri Apr  4 08:36:38 2008
WvDial<Notice>: Pid of pppd: 5929
WvDial<*1>: Using interface ppp0
WvDial<*1>: pppd: ��[06][08][18]�[06][08]
WvDial<*1>: pppd: ��[06][08][18]�[06][08]
WvDial<*1>: pppd: ��[06][08][18]�[06][08]
WvDial<*1>: local  IP address 216.144.191.110
WvDial<*1>: pppd: ��[06][08][18]�[06][08]
WvDial<*1>: remote IP address 10.7.1.9
WvDial<*1>: pppd: ��[06][08][18]�[06][08]
WvDial<*1>: primary   DNS address 204.186.110.76
WvDial<*1>: pppd: ��[06][08][18]�[06][08]
WvDial<*1>: secondary DNS address 216.144.187.101
WvDial<*1>: pppd: ��[06][08][18]�[06][08]

I open up Firefox, and I am able to browse slowly,
but at least it works! After I disconnect, I have to
do the

# modprobe snd-intel8x0m
# slmodemd --alsa -c USA modem:1

first, if I want to dial out again with wvdial.
This does not change if I reboot. So I guess
I still need to fine tune a couple of things
so slmodemd will load.

1) How can I improve the connection speed?
Should I change the BAUD to 115,200? I don't
know where the 460800 came from.

2)I need an easier way to load slmodem so
I can wvdial. Is there some kind of graphical
wvdial dialer that is good with Ubuntu 7.10
that will load slmodemd first?

3)I can't hear the modem negotiating. Is there
something I should add to wvdial.conf?

Thanks for the help!

Gary






Gary,

Either send us your file /etc/wvdial.conf AFTER ERASING OR HIDING THE PASSWORD (what you added on the right side of Password = ) or edit your file so that the phone, name and password look like, in MY case:

Phone = 048359769
Username = goldberg
Password = goodnews

Any line in /etc/wvdial.conf starting with ; is IGNORED.

Also remember that there must be in /etc/wvdial.conf a line
Carrier Check = no

; Phone = <Target Phone Number>
; Username = <Your Login Name>
; Password = <Your Password>


(anywhere in the file)

Jacques

Gary Kaucher wrote:
Antonio & Jacques-
; Phone = <Target Phone Number>
; Username = <Your Login Name>
; Password = <Your Password>


After installing the modem I was hitting  "Ctrl + C"
and I must have been turning slmodemd off.
The modem still does not dial, but "maybe" I
am getting closer. Now instead of doing Ctrl + C
I open up another terminal and when I type
$ sudo wvdialconf /etc/wvdial.conf
I get-
Scanning your serial ports for a modem.
Modem Port Scan<*1>: S0   S1   S2   S3
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"

And when I type
$ sudo wvdial
I get-
WvDial<*1>: WvDial: Internet dialer version 1.56
WvModem<*1>: Cannot get information for serial port.
WvDial<*1>: Initializing modem.
WvDial<*1>: Sending: ATZ
WvDial Modem<*1>: ATZ
WvDial Modem<*1>: OK
WvDial<*1>: Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem<*1>: OK
WvDial<*1>: Modem initialized.
WvDial<Err>: Configuration does not specify a valid phone number.
WvDial<Err>: Configuration does not specify a valid login name.
WvDial<Err>: Configuration does not specify a valid password.
So I typed "wvdialconf", filled in the phone number, login name, and
password, and saved the file. But when I did "wvdial" I still got the same response as above. Is there some trick to saving the file, or is there more than
one wvdialconf?
Thanks for help. I am new at Linux.
Gary


Antonio-
.... and when I run
$ sudo wvdial
I get-
"WvDial<*1>: WvDial: Internet dialer version 1.56
WvDial<Err>: Cannot open /dev/modem: No such file or directory
WvDial<Err>: Cannot open /dev/modem: No such file or directory
WvDial<Err>: Cannot open /dev/modem: No such file or directory
Thanks,
Gary

Antonio-
When I run
$ sudo wvdialconf /etc/wvdial.conf
I get-
"Scanning your serial ports for a modem.
Modem Port Scan <*1>: S0 S1 S2 S3
Sorry no modem detected! Is it
in use in another program? Did you
properly configure it with setserial?"

Thanks for response,
Gary
PS - Notebook is dual boot (XP and Ubuntu).



Gary,

Everything is apparently ok.  Instead of trying out GnomePPP, why not
use directly wvdial.  It should find the modem port /dev/ttySL0

$ sudo wvdialconf /etc/wvdial.conf

should find the modem.  Edit username, password and phone number to
dial, add a line "Carrier Check = no" to this file and try to connect
using the command line wvdial.  What messages do you see?  If you can
get a solid connection, then you may then alter your Gnome-ppp and
connect using it, but first use the old tried and true wvdial.

Regards,

Antonio

On 4/3/08, Gary Kaucher <gkaucher@xxxxxxx> wrote:
> I recently installed Ubuntu 7.10 (Gutsy Gibbon) on a Toshiba Satellite > M55-S3314 notebook and I am attempting to get the modem working. Please see > the System Information provided by ScanTool below. I followed the advice of
> ScanTool , downloaded and unpacked SLMODEMD.gcc4.1.tar.gz. and then I
> followed the advice of the 1st_Read.txt that was created and I did:
>
> # su - root
> # chmod a+x slmodemd
> # cp slmodemd /usr/sbin
>
> I then inserted an ALSA modem driver:
>
> # modprobe snd-intel8x0m
> # slmodemd --alsa -c USA modem:1
>
> and got the message
>
> "SmartLink Soft Modem version 2.9.11Feb 17,2008
> Symbolic link '/dev/ttySL0' --> '/dev/pts/1 created.
> modem 'modem:1' created. TTY is '/dev/pts/1'
> Use '/dev/ttySL0' as modem device.
>
> I thought it was successful, but after configuring the Gnome-ppp
> dialer using pppconfig, nothing at all happens when I try to dial
> out, even when I try other ports.
>
> I notice that there were other slmodemd executables that were included
> in the SLMODEMD.gcc4.1 folder. Since Ubuntu is a Debian related
> distro should I have used one of them instead?
>
>
>
> Here are the ScanTool results:
>
>
> ------------------------- System information ----------------------------
> CPU=i686,
> Linux version 2.6.22-14-generic (buildd@palmer) (gcc version 4.1.3 20070929 > (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Sun Oct 14 23:05:12 GMT 2007
>  scanModem update of:  2008_03_31
>  There are no blacklisted modem drivers in /etc/modprobe*  files
> USB modem not detected by lsusb
> For candidate card in slot 00:1e.3, firmware information and bootup
> diagnostics are:
>  PCI slot       PCI ID          SubsystemID     Name
>  ----------     ---------       ---------       --------------
> 00:1e.3 8086:266d 1179:0001 Modem: Intel Corporation
> 82801FB/FBM/FR/FW/FRW
>  Modem interrupt assignment and sharing:
>  --- Bootup diagnostics for card in PCI slot 00:1e.3 ----
> [ 10.302362] ACPI: PCI Interrupt 0000:00:1e.3[B] -> GSI 20 (level, low) ->
> IRQ 18
> [   10.302373] ACPI: PCI interrupt for device 0000:00:1e.3 disabled
>  The PCI slot 00:1e.3 of the modem card may be disabled early in
>  a bootup process,  but then enabled later. If modem drivers load
> but the modem is not responsive, read Bootup.txt about possible fixes.
>  Send dmesg.txt along with ModemData.txt to discuss@xxxxxxxxxxxxx
>  if help is needed.
>
>
> ===== Advanced Linux Sound Architecture (ALSA) diagnostics =====
> The ALSA packages provide audio support and also drivers for some modems.
> 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:
>
> The /proc/asound/pcm file reports:
> -----------------------
> 00-04: Intel ICH - IEC958 : Intel ICH6 - IEC958 : playback 1
> 00-03: Intel ICH - ADC2 : Intel ICH6 - ADC2 : capture 1
> 00-02: Intel ICH - MIC2 ADC : Intel ICH6 - MIC2 ADC : capture 1
> 00-01: Intel ICH - MIC ADC : Intel ICH6 - MIC ADC : capture 1
> 00-00: Intel ICH : Intel ICH6 : playback 1 : capture 1
> about /proc/asound/cards:
> ------------------------
>  0 [ICH6           ]: ICH4 - Intel ICH6
>                      Intel ICH6 with ALC250 at irq 16
> === Finished firmware and bootup diagnostics, next deducing cogent software.
> ===
> Predictive diagnostics for card in bus 00:1e.3:
>        Modem chipset  detected on
> CLASS="Class 0703: 8086:266d"
> NAME="Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW "
> PCIDEV=8086:266d
> SUBSYS=1179:0001
> IRQ=18
> SOFT=8086:266d.MC97
> CodecArchived=SIL27
> IDENT=slmodemd
> SLMODEMD_DEVICE=modem:1
> Driver=snd-intel8x0m
>  For candidate modem in:  00:1e.3
> Class 0703: 8086:266d Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW
>      Primary PCI_id  8086:266d
>    Subsystem PCI_id  1179:0001
>    Softmodem codec or chipset from diagnostics:
> from Archives: SIL27, an LSI/AgereSystems
> type
>
>
> Support type needed or chipset: slmodemd
>  An ALSA (Advanced Linux Sound Architecture) modem driver:
snd-intel8x0m
>  provides Low Level support enabling contact with the modem hardware.
>  For all BUT Conexant chip soft modems (using hsfmodem software)
>  complementary High Level support is through a Smartlink utility:
slmodemd
>  Download from
> http://linmodems.technion.ac.il/packages/smartlink/
> the package SLMODEMD.gcc4.1.tar.gz having a compiled slmodemd. Unpack under
> Linux with:
>        $ tar zxf SLMODEMD.gcc4.1.tar.gz
>  and read instructions therein. But briefly, the modem is setup with
> command:
>        sudo slmodemd -c YOUR_COUNTRY --alsa modem:1
>  reporting dynamic creation of ports:
>        /dev/ttySL0 --> /dev/pts/N   , with N some number
> Read Smartlink.txt and Modem/YourSystem.txt for follow through guidance.
> ----------------end Softmodem section --------------
> Writing Intel.txt
> Writing Smartlink.txt
> ============ end Smartlink section =====================
>  Completed candidate modem analyses.
>  The base of the UDEV device file system is: /dev/.udev
>  Versions adequately match for the compiler installed: 4.1.3
>             and the compiler used in kernel assembly: 4.1.3
>
>
>  Minimal compiling resources appear complete:
>   make utility - /usr/bin/make
>   Compiler version 4.1
>   linuc_headers base folder
> /lib/modules/2.6.22-14-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 libc6-dev (and for > Debian/Ubuntu, linux-libc-dev). The also required headers of package libc6
> are commonly installed by 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:
>        -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/YourSystem.txt concerning other COMM channels: eth0 eth1
> eth0:avah
> 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:
> slmodemd created symbolic link /dev/ttySL0:
>     Within /etc/udev/ files:
>     Within /etc/modprobe.conf files:
> /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
> /etc/modprobe.d/alsa-base:options snd-atiixp-modem index=-2
> /etc/modprobe.d/alsa-base:options snd-via82xx-modem
> index=-2
>     Within any ancient /etc/devfs files:
>     Within ancient kernel 2.4.n /etc/module.conf files:
> --------- end modem support lines --------
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition. Version: 7.5.516 / Virus Database:
> 269.22.1/1349 - Release Date: 3/29/08 5:02 PM
>
>
>



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.22.1/1349 - Release Date: 3/29/08 5:02 PM




--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.22.1/1349 - Release Date: 3/29/08 5:02 PM



--
No virus found in this incoming message.
Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.22.1/1349 - Release Date: 3/29/08 5:02 PM




--
No virus found in this incoming message.
Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.22.1/1349 - Release Date: 3/29/08 5:02 PM



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

  Powered by Linux