Table of Contents

@related : unicorn MTU Modem BeWAN ATM karmic

Point To Point Protocol

[[Ubuntu]]

/usr/bin/network-admin --configure-type modem

HowTo / [[PPP]]

# pppd plugin /usr/lib/pppd/2.4.2/pppoatm.so user "euXYZXYZ@tele2.fr"
# cat /proc/net/atm/UNICORN:0
ADSL: status ATM ready, modem state SHOWTIME L0, US rate 89Kbits/s, DS rate 159Kbits/s
# plog
Aug 26 19:42:16 localhost pppd[[13127]]: Using interface ppp0
Aug 26 19:42:16 localhost pppd[[13127]]: Connect: ppp0 <--> /dev/pts/1
# ifconfig  # ppp0 does not appear 

[[ToDo]]

# lsmod | grep ppp
ppp_synctty             9344  1
pppoatm                 6272  0
ppp_generic            27668  6 ppp_synctty,pppoatm
slhc                    7040  1 ppp_generic
cat /etc/ppp/options

PPPOE

[[Linux]] [[Kernel]]

Networking options --> Asynchronous Transfert Mode (ATM)
Network device support --> PPP (point-to-point) support
Network device support --> PPP support for async serial ports
Network device support --> PPP support for sync tty ports
Network device support --> PPP Deflate compression
Network device support --> PPP BSD-Compress compression
Network device support --> PPP over ATM
CONFIG_REGPARM = n

http://www.solix.info/bewan_linux.php

/etc/modules

atmtcp
ppp_generic
ppp_async
ppp_deflate
bsd_comp
ppp_synctty
pppoatm
unicorn_usb_atm

MISC

[[Ubuntu]]

date
# sam jui  2 17:51:23 CEST 2005
uname -a
# Linux marcel 2.6.10-5-386 #1 Tue Apr 5 12:12:40 UTC 2005 i686 GNU/Linux

http://packages.ubuntu.com/hoary/net/unicorn

http://packages.ubuntu.com/hoary/net/unicorn-source

get the kernel sources
apt-get install debhelper automake1.4 libgtk1.2-dev
wget -l 1 -r http://mirror.ovh.net/ftp.ubuntu.com/ubuntu/pool/multiverse/u/unicorn/

http://mirror.ovh.net/ftp.ubuntu.com/ubuntu/pool/main/a/automake1.9/

http://mirror.ovh.net/ftp.ubuntu.com/ubuntu/pool/main/l/linux-source-2.6.12/linux-source-2.6.12_2.6.12-3.2_all.deb http://search.belnet.be/packages/ubuntu/ubuntu/pool/multiverse/u/unicorn/ # http://mirror.ovh.net/ftp.ubuntu.com/ubuntu/pool/main/k/kernel-package/

http://ubuntuforums.org/showthread.php?t=20445&highlight=bewan

Connect and unconnct a few minutes after :

insmod /lib/modules/2.6.10-5-386/extra/unicorn_usb_atm.ko ActivationMode=4
cat /var/log/syslog
...
IntInComplete: actual_length=
xsm_p: down_interruptible failed,sem=OBC ,count=
WaitForObcCmdComplete: wait for obc failed (timed out),obc_flags=08
printk: 6 messages suppressed.
usb_unlink_urb() is deprecated for synchronous unlinks.  Use usb_kill_urb() instead.
Badness in usb_unlink_urb at drivers/usb/core/urb.c:457
[[<d097aa2b>]]<4>IntInComplete: actual_length=
usb_unlink_urb+0x47/0x7e [[usbcore]]
[[<d11ae39e>]]<4>IntInComplete: actual_length=
USB_S_Write+0x1cd/0x241 [[unicorn_usb_atm]]
[[<d11a7212>]] usb_flushBuffer+0x192/0x10e0 [[unicorn_usb_atm]]
...
Jul  2 18:05:13 localhost kernel: ObcReset: Resetting OBC...
Jul  2 18:05:13 localhost kernel: unicorn_msw: FmPollingRate=1000ms,InitTimeout=20000ms,ActTimeout=300000
Jul  2 18:05:13 localhost kernel: unicorn_usb: AdslStatus=1
Jul  2 18:05:13 localhost kernel: usbcore: registered new driver unicorn_usb
Jul  2 18:05:14 localhost kernel: unicorn_msw: Current Modem State (3): ACTIVATING
Jul  2 18:05:14 localhost kernel: unicorn_usb: MSW state: ACTIVATING
Jul  2 18:05:14 localhost kernel: unicorn_msw: Event Reported (3): Initializing
Jul  2 18:05:14 localhost kernel: unicorn_usb: MSW event: TO INITIALIZING
Jul  2 18:05:16 localhost kernel: unicorn_usb: AdslStatus=1
Jul  2 18:05:16 localhost kernel: unicorn_msw: Modem Init Failure: Spurious ATU Detected (25)
Jul  2 18:05:16 localhost kernel: unicorn_usb: MSW failure: SPURIOUS ATU DETECTED
Jul  2 18:05:27 localhost kernel: unicorn_usb: AMU_EVENT_RETRY
Jul  2 18:05:28 localhost kernel: unicorn_usb: AdslStatus=1
Jul  2 18:05:28 localhost kernel: unicorn_msw: Current Modem State (3): ACTIVATING
Jul  2 18:05:28 localhost kernel: unicorn_usb: MSW state: ACTIVATING
Jul  2 18:05:28 localhost kernel: unicorn_msw: Event Reported (3): Initializing
Jul  2 18:05:28 localhost kernel: unicorn_usb: MSW event: TO INITIALIZING
Jul  2 18:05:34 localhost kernel: unicorn_msw: Current Modem State (6): INITIALIZING
Jul  2 18:05:34 localhost kernel: unicorn_usb: MSW state: INITIALIZING
Jul  2 18:05:37 localhost kernel: unicorn_msw: useRFCFixedRate (1) ENABLED: deactivate the RA mode in DMT mode
Jul  2 18:05:46 localhost kernel: unicorn_usb: upRate=226cells/s,downRate=377cells/s
Jul  2 18:05:46 localhost kernel: unicorn_usb: AdslStatus=1
Jul  2 18:05:46 localhost kernel: unicorn_msw: Event Reported (4): Showtime
Jul  2 18:05:46 localhost kernel: unicorn_usb: MSW event: AMSW SHOWTIME
Jul  2 18:05:46 localhost kernel: unicorn_msw: Current Modem State (9): SHOWTIME_L0
Jul  2 18:05:46 localhost kernel: unicorn_usb: MSW state: SHOWTIME L0 # http://www.google.fr/search?q=%22unicorn_usb:+MSW+state:+SHOWTIME+L0%22
Jul  2 18:05:56 localhost pppd[[18503]]: Plugin /usr/lib/pppd/2.4.2/pppoatm.so loaded.
Jul  2 18:05:56 localhost pppd[[18503]]: PPPoATM plugin_init
Jul  2 18:05:56 localhost pppd[[18503]]: pppd 2.4.2 started by root, uid 0
Jul  2 18:05:56 localhost pppd[[18503]]: Using interface ppp0
Jul  2 18:05:56 localhost pppd[[18503]]: Connect: ppp0 <--> /dev/pts/4
Jul  2 18:06:21 localhost pppd[[18503]]: Terminating on signal 15.
Jul  2 18:06:27 localhost pppd[[18702]]: Plugin /usr/lib/pppd/2.4.2/pppoatm.so loaded.
Jul  2 18:06:27 localhost pppd[[18702]]: PPPoATM plugin_init
Jul  2 18:06:27 localhost pppd[[18702]]: Plugin pppoatm.so loaded.
Jul  2 18:06:27 localhost pppd[[18702]]: PPPoATM plugin_init
Jul  2 18:06:27 localhost pppd[[18702]]: PPPoATM setdevname - remove unwanted options
Jul  2 18:06:27 localhost pppd[[18702]]: PPPoATM setdevname_pppoatm - SUCCESS:8.35
Jul  2 18:06:27 localhost pppd[[18704]]: pppd 2.4.2 started by root, uid 0
Jul  2 18:06:27 localhost kernel: unicorn_usb: ESI=00:1b:c4:58:2f:c3
Jul  2 18:06:27 localhost pppd[[18704]]: Using interface ppp1
Jul  2 18:06:27 localhost pppd[[18704]]: Connect: ppp1 <--> 8.35
Jul  2 18:06:27 localhost pppd[[18503]]: Connection terminated.
Jul  2 18:06:27 localhost pppd[[18503]]: Exit.
Jul  2 18:06:29 localhost pppd[[18704]]: CHAP authentication succeeded: CHAP authentication success, unit 22670
Jul  2 18:06:29 localhost pppd[[18704]]: local  IP address 80.170.106.168
Jul  2 18:06:29 localhost pppd[[18704]]: remote IP address 80.170.0.1
Jul  2 18:06:29 localhost pppd[[18704]]: primary   DNS address 212.151.136.242
Jul  2 18:06:29 localhost pppd[[18704]]: secondary DNS address 130.244.127.169
insmod /lib/modules/2.6.10-5-386/extra/unicorn_usb_atm.ko ActivationMode=4

MswDebugLevel=

Jul 2 18:30:18 localhost kernel: unicorn_msw-162331: Jul 2 18:30:18 localhost kernel: unicorn_msw-162331: disable Receive Soc channel. Jul 2 18:30:18 localhost kernel: unicorn_msw-162369: Entering InterruptDispatcher::reset() Jul 2 18:30:18 localhost kernel: unicorn_msw-162369: HS DL notify state * enter : 2 Jul 2 18:30:18 localhost kernel: Jul 2 18:30:18 localhost kernel: unicorn_msw-162369: Entering InterruptDispatcher::reset() Jul 2 18:30:18 localhost kernel: unicorn_msw-162369: Configure Downstream Channel Jul 2 18:30:18 localhost kernel: Jul 2 18:30:18 localhost kernel: unicorn_msw-162369: Configure Upstream Channel Jul 2 18:30:18 localhost kernel: Jul 2 18:30:18 localhost kernel: unicorn_msw-162369: ———–>Running build is : USB-AMW-1-1.8-0.1.0.5 Jul 2 18:30:18 localhost kernel: Jul 2 18:30:18 localhost kernel: unicorn_msw-162369: Sachem Access : reset Jul 2 18:30:18 localhost kernel: unicorn_msw-162369: Jul 2 18:30:18 localhost kernel: Version 4.8 Jul 2 18:30:19 localhost kernel: unicorn_msw-162407: USB powerUp_Modem_Chipset completed Jul 2 18:30:19 localhost kernel: unicorn_msw-162422: CTune has been initialized Jul 2 18:30:19 localhost kernel: unicorn_msw-162430: VCODACsetting = 127 Jul 2 18:30:19 localhost kernel: unicorn_msw-162438: Installing initial TEQ coefficients Jul 2 18:30:19 localhost kernel: Jul 2 18:30:19 localhost kernel: unicorn_msw-162522: Entering AocRx::init Jul 2 18:30:19 localhost kernel: unicorn_msw-162522: AOC_READ_BLOCK……<6>unicorn_msw-162522: ENABLED Jul 2 18:30:19 localhost kernel: unicorn_msw-162522: AOCRX_DEBUG………<6>unicorn_msw-162522: ENABLED Jul 2 18:30:19 localhost kernel: unicorn_msw-162522: AOC_DEBUG………..<6>unicorn_msw-162522: ENABLED Jul 2 18:30:19 localhost kernel: unicorn_msw-162522: AOC_FIFO_SELECTED…<6>unicorn_msw-162522: DISABLED Jul 2 18:30:19 localhost kernel: unicorn_msw-162546: normal biquad chosen Jul 2 18:30:19 localhost kernel: unicorn_msw-162546: AFE MODE: 20174 Jul 2 18:30:19 localhost kernel: Jul 2 18:30:19 localhost kernel: unicorn_msw-162608: Entering AocTx::init Jul 2 18:30:19 localhost kernel: unicorn_msw-162611: setMaskMain on interruptDispatcher Jul 2 18:30:19 localhost kernel: Jul 2 18:30:19 localhost kernel: unicorn_usb: AdslStatus=1 Jul 2 18:30:19 localhost kernel: unicorn_msw-162620: BusManager: ATM and Showtime flag reset Jul 2 18:30:19 localhost kernel: unicorn_msw-162620: Jul 2 18:30:19 localhost kernel: unicorn_msw-162636: CTune has been initialized Jul 2 18:30:19 localhost kernel: unicorn_msw-162644: VCODACsetting = 127 Jul 2 18:30:19 localhost kernel: unicorn_msw-162644: Nominal TX gain … Jul 2 18:30:19 localhost kernel: unicorn_msw-162652: normal biquad chosen Jul 2 18:30:19 localhost kernel: unicorn_msw-162680: Installing initial TEQ coefficients Jul 2 18:30:19 localhost kernel: Jul 2 18:30:19 localhost kernel: unicorn_msw-162712: RMS line single (* E+3) = 920248 Jul 2 18:30:19 localhost kernel: unicorn_msw-162712: AGC phase : 0 , 'gain'=10 Jul 2 18:30:19 localhost kernel: Jul 2 18:30:19 localhost kernel: unicorn_msw-162712: setRxGain1dB : local Gain 19 dB Jul 2 18:30:19 localhost kernel: unicorn_msw-162712: setRxGain1dB : LNA1 Gain 19 dB Jul 2 18:30:19 localhost kernel: unicorn_msw-162720: setRxGain1dB : Attenuator 0 dB Jul 2 18:30:19 localhost kernel: unicorn_msw-162728: setRxGain2dB : local Gain -8 dB Jul 2 18:30:19 localhost kernel: unicorn_msw-162728: setRxGain2dB : LNA2 Gain -8 dB Jul 2 18:30:19 localhost kernel: unicorn_msw-162735: RxBPF bypass 0 Jul 2 18:30:19 localhost kernel: Jul 2 18:30:19 localhost kernel: unicorn_msw-162818: HsActivationSeq::sequenceStart… Jul 2 18:30:19 localhost kernel: unicorn_msw-162868: SwapImmediate… Jul 2 18:30:19 localhost kernel: unicorn_msw-162938: SwapImmediate… Jul 2 18:30:19 localhost kernel: unicorn_msw-162968: PeerModemDetector::startStopTimeOutHdlr useRFC040v DISABLED Jul 2 18:30:19 localhost kernel: unicorn_msw-162968: PeerModemDetector::startStopTimeOutHdlr - StartTimer(2000 ms) Jul 2 18:30:19 localhost kernel: unicorn_msw-162968: Jul 2 18:30:19 localhost kernel: unicorn_msw: Current Modem State (3): ACTIVATING Jul 2 18:30:19 localhost kernel: unicorn_usb: MSW state: ACTIVATING Jul 2 18:30:19 localhost kernel: unicorn_msw-163045: Power on the line (* E+3) is -67759 dBm

Jul  2 18:30:19 localhost kernel:
Jul  2 18:30:19 localhost kernel: unicorn_msw-163045: tone detected   = 64
Jul  2 18:30:19 localhost kernel:
Jul  2 18:30:19 localhost kernel: unicorn_msw-163045: -->SNR  (lin)   = 3002 (* E+3)
Jul  2 18:30:19 localhost kernel:
Jul  2 18:30:19 localhost kernel: unicorn_msw-163049: Power on the line (* E+3) is -67279  dBm
Jul  2 18:30:19 localhost kernel:
Jul  2 18:30:19 localhost kernel: unicorn_msw-163049: tone detected   = 64
Jul  2 18:30:19 localhost kernel:
Jul  2 18:30:19 localhost kernel: unicorn_msw-163049: -->SNR  (lin)   = 8399 (* E+3)
Jul  2 18:30:19 localhost kernel:
Jul  2 18:30:19 localhost kernel: unicorn_msw-163049: --- Activator --- REPORT MODEMLINECONTROLLER notify : ITU_HS_FOUND
Jul  2 18:30:19 localhost kernel:
Jul  2 18:30:19 localhost kernel: unicorn_msw-163074:
Jul  2 18:30:19 localhost kernel: unicorn_msw-163074: HS : TRELLIS_IN_LITE_IMPLEMENTED = #0#
Jul  2 18:30:19 localhost kernel:
Jul  2 18:30:19 localhost kernel: unicorn_msw-163074: ==>>HsSegPool: getFreeSegment: returned [[0]] = c2a3aa60
Jul  2 18:30:19 localhost kernel:
Jul  2 18:30:19 localhost kernel: unicorn_msw-163074: ==>>HsSegPool: getFreeSegment: returned [[1]] = c2a3aa68
Jul  2 18:30:19 localhost kernel:
Jul  2 18:30:19 localhost kernel: unicorn_msw-163074: ** HS DL notify state *** enter : 0
Jul  2 18:30:19 localhost kernel:
Jul  2 18:30:19 localhost kernel: unicorn_msw-163074: ** HS DL notify state *** enter : 1
Jul  2 18:30:19 localhost kernel:
Jul  2 18:30:19 localhost kernel: unicorn_msw-163074: Start HandshakeSequence
Jul  2 18:30:19 localhost kernel:
Jul  2 18:30:19 localhost kernel: unicorn_msw: Event Reported (3): Initializing
Jul  2 18:30:19 localhost kernel: unicorn_usb: MSW event: TO INITIALIZING
Jul  2 18:30:19 localhost kernel: unicorn_msw-163126: SwapImmediate...
Jul  2 18:30:19 localhost kernel: unicorn_msw-163126: Installing initial TEQ coefficients
Jul  2 18:30:19 localhost kernel:

Jul 2 18:30:19 localhost kernel: unicorn_msw-163158: RxGain before C-TONE Jul 2 18:30:19 localhost kernel: Jul 2 18:30:19 localhost kernel: unicorn_msw-163158: AGC phase : 11 , 'gain'=10 Jul 2 18:30:19 localhost kernel: Jul 2 18:30:19 localhost kernel: unicorn_msw-163158: setRxGain1dB : local Gain 19 dB Jul 2 18:30:19 localhost kernel: unicorn_msw-163158: setRxGain1dB : LNA1 Gain 19 dB Jul 2 18:30:19 localhost kernel: unicorn_msw-163166: setRxGain1dB : Attenuator 0 dB Jul 2 18:30:19 localhost kernel: unicorn_msw-163174: setRxGain2dB : local Gain -8 dB Jul 2 18:30:19 localhost kernel: unicorn_msw-163174: setRxGain2dB : LNA2 Gain -8 dB Jul 2 18:30:19 localhost kernel: unicorn_msw-163182: RxBPF bypass 0 Jul 2 18:30:19 localhost kernel: Jul 2 18:30:19 localhost kernel: unicorn_msw-163281: SwapImmediate

Jul  2 18:30:19 localhost kernel: unicorn_msw-163281: doing power measurement on C-TONES

Jul 2 18:30:19 localhost kernel: Jul 2 18:30:19 localhost kernel: unicorn_msw-163373: Power on the line (* E+3) is -65067 dBm Jul 2 18:30:19 localhost kernel: Jul 2 18:30:19 localhost kernel: unicorn_msw-163373: tone detected = 64 Jul 2 18:30:19 localhost kernel: Jul 2 18:30:19 localhost kernel: unicorn_msw-163373: –>SNR (lin) = 8014 (* E+3) Jul 2 18:30:19 localhost kernel: Jul 2 18:30:19 localhost kernel: unicorn_msw-163378: Power on the line (* E+3) is -65531 dBm Jul 2 18:30:19 localhost kernel: Jul 2 18:30:19 localhost kernel: unicorn_msw-163378: tone detected = 64 Jul 2 18:30:19 localhost kernel: Jul 2 18:30:19 localhost kernel: unicorn_msw-163378: –>SNR (lin) = 6392 (* E+3)

Jul  2 18:30:19 localhost kernel:
Jul  2 18:30:19 localhost kernel: unicorn_msw-163378: CTones end of detection : 1,64
Jul  2 18:30:19 localhost kernel:
Jul  2 18:30:19 localhost kernel: unicorn_msw-163384: Monitor::readSquaredAndNrErasures - Start
Jul  2 18:30:20 localhost kernel: unicorn_msw-163417: Monitor::readSquaredAndNrErasures - Completed
Jul  2 18:30:20 localhost kernel: unicorn_msw-163417: HS AGC : measuredPower = 141
Jul  2 18:30:20 localhost kernel:
Jul  2 18:30:20 localhost kernel: unicorn_msw-163421:  RMS line single (* E+3) = 684
Jul  2 18:30:20 localhost kernel: unicorn_msw-163421: AGC phase : 12 , 'gain'=67
Jul  2 18:30:20 localhost kernel:
Jul  2 18:30:20 localhost kernel: unicorn_msw-163421:   setRxGain1dB : local Gain 76 dB
Jul  2 18:30:20 localhost kernel: unicorn_msw-163421: Limited to 31
Jul  2 18:30:20 localhost kernel:
Jul  2 18:30:20 localhost kernel: unicorn_msw-163421:   setRxGain1dB : LNA1 Gain 31 dB
Jul  2 18:30:20 localhost kernel: unicorn_msw-163429:   setRxGain1dB : Attenuator 0 dB
Jul  2 18:30:20 localhost kernel: unicorn_msw-163437:   setRxGain2dB : local Gain -8 dB
Jul  2 18:30:20 localhost kernel: unicorn_msw-163437:   setRxGain2dB : LNA2 Gain -8 dB
Jul  2 18:30:20 localhost kernel: unicorn_msw-163445: RxBPF bypass 0
Jul  2 18:30:20 localhost kernel:
Jul  2 18:30:20 localhost kernel: unicorn_msw-163497: pilotRootPower 29
Jul  2 18:30:20 localhost kernel:
Jul  2 18:30:20 localhost kernel: unicorn_msw-163497: gain scale factor (* E+3) 388229
Jul  2 18:30:20 localhost kernel:
Jul  2 18:30:20 localhost kernel: unicorn_msw-163514: g1, g2 : 192,15536
Jul  2 18:30:20 localhost kernel:
Jul  2 18:30:20 localhost kernel: unicorn_msw-163632: freq error = -5130 (*E+3) ppm, acc = fffffa9e eras = 16
Jul  2 18:30:20 localhost kernel:
Jul  2 18:30:20 localhost kernel: unicorn_msw-163632: Calibration not done yet => DCXO tuning based on default settings
Jul  2 18:30:20 localhost kernel: unicorn_msw-163640: Parasitic value = 8 pF; DCXOgain = 1500 (*E3) ppm/code; DCXOcode 125; transmitted code 125
Jul  2 18:30:20 localhost kernel: unicorn_msw-163640: Correction for a frequency error of -3130 (*E3) ppm
Jul  2 18:30:20 localhost kernel:
Jul  2 18:30:20 localhost kernel: unicorn_msw-163750: freq error = -878 (*E+3) ppm, acc = ffffff14 eras = 51
Jul  2 18:30:20 localhost kernel:
Jul  2 18:30:20 localhost kernel: unicorn_msw-163750: [[before 4QAM - 2BAM]] : Remaining frequency error (* E+3) -878
Jul  2 18:30:20 localhost kernel:
Jul  2 18:30:20 localhost kernel: unicorn_msw-163807: 4QAM ( * E+3 ): x = -7678000, y = 9780000
Jul  2 18:30:20 localhost kernel:
Jul  2 18:30:20 localhost kernel: unicorn_msw-163829: freq error = 2345 (*E+3) ppm, acc = 276 eras = 2
Jul  2 18:30:20 localhost kernel:
Jul  2 18:30:20 localhost kernel: unicorn_msw-163829: Remaining frequency error ( * E+3 ) = 2345
Jul  2 18:30:20 localhost kernel:
Jul  2 18:30:20 localhost kernel: unicorn_msw-163829: sending RTone1
Jul  2 18:30:20 localhost kernel:
Jul  2 18:30:20 localhost kernel: unicorn_msw-163831: Doing phase rotation
Jul  2 18:30:20 localhost kernel:
Jul  2 18:30:20 localhost kernel: unicorn_msw-163836: installing demodulation
Jul  2 18:30:20 localhost kernel:
Jul  2 18:30:20 localhost kernel: unicorn_msw-163836: ** HS DL notify state *** enter : 3
Jul  2 18:30:20 localhost kernel:
Jul  2 18:30:21 localhost kernel: unicorn_msw-164835: ###### HsProtTimer :: timeOutHdlr 999 ms elapsed#####.
Jul  2 18:30:21 localhost kernel: unicorn_msw-164835: ERROR DL :: Handshake receive ::  Protocol timeout.

Jul 2 18:30:21 localhost kernel: unicorn_msw-164835: ###### HsProtTimer :: timer not running #####. Jul 2 18:30:21 localhost kernel: unicorn_msw-164835: disable Transmit Soc channel → send quiet. Jul 2 18:30:21 localhost kernel: unicorn_msw-164847: disable Receive Soc channel. Jul 2 18:30:21 localhost kernel: unicorn_msw-164865: =⇒>HsSegPool: releaseSegment: found start = c2a3aa60 Jul 2 18:30:21 localhost kernel: Jul 2 18:30:21 localhost kernel: unicorn_msw-164865: =⇒>HsSegPool: releaseSegment: found 1 = c2a3aa68 Jul 2 18:30:21 localhost kernel: Jul 2 18:30:21 localhost kernel: unicorn_msw-164865: HS DL notify state * enter : 4

Jul  2 18:30:21 localhost kernel:
Jul  2 18:30:21 localhost kernel: unicorn_usb: AdslStatus=1
Jul  2 18:30:21 localhost kernel: unicorn_msw-165364: BusManager: ATM and Showtime flag reset
Jul  2 18:30:21 localhost kernel: unicorn_msw-165364: Entering InterruptDispatcher::reset()
Jul  2 18:30:22 localhost kernel: unicorn_msw-165476: ****************************** Power Down TX Driver *********************************
Jul  2 18:30:22 localhost kernel: unicorn_msw-165483:
Jul  2 18:30:22 localhost kernel: unicorn_msw-165484: Autonomuous Message : Modem init failure

Verion 0.8.7 : Failure

reported to works with :

2.4.25 with the UNICORN drivers 0.8.7 :
*

http://www.bewan.com/bewan/drivers/bast-0.8.7.tgz

ed2k:|file|bast-0.8.7.tgz|918004|e97faa97ddb8127c52693a31e84b8000| /etc/rc.d/rc.bewanadsl start cat /proc/bus/usb/devices lsmod | grep unicorn i Kernel config : /Networking Options /ATM M /Networking Device Support : /PPP M PPP FILTER Y PPP ASYNC M PPP SYNC_TTY M PPP DEFLATE M BSD COMP M PPPOATM M #RzR@AmiloA# ${EDITOR} /etc/modules.conf options unicorn_usb ActivationMode=4 #RzR@AmiloA# ${EDITOR} /etc/modules # unicorn_usb ActivationMode=4 #RzR@AmiloA# date && uname -a sam jui 31 14:57:40 CEST 2004 Linux nrv 2.6.7-amiloa #3 Sat Jun 19 15:53:35 CEST 2004 i686 GNU/Linux #RzR@AmiloA# cd /usr/local/src/unicorn-0.8.7rzr/ #RzR@AmiloA# make && make install_atm && depmod -aev #RzR@AmiloA# insmod /lib/modules/`uname -r`/extra/unicorn_usb_atm.o # ActivationMode=4 #RzR@AmiloA# modprobe unicorn_usb_atm open the lights (1st greenon , 2 red=blink , 3green=off) #RzR@AmiloA# modprobe pppoatm ToDo But does not sync ??? Please help ——————————————————————————– === VERSION 0.8.6 : Failure=== # rmmod -v unicorn_usb_atm ; modprobe unicorn_usb_atm ActivationMode=1 ; dmesg unicorn_usb: AMU_EVENT_RETRY unicorn_usb: AdslStatus=1 unicorn_msw: Current Modem State (3): ACTIVATING unicorn_usb: MSW state: ACTIVATING xsm_p: down_interruptible failed,sem=SMIF,count= unicorn_usb: AMU_EVENT_ACT_TIMEOUT #RzR@AmiloA# rmmod -v unicorn_usb_atm ; modprobe unicorn_usb_atm ActivationMode=4 ; dmesg unicorn_msw: Modem Init Failure: Spurious ATU Detected (25) unicorn_usb: MSW failure: SPURIOUS ATU DETECTED #RzR@AmiloA# dmesg NET: Registered protocol family 8 NET: Registered protocol family 20 unicorn_usb_atm: module license 'Proprietary' taints kernel. unicorn_usb: v 0.8.6, 14:29:33 Jul 31 2004 unicorn_usb: driver parameters: DebugLevel= unicorn_usb: found adapter VendorId 07fa, ProductId 1012, driver_info=20174 unicorn_usb: MSW parameters: ActivationMode=1 ActTimeout=300000 AutoActivation=1 DebugLevel= DownstreamRate=3400 unicorn_usb: ExchangeDelay=10 FmPollingRate=1000 g_RefGain=22 g_Teqmode=7 InitTimeout=20000 Interoperability= unicorn_usb: LCD_Trig=15000 LOS_LOF_Trig=5000 LoopbackMode= MswDebugLevel=2 RetryTime=5000 TrainingDelay=100 unicorn_usb: useRFC019v= useRFC029v=8000 useRFC040v= useRFC041v=1 setINITIALDAC= unicorn_usb: useRFCFixedRate=1 useVCXO= _no_TS652=1 useAFE=20174 txPower=14 unicorn_usb: ALi Corporation USB 1.1 Controller (#2) is_valid: freeing NULL xtm_stopmsgtimer: timer 00000000 not valid unicorn_msw: FmPollingRate=1000ms,InitTimeout=20000ms,ActTimeout=300000 unicorn_usb: AdslStatus=1 usbcore: registered new driver unicorn_usb unicorn_msw: Current Modem State (3): ACTIVATING unicorn_usb: MSW state: ACTIVATING #RzR@AmiloA# cat /proc/net/atm/UNICORN:0 ADSL: status no link, modem state ACTIVATING, US rate 0Kbits/s, DS rate 0Kbits/s Current speed: US 0Kbits/s,DS 0Kbits/s Current speed: US 0Kbits/s,DS 0Kbits/s Bridged: 00:00:00:00:00:00 AAL5: tx 0 ( 0 err ), rx 0 ( 0 err, 0 drop ) AAL0: tx 0 ( 0 err ), rx 0 ( 0 err, 0 drop ) #RzR@AmiloA# /usr/local/src/unicorn-0.8.7rzr/tools/unicorn_status Modem State : IDLE Remote Report : Initializing Last Failure : Spurious ATU Detected Driver Version : 0.8.6 Firmware Version : USB-AMW-1-1.8-0.1.0.5 … #RzR@AmiloA# cat /proc/net/atm/UNICORN\:0 ADSL: status no link, modem state IDLE, US rate 0Kbits/s, DS rate 0Kbits/s Current speed: US 0Kbits/s,DS 0Kbits/s Current speed: US 0Kbits/s,DS 0Kbits/s Bridged: 00:00:00:00:00:00 AAL5: tx 0 ( 0 err ), rx 0 ( 0 err, 0 drop ) AAL0: tx 0 ( 0 err ), rx 0 ( 0 err, 0 drop ) #RzR@AmiloA# lsmod unicorn_usb_atm 704032 0 usbcore 97632 4 unicorn_usb_atm,ohci_hcd ohci_hcd 18436 0 atm 35152 1 unicorn_usb_atm … === PAP=== Apr 16 00:51:46 localhost pppd9282: rcvd LCP EchoRep id=0x0 magic=0x0 Apr 16 00:51:49 localhost pppd9282: sent PAP AuthReq id=0x2 user=&quot;abcd0001@everia.com&quot; password=&lt;hidden&gt; Apr 16 00:51:52 localhost pppd9282: sent PAP AuthReq id=0x3 user=&quot;abcd0001@everia.com&quot; password=&lt;hidden&gt; Apr 16 00:51:52 localhost pppd9282: rcvd PAP AuthNak id=0x3 "Default for TNT Mon" Apr 16 00:51:52 localhost pppd9282: Remote message: Default for TNT Mon Apr 16 00:51:52 localhost pppd9282: PAP authentication failed Apr 16 00:51:52 localhost pppd9282: sent LCP TermReq id=0x2 "Failed to authenticate ourselves to peer" Apr 16 00:51:52 localhost pppd9282: rcvd LCP TermAck id=0x2 Apr 16 00:51:52 localhost pppd9282: Connection terminated. Apr 16 00:51:53 localhost pppd9282: Exit. ===Success=== plog Jul 15 15:45:51 nrv chat30091: expect (CONNECT) Jul 15 15:45:51 nrv chat30091: ^M Jul 15 15:46:22 nrv chat30091: ATDT0860463314^M^M Jul 15 15:46:22 nrv chat30091: CONNECT Jul 15 15:46:22 nrv chat30091: – got it Jul 15 15:46:22 nrv chat30091: send (\d) Jul 15 15:46:23 nrv pppd30089: Serial connection established. Jul 15 15:46:23 nrv pppd30089: using channel 2 Jul 15 15:46:23 nrv pppd30089: Using interface ppp0 Jul 15 15:46:23 nrv pppd30089: Connect: ppp0 ←→ /dev/modem nrv:/tmp# plog Jul 15 15:46:26 nrv pppd30089: sent CCP ConfRej id=0x2 < 11 06 00 01 01 03> Jul 15 15:46:26 nrv pppd30089: rcvd CCP ConfRej id=0x2 Jul 15 15:46:26 nrv pppd30089: rcvd IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 217.66.114.59> <ms-dns1 217.66.113.4> <ms-dns3 217.66.113.34> Jul 15 15:46:26 nrv pppd30089: not replacing existing default route via 82.236.136.254 Jul 15 15:46:26 nrv pppd30089: Cannot determine ethernet address for proxy ARP Jul 15 15:46:26 nrv pppd30089: local IP address 217.66.114.59 Jul 15 15:46:26 nrv pppd30089: remote IP address 217.66.112.154 Jul 15 15:46:26 nrv pppd30089: primary DNS address 217.66.113.4 Jul 15 15:46:26 nrv pppd30089: secondary DNS address 217.66.113.34 Jul 15 15:46:26 nrv pppd30089: Script /etc/ppp/ip-up started (pid 30212) ire

ppp.txt · Last modified: 2020/09/08 20:47 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki