1

если заюзать поисковики, то инет такими темами буквально кишит.. но один фиг наткнулся на стенку.

Суть проблемы: Имеется сдма-модем AnyData ADU-510A, пытаюсь настроить его под мандривой.  сборка 2010 spring, в репозитории на установочном диске имеется не особо свежий usb_modeswitch, но пробовал и последнюю версию(1.1.4).
Особенность этих модемов заключается в том, что при подключении к usb-порту они изначально определяются как флешка/сд-ром с дровами под винду внутри. Лишь только при наличии этого драйвера в системе, модем переключается в режим именно модема и работает без нареканий. Но это под виндой. В линуксе же дефолтные виндовые дрова, само собой, применить не получится и модем монтируется как cd-rom с виндовыми драйверами.
usb_modeswitch должна переключать девайс в режим модема под линем. тут все вроде проходит без проблем, но мандривовская kppp звонилка после опроса модема висит в состоянии "инициализация модема". на этом и застрял.

результат установки usb_modeswitch:

+ открыть спойлер

[root@Linux_inet anydata]# cd usb-modeswitch-1.1.4
[root@Linux_inet usb-modeswitch-1.1.4]# make install
install -D --mode=755 usb_modeswitch /usr/sbin/usb_modeswitch
install -D --mode=755 usb_modeswitch.tcl /usr/sbin/usb_modeswitch_dispatcher
install -D --mode=755 usb_modeswitch.sh /lib/udev/usb_modeswitch
install -D --mode=644 usb_modeswitch.conf /etc/usb_modeswitch.conf
install -D --mode=644 usb_modeswitch.1 /usr/share/man/man1/usb_modeswitch.1
[root@Linux_inet usb-modeswitch-1.1.4]# cd ../usb-modeswitch-data-20100826
[root@Linux_inet usb-modeswitch-data-20100826]# make install
install -d /etc/usb_modeswitch.d
install -D --mode=644 40-usb_modeswitch.rules /lib/udev/rules.d/40-usb_modeswitch.rules
install --mode=644 -t /etc/usb_modeswitch.d ./usb_modeswitch.d/*
if [ -f /etc/issue ]; then \
                if [ -n `which udevadm 2>/dev/null` ]; then \
                        UDEVADM=`which udevadm`; \
                        UDEVADM_VER=`$UDEVADM -V 2>/dev/null`; \
                        if [ -z $UDEVADM_VER ]; then \
                                UDEVADM_VER=`$UDEVADM --version 2>/dev/null`; \
                        fi; \
                        if [ $UDEVADM_VER -gt 127 ]; then \
                                $UDEVADM control --reload-rules; \
                        else \
                                $UDEVADM control --reload_rules; \
                        fi \
                elif [ `which udevcontrol 2>/dev/null` ]; then \
                `which udevcontrol` reload_rules; \
                fi \
        fi
[root@Linux_inet usb-modeswitch-data-20100826]#

переключаю режимы:

+ открыть спойлер

/sbin/usb_modeswitch -v 05c6 -p 1000 -V 16d5 -P 6502 -m 0x00000008 -M 5553424328932a86000000000000061b000000020000000000000000000000

в общем, с удовольствием пообщался бы с людьми, имеющими успешный опыт настройки anydata модемов под линем. если такие имеются, отпишитесь.

доп.инфа:

uname:

+ открыть спойлер

Linux Linux_inet.D26 2.6.33.5-desktop-2mnb #1 SMP Thu Jun 17 21:30:10 UTC 2010 i686 i686 i386 GNU/Linux

ifconfig:

+ открыть спойлер

eth0      Link encap:Ethernet  HWaddr 00:1C:C0:B8:C4:62 
          inet addr:10.xx.xx.xx  Bcast:10.xx.xx.xx  Mask:255.255.255.128
          inet6 addr: fe80::21c:c0ff:feb8:c462/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:93772 errors:0 dropped:0 overruns:0 frame:0
          TX packets:106156 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7820422 (7.4 MiB)  TX bytes:45679676 (43.5 MiB)
          Interrupt:28 Base address:0x6000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:39638 errors:0 dropped:0 overruns:0 frame:0
          TX packets:39638 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3314160 (3.1 MiB)  TX bytes:3314160 (3.1 MiB)

lsusb до смены режима:

+ открыть спойлер

Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 05c6:1000 Qualcomm, Inc.
Bus 003 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 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lsusb после смены режима:

+ открыть спойлер

Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 16d5:6502 AnyDATA Corporation
Bus 003 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 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

usb_switch на только что подключенный модем:

+ открыть спойлер

Taking all parameters from the command line

* usb_modeswitch: handle USB devices with multiple modes
* Version 1.1.4 (C) Josua Dietze 2010
* Based on libusb0 (0.1.12 and above)

! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x05c6
DefaultProduct= 0x1000
TargetVendor=   0x16d5
TargetProduct=  0x6502
TargetClass=    not set
TargetProductList=""

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
MessageEndpoint=0x08
MessageContent="5553424328932a86000000000000061b000000020000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00

InquireDevice enabled (default)
Success check disabled
System integration mode disabled


Looking for target devices ...
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 05c6:1000
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0002
No devices in target mode or class found
Looking for default devices ...
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 05c6:1000
   found matching vendor ID
   found matching product ID
   adding device
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0002
Found devices in default mode or class (1)
Accessing device 007 on bus 001 ...
Using endpoints 0x08 (out) and 0x87 (in)
Using endpoints 0x08 (out) and 0x87 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
OK, driver found ("dummy")
OK, driver "dummy" detached

SCSI inquiry data (for identification)
-------------------------
  Vendor String: AnyDATA
   Model String: CD-ROM         
Revision String: 1.00
-------------------------

USB description data (for identification)
-------------------------
Manufacturer: AnyDATA Corporation
     Product: USB MMC Storage
  Serial No.: 000000000002
-------------------------
Setting up communication with interface 0 ...
Using endpoint 0x08 for message sending ...
Trying to send message 1 to endpoint 0x08 ...
OK, message successfully sent
Resetting response endpoint 0x87
Error resetting endpoint: -34
Resetting message endpoint 0x08
Error resetting endpoint: -34
Device is gone, skipping any further commands
-> Run lsusb to note any changes. Bye.

usb_modeswitch повторно, после смены режима

+ открыть спойлер

Taking all parameters from the command line

* usb_modeswitch: handle USB devices with multiple modes
* Version 1.1.4 (C) Josua Dietze 2010
* Based on libusb0 (0.1.12 and above)

! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x05c6
DefaultProduct= 0x1000
TargetVendor=   0x16d5
TargetProduct=  0x6502
TargetClass=    not set
TargetProductList=""

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
MessageEndpoint=0x08
MessageContent="5553424328932a86000000000000061b000000020000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00

InquireDevice enabled (default)
Success check disabled
System integration mode disabled


Looking for target devices ...
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 16d5:6502
   found matching vendor ID
   found matching product ID
   adding device
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0002
Found devices in target mode or class (1)
Looking for default devices ...
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 16d5:6502
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0002
No devices in default mode or class found. Nothing to do. Bye.

итак, суть проблемы такова: судя по реакции usb_modeswitch режим модема меняет успешно и без проблем.. почему в таком случае kppp не может адекватно инициализировать модем?

зы. options usb-storage option_zero_cd=2 в modprobe.conf прописан.

ззы. видел схожие темы на форуме. внимательно их прочитал и следовал инструкциям... но успешного результата не добился.

2

А зачем Вы usb_modeswitch из исходников ставили?Нужно было с репозиториев установить.

Mageia4, KDE  4.11.4.

3

Gnom пишет:

А зачем Вы usb_modeswitch из исходников ставили?Нужно было с репозиториев установить.

естественно сперва пробовал тот, который шел в дистрибутиве. но там версия 0.9.6(вроде). думал, что установка новой версии поможет решить проблему. пробовал по-разному: и удаляя предыдущую версию, через "установку пакетов", и ставя "поверх"(т.е. без предварительной деинсталляции, как было рекомендовано разработчиком).

4

Я с репов ставил usb_modeswitch1.1.1-1mdv2010.1,а Вы попробуйте модем через "сеть и интернет " настроить,это находится в настройках компьютера.

Mageia4, KDE  4.11.4.

5

Gnom пишет:

Я с репов ставил usb_modeswitch1.1.1-1mdv2010.1,а Вы попробуйте модем через "сеть и интернет " настроить,это находится в настройках компьютера.

пробовал. если настраивать конкретно 3g-соединение, то все обламывается еще на процессе проверки пин-кода. выдается ошибка "проверьте сим-карту". не зависимо от того, включена проверка пин-кода на симке или нет.

при создании простого модемного подключения(по телефонной линии), с целью в дальнейшем звонить через kppp подключение нормально создается, но через иконку в трее его поднять не получается.
посему пытаюсь использовать kppp: выбираю созданное подключение, в качестве модема устройство /dev/ttyS0 (пробовал ln /dev/ttyS0 /dev/modem и потом выбирать /dev/modem - эффект тот же, т.е. нулевой) - в итоге информационная строка в kppp меняется в следующем порядке: поиск модема - модем готов - инициализация модема. и на последнем этапе замирает, до нажатия на "отмена".

6

djskel пишет:

в качестве модема устройство /dev/ttyS0 (пробовал ln /dev/ttyS0 /dev/modem и потом выбирать /dev/modem - эффект тот же, т.е. нулевой)

Должен модем появится на устройстве /dev/ttyUSB0
покажите

 Консоль:
dmesg|grep usb
при подключенном модеме.
и вот эти две команды
 Консоль:
ls /dev/ttyUSB*
ls /dev/ttyACM*

Выполнять все команды от root.

djskel пишет:

пробовал. если настраивать конкретно 3g-соединение, то все обламывается еще на процессе проверки пин-кода. выдается ошибка "проверьте сим-карту". не зависимо от того, включена проверка пин-кода на симке или нет.

Пробуйте как Аналоговый модем

Mageia4, KDE  4.11.4.

7

[root@Linux_inet skel]# dmesg | grep usb

+ открыть спойлер

usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: UHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.33.5-desktop-2mnb uhci_hcd
usb usb1: SerialNumber: 0000:00:1d.0
usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: UHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.33.5-desktop-2mnb uhci_hcd
usb usb2: SerialNumber: 0000:00:1d.1
usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: UHCI Host Controller
usb usb3: Manufacturer: Linux 2.6.33.5-desktop-2mnb uhci_hcd
usb usb3: SerialNumber: 0000:00:1d.2
usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: UHCI Host Controller
usb usb4: Manufacturer: Linux 2.6.33.5-desktop-2mnb uhci_hcd
usb usb4: SerialNumber: 0000:00:1d.3
usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb5: Product: EHCI Host Controller
usb usb5: Manufacturer: Linux 2.6.33.5-desktop-2mnb ehci_hcd
usb usb5: SerialNumber: 0000:00:1d.7
usb 1-1: new full speed USB device using uhci_hcd and address 2
usb 1-1: New USB device found, idVendor=05c6, idProduct=1000
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: USB MMC Storage
usb 1-1: Manufacturer: AnyDATA Corporation
usb 1-1: SerialNumber: 000000000002
scsi4 : usb-storage 1-1:1.0
usbcore: registered new interface driver usb-storage
usb 1-1: reset full speed USB device using uhci_hcd and address 2
usb 1-1: reset full speed USB device using uhci_hcd and address 2
usb 1-1: reset full speed USB device using uhci_hcd and address 2
usb 1-1: reset full speed USB device using uhci_hcd and address 2

[root@Linux_inet skel]# ls /dev/ttyUSB*
/dev/ttyUSB0  /dev/ttyUSB1  /dev/ttyUSB2
[root@Linux_inet skel]# ls /dev/ttyACM*
ls: невозможно получить доступ к /dev/ttyACM*: Нет такого файла или каталога

так же вот полностью лог при подключениии модема:

+ открыть спойлер

[root@Linux_inet skel]# tail -f /var/log/messages
Nov  8 09:52:38 Linux_inet ntpd[2574]: Listening on interface #1 wildcard, ::#123 Disabled
Nov  8 09:52:38 Linux_inet ntpd[2574]: Listening on interface #2 lo, ::1#123 Enabled
Nov  8 09:52:38 Linux_inet ntpd[2574]: Listening on interface #3 eth0, fe80::21c:c0ff:feb8:c462#123 Enabled
Nov  8 09:52:38 Linux_inet ntpd[2574]: Listening on interface #4 lo, 127.0.0.1#123 Enabled
Nov  8 09:52:38 Linux_inet ntpd[2574]: Listening on interface #5 eth0, 10.48.26.77#123 Enabled
Nov  8 09:52:38 Linux_inet ntpd[2574]: kernel time sync status 2040
Nov  8 09:52:38 Linux_inet ntpd[2574]: frequency initialized 0.000 PPM from /var/lib/ntp/drift
Nov  8 09:52:40 Linux_inet ntpd_initres[2596]: host name not found: 0.ru.pool.ntp.org
Nov  8 09:52:40 Linux_inet ntpd_initres[2596]: host name not found: 1.ru.pool.ntp.org
Nov  8 09:52:40 Linux_inet ntpd_initres[2596]: host name not found: 2.ru.pool.ntp.org
Nov  8 09:53:29 Linux_inet kernel: usb 1-1: new full speed USB device using uhci_hcd and address 2
Nov  8 09:53:30 Linux_inet kernel: usb 1-1: New USB device found, idVendor=05c6, idProduct=1000
Nov  8 09:53:30 Linux_inet kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov  8 09:53:30 Linux_inet kernel: usb 1-1: Product: USB MMC Storage
Nov  8 09:53:30 Linux_inet kernel: usb 1-1: Manufacturer: AnyDATA Corporation
Nov  8 09:53:30 Linux_inet kernel: usb 1-1: SerialNumber: 000000000002
Nov  8 09:53:30 Linux_inet kernel: Initializing USB Mass Storage driver...
Nov  8 09:53:30 Linux_inet kernel: scsi4 : usb-storage 1-1:1.0
Nov  8 09:53:30 Linux_inet kernel: usbcore: registered new interface driver usb-storage
Nov  8 09:53:30 Linux_inet kernel: USB Mass Storage support registered.
Nov  8 09:53:35 Linux_inet kernel: scsi 4:0:0:0: CD-ROM            AnyDATA  CD-ROM           1.00 PQ: 0 ANSI: 2
Nov  8 09:53:35 Linux_inet kernel: sr1: scsi3-mmc drive: 297x/297x
Nov  8 09:53:35 Linux_inet kernel: sr 4:0:0:0: Attached scsi generic sg2 type 5
Nov  8 09:53:35 Linux_inet kernel: sr1: CDROM (ioctl) error, command: Xpwrite, Read disk info 51 00 00 00 00 00 00 00 02 00
Nov  8 09:53:35 Linux_inet kernel: sr: Sense Key : Hardware Error [current]
Nov  8 09:53:35 Linux_inet kernel: sr: Add. Sense: No additional sense information
Nov  8 09:53:35 Linux_inet kernel: sr1: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00
Nov  8 09:53:35 Linux_inet kernel: sr: Sense Key : Hardware Error [current]
Nov  8 09:53:35 Linux_inet kernel: sr: Add. Sense: No additional sense information
Nov  8 09:53:35 Linux_inet kernel: sr1: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00
Nov  8 09:53:35 Linux_inet kernel: sr: Sense Key : Hardware Error [current]
Nov  8 09:53:35 Linux_inet kernel: sr: Add. Sense: No additional sense information
Nov  8 09:53:35 Linux_inet kernel: sr1: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00
Nov  8 09:53:35 Linux_inet kernel: sr: Sense Key : Hardware Error [current]
Nov  8 09:53:35 Linux_inet kernel: sr: Add. Sense: No additional sense information
Nov  8 09:53:35 Linux_inet kernel: sr1: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00
Nov  8 09:53:35 Linux_inet kernel: sr: Sense Key : Hardware Error [current]
Nov  8 09:53:35 Linux_inet kernel: sr: Add. Sense: No additional sense information
Nov  8 09:53:35 Linux_inet kernel: sr1: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00
Nov  8 09:53:35 Linux_inet kernel: sr: Sense Key : Hardware Error [current]
Nov  8 09:53:35 Linux_inet kernel: sr: Add. Sense: No additional sense information
Nov  8 09:53:36 Linux_inet kernel: sr 4:0:0:0: [sr1] Media Changed
Nov  8 09:53:36 Linux_inet kernel: sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Nov  8 09:53:36 Linux_inet kernel: sr 4:0:0:0: [sr1] Sense Key : Unit Attention [current]
Nov  8 09:53:36 Linux_inet kernel: sr 4:0:0:0: [sr1] Add. Sense: No additional sense information
Nov  8 09:53:36 Linux_inet kernel: sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 59 f0 00 00 08 00
Nov  8 09:53:36 Linux_inet kernel: end_request: I/O error, dev sr1, sector 23024
Nov  8 09:53:36 Linux_inet kernel: Buffer I/O error on device sr1, logical block 2878
Nov  8 09:53:38 Linux_inet kernel: usb 1-1: reset full speed USB device using uhci_hcd and address 2
Nov  8 09:53:38 Linux_inet kernel: sr1: CDROM (ioctl) error, command: Xpwrite, Read disk info 51 00 00 00 00 00 00 00 02 00
Nov  8 09:53:38 Linux_inet kernel: sr: Sense Key : Hardware Error [current]
Nov  8 09:53:38 Linux_inet kernel: sr: Add. Sense: No additional sense information
Nov  8 09:53:38 Linux_inet kernel: sr1: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00
Nov  8 09:53:38 Linux_inet kernel: sr: Sense Key : Hardware Error [current]
Nov  8 09:53:38 Linux_inet kernel: sr: Add. Sense: No additional sense information
Nov  8 09:53:38 Linux_inet usb_modeswitch: switching 05c6:1000 (AnyDATA Corporation: USB MMC Storage)
Nov  8 09:53:38 Linux_inet kernel: sr1: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00
Nov  8 09:53:38 Linux_inet kernel: sr: Sense Key : Hardware Error [current]
Nov  8 09:53:38 Linux_inet kernel: sr: Add. Sense: No additional sense information
Nov  8 09:53:38 Linux_inet kernel: scsi 4:0:0:0: rejecting I/O to dead device
Nov  8 09:53:38 Linux_inet kernel: scsi 4:0:0:0: rejecting I/O to dead device
Nov  8 09:53:38 Linux_inet kernel: usb 1-1: USB disconnect, address 2
Nov  8 09:53:40 Linux_inet kernel: usb 1-1: new full speed USB device using uhci_hcd and address 3
Nov  8 09:53:40 Linux_inet kernel: usb 1-1: New USB device found, idVendor=16d5, idProduct=6502
Nov  8 09:53:40 Linux_inet kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Nov  8 09:53:40 Linux_inet kernel: usb 1-1: Product: AnyDATA CDMA Products
Nov  8 09:53:40 Linux_inet kernel: usb 1-1: Manufacturer: AnyDATA Corporation
Nov  8 09:53:40 Linux_inet kernel: scsi5 : usb-storage 1-1:1.3
Nov  8 09:53:40 Linux_inet kernel: usbcore: registered new interface driver usbserial
Nov  8 09:53:40 Linux_inet kernel: USB Serial support registered for generic
Nov  8 09:53:40 Linux_inet kernel: usbcore: registered new interface driver usbserial_generic
Nov  8 09:53:40 Linux_inet kernel: usbserial: USB Serial Driver core
Nov  8 09:53:40 Linux_inet kernel: USB Serial support registered for GSM modem (1-port)
Nov  8 09:53:40 Linux_inet kernel: option 1-1:1.0: GSM modem (1-port) converter detected
Nov  8 09:53:40 Linux_inet kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
Nov  8 09:53:40 Linux_inet kernel: option 1-1:1.1: GSM modem (1-port) converter detected
Nov  8 09:53:40 Linux_inet kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
Nov  8 09:53:40 Linux_inet kernel: option 1-1:1.2: GSM modem (1-port) converter detected
Nov  8 09:53:40 Linux_inet kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
Nov  8 09:53:40 Linux_inet kernel: usbcore: registered new interface driver option
Nov  8 09:53:40 Linux_inet kernel: option: v0.7.2:USB Driver for GSM modems
Nov  8 09:53:40 Linux_inet usb_modeswitch: switched to 16d5:6502 (AnyDATA Corporation: AnyDATA CDMA Products)
Nov  8 09:53:42 Linux_inet ntpd_initres[2596]: host name not found: 0.ru.pool.ntp.org
Nov  8 09:53:42 Linux_inet ntpd_initres[2596]: host name not found: 1.ru.pool.ntp.org
Nov  8 09:53:42 Linux_inet ntpd_initres[2596]: host name not found: 2.ru.pool.ntp.org
Nov  8 09:53:45 Linux_inet kernel: scsi 5:0:0:0: CD-ROM            AnyDATA  CD-ROM           1.00 PQ: 0 ANSI: 2
Nov  8 09:53:45 Linux_inet kernel: sr1: scsi3-mmc drive: 297x/297x
Nov  8 09:53:45 Linux_inet kernel: sr 5:0:0:0: Attached scsi generic sg2 type 5
Nov  8 09:53:45 Linux_inet kernel: sr1: CDROM (ioctl) error, command: Xpwrite, Read disk info 51 00 00 00 00 00 00 00 02 00
Nov  8 09:53:45 Linux_inet kernel: sr: Sense Key : Hardware Error [current]
Nov  8 09:53:45 Linux_inet kernel: sr: Add. Sense: No additional sense information
Nov  8 09:53:45 Linux_inet kernel: sr1: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00
Nov  8 09:53:45 Linux_inet kernel: sr: Sense Key : Hardware Error [current]
Nov  8 09:53:45 Linux_inet kernel: sr: Add. Sense: No additional sense information
Nov  8 09:53:45 Linux_inet kernel: sr1: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00
Nov  8 09:53:45 Linux_inet kernel: sr: Sense Key : Hardware Error [current]
Nov  8 09:53:45 Linux_inet kernel: sr: Add. Sense: No additional sense information
Nov  8 09:53:45 Linux_inet kernel: sr1: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00
Nov  8 09:53:45 Linux_inet kernel: sr: Sense Key : Hardware Error [current]
Nov  8 09:53:45 Linux_inet kernel: sr: Add. Sense: No additional sense information
Nov  8 09:53:45 Linux_inet kernel: sr1: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00
Nov  8 09:53:45 Linux_inet kernel: sr: Sense Key : Hardware Error [current]
Nov  8 09:53:45 Linux_inet kernel: sr: Add. Sense: No additional sense information
Nov  8 09:53:45 Linux_inet kernel: sr1: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00
Nov  8 09:53:45 Linux_inet kernel: sr: Sense Key : Hardware Error [current]
Nov  8 09:53:45 Linux_inet kernel: sr: Add. Sense: No additional sense information
Nov  8 09:53:46 Linux_inet kernel: sr 5:0:0:0: [sr1] Media Changed
Nov  8 09:53:46 Linux_inet kernel: sr 5:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Nov  8 09:53:46 Linux_inet kernel: sr 5:0:0:0: [sr1] Sense Key : Unit Attention [current]
Nov  8 09:53:46 Linux_inet kernel: sr 5:0:0:0: [sr1] Add. Sense: No additional sense information
Nov  8 09:53:46 Linux_inet kernel: sr 5:0:0:0: [sr1] CDB: Read(10): 28 00 00 00 59 f0 00 00 08 00
Nov  8 09:53:46 Linux_inet kernel: end_request: I/O error, dev sr1, sector 23024
Nov  8 09:53:46 Linux_inet kernel: Buffer I/O error on device sr1, logical block 2878
Nov  8 09:53:48 Linux_inet kernel: option: option_instat_callback: error -108
Nov  8 09:53:48 Linux_inet kernel: option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Nov  8 09:53:48 Linux_inet kernel: option 1-1:1.0: device disconnected
Nov  8 09:53:48 Linux_inet kernel: option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Nov  8 09:53:48 Linux_inet kernel: option 1-1:1.1: device disconnected
Nov  8 09:53:48 Linux_inet kernel: option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
Nov  8 09:53:48 Linux_inet kernel: option 1-1:1.2: device disconnected
Nov  8 09:53:48 Linux_inet kernel: usb 1-1: reset full speed USB device using uhci_hcd and address 3
Nov  8 09:53:48 Linux_inet kernel: option 1-1:1.2: GSM modem (1-port) converter detected
Nov  8 09:53:48 Linux_inet kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
Nov  8 09:53:48 Linux_inet kernel: option 1-1:1.1: GSM modem (1-port) converter detected
Nov  8 09:53:48 Linux_inet kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
Nov  8 09:53:48 Linux_inet kernel: option 1-1:1.0: GSM modem (1-port) converter detected
Nov  8 09:53:48 Linux_inet kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
Nov  8 09:53:48 Linux_inet kernel: option: option_instat_callback: error -108
Nov  8 09:53:48 Linux_inet kernel: option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
Nov  8 09:53:48 Linux_inet kernel: option 1-1:1.0: device disconnected
Nov  8 09:53:48 Linux_inet kernel: option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Nov  8 09:53:48 Linux_inet kernel: option 1-1:1.1: device disconnected
Nov  8 09:53:48 Linux_inet kernel: option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Nov  8 09:53:48 Linux_inet kernel: option 1-1:1.2: device disconnected
Nov  8 09:53:48 Linux_inet kernel: usb 1-1: reset full speed USB device using uhci_hcd and address 3
Nov  8 09:53:48 Linux_inet kernel: option 1-1:1.2: GSM modem (1-port) converter detected
Nov  8 09:53:48 Linux_inet kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
Nov  8 09:53:48 Linux_inet kernel: option 1-1:1.1: GSM modem (1-port) converter detected
Nov  8 09:53:48 Linux_inet kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
Nov  8 09:53:48 Linux_inet kernel: option 1-1:1.0: GSM modem (1-port) converter detected
Nov  8 09:53:48 Linux_inet kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
Nov  8 09:53:48 Linux_inet kernel: option: option_instat_callback: error -108
Nov  8 09:53:48 Linux_inet kernel: option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
Nov  8 09:53:48 Linux_inet kernel: option 1-1:1.0: device disconnected
Nov  8 09:53:48 Linux_inet kernel: option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Nov  8 09:53:48 Linux_inet kernel: option 1-1:1.1: device disconnected
Nov  8 09:53:48 Linux_inet kernel: option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Nov  8 09:53:48 Linux_inet kernel: option 1-1:1.2: device disconnected
Nov  8 09:53:48 Linux_inet kernel: usb 1-1: reset full speed USB device using uhci_hcd and address 3
Nov  8 09:53:48 Linux_inet kernel: option 1-1:1.2: GSM modem (1-port) converter detected
Nov  8 09:53:48 Linux_inet kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
Nov  8 09:53:48 Linux_inet kernel: option 1-1:1.1: GSM modem (1-port) converter detected
Nov  8 09:53:48 Linux_inet kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
Nov  8 09:53:48 Linux_inet kernel: option 1-1:1.0: GSM modem (1-port) converter detected
Nov  8 09:53:48 Linux_inet kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
Nov  8 09:53:48 Linux_inet kernel: option: option_instat_callback: error -108
Nov  8 09:53:48 Linux_inet kernel: option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
Nov  8 09:53:48 Linux_inet kernel: option 1-1:1.0: device disconnected
Nov  8 09:53:48 Linux_inet kernel: option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Nov  8 09:53:48 Linux_inet kernel: option 1-1:1.1: device disconnected
Nov  8 09:53:48 Linux_inet kernel: option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Nov  8 09:53:48 Linux_inet kernel: option 1-1:1.2: device disconnected
Nov  8 09:53:48 Linux_inet kernel: usb 1-1: reset full speed USB device using uhci_hcd and address 3
Nov  8 09:53:48 Linux_inet kernel: option 1-1:1.2: GSM modem (1-port) converter detected
Nov  8 09:53:48 Linux_inet kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
Nov  8 09:53:48 Linux_inet kernel: option 1-1:1.1: GSM modem (1-port) converter detected
Nov  8 09:53:48 Linux_inet kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
Nov  8 09:53:48 Linux_inet kernel: option 1-1:1.0: GSM modem (1-port) converter detected
Nov  8 09:53:48 Linux_inet kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
Nov  8 09:53:49 Linux_inet kernel: sr1: CDROM (ioctl) error, command: Xpwrite, Read disk info 51 00 00 00 00 00 00 00 02 00
Nov  8 09:53:49 Linux_inet kernel: sr: Sense Key : Hardware Error [current]
Nov  8 09:53:49 Linux_inet kernel: sr: Add. Sense: No additional sense information
Nov  8 09:53:49 Linux_inet kernel: sr1: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00
Nov  8 09:53:49 Linux_inet kernel: sr: Sense Key : Hardware Error [current]
Nov  8 09:53:49 Linux_inet kernel: sr: Add. Sense: No additional sense information
Nov  8 09:53:49 Linux_inet kernel: sr1: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00
Nov  8 09:53:49 Linux_inet kernel: sr: Sense Key : Hardware Error [current]
Nov  8 09:53:49 Linux_inet kernel: sr: Add. Sense: No additional sense information
Nov  8 09:53:49 Linux_inet kernel: sr1: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00
Nov  8 09:53:49 Linux_inet kernel: sr: Sense Key : Hardware Error [current]
Nov  8 09:53:49 Linux_inet kernel: sr: Add. Sense: No additional sense information
Nov  8 09:53:49 Linux_inet kernel: sr1: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00
Nov  8 09:53:49 Linux_inet kernel: sr: Sense Key : Hardware Error [current]
Nov  8 09:53:49 Linux_inet kernel: sr: Add. Sense: No additional sense information

8

хм... после команды

 Консоль:
ln /dev/ttyUSB2 /dev/modem
модем стал соединяться, если в качестве устройства модема в настройках kppp выбрать /dev/modem.. не было доступа к /dev/ttyUSB2 не от root?

но сейчас ситуация такая: идет набор номера, происходит вход в сеть.. в свойствах соединения видно, что выдается внешний айпишник, но нет даже пинга до интернет-ресурсов(на скрине видна консоль и результат ping ya.ru).

http://s010.radikal.ru/i311/1011/6f/66ac06e40301.jpg

http://s016.radikal.ru/i337/1011/a0/e1902e36f44e.jpg

9

djskel, Отключи фаерволл,и посмотри пойдет ли пинг.

Mageia4, KDE  4.11.4.

10

Gnom, решил проблему изменением метрик в настройках подключений.. в модемном подключении поставил ее значение ниже, чем для локалки.

сейчас все нормально цепляется, но каждый раз при подключении модема приходится вручную создавать ссылку с /dev/ttyUSB2 или /dev/ttyUSB3 на /dev/modem. что нужно сделать, чтобы модем виделся на /dev/ttyUSB* ?