HUAWEI E1550

3G USB-модем HUAWEI E1550 можно ли подключить к OpenBSD ?
(возможно плохо искал, но не нашел ответа на этот вопрос)

Аватар пользователя alfss

dmesg покажи)

dmesg покажи)

Аватар пользователя wolf da

Вопрос в том

Вопрос в том надо ли его покупать.
Попробую найти модем и вывести dmesg .

Аватар пользователя alfss

вообше лучше

вообше лучше искать с rj-45 разъёмом - если конечно мы говорим про ADSL модемы.

Аватар пользователя wolf da

Мы говорим о 3G

Мы говорим о 3G USB-модем HUAWEI E1550
================================

OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007
deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 1.40GHz ("GenuineIntel" 686-class) 1.41 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
real mem = 536375296 (511MB)
avail mem = 511008768 (487MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/14/03, BIOS32 rev. 0 @ 0xfb040, SMBIOS rev. 2.2 @ 0xf0800 (40 entries)
bios0: vendor Award Software International, Inc. version "6.00 PG" date 10/14/2003
bios0: ABIT 6A69SA1B
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdf84
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/224 (12 entries)
pcibios0: PCI Exclusive IRQs: 10 11
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371SB ISA" rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc0000/0xf400 0xd0000/0x800 0xd1000/0x800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82850 Host" rev 0x02
ppb0 at pci0 dev 1 function 0 "Intel 82850/82860 AGP" rev 0x02
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "NVIDIA GeForce FX 5200" rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0x04
pci2 at ppb1 bus 2
xl0 at pci2 dev 1 function 0 "3Com 3c905C 100Base-TX" rev 0x78: irq 10, address 00:01:02:0c:18:0b
bmtphy0 at xl0 phy 24: Broadcom 3C905C internal PHY, rev. 7
xl1 at pci2 dev 3 function 0 "3Com 3c905C 100Base-TX" rev 0x78: irq 11, address 00:01:02:0c:1e:1e
bmtphy1 at xl1 phy 24: Broadcom 3C905C internal PHY, rev. 7
ichpcib0 at pci0 dev 31 function 0 "Intel 82801BA LPC" rev 0x04: 24-bit timer at 3579545Hz
pciide0 at pci0 dev 31 function 1 "Intel 82801BA IDE" rev 0x04: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0:
wd0: 16-sector PIO, LBA, 39205MB, 80293248 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <_NEC, CDRW/DVD CB1100A, TB01> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 31 function 2 "Intel 82801BA USB" rev 0x04: irq 11
ichiic0 at pci0 dev 31 function 3 "Intel 82801BA SMBus" rev 0x04: irq 10
iic0 at ichiic0
uhci1 at pci0 dev 31 function 4 "Intel 82801BA USB" rev 0x04: irq 10
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0:
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lm0 at isa0 port 0x290/8: W83627HF
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
usb0 at uhci0: USB revision 1.0
uhub0 at usb0: Intel UHCI root hub, rev 1.00/1.00, addr 1
usb1 at uhci1: USB revision 1.0
uhub1 at usb1: Intel UHCI root hub, rev 1.00/1.00, addr 1
biomask ff65 netmask ff65 ttymask ffe7
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
umass0 at uhub0 port 2 configuration 1 interface 0
umass0: HUAWEI Technology HUAWEI Mobile, rev 2.00/0.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets
cd1 at scsibus1 targ 1 lun 0: SCSI2 5/cdrom removable
umass1 at uhub0 port 2 configuration 1 interface 1
umass1: HUAWEI Technology HUAWEI Mobile, rev 2.00/0.00, addr 2
umass1: using SCSI over Bulk-Only
scsibus2 at umass1: 2 targets
sd0 at scsibus2 targ 1 lun 0: SCSI2 0/direct removable
sd0: drive offline
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a swap on wd0b dump on wd0b
wsdisplay0: screen 1 deleted
wsdisplay0: screen 1 added (80x25bf, vt100 emulation)
wsdisplay0: screen 2 deleted
wsdisplay0: screen 2 added (80x25bf, vt100 emulation)

Аватар пользователя ssh2

Использую пару

Использую пару таких устройств для телефонных нужд, но под Linux, вывод тамошнего lspci, кому-нибудь поможет?

Аватар пользователя alfss

работать не

Аватар пользователя wolf da

Стесняюсь

Стесняюсь спросить, почему ?
В 4.6 будет ?

Аватар пользователя ENcrypted

Looks like E1550 is based on

Looks like E1550 is based on Qualcomm chipset. This means it should be supported by umsm(4).
Try to add it to kernel, recompile, install and reboot.

Аватар пользователя dmitriyku

HUAWEI E1550

В версии 4.7 OpenBSD наконец-то распознается модем HUAWEI E1550 (ядро умолчальное).
Далее дело техники.

#cat /etc/ppp/ppp.conf
default:
set log Phase Chat LCP IPCP CCP tun command
disable ipv6cp
megafon:
set device /dev/cuaU0
set phone *99***1\#
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT OK-AT-OK ATE1Q0 OK \
AT+CGDCONT=1,\\\"IP\\\",\\\"internet\\\" \
OK \\dATDT\\T TIMEOUT 40 CONNECT"
set login
set logout "ABORT BUSY ABORT ERROR TIMEOUT 30 \
\"\" +++ATH OK-ATH-OK"
set authname mobile
set authkey internet
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 0.0.0.0
add default HISADDR
set speed 262144
enable dns
# вешать трубку, если в течение 6000 секунд по каналу не производится передача данных
set timeout 6000
# другие таймеры
set lqrperiod 5
set cd 5
set redial 30 10
# не пытаться сообщать о состоянии качества линии устройству на удаленном узле
disable lqr
# запретить любые попытки удаленного узла сообщать о качестве линии
deny lqr
# сообщает программе PPP о том, что как только модемы произведут соединение, она должна немедленно пытаться произвести настройку соединения
set openmode active
# проверка четности
set parity even
# включить контроль передачи данных
set ctsrts on
set ipcpretries 10 5

#cat /etc/ppp/ppp.linkup
megafon:
delete ALL
add default HISADDR

#cat /etc/ppp/ppp.linkdown
megafon:
delete ALL

# cat /etc/pf.conf
pass log all

# ppp -foreground megafon

# ifconfig -a
lo0: flags=8049 mtu 33200
priority: 0
groups: lo
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
ale0: flags=8843 mtu 1500
lladdr 00:22:15:ed:ee:36
priority: 0
media: Ethernet autoselect (none)
status: no carrier
inet 192.168.170.3 netmask 0xffffff00 broadcast 192.168.170.255
inet6 fe80::222:15ff:feed:ee36%ale0 prefixlen 64 scopeid 0x1
enc0: flags=0<> mtu 1536
priority: 0
pflog0: flags=141 mtu 33200
priority: 0
groups: pflog
tun0: flags=8051 mtu 1500
priority: 0
groups: tun egress
media: Ethernet autoselect
status: active
inet 172.16.215.187 --> 10.0.0.2 netmask 0xffffffff

# netstat -rn
Routing tables

Internet:
Destination Gateway Flags Refs Use Mtu Prio Iface
default 10.0.0.2 UGS 0 0 - 8 tun0
10.0.0.2 172.16.215.187 UH 1 0 1500 4 tun0
127/8 127.0.0.1 UGRS 0 0 33200 8 lo0
127.0.0.1 127.0.0.1 UH 1 0 33200 4 lo0
192.168.170/24 link#1 C 0 0 - 4 ale0
224/4 127.0.0.1 URS 0 0 33200 8 lo0

Работает, но на половину.
Проверял на GPRS. 3G не проверял, оно мне пока не доступно.

Половинчатость заключается в следующем:
(По показаниям tcpdump -ni pflog0
плюс показания systat states 1
плюс браузер firefox)
- Пинги проходят и по ip и по имени хоста (в последнем случае tcpdump дополнительно покажет обращение к dns-серверу).
- Запускаем firefox или любую другую программу работающую с http и ftp. Пишем в адресной строке, например, http://www.yandex.ru или любой другой сайт.
В статусной строке видим сначала "Поиск..." и тут же в tcpdump показывает обращение к dns. Находит успешно.
Далее в статусной строке пишется "Соединение", а tcpdump показывает коннект по порту 80. Коннектится видимо успешно, т.к. затем в статусной строке появляется надпись "Ожидание ответа", но данные в ответ не приходят.

Уже не знаю почему мне не возвращаются данные по http И ftp. Перечитал на несколько раз маны по ppp.conf. Перепробовал множество настроек.
Если подключаю модем в винде, то хожу по сайтам без проблем. Это значит оператор не виноват, он мой трафик не блокирует.
Пакетный фильтр тоже пропускает весь трафик.
Не могу понять кто блокирует мой http и ftp трафик, а остальной пропускает.

Аватар пользователя azzido

OpenBSD 4.7 (AZZIDO) #0: Mon

OpenBSD 4.7 (AZZIDO) #0: Mon Jul 5 22:24:41 KRAST 2010
root@x-windows.domain.lan:/usr/sys/arch/i386/compile/AZZIDO
cpu0: Intel(R) Celeron(R) CPU 2.00GHz ("GenuineIntel" 686-class) 2.03 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR
real mem = 939032576 (895MB)
avail mem = 901107712 (859MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 01/08/04, BIOS32 rev. 0 @ 0xfb230, SMBIOS rev. 2.3 @ 0xf0100 (42 entries)
bios0: vendor Award Software International, Inc. version "F1" date 01/08/2004
bios0: Gigabyte Technology Co., Ltd. 8IPE1000-G
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC
acpi0: wakeup devices SLPB(S5) HUB0(S4) USB0(S1) USB1(S1) USB2(S1) USB3(S1) USBE(S1) PCI0(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 100MHz
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (HUB0)
acpicpu0 at acpi0
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: SLPB
bios0: ROM list: 0xc0000/0xf800 0xd0000/0x8000!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82865G Host" rev 0x02
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0xe0000000, size 0x8000000
ppb0 at pci0 dev 1 function 0 "Intel 82865G AGP" rev 0x02
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "NVIDIA GeForce FX 5500" rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 29 function 0 "Intel 82801EB/ER USB" rev 0x02: apic 2 int 16 (irq 10)
uhci1 at pci0 dev 29 function 1 "Intel 82801EB/ER USB" rev 0x02: apic 2 int 19 (irq 11)
uhci2 at pci0 dev 29 function 2 "Intel 82801EB/ER USB" rev 0x02: apic 2 int 18 (irq 11)
uhci3 at pci0 dev 29 function 3 "Intel 82801EB/ER USB" rev 0x02: apic 2 int 16 (irq 10)
ehci0 at pci0 dev 29 function 7 "Intel 82801EB/ER USB2" rev 0x02: apic 2 int 23 (irq 6)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb1 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xc2
pci2 at ppb1 bus 2
bktr0 at pci2 dev 1 function 0 "Brooktree BT878" rev 0x11: apic 2 int 21 (irq 5)
bktr0: AVer Media TV/FM, Philips FR1216 PAL FM tuner.
radio0 at bktr0
"Brooktree BT878 Audio" rev 0x11 at pci2 dev 1 function 1 not configured
rl0 at pci2 dev 2 function 0 "Realtek 8139" rev 0x10: apic 2 int 22 (irq 12), address 00:19:cb:54:ea:f3
rlphy0 at rl0 phy 0: RTL internal PHY
pciide0 at pci2 dev 3 function 0 "CMD Technology SiI3512 SATA" rev 0x01: DMA
pciide0: using apic 2 int 16 (irq 10) for native-PCI interrupt
ichpcib0 at pci0 dev 31 function 0 "Intel 82801EB/ER LPC" rev 0x02
pciide1 at pci0 dev 31 function 2 "Intel 82801EB SATA" rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide1 channel 0 drive 0:
wd0: 16-sector PIO, LBA48, 476938MB, 976771055 sectors
wd1 at pciide1 channel 0 drive 1:
wd1: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
wd1(pciide1:0:1): using PIO mode 4, Ultra-DMA mode 6
ichiic0 at pci0 dev 31 function 3 "Intel 82801EB/ER SMBus" rev 0x02: apic 2 int 17 (irq 9)
iic0 at ichiic0
iic0: addr 0x4e 03=2d 04=2d 12=ff 13=0f 1a=01 words 00=0000 01=0000 02=002d 03=2d2d 04=2d00 05=0000 06=0000 07=0000
spdmem0 at iic0 addr 0x50: 256MB DDR SDRAM non-parity PC2700CL2.5
spdmem1 at iic0 addr 0x51: 256MB DDR SDRAM non-parity PC2700CL2.5
spdmem2 at iic0 addr 0x52: 256MB DDR SDRAM non-parity PC3200CL3.0
spdmem3 at iic0 addr 0x53: 128MB DDR SDRAM non-parity PC2100CL2.5
auich0 at pci0 dev 31 function 5 "Intel 82801EB/ER AC97" rev 0x02: apic 2 int 17 (irq 9), ICH5 AC97
ac97: codec id 0x414c4790 (Avance Logic ALC850 rev 0)
audio0 at auich0
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0:
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
it0 at isa0 port 0x2e/2: IT8712F rev 5, EC port 0x290
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
umass0 at uhub0 port 2 configuration 1 interface 0 "USB 2.0 USB Flash Drive" rev 2.00/11.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: SCSI0 0/direct removable
sd0: 1912MB, 512 bytes/sec, 3915776 sec total
umsm0 at uhub0 port 3 configuration 1 interface 0 "HUAWEI Technology HUAWEI Mobile" rev 2.00/0.00 addr 3
umsm1 at uhub0 port 3 configuration 1 interface 1 "HUAWEI Technology HUAWEI Mobile" rev 2.00/0.00 addr 3
uhidev0 at uhub2 port 2 configuration 1 interface 0 "Logitech USB Optical Mouse" rev 2.00/43.01 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
umsm0 detached
umsm1 detached
wsdisplay0: screen 1 deleted
wsdisplay0: screen 1 added (80x25bf, vt100 emulation)
wsdisplay0: screen 2 deleted
wsdisplay0: screen 2 added (80x25bf, vt100 emulation)
wsdisplay0: screen 3 deleted
wsdisplay0: screen 3 added (80x25bf, vt100 emulation)
wsdisplay0: screen 4 deleted
wsdisplay0: screen 4 added (80x25bf, vt100 emulation)
umsm0 at uhub0 port 3 configuration 1 interface 0 "HUAWEI Technologies HUAWEI Mobile Modem" rev 2.00/0.00 addr 3
ucom0 at umsm0
umsm1 at uhub0 port 3 configuration 1 interface 1 "HUAWEI Technologies HUAWEI Mobile Modem" rev 2.00/0.00 addr 3
ucom1 at umsm1
umass1 at uhub0 port 3 configuration 1 interface 2 "HUAWEI Technologies HUAWEI Mobile Modem" rev 2.00/0.00 addr 3
umass1: using SCSI over Bulk-Only
scsibus2 at umass1: 2 targets, initiator 0
cd0 at scsibus2 targ 1 lun 0: SCSI2 5/cdrom removable
umsm2 at uhub0 port 3 configuration 1 interface 3 "HUAWEI Technologies HUAWEI Mobile Modem" rev 2.00/0.00 addr 3
auich0: measured ac97 link rate at 48001 Hz, will use 48000 Hz

default:
set log Phase Chat LCP IPCP CCP tun command

mobail:
set device /dev/cuaU0
set phone *99#
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT OK-AT-OK ATE1Q0 OK \
AT+CGDCONT=1,\\\"IP\\\",\\\"internet.mts.ru\\\" \
OK \\dATDT\\T TIMEOUT 40 CONNECT"

set login
set logout "ABORT BUSY ABORT ERROR TIMEOUT 30 \ \"\" +++ATH OK-ATH-OK"
set authname mts
set authkey mts
set ifaddr 0.0.0.0/0 0.0.0.0/0 0.0.0.0/0
add default HISADDR
set speed 262144
enable dns
set timeout 180
set lqrperiod 5
set cd 5
set redial 30 10
disable lqr
deny lqr
set openmode active
set parity even
set ctsrts on
set ipcpretries 10 5

странно у меня вообще не хочет подключаться

кто не будь решил эту проблему….

Аватар пользователя wolf da

<<< Не получается настроить ppp и HUAWEI E1550 >>>

****************************************************
Не получается (наверное руки не туда смотрят)
Поставил OpenBSD 4.7.
Настроил ppp.conf, HUAWEI E1550 соединяется и связь рвется.

Вызываю ppp -ddial megafon

Мой ppp.conf
****************************************************
default:
set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION (built COMPILATIONDATE)

megafon:
set device /dev/cuaU0
set speed 460800

set dial "\"\" \
AT OK \
AT OK \
ATS0=0 OK \
AT OK \
AT&FE0V1X1&D2&C1S0=0 OK \
AT OK \
AT+CGDCONT=1,\\\"IP\\\",\\\"internet\\\" OK \
ATDT*99# CONNECT"

set login
set authname "mobile"
set authkey "internet"

disable ipv6cp
disable pap
disable chap
enable dns

set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR
****************************************************
Взято http://forum.lissyara.su/viewtopic.php?f=5&t=18575&p=222659&hilit=HUAWEI...

Мой ppp.log
****************************************************
Jul 10 13:53:57 gw ppp[3753]: Phase: Using interface: tun0
Jul 10 13:53:57 gw ppp[3753]: Phase: deflink: Created in closed state
Jul 10 13:53:57 gw ppp[3753]: tun0: Command: default: ident user-ppp VERSION (built COMPILATIONDATE)
Jul 10 13:53:57 gw ppp[3753]: tun0: Command: megafon: set device /dev/cuaU0
Jul 10 13:53:57 gw ppp[3753]: tun0: Command: megafon: set speed 460800
Jul 10 13:53:57 gw ppp[3753]: tun0: Command: megafon: set dial "" AT OK AT OK ATS0=0 OK AT OK AT&FE0V1X1&D2&C1S0=0 OK AT OK AT+CGDCONT=1,\\"IP\\",\\"internet\\" OK ATDT*99# CONNECT
Jul 10 13:53:57 gw ppp[3753]: tun0: Command: megafon: set login
Jul 10 13:53:57 gw ppp[3753]: tun0: Command: megafon: set authname mobile
Jul 10 13:53:57 gw ppp[3753]: tun0: Command: megafon: set authkey ********
Jul 10 13:53:57 gw ppp[3753]: tun0: Command: megafon: disable ipv6cp
Jul 10 13:53:57 gw ppp[3753]: tun0: Command: megafon: disable pap
Jul 10 13:53:57 gw ppp[3753]: tun0: Command: megafon: disable chap
Jul 10 13:53:57 gw ppp[3753]: tun0: Command: megafon: enable dns
Jul 10 13:53:57 gw ppp[3753]: tun0: Command: megafon: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
Jul 10 13:53:57 gw ppp[3753]: tun0: Command: megafon: add default HISADDR
Jul 10 13:53:57 gw ppp[8639]: tun0: Phase: PPP Started (ddial mode).
Jul 10 13:53:57 gw ppp[8639]: tun0: Phase: bundle: Establish
Jul 10 13:53:57 gw ppp[8639]: tun0: Phase: deflink: closed -> opening
Jul 10 13:53:57 gw ppp[8639]: tun0: Phase: deflink: Connected!
Jul 10 13:53:57 gw ppp[8639]: tun0: Phase: deflink: opening -> dial
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Send: AT\^M
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Expect(30): OK
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Received:
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Received:
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Received: NO CARRIER
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Received:
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Received: \^M
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Received: OK\^M
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Send: AT\^M
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Expect(30): OK
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Received: \^M
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Received: OK\^M
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Send: ATS0=0\^M
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Expect(30): OK
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Received: \^M
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Received: OK\^M
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Send: AT\^M
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Expect(30): OK
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Received: \^M
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Received: OK\^M
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Send: AT&FE0V1X1&D2&C1S0=0\^M
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Expect(30): OK
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Received: \^M
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Received: OK\^M
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Send: AT\^M
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Expect(30): OK
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Received: \^M
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Received: OK\^M
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Send: AT+CGDCONT=1,"IP","internet"\^M
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Expect(30): OK
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Received: \^M
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Received: OK\^M
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Send: ATDT*99#\^M
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Expect(30): CONNECT
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Received: \^M
Jul 10 13:53:57 gw ppp[8639]: tun0: Chat: Received: CONNECT 3600000\^M
Jul 10 13:53:57 gw ppp[8639]: tun0: Phase: deflink: dial -> carrier
Jul 10 13:53:58 gw ppp[8639]: tun0: Phase: deflink: /dev/cuaU0 doesn't support CD
Jul 10 13:53:58 gw ppp[8639]: tun0: Phase: deflink: carrier -> login
Jul 10 13:53:58 gw ppp[8639]: tun0: Phase: deflink: login -> lcp
Jul 10 13:53:58 gw ppp[8639]: tun0: LCP: FSM: Using "deflink" as a transport
Jul 10 13:53:58 gw ppp[8639]: tun0: LCP: deflink: State change Initial --> Closed
Jul 10 13:53:58 gw ppp[8639]: tun0: LCP: deflink: State change Closed --> Stopped
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: deflink: LayerStart
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: ACFCOMP[2]
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: PROTOCOMP[2]
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: ACCMAP[6] 0x00000000
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: MRU[4] 1500
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: MAGICNUM[6] 0x17ce6eee
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: deflink: State change Stopped --> Req-Sent
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: deflink: RecvConfigReq(25) state = Req-Sent
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: ACCMAP[6] 0x00000000
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: MAGICNUM[6] 0x010fbc4c
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: PROTOCOMP[2]
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: ACFCOMP[2]
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: deflink: SendConfigAck(25) state = Req-Sent
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: ACCMAP[6] 0x00000000
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: MAGICNUM[6] 0x010fbc4c
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: PROTOCOMP[2]
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: ACFCOMP[2]
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: deflink: State change Req-Sent --> Ack-Sent
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: deflink: RecvConfigAck(1) state = Ack-Sent
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: ACFCOMP[2]
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: PROTOCOMP[2]
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: ACCMAP[6] 0x00000000
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: MRU[4] 1500
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: MAGICNUM[6] 0x17ce6eee
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: deflink: State change Ack-Sent --> Opened
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: deflink: LayerUp
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: deflink: SendIdent(0) state = Opened
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: MAGICNUM 17ce6eee
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: TEXT user-ppp 3.4.2 (built COMPILATIONDATE)
Jul 10 13:53:59 gw ppp[8639]: tun0: Phase: bundle: Authenticate
Jul 10 13:53:59 gw ppp[8639]: tun0: Phase: deflink: his = CHAP 0x05, mine = none
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: deflink: RecvDiscardReq(26) state = Opened
Jul 10 13:53:59 gw ppp[8639]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from UMTS_CHAP_SRVR)
Jul 10 13:53:59 gw ppp[8639]: tun0: Phase: Chap Output: RESPONSE (mobile)
Jul 10 13:53:59 gw ppp[8639]: tun0: Phase: Chap Input: SUCCESS
Jul 10 13:53:59 gw ppp[8639]: tun0: IPCP: Using trigger address 0.0.0.0
Jul 10 13:53:59 gw ppp[8639]: tun0: CCP: FSM: Using "deflink" as a transport
Jul 10 13:53:59 gw ppp[8639]: tun0: CCP: deflink: State change Initial --> Closed
Jul 10 13:53:59 gw ppp[8639]: tun0: CCP: deflink: LayerStart.
Jul 10 13:53:59 gw ppp[8639]: tun0: CCP: MPPE: Not usable without CHAP81
Jul 10 13:53:59 gw ppp[8639]: tun0: CCP: deflink: SendConfigReq(1) state = Closed
Jul 10 13:53:59 gw ppp[8639]: tun0: CCP: DEFLATE[4] win 15
Jul 10 13:53:59 gw ppp[8639]: tun0: CCP: PRED1[2]
Jul 10 13:53:59 gw ppp[8639]: tun0: CCP: deflink: State change Closed --> Req-Sent
Jul 10 13:53:59 gw ppp[8639]: tun0: Phase: deflink: lcp -> open
Jul 10 13:53:59 gw ppp[8639]: tun0: Phase: bundle: Network
Jul 10 13:53:59 gw ppp[8639]: tun0: IPCP: FSM: Using "deflink" as a transport
Jul 10 13:53:59 gw ppp[8639]: tun0: IPCP: deflink: State change Initial --> Closed
Jul 10 13:53:59 gw ppp[8639]: tun0: IPCP: deflink: LayerStart.
Jul 10 13:53:59 gw ppp[8639]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed
Jul 10 13:53:59 gw ppp[8639]: tun0: IPCP: IPADDR[6] 0.0.0.0
Jul 10 13:53:59 gw ppp[8639]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression
Jul 10 13:53:59 gw ppp[8639]: tun0: IPCP: PRIDNS[6] 10.11.12.14
Jul 10 13:53:59 gw ppp[8639]: tun0: IPCP: SECDNS[6] 255.255.255.255
Jul 10 13:53:59 gw ppp[8639]: tun0: IPCP: deflink: State change Closed --> Req-Sent
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: deflink: RecvProtocolRej(27) state = Opened
Jul 10 13:53:59 gw ppp[8639]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was rejected!
Jul 10 13:53:59 gw ppp[8639]: tun0: CCP: deflink: State change Req-Sent --> Stopped
Jul 10 13:54:00 gw ppp[8639]: tun0: IPCP: deflink: RecvConfigNak(1) state = Req-Sent
Jul 10 13:54:00 gw ppp[8639]: tun0: IPCP: PRIDNS[6] 10.11.12.13
Jul 10 13:54:00 gw ppp[8639]: tun0: IPCP: SECDNS[6] 10.11.12.14
Jul 10 13:54:00 gw ppp[8639]: tun0: IPCP: PRINBNS[6] 10.11.12.13
Jul 10 13:54:00 gw ppp[8639]: tun0: IPCP: MS NBNS req 130 - NAK??
Jul 10 13:54:00 gw ppp[8639]: tun0: IPCP: SECNBNS[6] 10.11.12.14
Jul 10 13:54:00 gw ppp[8639]: tun0: IPCP: MS NBNS req 132 - NAK??
Jul 10 13:54:00 gw ppp[8639]: tun0: IPCP: Primary nameserver set to 10.11.12.13
Jul 10 13:54:00 gw ppp[8639]: tun0: IPCP: Secondary nameserver set to 10.11.12.14
Jul 10 13:54:00 gw ppp[8639]: tun0: IPCP: deflink: SendConfigReq(2) state = Req-Sent
Jul 10 13:54:00 gw ppp[8639]: tun0: IPCP: IPADDR[6] 0.0.0.0
Jul 10 13:54:00 gw ppp[8639]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression
Jul 10 13:54:00 gw ppp[8639]: tun0: IPCP: PRIDNS[6] 10.11.12.13
Jul 10 13:54:00 gw ppp[8639]: tun0: IPCP: SECDNS[6] 10.11.12.14
Jul 10 13:54:03 gw ppp[8639]: tun0: IPCP: deflink: SendConfigReq(2) state = Req-Sent
Jul 10 13:54:03 gw ppp[8639]: tun0: IPCP: IPADDR[6] 0.0.0.0
Jul 10 13:54:03 gw ppp[8639]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression
Jul 10 13:54:03 gw ppp[8639]: tun0: IPCP: PRIDNS[6] 10.11.12.13
Jul 10 13:54:03 gw ppp[8639]: tun0: IPCP: SECDNS[6] 10.11.12.14
Jul 10 13:54:06 gw ppp[8639]: tun0: IPCP: deflink: SendConfigReq(2) state = Req-Sent
Jul 10 13:54:06 gw ppp[8639]: tun0: IPCP: IPADDR[6] 0.0.0.0
Jul 10 13:54:06 gw ppp[8639]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression
Jul 10 13:54:06 gw ppp[8639]: tun0: IPCP: PRIDNS[6] 10.11.12.13
Jul 10 13:54:06 gw ppp[8639]: tun0: IPCP: SECDNS[6] 10.11.12.14
Jul 10 13:54:09 gw ppp[8639]: tun0: IPCP: deflink: SendConfigReq(2) state = Req-Sent
Jul 10 13:54:09 gw ppp[8639]: tun0: IPCP: IPADDR[6] 0.0.0.0
Jul 10 13:54:09 gw ppp[8639]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression
Jul 10 13:54:09 gw ppp[8639]: tun0: IPCP: PRIDNS[6] 10.11.12.13
Jul 10 13:54:09 gw ppp[8639]: tun0: IPCP: SECDNS[6] 10.11.12.14
Jul 10 13:54:12 gw ppp[8639]: tun0: IPCP: deflink: SendConfigReq(2) state = Req-Sent
Jul 10 13:54:12 gw ppp[8639]: tun0: IPCP: IPADDR[6] 0.0.0.0
Jul 10 13:54:12 gw ppp[8639]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression
Jul 10 13:54:12 gw ppp[8639]: tun0: IPCP: PRIDNS[6] 10.11.12.13
Jul 10 13:54:12 gw ppp[8639]: tun0: IPCP: SECDNS[6] 10.11.12.14
Jul 10 13:54:15 gw ppp[8639]: tun0: IPCP: deflink: LayerFinish.
Jul 10 13:54:15 gw ppp[8639]: tun0: IPCP: Connect time: 16 secs: 0 octets in, 0 octets out
Jul 10 13:54:15 gw ppp[8639]: tun0: IPCP: 0 packets in, 0 packets out
Jul 10 13:54:15 gw ppp[8639]: tun0: IPCP: total 0 bytes/sec, peak 0 bytes/sec on Sat Jul 10 13:53:59 2010
Jul 10 13:54:15 gw ppp[8639]: tun0: IPCP: deflink: State change Req-Sent --> Stopped
****************************************************
Подскажите куда смотреть , пожалуйста.