11
May

primu post e despre solutia de functionare modem romtelecom cdma ADU-510l pe linux ubuntu (all flavours) 9.04, kernel 2.6.28-11:
cerinte:
- usb_modeswitch
- un script care sa suspende/desuspende power-ul pe modem inainte de schimbarea modului usb.
sciptul ar putea fi ceva de genul:

#!/bin/bash
a=`dmesg | grep ‘error -5′ -m 1 -B 2 | head -n 1| awk -F ” ” ‘{print$4}’ | awk -F “:” ‘{print$1}’`
echo suspend > /sys/bus/usb/devices/$a/power/level
sleep 2
echo on > /sys/bus/usb/devices/$a/power/level
usb_modeswitch

usb_modeswitch: http://www.draisberghof.de/usb_modeswitch/
se downloadeaza ultimele surse si se ruleaza make install
se editeaza /etc/usb_modeswitch.conf: se decomenteza sectiunea care contine 0x16d5
se ruleaza scriptul de mai sus cu drept de root.

- testele le-am efectuat conectand modemul dupa bootare -

77 Responses to “cdma romtelecom ADU-510l linux”

  • nik_1

    cand rulez acest script >>
    grep: invalid option — ‘�’
    Usage: grep [OPTION]… PATTERN [FILE]…
    Try `grep –help’ for more information.
    awk: 1: unexpected character 0xe2
    awk: 1: unexpected character 0xe2
    awk: 1: unexpected character 0xe2
    /home/octavian/Desktop/fișier nou: line 3: /sys/bus/usb/devices//power/level: No such file or directory
    /home/octavian/Desktop/fișier nou: line 5: /sys/bus/usb/devices//power/level: No such file or directory

    * usb_modeswitch: tool for controlling “flip flop” mode USB devices
    * Version 1.0.2 (C) Josua Dietze 2009
    * Works with libusb 0.1.12 and probably other versions

    Am istalat inainte usb-modeswitch_1.0.2-1_i386.deb
    Nu am inteles ce inseamna ”se decomenteza sectiunea care contine 0×16d5”
    Am instalat GNOME PPP
    Incerc sa ma conectez si >> Can not open open (am pus parola nume de utilizator si #777
    Am ubuntu 9.04

  • admin

    problema a fost de la caracterele care ar trebui sa fie interpretate ca si ghilimea simpla, t-i le-a interpretat ca si alte caractere si grep nu le-a inteles.
    ——————————
    #!/bin/bash
    a=`dmesg | grep ‘error -5′ -m 1 -B 2 | head -n 1| awk -F ” ” ‘{print$4}’ | awk -F “:” ‘{print$1}’`
    echo suspend > /sys/bus/usb/devices/$a/power/level
    sleep 2
    echo on > /sys/bus/usb/devices/$a/power/level
    usb_modeswitch
    —————————-
    ai grija ca in terminal la error -5 sa ai ghilimele simple, la fel si la ‘{print$4}’ , ‘{print$1}’
    prima si ultima ghilimea trebuie sa fie cele de pe tasta cu ~ (`)
    sper ca m-ai inteles.
    cat despre gnome-ppp, nu ar trebui sa ai nevoie de el intrucat in 9.04 network-managerul inclus i-ti detecteaza conexiunea odata ce modemul opereaza corect.
    tinema la curent, sigur merge, nu dispera.

  • nik_1

    Am modificat ` (nu sunt asa un expert :) ) acum apare asa >>

    /home/octavian/Desktop/fișier nou: line 2: -m: command not found
    awk: 1: unexpected character 0xe2
    /home/octavian/Desktop/fișier nou: command substitution: line 2: syntax error near unexpected token `|’
    /home/octavian/Desktop/fișier nou: command substitution: line 2: ` | awk -F “:” ‘
    Usage: grep [OPTION]… PATTERN [FILE]…
    Try `grep –help’ for more information.
    /home/octavian/Desktop/fișier nou: line 2: -5{print}{print}: command not found
    /home/octavian/Desktop/fișier nou: line 3: /sys/bus/usb/devices//power/level: No such file or directory
    /home/octavian/Desktop/fișier nou: line 5: /sys/bus/usb/devices//power/level: No such file or directory

    * usb_modeswitch: tool for controlling “flip flop” mode USB devices
    * Version 1.0.2 (C) Josua Dietze 2009
    * Works with libusb 0.1.12 and probably other versions

  • nik_1

    Nu merge
    Cred ca undeva nu am facut bine…
    Prima data am instalat usb-modeswitch_1.0.2-1_i386.deb
    Am modificat acest script cu ` cum ai zis>>>

    #!/bin/bash
    a=`dmesg | grep `error -5` -m 1 -B 2 | head -n 1| awk -F ” ” `{print$4}` | awk -F “:” `{print$1}“
    echo suspend > /sys/bus/usb/devices/$a/power/level
    sleep 2
    echo on > /sys/bus/usb/devices/$a/power/level
    usb_modeswitch

    Nu vede modemul ..

  • nik_1

    Am descarcat sciptul de la tine , am copiat si conf editat , am rulat scriptul dar nu vad modem .. sau cum ?

  • admin

    ce output ai cand rulezi scriptul? fa-i un paste aici te rog.

    daca este cu succes acesta este output-ul:

    * usb_modeswitch: tool for controlling “flip flop” mode USB devices
    * Version 0.9.7 (C) Josua Dietze 2009
    * Works with libusb 0.1.12 and probably other versions

    Looking for target devices …
    No devices in target mode or class found
    Looking for default devices …
    Found default devices (1)
    Prepare switching, accessing device 002 on bus 006 …
    Looking for active driver …
    No driver found. Either detached before or never attached
    Setting up communication with interface 0 …
    Trying to send the message to endpoint 0×08 …
    OK, message successfully sent
    Checking for mode switch after 2 seconds settling time …
    Original device can’t be accessed anymore. Good.
    Found a new device in target mode or class

    Mode switch was successful. Bye!

  • admin

    ups.. am uitat: cu sudo ruleaza scriptul, ai nevoie de drepturi de root

  • admin

    si inca ceva: nu folosi ultimul update de kernel 2.6.28-13 – are bug in conectarea pppd si desi modemul se monteaza corect, nu o sa merga conectarea ca e busit pppd-ul.

  • nik_1

    Fac bine ??

    octavian@Linux:~$ ‘/home/octavian/Desktop/fișier nou’
    /home/octavian/Desktop/fișier nou: line 3: /sys/bus/usb/devices/3-2/power/level: Permission denied
    /home/octavian/Desktop/fișier nou: line 5: /sys/bus/usb/devices/3-2/power/level: Permission denied

    * usb_modeswitch: tool for controlling “flip flop” mode USB devices
    * Version 1.0.2 (C) Josua Dietze 2009
    * Works with libusb 0.1.12 and probably other versions

    Looking for target devices …
    No devices in target mode or class found
    Looking for default devices …
    Found default devices (1)
    Accessing device 000 on bus 003 …
    Using endpoints 0×08 (out) and 0×87 (in)
    Inquiring device details; driver will be detached …
    Looking for active driver …
    No driver found. Either detached before or never attached
    Could not claim interface (error -1). Skipping device inquiry

    Device description data (identification)
    ————————-
    Error: could not get description string “manufacturer”
    Manufacturer:
    Error: could not get description string “product”
    Product:
    Error: could not get description string “serial number”
    Serial No.:
    ————————-
    Looking for active driver …
    No driver found. Either detached before or never attached
    Setting up communication with interface 0 …
    Could not claim interface (error -1). Skipping message sending
    Checking for mode switch after 2 seconds settling time …
    Original device can’t be accessed anymore. Good.
    No new devices in target mode or class found

    Mode switch has failed. Bye.

    octavian@Linux:~$

  • nik_1

    Din pacate asta folosesc > Linux 2.6.28-13-generic
    Ce fac ? sterg si il instalez din nou ca sa am net ?

  • admin

    1. $sudo /home/octavian/Desktop/fișier_nou – i-ti cere parola(ta de user) ca sa ruleze cu drept de admin
    2. ar trebui la butare ca optiuni in grub sa ai inca si 2.6.28-11, daca nu l-ai indepartat. daca il ai, pentru al face default la butare poti edita /boot/grub/menu.lst si fie sa comentezi toate sectiunile cu 2.6.28-13 fie sa le muti ultimele. ca sa editezi fisierul asta iar ai nevoie de drepturi de root (sudo).

  • nik_1

    Acum din synaptic aduc din nou 2.6.28-11 si o sa sterg 2.6.28-13
    dau un restart si iau de la inceput.

  • nik_1

    Gata am scos 2.6.28.13 si am 2.6.28.11
    Am reinstalat usb-modeswitch_1.0.2-1_i386.deb
    Am copiat si usb_modeswitch.conf in etc
    Am rulat script in terminal cu sudo si am acest mesaj >>

    octavian@Linux:~$ sudo ‘/home/octavian/Desktop/fișier nou’
    [sudo] password for octavian:
    /home/octavian/Desktop/fișier nou: line 3: /sys/bus/usb/devices/USB/power/level: No such file or directory
    /home/octavian/Desktop/fișier nou: line 5: /sys/bus/usb/devices/USB/power/level: No such file or directory

    * usb_modeswitch: tool for controlling “flip flop” mode USB devices
    * Version 1.0.2 (C) Josua Dietze 2009
    * Works with libusb 0.1.12 and probably other versions

    Looking for target devices …
    No devices in target mode or class found
    Looking for default devices …
    Found default devices (1)
    Accessing device 002 on bus 003 …
    Using endpoints 0×08 (out) and 0×87 (in)
    Inquiring device details; driver will be detached …
    Looking for active driver …
    OK, driver found (“usbfs”)
    OK, driver “usbfs” detached
    Could not claim interface (error -16). Skipping device inquiry

    Device description data (identification)
    ————————-
    Manufacturer: AnyDATA Corporation
    Product: USB MMC Storage
    Serial No.: 000000000002
    ————————-
    Looking for active driver …
    OK, driver found (“usbfs”)
    OK, driver “usbfs” detached
    Setting up communication with interface 0 …
    Trying to send the message to endpoint 0×08 …
    Sending the message returned error -110. Trying to continue
    Checking for mode switch after 2 seconds settling time …
    Original device can still be accessed. Hmm.
    No new devices in target mode or class found

    Mode switch has failed. Bye.

    octavian@Linux:~$

  • admin

    mai incearca o data:
    - dupa bootare conectezi modem
    - dupa cateva sec (sa se stabilizeze ledurile pe el) rulezi scriptul

    este importanta ordinea si momentul asa cum le-am scris mai sus
    recomand prima oara sa incerci fara alte d
    evice-uri usb conectate (cu exceptia mouse, tastatura)

  • nik_1

    Tot nu vrea sa mearga , am dezactivat internetul fix pe care il am inainte
    Dupa botare , am conectat modemul usb am rulat scriptul si imi da urmatorul mesaj >>

    octavian@Linux:~$ sudo ‘/home/octavian/Desktop/fișier nou’
    [sudo] password for octavian:
    /home/octavian/Desktop/fișier nou: line 3: /sys/bus/usb/devices/USB/power/level: No such file or directory
    /home/octavian/Desktop/fișier nou: line 5: /sys/bus/usb/devices/USB/power/level: No such file or directory

    * usb_modeswitch: tool for controlling “flip flop” mode USB devices
    * Version 1.0.2 (C) Josua Dietze 2009
    * Works with libusb 0.1.12 and probably other versions

    Looking for target devices …
    No devices in target mode or class found
    Looking for default devices …
    Found default devices (1)
    Accessing device 002 on bus 003 …
    Using endpoints 0×08 (out) and 0×87 (in)
    Inquiring device details; driver will be detached …
    Looking for active driver …
    OK, driver found (“usbfs”)
    OK, driver “usbfs” detached
    Could not claim interface (error -16). Skipping device inquiry

    Device description data (identification)
    ————————-
    Manufacturer: AnyDATA Corporation
    Product: USB MMC Storage
    Serial No.: 000000000002
    ————————-
    Looking for active driver …
    OK, driver found (“usbfs”)
    OK, driver “usbfs” detached
    Setting up communication with interface 0 …
    Trying to send the message to endpoint 0×08 …
    Sending the message returned error -110. Trying to continue
    Checking for mode switch after 2 seconds settling time …
    Original device can still be accessed. Hmm.
    No new devices in target mode or class found

    Mode switch has failed. Bye.

    octavian@Linux:~$ sudo ‘/home/octavian/Desktop/fișier nou’
    /home/octavian/Desktop/fișier nou: line 3: /sys/bus/usb/devices/USB/power/level: No such file or directory
    /home/octavian/Desktop/fișier nou: line 5: /sys/bus/usb/devices/USB/power/level: No such file or directory

    * usb_modeswitch: tool for controlling “flip flop” mode USB devices
    * Version 1.0.2 (C) Josua Dietze 2009
    * Works with libusb 0.1.12 and probably other versions

    Looking for target devices …
    No devices in target mode or class found
    Looking for default devices …
    Found default devices (1)
    Accessing device 002 on bus 003 …
    Using endpoints 0×08 (out) and 0×87 (in)
    Inquiring device details; driver will be detached …
    Looking for active driver …
    No driver found. Either detached before or never attached

    Maine o sa mai incerc ce o sa imi mai zici (astazi nu mai sunt acasa)

  • admin

    ruleaza in linie de comanda doar:
    dmesg | grep -B 1 ‘failed with error -5′ -m 1 | head -n 1 | awk ‘{print$4}’ | awk -F “:” ‘{print$1}’

    confirma-mi ca intr-adevar este vorba de acest modemul adu-510l

    de asemenea da-mi si output-ul de la:
    dmesg | tail -n 50
    asta imediat dupa ce ai conectat modem-ul
    se pare ca modemul tau se comporta putin diferit si de aceea trebuie modificat scriptul pentru a se portrivi si pt modemul tau.

  • nik_1

    dmesg | tail -n 50

    octavian@Linux:~$ dmesg | tail -n 50
    [ 16.288636] vboxdrv: Trying to deactivate the NMI watchdog permanently…
    [ 16.288642] vboxdrv: Successfully done.
    [ 16.288644] vboxdrv: Found 2 processor cores.
    [ 16.290501] vboxdrv: fAsync=1 offMin=0x3675a offMax=0x3675a
    [ 16.290591] vboxdrv: TSC mode is ‘asynchronous’, kernel timer mode is ‘normal’.
    [ 16.290594] vboxdrv: Successfully loaded version 2.2.4 (interface 0x000a0009).
    [ 17.184196] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [ 17.184201] Bluetooth: BNEP filters: protocol multicast
    [ 17.231759] Bridge firewalling registered
    [ 18.569372] pci 0000:01:05.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
    [ 18.747112] ppdev: user-space parallel port driver
    [ 18.767796] [drm] Initialized drm 1.1.0 20060810
    [ 18.842329] [drm] Initialized radeon 1.29.0 20080528 on minor 0
    [ 19.383880] [drm] Setting GART location based on new memory map
    [ 19.384491] [drm] Loading RS690/RS740 Microcode
    [ 19.384511] [drm] Num pipes: 1
    [ 19.384518] [drm] writeback test succeeded in 1 usecs
    [ 23.101344] r8169: eth0: link down
    [ 23.101595] ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 23.128594] ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 80.501050] Clocksource tsc unstable (delta = -133818577 ns)
    [ 81.755568] wlan0: authenticate with AP 00:1d:0f:cc:ae:ec
    [ 81.757060] wlan0: authenticated
    [ 81.757076] wlan0: associate with AP 00:1d:0f:cc:ae:ec
    [ 81.759502] wlan0: RX AssocResp from 00:1d:0f:cc:ae:ec (capab=0×431 status=0 aid=1)
    [ 81.759511] wlan0: associated
    [ 81.760195] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [ 81.988536] padlock: VIA PadLock not detected.
    [ 92.724037] wlan0: no IPv6 routers present
    [ 139.929085] usb 3-1: new full speed USB device using ohci_hcd and address 2
    [ 140.098103] usb 3-1: configuration #1 chosen from 1 choice
    [ 140.151119] Initializing USB Mass Storage driver…
    [ 140.158880] usb-storage: probe of 3-1:1.0 failed with error -5
    [ 140.158943] usbcore: registered new interface driver usb-storage
    [ 140.158954] USB Mass Storage support registered.
    [ 186.805554] usb 3-1: usbfs: process 4141 (usb_modeswitch) did not claim interface 0 before use
    [ 186.826712] usb 3-1: usbfs: process 4141 (usb_modeswitch) did not claim interface 0 before use
    [ 214.168140] wlan0: disassociating by local choice (reason=3)
    [ 287.877240] ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 291.525121] wlan0: authenticate with AP 00:1d:0f:cc:ae:ec
    [ 291.526519] wlan0: authenticated
    [ 291.526528] wlan0: associate with AP 00:1d:0f:cc:ae:ec
    [ 291.528988] wlan0: RX AssocResp from 00:1d:0f:cc:ae:ec (capab=0×431 status=0 aid=1)
    [ 291.528995] wlan0: associated
    [ 291.529697] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [ 301.812036] wlan0: no IPv6 routers present
    [ 1242.804020] usb 3-1: USB disconnect, address 2
    [ 1298.644055] usb 3-2: new full speed USB device using ohci_hcd and address 3
    [ 1298.813976] usb 3-2: configuration #1 chosen from 1 choice
    [ 1298.822166] usb-storage: probe of 3-2:1.0 failed with error -5
    octavian@Linux:~$

    in terminal > dmesg | grep -B 1 ‘failed with error -5′ -m 1 | head -n 1 | awk ‘{print$4}’ | awk -F “:” ‘{print$1}’

    octavian@Linux:~$ dmesg | grep -B 1 ‘failed with error -5′ -m 1 | head -n 1 | awk ‘{print$4}’ | awk -F “:” ‘{print$1}’
    grep: invalid option — ‘�’
    Usage: grep [OPTION]… PATTERN [FILE]…
    Try `grep –help’ for more information.
    awk: 1: unexpected character 0xe2
    awk: 1: unexpected character 0xe2
    awk: 1: unexpected character 0xe2
    awk: 1: unexpected character 0xe2
    octavian@Linux:~$

  • admin

    am modificat:
    http://andreimihai.ro/descarcare/cdma_solution
    sper sa merga acum.
    tot asa te rog sa-mi dai output-ul si mie.

  • nik_1

    Ok , cand ajung acasa pe la 23.40 o sa iti dau output-ul

  • nik_1

    Din pacate nu merge , chiar asa ghinion sa am ?
    Nu stiu , gresesc eu undeva ?

    mesaj din terminal>>>

    octavian@Linux:~$ sudo ‘/home/octavian/Desktop/bun’
    [sudo] password for octavian:

    * usb_modeswitch: tool for controlling “flip flop” mode USB devices
    * Version 1.0.2 (C) Josua Dietze 2009
    * Works with libusb 0.1.12 and probably other versions

    Looking for target devices …
    No devices in target mode or class found
    Looking for default devices …
    Found default devices (1)
    Accessing device 002 on bus 003 …
    Using endpoints 0×08 (out) and 0×87 (in)
    Inquiring device details; driver will be detached …
    Looking for active driver …
    No driver found. Either detached before or never attached

    Received inquiry data (detailed identification)
    ————————-
    Vendor String:
    Product String: pT����
    Revision String: ��i
    ————————-

    Device description data (identification)
    ————————-
    Manufacturer: AnyDATA Corporation
    Product: USB MMC Storage
    Serial No.: 000000000002
    ————————-
    Setting up communication with interface 0 …
    Trying to send the message to endpoint 0×08 …
    OK, message successfully sent
    Checking for mode switch after 2 seconds settling time …
    Original device can still be accessed. Hmm.
    No new devices in target mode or class found

    Mode switch has failed. Bye.

    octavian@Linux:~$

  • admin

    dmesg | grep 'failed with error -5'|tail -n 1 | grep -o [0-9]-[0-9]
    output te rog

  • nik_1

    terminal >>

    octavian@Linux:~$ dmesg | grep ‘failed with error -5′|tail -n 1 | grep -o [0-9]-[0-9]
    3-1
    octavian@Linux:~$

  • admin

    pana aici e ok.
    mareste in script cifra de la sleep de la 2 la 5 si incearca din nou.
    si inca ceva: dupa o incercare demonteaza modemul si conecteaza-l la loc.

  • nik_1

    octavian@Linux:~$ sudo ‘/home/octavian/Desktop/bun’
    [sudo] password for octavian:

    * usb_modeswitch: tool for controlling “flip flop” mode USB devices
    * Version 1.0.2 (C) Josua Dietze 2009
    * Works with libusb 0.1.12 and probably other versions

    Looking for target devices …
    No devices in target mode or class found
    Looking for default devices …
    Found default devices (1)
    Accessing device 003 on bus 003 …
    Using endpoints 0×08 (out) and 0×87 (in)
    Inquiring device details; driver will be detached …
    Looking for active driver …
    No driver found. Either detached before or never attached

    Received inquiry data (detailed identification)
    ————————-
    Vendor String:
    Product String: x���
    Revision String: t���
    ————————-

    Device description data (identification)
    ————————-
    Manufacturer: AnyDATA Corporation
    Product: USB MMC Storage
    Serial No.: 000000000002
    ————————-
    Setting up communication with interface 0 …
    Trying to send the message to endpoint 0×08 …
    OK, message successfully sent
    Checking for mode switch after 2 seconds settling time …
    Original device can still be accessed. Hmm.
    No new devices in target mode or class found

    Mode switch has failed. Bye.

    octavian@Linux:~$

    Nici eu nu stiu ce sa mai fac …

  • admin

    da-mi un output de la lsusb de rog

  • nik_1

    octavian@Linux:~$ lsusb
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 003: ID 05c6:1000 Qualcomm, Inc.
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 002: ID 0458:003a KYE Systems Corp. (Mouse Systems)
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    octavian@Linux:~$

  • admin

    verifica ca in /etc/usb_modeswitch.conf ai sectiunea asta decomentata:
    # AnyDATA ADU-500A, ADU-510A, ADU-520A
    #
    # Contributor: Vladimir Poluektov

    DefaultVendor= 0x05c6
    DefaultProduct= 0x1000

    TargetVendor= 0x16d5
    TargetProduct= 0x6502

    MessageEndpoint=0x08
    MessageContent="5553424312345678000000000000061b000000020000000000000000000000"

  • nik_1

    Am gasit , dar nu stiu (decomentata , cum adica ?) ce sa fac :) ) ?

  • nik_1

    Asa arata la mine

    # AnyDATA ADU-500A, ADU-510A, ADU-520A
    #
    # Contributor: Vladimir Poluektov

    DefaultVendor= 0x05c6
    DefaultProduct= 0×1000

    TargetVendor= 0x16d5
    TargetProduct= 0×6502

    MessageEndpoint=0×08
    MessageContent=”5553424312345678000000000000061b000000020000000000000000000000″

  • admin

    mai vad doar o deosebire: eu folosesc versiunea 0.9.7 de usb_modeswitch fata de cea 1.0.2 folosita de tine. poti incerca sa folosesti vers 0.9.7? poate e vreo pb cu vers actuala.

  • nik_1

    Am dezinstalat 1.0.2 si am instalat 0.9.7
    Restart , deconectare internet fix , conectare modem , rulare script , rezultat:

    octavian@Linux:~$ sudo ‘/home/octavian/Desktop/bun’
    [sudo] password for octavian:

    * usb_modeswitch: tool for controlling “flip flop” mode USB devices
    * Version 0.9.7 (C) Josua Dietze 2009
    * Works with libusb 0.1.12 and probably other versions

    No default vendor/product ID given. Aborting.

    octavian@Linux:~$

  • nik_1

    Andrei gata merge :) ) sa traiesti bine!!!
    Deci ubuntu 9.04 cu kernel 2.6.28-11 cu usb-modeswitch_0.9.7_i386.deb si script
    Eu am uitat acum ultima data sa decomentez , deci daia nu mergea.
    Am urmatorul mesaj in terminal >>

    octavian@Linux:~$ sudo ‘/home/octavian/Desktop/bun’

    * usb_modeswitch: tool for controlling “flip flop” mode USB devices
    * Version 0.9.7 (C) Josua Dietze 2009
    * Works with libusb 0.1.12 and probably other versions

    Looking for target devices …
    No devices in target mode or class found
    Looking for default devices …
    Found default devices (1)
    Prepare switching, accessing device 002 on bus 003 …
    Looking for active driver …
    No driver found. Either detached before or never attached
    Setting up communication with interface 0 …
    Trying to send the message to endpoint 0×08 …
    OK, message successfully sent
    Checking for mode switch after 2 seconds settling time …
    Original device can’t be accessed anymore. Good.
    Found a new device in target mode or class

    Mode switch was successful. Bye!

    octavian@Linux:~$

    Dar la conectare nu vrea sa se conecteze , pun aici 2 imagini.

    http://i980.photobucket.com/albums/ae282/nik_100/Captur_ecran.png
    http://i980.photobucket.com/albums/ae282/nik_100/Captur_ecran-1-1.png

    Multumesc mult de ajutor.

  • nik_1

    Gata am rezolvat si cu asta era parola gresita.Dar merge 1m si se intrerupe , trebuie sa scot modem si sa-l introduc din nou si sa rulez iar scriptul si tot asa .
    Cum fac sa nu mai rulez mereu acel script si sa nu se mai intrerupa conexiunea ?

  • admin

    mi-e teama ca ai o problema de semnal mai degraba acum. dar poti observa care ti-e problema din dmesg – aflii daca pierde modemul (nu-l mai vede)
    daca nu este cazul si modemul e ok, dupa rularea scriptului nu apare acolo ca s-ar deconecta cel mai pb e semnal slab. dar asta poti sa stii sigul (semnalul) verificand pe un windowz – acolo i-ti arata puterea semnalului in aplicatie. nu stiu unde stai, dar tre sa tii cont si ca reteaua e in plina expansiune si pot fi inca fluctuatii de semnal.

  • fix

    interesant, mai ales ca nu stiu ceheasca…
    am si eu de gand sa-l instalez sub suse. cand sunt gata am sa va spun ce am facut.

  • nik_1

    Nu stiu de unde a fost dar pana sa plec de acasa l-am mai conectat o data si a mers fara sa se mai intrerupa …deci OK
    Nu e problema de zona , sunt in oras unde ei au semnal.
    Multumesc inca o data pentru ajutorul oferit!!!
    Sti cum am putea face sa nu mai rulam noi scriptul de cate ori deschidem pc si introducem modem ?

  • admin

    poti face link in /etc/rc5.d/S99cdma (de exemplu), si sa te adiguri ca l-ai montat la bootare. dar eu unul prefer asa, pentru nu il folosesc chiar de fiecare data si macar sleep-ul ala de 2 sec sa nu il am ca timp de bootare :)

  • va salut oameni buni.
    Ma intereseaza daca modemul de la romtelecom pt. Mobile, ar merge instalat si configurat pe un router Asus wl500g Premium.
    reflashuit cu softul de la OpenWrt. Are cineva vre-o experienta in sensul asta?
    v/am salutat.

  • admin

    salut, nu pot decat sa cred ca ar trebui sa mearga (erau pe forumurile din cehia sau polonia unde s-au mai folosit modemurile astea pomenite). din pacate nu am un astfel de router (tot incerc sa dau unul din cele doua care le am pe unul din asta cu usb dar nu prea resusesc :) .
    p.s. scuze de intarzirea in raspuns, un filtru pe casuta de mail m-a facut sa ratez postul tau…

  • salut admin.

    intre timp m-am uitat si eu aici:
    http://koppel.cz/cdmawifi/hardware/
    si firmwire-ul asta l-am configurat tipii de acolo cu modulul pt. support la modemurile astea incorporat in kernel. O sa incerc si eu cat de curand sa vad cum sta treaba.
    mersi.

  • nik_1

    Am o mica problema
    Astazi l-am bagat prima zi din luna asta in pc si mi sa parut ca merge greu , am dat un test de viteza si am avut surpriza sa vad ca are 0.05
    am pus mana pe tel am sunat la romtelecom.
    A fost o dicutie lungaaaaa , ca ei nu ofera suport etc si precum ca acest modem are 2 moduri de conectare si ca el trebuie sa stie pe care m-am conectat , ca de aceea este posibil sa nu am viteza , a zis el ceva acolo dar nu am retinut …….ma transpirasem de nervi cu el la tel.
    Sti ceva de genu ???

  • admin

    nu l-am mai folosit nici eu de o saptamana… spune-mi daca ai aceeasi pb si pe win?
    in alta ordine de indei am observat ca problema cu ultimele update-uri de la ubuntu sta in ultima varianta de pppd nu in driver sau altceva. nu porneste corect decat daca modemul detectat corect de la boot, adica doar la boot opereaza corect. asta se poate prin rularea scriptului + reboot. stupid. nu e doar pb cdma romtelecom, am aceeasi pb si cu cel zapp (tre sa fie conectat la bootare).

  • nik_1

    Am reinstalat pe curat Ubuntu 9.04 si am inchis sa nu mai faca ubdate si nu am facut nici un ubdate.
    Am instalat driver usb-modeswitch_0.9.7_i386.deb am modificat usb_modeswitch.conf si rulez scriptul prin terminal cu ‘sudo’ am introdus nume , parola se conecteaza (acum de pe el navighez) dar are viteza mica si cel de la relati cu clienti netCDMA a zis ca modemul are 2 moduri de conectare si ca pe u.. (nu mai stiu cum) nu merge cu viteza si trebuie vazut sa ai spun …..
    Nu am win instalat (nu mai folosesc de 4 ani si nu vreau sa pun ala pe pc-ul meu)

    SCRIPT conectare >

    * usb_modeswitch: tool for controlling “flip flop” mode USB devices
    * Version 0.9.7 (C) Josua Dietze 2009
    * Works with libusb 0.1.12 and probably other versions

    Looking for target devices …
    No devices in target mode or class found
    Looking for default devices …
    Found default devices (1)
    Prepare switching, accessing device 006 on bus 003 …
    Looking for active driver …
    No driver found. Either detached before or never attached
    Setting up communication with interface 0 …
    Trying to send the message to endpoint 0×08 …
    OK, message successfully sent
    Checking for mode switch after 2 seconds settling time …
    Original device can’t be accessed anymore. Good.
    Found a new device in target mode or class

    Mode switch was successful. Bye!

  • nik_1

    O merge daca instalez wine ? sa il rulez de pe wine ? ai incercat ?

  • admin

    modurile de conectare de care vorbesc ei sunt evdo si cdma1x
    din ceea ce stiu eu modul de operare la conectare este setat automat dupa serviciul suportat – adica in acoperire city este evdo, de altfel nu cred ca romtelecom sa suporte cdma1x
    totusi singura metoda prin care sa te convingi de problema este aplicatia lor de pe win – acolo ai afisat semnalul si modul in care se conecteaza, si atunci abea poti sa le dai cu el in cap.

    p.s. nu merge pe wine

  • nik_1

    Ok , o sa-l incerc de pe un win de la altcineva

  • nik_1

    In Virtualbox daca pun win merge ?
    Nu am gasit pe nimeni disponibil sa fac un test pe un win.

  • nik_1

    Am dat iar un test dupa acea reclamatie si aveam 0.52
    Am incercat si cu win prin Virtualbox , nu merge , el merge foarte bine asa , sunt convins ca de la ei a fost viteza mica.

Add reply