Re: BobTerrell USA 2.6.20-16-generic

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

 



Marvin, 
>>>>>>>>>>>>>>>>>>>>
RE: RE: START SLMODEMD
SmartLink Soft Modem: version 2.9.9e-pre1 Mar 20 2007
--------
2.9.9e-pre1  is the version installed by the
sl-modem-deamon package.

It should be replaced by the
$ slmodemd --version
SmartLink Soft Modem: version 2.9.11
DONE
>>>>>>>>>>>>>>>>>>>>
RE: If you wish, you can edit
$  sudo  gedit  /etc/default/sl-modem-daemon
to
DONTSTART=1
DONE, and I no longer have to reboot - Thank you. 
>>>>>>>>>>>>>>>>>>>>
RE: RE: $ wvdial -C ./wvdial.juno
you need sudo:
$ sudo wvdial -C ./wvdial.juno
DONE
>>>>>>>>>>>>>>>>>>>>
Dialup now progresses further. Listings below are now
showing a lot of errors that say HDLC frame errors:
NOTE: these errors are different from one login to
another. May be due to not rebooting between runs. 
<659.024505> slamr0: hdlc frame size error.
<661.389290> slamr0: hdlc frame integrity error.
<664.269130> slamr0: hdlc frame size error.
<664.269186> slamr0: hdlc frame fcs error.
Help desk at NTS says that it looked like I
successfully connected, for about a minute on each
account. I just repeated that again, same result on
the ISP side.  
On my end I did not see anything that would allow me
to interact with the login. Do I need a terminal
window now, and how should I start that? 
Incidentally, I just noticed slmodem.log.slamr0 in my
home directory. Should I send that to you? 
>>>>>>>>>>>>>>>>>>>>
Thanks, 
Bob Terrell


////////////////////////////////
Listings below in order: 
SCRIPT TO SHUT DOWN ETH0 AND START MODEM (only
slightly modified)
WVDIAL.BCOOPER IN PLACE OF /ETC/WVDIAL.CONF (using
acooper account)
LOG OF FIRST TERMINAL 
LOG OF SECOND TERMINAL
>>>>>>>>>>>>>>>>>>>>
SECOND RUN WITH WVDIAL.BCOOPER (using bcooper1
account)
>>>>>>>>>>>>>>>>>>>>
LOG OF FIRST TERMINAL 
LOG OF SECOND TERMINAL
>>>>>>>>>>>>>>>>>>>>



////////////////////////////////////
SCRIPT TO SHUT DOWN ETH0 AND START MODEM (only
slightly modified)
#!/bin/bash
# startmodem - shut down eth0 and start modem - Bob
Terrell 11/11/07

#---------------------------------
# shut down eth0 as e100 and release and restart slamr
echo SHUTTING DOWN eth0
sudo ifconfig eth0 down
sudo modprobe -r e100
echo TOGGLE SLAMR
sudo modprobe -r slamr
sudo modprobe slamr

#---------------------------

# start slmodemd with debug and logging
echo SHUT DOWN sl-modem-daemon
sudo /etc/init.d/sl-modem-daemon stop
echo START SLMODEMD
echo AFTER IT SETTLES, START SUDO WVDIAL IN A SEPARATE
TERMINAL WINDOW
sudo slmodemd -c USA --log --debug=1 /dev/slamr0

///////////////////////////////////////
WVDIAL.BCOOPER IN PLACE OF /ETC/WVDIAL.CONF (using
acooper account)
$ cat wvdial.bcooper

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


////////////////////////////////////
LOG OF FIRST TERMINAL 
$ sudo ./startmodem
SHUTTING DOWN eth0
TOGGLE SLAMR
SHUT DOWN sl-modem-daemon
Shutting down SmartLink Modem driver normally ... no
slmodemd daemon running.
Unloading modem driver from kernel ... slamr.
START SLMODEMD
AFTER IT SETTLES, START SUDO WVDIAL IN A SEPARATE
TERMINAL WINDOW
SmartLink Soft Modem: version 2.9.11 May 26 2007
13:41:57
<132.289609> SmartLink Soft Modem: version 2.9.11 May
26 2007 13:41:57
<132.290148> slamr0: startup modem...
<132.290359> slamr0: update termios...
symbolic link `/dev/ttySL0' -> `/dev/pts/2' created.
modem `slamr0' created. TTY is `/dev/pts/2'
<132.291452> open file:
/var/lib/slmodem/data.slamr0...
<132.311348> cannot open
'/var/lib/slmodem/data.slamr0': No such file or
directory
/////////// IS ERROR ABOVE A PROBLEM? 
<132.745625> main: rt applyed: SCHED_FIFO, pri 99
Use `/dev/ttySL0' as modem device, Ctrl+C for
termination.
/////////////START SECOND TERMINAL HERE
<167.209057> main: termios changed.
<167.209143> slamr0: update termios...
<167.284697> main: termios changed.
<167.284773> slamr0: update termios...
<167.384763> slamr0: run cmd: ATZ
<167.384843> slamr0: modem reset...
<167.384865> slamr0: modem set state: 1 --> 1...
<167.384888> slamr0: modem set mode: -> 0...
<167.384908> slamr0: modem report result: 0 (OK)
<167.484814> slamr0: run cmd:
ATQ0V1E1S0=0&C1&D2+FCLASS=0
<167.484906> slamr0: modem set mode: -> 0...
<167.484928> slamr0: modem report result: 0 (OK)
<167.584907> slamr0: run cmd: ATDT6875000
<167.584998> slamr0: modem dial: T6875000...
<167.585019> slamr0: modem_dial_start...
<167.585848> slamr0: modem_start..
<167.585871> slamr0: modem set state: 1 --> 2...
<167.585893> slamr0: new state: DP_ESTAB
<167.585913> main: modemap_ioctl: cmd 8, arg 3...
<167.585943> slamr0: modem set hook: 0 --> 1...
<167.585964> main: modemap_ioctl: cmd 2, arg 1...
<167.585995> main: modemap_ioctl: cmd 11, arg 0...
<167.586098> main: modemap_ioctl: cmd 4, arg 2580...
<167.586123> main: modemap_ioctl: cmd 7, arg 30...
<167.586144> main: modemap_start...
<178.565850> slamr0: 105360: change dp: --> 8...
<181.420646> main: modemap_ioctl: cmd 10, arg 0...
<181.420715> slamr0: 132768: change dp: --> 90...
<181.424120> main: modemap_ioctl: cmd 10, arg 0...
<181.425534> main: change delay -48...
<181.430512> main: change delay -48...
<181.435515> main: change delay -4...
<183.325578> main: change delay +384...
<197.614478> slamr0: modem_update_status: 256
<197.614511> slamr0: --> DP LINK
<197.614532> slamr0: modem set state: 2 --> 4...
<197.614553> slamr0: new state: EC_ESTAB
<197.674144> slamr0: detector start...
<197.829358> slamr0: rx pattern: 0xa2.
<197.829411> slamr0: rx pattern: 0xc2.
<197.834123> slamr0: detector finished.
<197.834151> slamr0: modem_update_status: 1024
<197.834172> slamr0: --> PACK LINK
<197.834196> slamr0: hdlc_start...
<198.019309> slamr0: modem update config...
<198.019357> slamr0: ec = 1 (1)
<198.019378> slamr0: ec_detector = 1 (1)
<198.019399> slamr0: ec_tx_win_size = 15 (15)
<198.019420> slamr0: ec_rx_win_size = 15 (15)
<198.019440> slamr0: ec_tx_info_size = 128 (128)
<198.019461> slamr0: ec_rx_info_size = 128 (128)
<198.019482> slamr0: comp = 3 (3)
<198.019502> slamr0: comp_dict_size = 2048 (2048)
<198.019559> slamr0: comp_max_string = 32 (34)
<198.154342> slamr0: modem_update_status: 4096
<198.154392> slamr0: --> EC LINK
<198.154413> slamr0: modem set state: 4 --> 5...
<198.154434> slamr0: new state: MODEM_ONLINE
<198.154455> slamr0: modem report result: 1 (CONNECT)
<198.154489> main: modemap_ioctl: cmd 8, arg 0...
<199.309226> slamr0: hdlc frame integrity error.
<203.648820> slamr0: hdlc frame size error.
<204.922039> main: termios changed.
<204.922094> slamr0: update termios...
<209.758329> slamr0: hdlc frame size error.
<219.757468> slamr0: hdlc frame size error.
<219.757504> slamr0: hdlc frame size error.
<250.634743> slamr0: modem_update_status: 8192
<250.634791> slamr0: --> EC UNLINK
<250.634812> slamr0: modem_hup...
<250.634833> slamr0: modem set state: 5 --> 9...
<250.634855> slamr0: new state: DP_DISC
<250.634890> slamr0: modem_stop..
<250.634910> main: modemap_stop...
<250.634964> slamr0: modem set hook: 1 --> 0...
<250.634986> main: modemap_ioctl: cmd 2, arg 0...
<250.635018> main: modemap_ioctl: cmd 8, arg 0...
<250.635356> slamr0: modem set state: 9 --> 1...
<250.635379> slamr0: new state: MODEM_IDLE
<250.635399> slamr0: modem report result: 3 (NO
CARRIER)
<250.635438> main: dev write = 0
<256.757560> main: pty closed.
<256.757650> slamr0: modem_hup...
<256.757835> slamr0: update termios...
symbolic link `/dev/ttySL0' -> `/dev/pts/3' created.
<260.681684> main: signal 2: mark termination.
<260.681797> slamr0: modem_delete...
$ 


////////////////////////////////////
LOG OF SECOND TERMINAL 
$ sudo wvdial -C ./wvdial.bcooper
Password:
--> WvDial: Internet dialer version 1.56
--> 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
OK
--> Modem initialized.
--> Sending: ATDT6875000
--> Waiting for carrier.
ATDT6875000
CONNECT 46667
--> Carrier detected.  Waiting for prompt.
** Ascend TNT Terminal Server **
Login: 
--> Looks like a login prompt.
--> Sending: acooper
acooper
Password: 
--> Looks like a password prompt.
--> Sending: (password)
** Bad Password
Login: 
--> Looks like a login prompt.
--> Sending: acooper
acooper
Password: 
--> Looks like a password prompt.
--> Sending: (password)
** Bad Password
Login: 
--> Looks like a login prompt.
--> Sending: acooper
--> Don't know what to do!  Starting pppd and hoping
for the best.
--> Starting pppd at Tue Nov 13 16:16:44 2007
--> Pid of pppd: 8329
--> Using interface ppp0
--> pppd: P [06][08]&#65533;[13][06][08]
--> pppd: P [06][08]&#65533;[13][06][08]
--> pppd: P [06][08]&#65533;[13][06][08]
--> pppd: P [06][08]&#65533;[13][06][08]
--> pppd: P [06][08]&#65533;[13][06][08]
--> pppd: P [06][08]&#65533;[13][06][08]
--> local  IP address 216.167.135.22
--> pppd: P [06][08]&#65533;[13][06][08]
--> remote IP address 65.182.79.66
--> pppd: P [06][08]&#65533;[13][06][08]
--> primary   DNS address 216.167.161.35
--> pppd: P [06][08]&#65533;[13][06][08]
Caught signal 2:  Attempting to exit gracefully...
--> Terminating on signal 15
--> pppd: P [06][08]&#65533;[13][06][08]
--> Connect time 0.7 minutes.
--> pppd: P [06][08]&#65533;[13][06][08]
--> pppd: P [06][08]&#65533;[13][06][08]
--> Disconnecting at Tue Nov 13 16:17:30 2007
$ 

/////////////////////////////////
SECOND RUN WITH BCOOPER1
/////////////////////////////////
LOG OF FIRST TERMINAL
$ sudo ./startmodem
SHUTTING DOWN eth0
eth0: ERROR while getting interface flags: No such
device
TOGGLE SLAMR
SHUT DOWN sl-modem-daemon
Shutting down SmartLink Modem driver normally ... no
slmodemd daemon running.
Unloading modem driver from kernel ... slamr.
START SLMODEMD
AFTER IT SETTLES, START SUDO WVDIAL IN A SEPARATE
TERMINAL WINDOW
SmartLink Soft Modem: version 2.9.11 May 26 2007
13:41:57
<590.955579> SmartLink Soft Modem: version 2.9.11 May
26 2007 13:41:57
<590.956150> slamr0: startup modem...
<590.956357> slamr0: update termios...
symbolic link `/dev/ttySL0' -> `/dev/pts/2' created.
modem `slamr0' created. TTY is `/dev/pts/2'
<590.957396> open file:
/var/lib/slmodem/data.slamr0...
<590.957525> cannot open
'/var/lib/slmodem/data.slamr0': No such file or
directory
<590.958411> main: rt applyed: SCHED_FIFO, pri 99
Use `/dev/ttySL0' as modem device, Ctrl+C for
termination.
<624.639400> main: termios changed.
<624.639486> slamr0: update termios...
<624.736543> main: termios changed.
<624.736625> slamr0: update termios...
<624.840385> slamr0: run cmd: ATZ
<624.840465> slamr0: modem reset...
<624.840485> slamr0: modem set state: 1 --> 1...
<624.840507> slamr0: modem set mode: -> 0...
<624.840527> slamr0: modem report result: 0 (OK)
<624.940484> slamr0: run cmd:
ATQ0V1E1S0=0&C1&D2+FCLASS=0
<624.940575> slamr0: modem set mode: -> 0...
<624.940596> slamr0: modem report result: 0 (OK)
<625.040574> slamr0: run cmd: ATDT6875000
<625.040664> slamr0: modem dial: T6875000...
<625.040685> slamr0: modem_dial_start...
<625.041415> slamr0: modem_start..
<625.041436> slamr0: modem set state: 1 --> 2...
<625.041456> slamr0: new state: DP_ESTAB
<625.041476> main: modemap_ioctl: cmd 8, arg 3...
<625.041503> slamr0: modem set hook: 0 --> 1...
<625.041523> main: modemap_ioctl: cmd 2, arg 1...
<625.041552> main: modemap_ioctl: cmd 11, arg 0...
<625.041650> main: modemap_ioctl: cmd 4, arg 2580...
<625.041674> main: modemap_ioctl: cmd 7, arg 30...
<625.041694> main: modemap_start...
<636.436337> slamr0: 109344: change dp: --> 8...
<639.286153> main: modemap_ioctl: cmd 10, arg 0...
<639.286218> slamr0: 136704: change dp: --> 90...
<639.289516> main: modemap_ioctl: cmd 10, arg 0...
<639.291017> main: change delay -48...
<639.296017> main: change delay -48...
<639.301006> main: change delay -4...
<641.196080> main: change delay +384...
<655.474885> slamr0: modem_update_status: 256
<655.474918> slamr0: --> DP LINK
<655.474937> slamr0: modem set state: 2 --> 4...
<655.474957> slamr0: new state: EC_ESTAB
<655.534644> slamr0: detector start...
<655.689881> slamr0: rx pattern: 0xa2.
<655.694824> slamr0: rx pattern: 0xc2.
<655.694856> slamr0: rx pattern: 0xa2.
<655.694876> slamr0: rx pattern: 0xc2.
<655.699585> slamr0: detector finished.
<655.699610> slamr0: modem_update_status: 1024
<655.699630> slamr0: --> PACK LINK
<655.699649> slamr0: hdlc_start...
<655.879841> slamr0: modem update config...
<655.879887> slamr0: ec = 1 (1)
<655.879906> slamr0: ec_detector = 1 (1)
<655.879926> slamr0: ec_tx_win_size = 15 (15)
<655.879945> slamr0: ec_rx_win_size = 15 (15)
<655.879964> slamr0: ec_tx_info_size = 128 (128)
<655.879983> slamr0: ec_rx_info_size = 128 (128)
<655.880003> slamr0: comp = 3 (3)
<655.880022> slamr0: comp_dict_size = 2048 (2048)
<655.880041> slamr0: comp_max_string = 32 (34)
<656.009810> slamr0: hdlc frame size error.
<656.014786> slamr0: hdlc frame fcs error.
<656.014816> slamr0: hdlc frame fcs error.
<656.719743> slamr0: modem_update_status: 4096
<656.719789> slamr0: --> EC LINK
<656.719809> slamr0: modem set state: 4 --> 5...
<656.719829> slamr0: new state: MODEM_ONLINE
<656.719848> slamr0: modem report result: 1 (CONNECT)
<656.719882> main: modemap_ioctl: cmd 8, arg 0...
<656.849821> slamr0: hdlc frame size error.
<656.849867> slamr0: hdlc frame size error.
<656.854710> slamr0: hdlc frame size error.
<657.529654> slamr0: hdlc frame size error.
<658.924510> slamr0: hdlc frame size error.
<659.024505> slamr0: hdlc frame size error.
<661.389290> slamr0: hdlc frame integrity error.
<664.269130> slamr0: hdlc frame size error.
<664.269186> slamr0: hdlc frame fcs error.
<664.269207> slamr0: hdlc frame integrity error.
<665.224202> main: termios changed.
<665.224249> slamr0: update termios...
<665.693924> slamr0: hdlc frame size error.
<666.138968> slamr0: hdlc frame size error.
<666.143989> slamr0: hdlc frame fcs error.
<666.144032> slamr0: hdlc frame size error.
<668.363668> slamr0: hdlc frame size error.
<674.303213> slamr0: hdlc frame size error.
<674.303262> slamr0: hdlc frame fcs error.
<675.188096> slamr0: hdlc frame size error.
<675.188144> slamr0: hdlc frame fcs error.
<675.188164> slamr0: hdlc frame integrity error.
<680.347602> slamr0: hdlc frame size error.
<680.347650> slamr0: hdlc frame size error.
<680.347670> slamr0: hdlc frame integrity error.
<691.851639> slamr0: modem_update_status: 8192
<691.851680> slamr0: --> EC UNLINK
<691.851700> slamr0: modem_hup...
<691.851719> slamr0: modem set state: 5 --> 9...
<691.851740> slamr0: new state: DP_DISC
<691.851778> slamr0: modem_stop..
<691.851797> main: modemap_stop...
<691.851849> slamr0: modem set hook: 1 --> 0...
<691.851869> main: modemap_ioctl: cmd 2, arg 0...
<691.851900> main: modemap_ioctl: cmd 8, arg 0...
<691.852212> slamr0: modem set state: 9 --> 1...
<691.852235> slamr0: new state: MODEM_IDLE
<691.852254> slamr0: modem report result: 3 (NO
CARRIER)
<691.852290> main: dev write = 0
<698.014517> main: pty closed.
<698.014610> slamr0: modem_hup...
<698.014754> slamr0: update termios...
symbolic link `/dev/ttySL0' -> `/dev/pts/3' created.
<705.619698> main: signal 2: mark termination.
<705.619808> slamr0: modem_delete...
$

/////////////////////////////////////////
LOG OF SECOND TERMINAL
$ sudo wvdial -C wvdial.bcooper
--> WvDial: Internet dialer version 1.56
--> 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
OK
--> Modem initialized.
--> Sending: ATDT6875000
--> Waiting for carrier.
ATDT6875000
CONNECT 46667
--> Carrier detected.  Waiting for prompt.
** Ascend TNT Terminal Server **
Login: 
--> Looks like a login prompt.
--> Sending: bcooper1
bcooper1
Password: 
--> Looks like a password prompt.
--> Sending: (password)
** Bad Password
Login: 
--> Looks like a login prompt.
--> Sending: bcooper1
bcooper1
Password: 
--> Looks like a password prompt.
--> Sending: (password)
** Bad Password
Login: 
--> Looks like a login prompt.
--> Sending: bcooper1
--> Don't know what to do!  Starting pppd and hoping
for the best.
--> Starting pppd at Tue Nov 13 16:24:25 2007
--> Pid of pppd: 8833
--> Using interface ppp0
--> pppd: P [06][08]&#65533;[13][06][08]
--> pppd: P [06][08]&#65533;[13][06][08]
--> pppd: P [06][08]&#65533;[13][06][08]
--> pppd: P [06][08]&#65533;[13][06][08]
--> pppd: P [06][08]&#65533;[13][06][08]
--> pppd: P [06][08]&#65533;[13][06][08]
--> local  IP address 216.167.135.30
--> pppd: P [06][08]&#65533;[13][06][08]
--> remote IP address 65.182.79.66
--> pppd: P [06][08]&#65533;[13][06][08]
--> primary   DNS address 216.167.161.35
--> pppd: P [06][08]&#65533;[13][06][08]
Caught signal 2:  Attempting to exit gracefully...
--> Terminating on signal 15
--> pppd: P [06][08]&#65533;[13][06][08]
--> Connect time 0.4 minutes.
--> pppd: P [06][08]&#65533;[13][06][08]
--> pppd: P [06][08]&#65533;[13][06][08]
--> Disconnecting at Tue Nov 13 16:24:51 2007
$ 
 


Bob Terrell
  Lubbock, Texas
bob_terrell_texas@xxxxxxxxx




      ____________________________________________________________________________________
Be a better pen pal. 
Text or chat with friends inside Yahoo! Mail. See how.  http://overview.mail.yahoo.com/

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

  Powered by Linux