Перейти к содержанию

Mihanism

Пользователи
  • Постов

    43
  • Зарегистрирован

  • Посещение

Сообщения, опубликованные Mihanism

  1. Добрый день

    Подскажите пожалуйста Mgcamd стартует раньше чем 3г модем и картинка не появляется, спасает толко перезапуск плагина ppp и mgcamd.

    пробовал ставить задержку старта sleep 20 (в autorun.sh) перед /var/bin/mgcamd - не помогает.

    когда подключаю wifi adapter - ситуация аналогичная.

    рес- skyway class II

    3g- huawei e1550

    wifi adapter dlink 140 B2

    soft -2.09.61

  2. to Mihanism

    Попробуйте вот с этими конфигами , модем huawei E1550, оператор МТС , прошивка PGI-0.6. Работает отлично!!! Единственое пришлось подключить его через удлинитель.., так как при подключении ужасно фанит.

    с этими конфигаами тоже самое... отрубается через несколько секунд и не восстанавливается

  3. to Mihanism

    Попробуйте вот с этими конфигами , модем huawei E1550, оператор МТС , прошивка PGI-0.6. Работает отлично!!! Единственое пришлось подключить его через удлинитель.., так как при подключении ужасно фанит.

    [/quote/]

    спасибо. вечером попробую

  4. может быть какой-нибудь параметр прописан неправильно???

    люди добрые помогите...

     call mts &
    [PGI ~]$ Removed stale lock on ttyUSB0 (pid 917)
    Script /sbin/chat -v -f /var/etc/ppp/chats/mts.chat finished (pid 1059), status = 0x0
    Serial connection established.
    using channel 1
    Using interface ppp0
    Connect: ppp0 <--> /dev/ttyUSB0
    Warning - secret file /etc/ppp/pap-secrets has world and/or group access
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3698fac8> <pcomp> <accomp>]
    rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0xebec38> <pcomp> <accomp>]
    sent [LCP ConfAck id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0xebec38> <pcomp> <accomp>]
    rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x3698fac8> <pcomp> <accomp>]
    rcvd [LCP DiscReq id=0x1 magic=0xebec38]
    rcvd [CHAP Challenge id=0x1 <bc24df2b24c9e446d87e51562ec35e00>, name = "UMTS_CHAP_SRVR"]
    Warning - secret file /etc/ppp/chap-secrets has world and/or group access
    sent [CHAP Response id=0x1 <3c5b7ebd2dbfdd6842b2d2aa0e6a71d6>, name = "mts"]
    rcvd [CHAP Success id=0x1 ""]
    CHAP authentication succeeded
    CHAP authentication succeeded
    sent [iPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
    rcvd [iPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    sent [iPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    rcvd [iPCP ConfNak id=0x2 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    sent [iPCP ConfReq id=0x3 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    rcvd [iPCP ConfReq id=0x0]
    sent [iPCP ConfNak id=0x0 <addr 0.0.0.0>]
    rcvd [iPCP ConfRej id=0x3 <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    sent [iPCP ConfReq id=0x4 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14>]
    rcvd [iPCP ConfReq id=0x1]
    sent [iPCP ConfAck id=0x1]
    rcvd [iPCP ConfNak id=0x4 <addr 172.28.39.183> <ms-dns1 217.74.244.2> <ms-dns2 217.74.241.10>]
    sent [iPCP ConfReq id=0x5 <addr 172.28.39.183> <ms-dns1 217.74.244.2> <ms-dns2 217.74.241.10>]
    rcvd [iPCP ConfAck id=0x5 <addr 172.28.39.183> <ms-dns1 217.74.244.2> <ms-dns2 217.74.241.10>]
    Could not determine remote IP address: defaulting to 10.64.64.64
    Script /etc/ppp/ip-pre-up started (pid 1063)
    Script /etc/ppp/ip-pre-up finished (pid 1063), status = 0x0
    local  IP address 172.28.39.183
    remote IP address 10.64.64.64
    primary   DNS address 217.74.244.2
    secondary DNS address 217.74.241.10
    

    PING cserv14.net (cserv14.net): 56 data bytes
    64 bytes from cserv14.net: seq=0 ttl=51 time=372.240 ms
    64 bytes from cserv14.net: seq=1 ttl=51 time=399.216 ms
    64 bytes from cserv14.net: seq=2 ttl=51 time=358.214 ms
    64 bytes from cserv14.net: seq=3 ttl=51 time=357.272 ms
    64 bytes from cserv14.net: seq=4 ttl=51 time=364.441 ms
    64 bytes from cserv14.net: seq=5 ttl=51 time=383.482 ms
    64 bytes from cserv14.net: seq=6 ttl=51 time=374.226 ms
    64 bytes from cserv14.net: seq=7 ttl=51 time=341.509 ms
    64 bytes from cserv14.net: seq=8 ttl=51 time=351.751 ms
    64 bytes from cserv14.net: seq=9 ttl=51 time=370.539 ms
    64 bytes from cserv14.net: seq=10 ttl=51 time=369.635 ms
    64 bytes from cserv14.net: seq=11 ttl=51 time=376.623 ms
    64 bytes from cserv14.net: seq=12 ttl=51 time=367.611 ms
    64 bytes from cserv14.net: seq=13 ttl=51 time=386.481 ms
    64 bytes from cserv14.net: seq=14 ttl=51 time=353.241 ms
    64 bytes from cserv14.net: seq=15 ttl=51 time=444.571 ms
    64 bytes from cserv14.net: seq=16 ttl=51 time=363.703 ms
    64 bytes from cserv14.net: seq=17 ttl=51 time=370.714 ms
    64 bytes from cserv14.net: seq=18 ttl=51 time=369.693 ms
    64 bytes from cserv14.net: seq=19 ttl=51 time=380.532 ms
    64 bytes from cserv14.net: seq=20 ttl=51 time=400.579 ms
    64 bytes from cserv14.net: seq=21 ttl=51 time=378.758 ms
    64 bytes from cserv14.net: seq=22 ttl=51 time=357.828 ms
    64 bytes from cserv14.net: seq=23 ttl=51 time=376.954 ms
    64 bytes from cserv14.net: seq=24 ttl=51 time=364.232 ms
    64 bytes from cserv14.net: seq=25 ttl=51 time=371.115 ms
    64 bytes from cserv14.net: seq=26 ttl=51 time=421.856 ms
    64 bytes from cserv14.net: seq=27 ttl=51 time=393.008 ms
    64 bytes from cserv14.net: seq=28 ttl=51 time=387.952 ms
    64 bytes from cserv14.net: seq=29 ttl=51 time=391.025 ms
    64 bytes from cserv14.net: seq=30 ttl=51 time=391.104 ms
    64 bytes from cserv14.net: seq=31 ttl=51 time=377.559 ms
    64 bytes from cserv14.net: seq=32 ttl=51 time=343.979 ms
    64 bytes from cserv14.net: seq=33 ttl=51 time=373.968 ms
    64 bytes from cserv14.net: seq=34 ttl=51 time=392.870 ms
    64 bytes from cserv14.net: seq=35 ttl=51 time=379.452 ms
    64 bytes from cserv14.net: seq=36 ttl=51 time=389.800 ms
    64 bytes from cserv14.net: seq=37 ttl=51 time=356.247 ms
    64 bytes from cserv14.net: seq=38 ttl=51 time=467.413 ms
    64 bytes from cserv14.net: seq=39 ttl=51 time=374.084 ms
    64 bytes from cserv14.net: seq=40 ttl=51 time=353.344 ms
    64 bytes from cserv14.net: seq=41 ttl=51 time=360.279 ms
    64 bytes from cserv14.net: seq=42 ttl=51 time=451.196 ms
    64 bytes from cserv14.net: seq=43 ttl=51 time=378.437 ms
    64 bytes from cserv14.net: seq=44 ttl=51 time=350.164 ms
    64 bytes from cserv14.net: seq=45 ttl=51 time=368.527 ms
    64 bytes from cserv14.net: seq=46 ttl=51 time=347.455 ms
    64 bytes from cserv14.net: seq=47 ttl=51 time=354.359 ms
    64 bytes from cserv14.net: seq=48 ttl=51 time=385.218 ms
    64 bytes from cserv14.net: seq=49 ttl=51 time=363.166 ms
    64 bytes from cserv14.net: seq=50 ttl=51 time=388.447 ms
    64 bytes from cserv14.net: seq=51 ttl=51 time=427.192 ms
    64 bytes from cserv14.net: seq=52 ttl=51 time=366.405 ms
    64 bytes from cserv14.net: seq=53 ttl=51 time=345.463 ms
    64 bytes from cserv14.net: seq=54 ttl=51 time=364.429 ms
    64 bytes from cserv14.net: seq=55 ttl=51 time=355.488 ms
    64 bytes from cserv14.net: seq=56 ttl=51 time=394.399 ms
    64 bytes from cserv14.net: seq=57 ttl=51 time=373.355 ms
    64 bytes from cserv14.net: seq=58 ttl=51 time=388.489 ms
    

  5. Переведите устройство в режим только модем "AT^U2DIAG=0 устройство в режиме только модем"

    У Вас APN вписан полностью (internet.mts.ru) или в сокращеном виде, как писали выше? Впишите его полностью (для чистоты экперимента)если не так у Вас...

    В "newcamd.list" пропишите не адрес сервера, а чисто IP сервера (для эксперимента)

    1. телефон стоит в режиме модема

    2.APN прописан полностью.

    3. IP сервера прописан цифрами...

    ничего не помогает.

    соединение устанавливается, но не с первого раза, и через несколко секунд обрывается.

    кто сталкивался с такой проблемой, помогите...

    через комп работает все нормально.

  6. доброй ночи....

    кто - нибудь встречал такую проблему:

    модем(Е1550) конектится, но пишет канал закодирован, хотя сервак я могу пинговать

     call mts &
    [PGI ~]$ Removed stale lock on ttyUSB0 (pid 917)
    Script /sbin/chat -v -f /var/etc/ppp/chats/mts.chat finished (pid 1059), status = 0x0
    Serial connection established.
    using channel 1
    Using interface ppp0
    Connect: ppp0 <--> /dev/ttyUSB0
    Warning - secret file /etc/ppp/pap-secrets has world and/or group access
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3698fac8> <pcomp> <accomp>]
    rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0xebec38> <pcomp> <accomp>]
    sent [LCP ConfAck id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0xebec38> <pcomp> <accomp>]
    rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x3698fac8> <pcomp> <accomp>]
    rcvd [LCP DiscReq id=0x1 magic=0xebec38]
    rcvd [CHAP Challenge id=0x1 <bc24df2b24c9e446d87e51562ec35e00>, name = "UMTS_CHAP_SRVR"]
    Warning - secret file /etc/ppp/chap-secrets has world and/or group access
    sent [CHAP Response id=0x1 <3c5b7ebd2dbfdd6842b2d2aa0e6a71d6>, name = "mts"]
    rcvd [CHAP Success id=0x1 ""]
    CHAP authentication succeeded
    CHAP authentication succeeded
    sent [iPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
    rcvd [iPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    sent [iPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    rcvd [iPCP ConfNak id=0x2 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    sent [iPCP ConfReq id=0x3 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    rcvd [iPCP ConfReq id=0x0]
    sent [iPCP ConfNak id=0x0 <addr 0.0.0.0>]
    rcvd [iPCP ConfRej id=0x3 <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    sent [iPCP ConfReq id=0x4 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14>]
    rcvd [iPCP ConfReq id=0x1]
    sent [iPCP ConfAck id=0x1]
    rcvd [iPCP ConfNak id=0x4 <addr 172.28.39.183> <ms-dns1 217.74.244.2> <ms-dns2 217.74.241.10>]
    sent [iPCP ConfReq id=0x5 <addr 172.28.39.183> <ms-dns1 217.74.244.2> <ms-dns2 217.74.241.10>]
    rcvd [iPCP ConfAck id=0x5 <addr 172.28.39.183> <ms-dns1 217.74.244.2> <ms-dns2 217.74.241.10>]
    Could not determine remote IP address: defaulting to 10.64.64.64
    Script /etc/ppp/ip-pre-up started (pid 1063)
    Script /etc/ppp/ip-pre-up finished (pid 1063), status = 0x0
    local  IP address 172.28.39.183
    remote IP address 10.64.64.64
    primary   DNS address 217.74.244.2
    secondary DNS address 217.74.241.10
    
    [PGI ~]$ 
    [PGI ~]$ pppd call mts &[J
    [PGI ~]$ ping www.ya.ru[J
    PING www.ya.ru (213.180.204.3): 56 data bytes
    64 bytes from 213.180.204.3: seq=0 ttl=50 time=638.272 ms
    64 bytes from 213.180.204.3: seq=1 ttl=50 time=329.613 ms
    64 bytes from 213.180.204.3: seq=2 ttl=50 time=328.253 ms
    64 bytes from 213.180.204.3: seq=3 ttl=50 time=327.497 ms
    64 bytes from 213.180.204.3: seq=4 ttl=50 time=354.457 ms
    64 bytes from 213.180.204.3: seq=5 ttl=50 time=345.550 ms
    64 bytes from 213.180.204.3: seq=6 ttl=50 time=352.538 ms
    64 bytes from 213.180.204.3: seq=7 ttl=50 time=335.514 ms
    64 bytes from 213.180.204.3: seq=8 ttl=50 time=338.273 ms
    64 bytes from 213.180.204.3: seq=9 ttl=50 time=317.500 ms
    64 bytes from 213.180.204.3: seq=10 ttl=50 time=336.552 ms
    64 bytes from 213.180.204.3: seq=11 ttl=50 time=327.608 ms
    64 bytes from 213.180.204.3: seq=12 ttl=50 time=346.413 ms
    64 bytes from 213.180.204.3: seq=13 ttl=50 time=325.651 ms
    64 bytes from 213.180.204.3: seq=14 ttl=50 time=332.701 ms
    64 bytes from 213.180.204.3: seq=15 ttl=50 time=323.728 ms
    
    64 bytes from 213.180.204.3: seq=16 ttl=50 time=330.715 ms
    64 bytes from 213.180.204.3: seq=17 ttl=50 time=409.733 ms
    
    --- www.ya.ru ping statistics ---
    18 packets transmitted, 18 packets received, 0% packet loss
    round-trip min/avg/max = 317.500/355.587/638.272 ms
    [PGI ~]$ 
    [PGI ~]$ ping www.ya.ru[J
    [PGI ~]$ pppd call mts &[J
    [PGI ~]$ ping www.ya.ru[J
    [PGI ~]$ pppd call mts &[J
    [PGI ~]$ lsusb[J
    [PGI ~]$ ping www.ya.ru[J
    [PGI ~]$ ping cserv14.net[J
    PING cserv14.net (cserv14.net): 56 data bytes
    64 bytes from cserv14.net: seq=0 ttl=51 time=331.917 ms
    64 bytes from cserv14.net: seq=1 ttl=51 time=350.174 ms
    64 bytes from cserv14.net: seq=2 ttl=51 time=349.049 ms
    64 bytes from cserv14.net: seq=3 ttl=51 time=327.996 ms
    64 bytes from cserv14.net: seq=4 ttl=51 time=346.642 ms
    64 bytes from cserv14.net: seq=5 ttl=51 time=333.881 ms
    64 bytes from cserv14.net: seq=6 ttl=51 time=352.986 ms
    64 bytes from cserv14.net: seq=7 ttl=51 time=324.026 ms
    64 bytes from cserv14.net: seq=8 ttl=51 time=350.832 ms
    64 bytes from cserv14.net: seq=9 ttl=51 time=330.012 ms
    64 bytes from cserv14.net: seq=10 ttl=51 time=340.686 ms
    64 bytes from cserv14.net: seq=11 ttl=51 time=328.316 ms
    64 bytes from cserv14.net: seq=12 ttl=51 time=317.403 ms
    64 bytes from cserv14.net: seq=13 ttl=51 time=758.128 ms
    64 bytes from cserv14.net: seq=14 ttl=51 time=297.107 ms
    64 bytes from cserv14.net: seq=15 ttl=51 time=336.348 ms
    64 bytes from cserv14.net: seq=16 ttl=51 time=295.018 ms
    64 bytes from cserv14.net: seq=17 ttl=51 time=382.247 ms
    64 bytes from cserv14.net: seq=18 ttl=51 time=453.313 ms
    64 bytes from cserv14.net: seq=19 ttl=51 time=319.479 ms
    64 bytes from cserv14.net: seq=20 ttl=51 time=807.218 ms
    64 bytes from cserv14.net: seq=21 ttl=51 time=374.562 ms
    64 bytes from cserv14.net: seq=22 ttl=51 time=345.134 ms
    64 bytes from cserv14.net: seq=23 ttl=51 time=372.694 ms
    64 bytes from cserv14.net: seq=24 ttl=51 time=371.166 ms
    64 bytes from cserv14.net: seq=25 ttl=51 time=362.303 ms
    
    --- cserv14.net ping statistics ---
    27 packets transmitted, 26 packets received, 3% packet loss
    round-trip min/avg/max = 295.018/379.178/807.218 ms
    [PGI ~]$ ip address\ 
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue 
       link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
       inet 127.0.0.1/8 scope host lo
    2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
       link/ether 00:13:18:02:ef:27 brd ff:ff:ff:ff:ff:ff
       inet 192.168.0.2/24 scope global eth0
    3: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 3
       link/ppp 
       inet 172.28.39.183 peer 10.64.64.64/32 scope global ppp0
    [PGI ~]$ 
    

    через несколько минут пинги исчезают

    скрипт запускается через раз

  7. Похоже на то, что ошибка кроется в файле дозвона .chat , если Вы копировали файлы отсюда то при сохранении получаются пробелы в конце строк (я смотрел копипаст отсюда на linux редакторе) особено это касается файла gprs.chat. Я так думаю, что вам нужно отредактировать файлы с помощью..., например программ RCC или DCC в них встроен прекрасный unix редактор. Или попросите, что бы Вам кто нибудь скинул свои рабочие конфиги.

    Люди добрые, помогите.... скиньте свои рабочие конфиги под МТС для модема huaiwei E1550. уже месяц мучаюся с этим с ним:(

  8. А что выдает, когда Вы запускаете pppd в телнет?

    выдает вот что:

    [PGI ~]$ pppd call gprs &

    [PGI ~]$ ip address

    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue

    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

    inet 127.0.0.1/8 scope host lo

    2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000

    link/ether 00:13:18:02:ef:27 brd ff:ff:ff:ff:ff:ff

    inet 192.168.0.2/24 scope global eth0

    [PGI ~]$ Script /sbin/chat -v -f /var/etc/ppp/chats/gprs.chat finished (pid 2463), status = 0x3

    Connect script failed

  9. когда в script plugin запускаю establish ppp connection

    то выдает:

    starting ppp connection...
    ifconfig: ppp0: error fetching interface information:
    Device not found
    search
    nameserver 217.74.24.44
    nameserver 217.74.241.10
    done

    хотя

    [PGI ~]$ ls -ls /dev/tty*
      0 crw-rw-rw-    1 root     root       5,   0 Feb  7  2027 /dev/tty
      0 crw-rw----    1 root     root     204,  40 Feb  7  2027 /dev/ttyAS0
      0 crw-rw----    1 root     root     204,  41 Feb  7  2027 /dev/ttyAS1
      0 crw-rw----    1 root     root     188,   0 Apr 20 15:44 /dev/ttyUSB0
      0 crw-rw----    1 root     root     188,   1 Apr 20 15:44 /dev/ttyUSB1
      0 crw-rw----    1 root     root     188,   2 Apr 20 18:33 /dev/ttyUSB2
    

    что это моджет быть?

  10. добрый день.

    помоги плиз....

    модем хуавей 1550. провайдер мтс

    что не делал нет коннекта...

    [PGI ~]$ pppd call gprs &

    [PGI ~]$ ip address

    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue

    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

    inet 127.0.0.1/8 scope host lo

    2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000

    link/ether 00:13:18:02:ef:27 brd ff:ff:ff:ff:ff:ff

    inet 192.168.0.2/24 scope global eth0

    [PGI ~]$ Script /sbin/chat -v -f /var/etc/ppp/chats/gprs.chat finished (pid 2463), status = 0x3

    Connect script failed

    скинь плиз свои конфиг файлы(peer gprs chat и тд тп) в личку

    и еще вопрос, куда вбивать логин и пороль для провайдера(mts,mts)?????

    уже все перепробовал... полный тупик.

    если кто сможет скиньте плиз

  11. я вошел в тупик...Люди добрые помогите.....

    не могу настроить инет через мтс 3Г модем

    файлы вроде отредактировал под своего оператора, перебрал вручную все порьы модема от USB0-3

    а в ответ

    [PGI ~]$ pppd call gprs &

    [PGI ~]$

    [PGI ~]$ Script /sbin/chat -v -f /var/etc/ppp/chats/gprs.chat finished (pid 1116), status = 0x2

    Connect script failed

×
×
  • Создать...