вот такой вот
http://cdn.comfy.ua/media/catalog/product/cache/4/thumbnail/279x221/9df78eab3...
http://img29.olx.ua/images_slandocomua/271210822_3_644x461_3g-usb-modem-mts-m...
дистр fedora23, как устройство он обнаруживается
[root@localhost ~]# lsusb
...
Bus 003 Device 017: ID 1bbb:f000 T & A Mobile Phones
...
[root@localhost ~]# usb-devices
...
T: Bus=03 Lev=02 Prnt=07 Port=03 Cnt=03 Dev#= 18 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1bbb ProdID=0000 Rev=00.00
S: Manufacturer=USBModem
S: Product=HSPA Data Card
S: SerialNumber=1234567890ABCDEF
C: #Ifs= 4 Cfg#= 1 Atr=a0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#= 2 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
I: If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
....
[root@localhost ~]# ls -la /dev/ttyUSB*
-rw-r--r--. 1 root root 0 июл 12 15:45 /dev/ttyUSB0
-rw-r--r--. 1 root root 0 июл 12 15:45 /dev/ttyUSB1
-rw-r--r--. 1 root root 0 июл 12 15:45 /dev/ttyUSB2
-rw-r--r--. 1 root root 62 июл 12 16:16 /dev/ttyUSB3
-rw-r--r--. 1 root root 0 июл 12 15:45 /dev/ttyUSB4
[root@localhost ~]#
[root@localhost ModemManager-1.5.993]# dmesg | grep GSM
[751204.578081] option 3-2.4:1.0: GSM modem (1-port) converter detected
[751204.578167] usb 3-2.4: GSM modem (1-port) converter now attached to ttyUSB0
[751204.578274] option 3-2.4:1.1: GSM modem (1-port) converter detected
[751204.578339] usb 3-2.4: GSM modem (1-port) converter now attached to ttyUSB1
[751204.578642] option 3-2.4:1.3: GSM modem (1-port) converter detected
[751204.580664] usb 3-2.4: GSM modem (1-port) converter now attached to ttyUSB2
[root@localhost ModemManager-1.5.993]#
девайс третий, значит сидит на /dev/ttyUSB3 смотрим что за модули в ядре загружены
[root@localhost ~]# lsmod | grep usb
usb_wwan 20480 1 option
usb_storage 65536 3 uas
btusb 45056 0
btrtl 16384 1 btusb
btbcm 16384 1 btusb
btintel 16384 1 btusb
bluetooth 491520 41 bnep,btbcm,btrtl,btusb,rfcomm,btintel
[root@localhost ~]#
настраиваем usb_modeswitch
[root@localhost ~]# cat /etc/usb_modeswitch.conf
########################################################
# Alcatel X060
DefaultVendor= 0x1bbb
DefaultProduct= 0xf000
TargetVendor= 0x1bbb
TargetProduct= 0x0000
# only for reference
# MessageEndpoint=0x01
MessageContent="55534243123456788000000080000606f50402527000000000000000000000"
########################################################
[root@localhost ~]#
[root@localhost ModemManager-1.5.993]# usb_modeswitch -c /etc/usb_modeswitch.conf
Look for target devices ...
product ID matched
Found devices in target mode or class (1)
Look for default devices ...
No devices in default mode found. Nothing to do. Bye!
[root@localhost ModemManager-1.5.993]#
настраиваем wvdial и запускаем
[root@localhost ModemManager-1.5.993]# cat /etc/wvdial.conf
[Dialer Defaults]
Modem = /dev/ttyUSB3
Baud = 3600000
#Init1 = ATZ
Init1 = AT+CGDCONT=1,"IP","internet.mts.ru"
Phone = *99***1#
Username = mts
Password = mts
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 1
Compuserve = 0
Force Address =
Idle Seconds = 0
#DialMessage1 =
#DialMessage2 =
ISDN = 0
Auto DNS = 1
[root@localhost ModemManager-1.5.993]# wvdial
--> WvDial: Internet dialer version 1.61
--> Cannot open /dev/ttyUSB3: Inappropriate ioctl for device
--> Cannot open /dev/ttyUSB3: Inappropriate ioctl for device
--> Cannot open /dev/ttyUSB3: Inappropriate ioctl for device
[root@localhost ModemManager-1.5.993]#
что делать то? как модем подключить? Спасибо!