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

jew2006

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

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

  • Посещение

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

  1. Welcome to Cuberevo
    cuberevo-3000hd login: root
    Password:
    [PGI ~]$ pppd call gprs &
    [PGI ~]$ Script /sbin/chat -v -f /var/etc/ppp/chats/gprs.chat finished (pid 1202), status = 0x0
    Serial connection established.
    using channel 2
    Using interface ppp0
    Connect: ppp0 <--> /dev/ttyUSB0
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x9a091028> <pcomp> <accomp>]
    rcvd [LCP ConfReq id=0x3 <asyncmap 0x0> <auth chap MD5> <magic 0xf06e93> <pcomp> <accomp>]
    sent [LCP ConfAck id=0x3 <asyncmap 0x0> <auth chap MD5> <magic 0xf06e93> <pcomp> <accomp>]
    rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x9a091028> <pcomp> <accomp>]
    rcvd [LCP DiscReq id=0x4 magic=0xf06e93]
    rcvd [CHAP Challenge id=0x1 <24c33b58bc9d88bbd4012c0676082c33>, name = "UMTS_CHAP_SRVR"]
    sent [CHAP Response id=0x1 <62f55935e469e92676265cb2d5e982c9>, name = "gdata"]
    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=0x2]
    sent [iPCP ConfNak id=0x2 <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=0x3]
    sent [iPCP ConfAck id=0x3]
    rcvd [iPCP ConfNak id=0x4 <addr 10.234.190.164> <ms-dns1 10.78.72.36> <ms-dns2 10.78.72.28>]
    sent [iPCP ConfReq id=0x5 <addr 10.234.190.164> <ms-dns1 10.78.72.36> <ms-dns2 10.78.72.28>]
    rcvd [iPCP ConfAck id=0x5 <addr 10.234.190.164> <ms-dns1 10.78.72.36> <ms-dns2 10.78.72.28>]
    Could not determine remote IP address: defaulting to 10.64.64.64
    Script /var/etc/ppp/ip-pre-up started (pid 1206)
    Script /var/etc/ppp/ip-pre-up finished (pid 1206), status = 0x0
    local  IP address 10.234.190.164
    remote IP address 10.64.64.64
    primary   DNS address 10.78.72.36
    secondary DNS address 10.78.72.28
    
    [PGI ~]$ ip a
    1: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
       link/ether 00:13:18:02:ee:63 brd ff:ff:ff:ff:ff:ff
       inet 192.168.1.161/24 brd 192.168.1.255 scope global eth0
    2: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
       link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
       inet 127.0.0.1/8 scope host lo
    4: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 3
       link/ppp
       inet 10.234.190.164 peer 10.64.64.64/32 scope global ppp0
    
    [PGI ~]$
    

    Welcome to Cuberevo
    cuberevo-3000hd login: root
    Password:
    [PGI ~]$ netstat -r
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
    10.64.64.64     *               255.255.255.255 UH        0 0          0 ppp0
    192.168.1.0     *               255.255.255.0   U         0 0          0 eth0
    default         *               0.0.0.0         U         0 0          0 ppp0
    [PGI ~]$
    

  2. Закомментировал

    [net] [00:27:09] started
    [net] [00:27:09] creating web interface pipe
    [net] [00:27:09] init USB comms
    [net] [00:27:11] USB_MODEM is set to 12d1:1001
    [net] [00:27:11] bringing up interface lo
    [net] [00:27:11] bringing up interface eth0
    udhcpc (v1.17.1) started
    Sending discover...
    Sending discover...
    Sending discover...
    Sending discover...
    Sending discover...
    Sending discover...
    Sending discover...
    Sending discover...
    Sending discover...
    Sending discover...
    Usage : /etc/network/udhcpc.sh {bound|renew|deconfig}
    No lease, failing
    [net] [00:27:42] checking USB modem
    [net] [00:27:42] scanning usb connected devices
    [net] [00:27:44] device directly matching 12d1:1001 is connected
    [net] [00:27:44] loading usbserial.ko for vendor=0x12d1 product=0x1001
    [net] [00:27:44] PPPD_PEER peer is set to: gprs
    [net] [00:27:44] detecting serial device in /dev
    [net] [00:27:44] starting PPP call to gprs
    Script /sbin/chat -v -f /var/etc/ppp/chats/gprs.chat finished (pid 947), status = 0x0
    Serial connection established.
    using channel 1
    Using interface ppp0
    Connect: ppp0 <--> /dev/ttyUSB0
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x930f4fa7> <pcomp> <accomp>]
    rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0xe34b5b> <pcomp> <accomp>]
    sent [LCP ConfAck id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0xe34b5b> <pcomp> <accomp>]
    rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x930f4fa7> <pcomp> <accomp>]
    rcvd [LCP DiscReq id=0x1 magic=0xe34b5b]
    rcvd [CHAP Challenge id=0x1 <ceafbb57602a13e3167943ff4616c3a6>, name = "UMTS_CHAP_SRVR"]
    sent [CHAP Response id=0x1 <894f50cd757bd1719000b5de9237ec41>, name = "gdata"]
    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>]
    [net] [00:27:49] setting hostname to [cuberevo]
    [net] [00:27:50] starting inetd
    [net] [00:27:50] network is ready
    [net] [00:27:50] NTP sync is disabled, system time = micom time
    [net] [00:27:50] samba daemon is enabled, will start now
    rcvd [iPCP ConfReq id=0x0]
    sent [iPCP ConfNak id=0x0 <addr 0.0.0.0>]
    rcvd [iPCP ConfRej id=0x2 <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>]
    rcvd [iPCP ConfReq id=0x1]
    sent [iPCP ConfAck id=0x1]
    rcvd [iPCP ConfNak id=0x3 <addr 10.234.174.131> <ms-dns1 10.78.72.36> <ms-dns2 10.78.72.28>]
    sent [iPCP ConfReq id=0x4 <addr 10.234.174.131> <ms-dns1 10.78.72.36> <ms-dns2 10.78.72.28>]
    rcvd [iPCP ConfAck id=0x4 <addr 10.234.174.131> <ms-dns1 10.78.72.36> <ms-dns2 10.78.72.28>]
    Could not determine remote IP address: defaulting to 10.64.64.64
    Script /var/etc/ppp/ip-pre-up started (pid 975)
    [net] [00:27:50] nfs daemon is disabled, skipping
    [net] [00:27:51] sending mount request to sbox automounter
    [net] [00:27:51] finished
    Script /var/etc/ppp/ip-pre-up finished (pid 975), status = 0x1
    local  IP address 10.234.174.131
    remote IP address 10.64.64.64
    primary   DNS address 10.78.72.36
    secondary DNS address 10.78.72.28
    rcvd [LCP ProtRej id=0x2 00 6f 72 65 20 70 72 6f 76 20 30 35 30 30 3a 30 32 32 42 30 30 0a bf f2 76 37 00 00 c0 21 45 10 ...]
    Protocol-Reject for unsupported protocol 'Stampede Bridging' (0x6f)
    

    На 07.2а с этими настройками все работает, вот почему в предыдущем посту возникли не большие сомнения не в обиду сказанные

  3. Поменял на 600 chap-secrets, pap-secrets,gprs,gprs.chat

    Вот лог не знаю куда копать автоизацию вроде проходит

    Запучк вручную pppd call gprs &

    Welcome to Cuberevo
    cuberevo-3000hd login: root
    Password:
    [PGI ~]$ pppd call gprs &
    [PGI ~]$ Script /sbin/chat -v -f /var/etc/ppp/chats/gprs.chat finished (pid 1447), status = 0x7
    Connect script failed
    
    [1]+  Done(8)                    pppd call gprs
    [PGI ~]$ pppd call gprs &
    [PGI ~]$ Script /sbin/chat -v -f /var/etc/ppp/chats/gprs.chat finished (pid 1450), status = 0x0
    Serial connection established.
    using channel 5
    Using interface ppp0
    Connect: ppp0 <--> /dev/ttyUSB0
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x18c75e4c> <pcomp> <accomp>]
    rcvd [LCP ConfReq id=0x4 <asyncmap 0x0> <auth chap MD5> <magic 0xe6a810> <pcomp> <accomp>]
    sent [LCP ConfAck id=0x4 <asyncmap 0x0> <auth chap MD5> <magic 0xe6a810> <pcomp> <accomp>]
    rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x18c75e4c> <pcomp> <accomp>]
    rcvd [LCP DiscReq id=0x5 magic=0xe6a810]
    rcvd [CHAP Challenge id=0x1 <6ce8066952408544a2ea41889077939f>, name = "UMTS_CHAP_SRVR"]
    sent [CHAP Response id=0x1 <09761e0c3c5a735435768e81443cca6c>, name = "gdata"]
    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 ConfReq id=0x4]
    sent [iPCP ConfNak id=0x4 <addr 0.0.0.0>]
    rcvd [iPCP ConfRej id=0x2 <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>]
    rcvd [iPCP ConfReq id=0x5]
    sent [iPCP ConfAck id=0x5]
    rcvd [iPCP ConfNak id=0x3 <addr 10.234.81.79> <ms-dns1 10.78.72.36> <ms-dns2 10.78.72.28>]
    sent [iPCP ConfReq id=0x4 <addr 10.234.81.79> <ms-dns1 10.78.72.36> <ms-dns2 10.78.72.28>]
    rcvd [iPCP ConfAck id=0x4 <addr 10.234.81.79> <ms-dns1 10.78.72.36> <ms-dns2 10.78.72.28>]
    Could not determine remote IP address: defaulting to 10.64.64.64
    Script /var/etc/ppp/ip-pre-up started (pid 1454)
    Script /var/etc/ppp/ip-pre-up finished (pid 1454), status = 0x1
    local  IP address 10.234.81.79
    remote IP address 10.64.64.64
    primary   DNS address 10.78.72.36
    secondary DNS address 10.78.72.28
    

    var/log/net

    [net] [23:55:11] started
    [net] [23:55:11] creating web interface pipe
    [net] [23:55:11] init USB comms
    [net] [23:55:12] USB_MODEM is set to 12d1:1001
    [net] [23:55:13] bringing up interface lo
    [net] [23:55:13] bringing up interface eth0
    udhcpc (v1.17.1) started
    Sending discover...
    Sending discover...
    Sending select for 192.168.1.161...
    Lease of 192.168.1.161 obtained, lease time 86400
    adding dns 192.168.1.1
    [net] [23:55:22] checking USB modem
    [net] [23:55:22] scanning usb connected devices
    [net] [23:55:27] device directly matching 12d1:1001 is connected
    [net] [23:55:27] loading usbserial.ko for vendor=0x12d1 product=0x1001
    [net] [23:55:27] PPPD_PEER peer is set to: gprs
    [net] [23:55:27] detecting serial device in /dev
    [net] [23:55:28] starting PPP call to gprs
    Script /sbin/chat -v -f /var/etc/ppp/chats/gprs.chat finished (pid 868), status = 0x0
    Serial connection established.
    using channel 1
    Using interface ppp0
    Connect: ppp0 <--> /dev/ttyUSB0
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe10b3138> <pcomp> <accomp>]
    rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0xe30768> <pcomp> <accomp>]
    sent [LCP ConfAck id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0xe30768> <pcomp> <accomp>]
    rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xe10b3138> <pcomp> <accomp>]
    rcvd [LCP DiscReq id=0x1 magic=0xe30768]
    rcvd [CHAP Challenge id=0x1 <ceafbb57602a13e3167943ff4616c3a6>, name = "UMTS_CHAP_SRVR"]
    sent [CHAP Response id=0x1 <894f50cd757bd1719000b5de9237ec41>, name = "gdata"]
    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>]
    [net] [23:55:33] setting hostname to [cuberevo]
    [net] [23:55:33] starting inetd
    [net] [23:55:33] network is ready
    [net] [23:55:33] NTP sync is disabled, system time = micom time
    [net] [23:55:33] samba daemon is enabled, will start now
    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>]
    [net] [23:55:34] nfs daemon is disabled, skipping
    [net] [23:55:34] sending mount request to sbox automounter
    [net] [23:55:34] finished
    rcvd [iPCP ConfReq id=0x0]
    sent [iPCP ConfNak id=0x0 <addr 0.0.0.0>]
    rcvd [iPCP ConfRej id=0x2 <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>]
    rcvd [iPCP ConfReq id=0x1]
    sent [iPCP ConfAck id=0x1]
    rcvd [iPCP ConfNak id=0x3 <addr 10.211.121.24> <ms-dns1 10.78.72.44> <ms-dns2 10.78.72.20>]
    sent [iPCP ConfReq id=0x4 <addr 10.211.121.24> <ms-dns1 10.78.72.44> <ms-dns2 10.78.72.20>]
    rcvd [iPCP ConfAck id=0x4 <addr 10.211.121.24> <ms-dns1 10.78.72.44> <ms-dns2 10.78.72.20>]
    Could not determine remote IP address: defaulting to 10.64.64.64
    Script /var/etc/ppp/ip-pre-up started (pid 939)
    Script /var/etc/ppp/ip-pre-up finished (pid 939), status = 0x1
    local  IP address 10.211.121.24
    remote IP address 10.64.64.64
    primary   DNS address 10.78.72.44
    secondary DNS address 10.78.72.20
    

  4. Из Вашего лога я вижу следующее:

    1) ресивер пытается поднять Ethernet используя DHCP, но не может. То есть, либо сетевой кабель вообще не подключен, либо проблемы с выдачей адреса вашему ресиверу от роутера (если таковой существует). Если не подключен, то это нормально всё.

    2) обнаруживается модем и происходит подключение к оператору

    3) подключение неуспешно, так как у вас либо параметры подключения не те, либо на файлах с паролями стоят не те атрибуты (нужно поставить chmod 600)

    4) из-за предыдущего пункта вас провайдер в интернет не пускает.

    Модем светиться синим цветом т.е. 3g соединение произошло, DNS видны в настройках сети в меню, мне кажется дело в другом

    Атрибуты были на файлах с паролями 644. Настройки использую одни и те же, что и 07.2.а, откатываюсь на нее все в порядке

  5. Д.Федор спасибо что починили сервис PPPD, соединение через 3G модем происходит, но инета к сожалению нету...(погода, ЮТЮБ не работают)IP адрес рессивера не остается как в 07.2а

    resolv.conf почему то остается старый от изернета 192.168.1.1

    var/log/net

    [net] [20:17:25] started
    [net] [20:17:25] creating web interface pipe
    [net] [20:17:25] init USB comms
    [net] [20:17:26] USB_MODEM is set to 12d1:1001
    [net] [20:17:26] bringing up interface lo
    [net] [20:17:27] bringing up interface eth0
    udhcpc (v1.17.1) started
    Sending discover...
    Sending discover...
    Sending discover...
    Sending discover...
    Sending discover...
    Sending discover...
    Sending discover...
    Sending discover...
    Sending discover...
    Sending discover...
    Usage : /etc/network/udhcpc.sh {bound|renew|deconfig}
    No lease, failing
    [net] [20:17:57] checking USB modem
    [net] [20:17:57] scanning usb connected devices
    [net] [20:18:00] device directly matching 12d1:1001 is connected
    [net] [20:18:00] loading usbserial.ko for vendor=0x12d1 product=0x1001
    [net] [20:18:00] PPPD_PEER peer is set to: gprs
    [net] [20:18:00] detecting serial device in /dev
    [net] [20:18:00] starting PPP call to gprs
    Script /sbin/chat -v -f /var/etc/ppp/chats/gprs.chat finished (pid 893), status = 0x0
    Serial connection established.
    using channel 1
    Using interface ppp0
    Connect: ppp0 <--> /dev/ttyUSB0
    Warning - secret file /var/etc/ppp/pap-secrets has world and/or group access
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2cd45903> <pcomp> <accomp>]
    rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0xe34939> <pcomp> <accomp>]
    sent [LCP ConfAck id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0xe34939> <pcomp> <accomp>]
    rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x2cd45903> <pcomp> <accomp>]
    rcvd [LCP DiscReq id=0x1 magic=0xe34939]
    rcvd [CHAP Challenge id=0x1 <ceafbb57602a13e3167943ff4616c3a6>, name = "UMTS_CHAP_SRVR"]
    Warning - secret file /var/etc/ppp/chap-secrets has world and/or group access
    sent [CHAP Response id=0x1 <ec980d26f189ce0a5e98aa30f5c0b424>, name = "(none)"]
    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>]
    [net] [20:18:05] setting hostname to [cuberevo]
    [net] [20:18:05] starting inetd
    [net] [20:18:05] network is ready
    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>]
    [net] [20:18:05] NTP sync is disabled, system time = micom time
    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 10.233.84.191> <ms-dns1 10.78.72.44> <ms-dns2 10.78.72.20>]
    sent [iPCP ConfReq id=0x5 <addr 10.233.84.191> <ms-dns1 10.78.72.44> <ms-dns2 10.78.72.20>]
    rcvd [iPCP ConfAck id=0x5 <addr 10.233.84.191> <ms-dns1 10.78.72.44> <ms-dns2 10.78.72.20>]
    Could not determine remote IP address: defaulting to 10.64.64.64
    [net] [20:18:05] samba daemon is enabled, will start now
    Script /var/etc/ppp/ip-pre-up started (pid 938)
    [net] [20:18:07] nfs daemon is disabled, skipping
    [net] [20:18:07] sending mount request to sbox automounter
    [net] [20:18:07] finished
    Script /var/etc/ppp/ip-pre-up finished (pid 938), status = 0x1
    local  IP address 10.233.84.191
    remote IP address 10.64.64.64
    primary   DNS address 10.78.72.44
    secondary DNS address 10.78.72.20 

    Кстати если поможет при подключении через изернет по проводу в установках сети если поменять DHCP с уже полученными параметрами на мануал, шлюз и маска обнуляется и failed connected

  6. Ув. Дядя Федор начал пробовать вашу прошивку PGI 8

    3G модем который успешно работал на PGI 7.2 на этой прошивке отказывается работать, в чем может быть проблема?

    вот логи

    лог var\log\net

    [net] [20:37:25] started
    [net] [20:37:25] creating web interface pipe
    [net] [20:37:25] init USB comms
    [net] [20:37:26] USB_MODEM is set to 12d1:1001
    [net] [20:37:26] bringing up interface lo
    [net] [20:37:27] bringing up interface eth0
    udhcpc (v1.17.1) started
    Sending discover...
    Sending discover...
    Sending select for 192.168.1.161...
    Lease of 192.168.1.161 obtained, lease time 86400
    adding dns 192.168.1.1
    [net] [20:37:34] checking USB modem
    [net] [20:37:34] scanning usb connected devices
    [net] [20:37:37] device directly matching 12d1:1001 is connected
    [net] [20:37:37] loading usbserial.ko for vendor=0x12d1 product=0x1001
    [net] [20:37:37] PPPD_PEER peer is set to: gprs
    [net] [20:37:37] detecting serial device in /dev
    [net] [20:37:37] starting PPP call to gprs
    Script /sbin/chat -v -f /var/etc/ppp/chats/gprs.chat finished (pid 695), status = 0x0
    Serial connection established.
    Couldn't set tty to PPP discipline: Invalid argument
    [net] [20:37:42] setting hostname to [cuberevo]
    [net] [20:37:42] starting inetd
    [net] [20:37:42] network is ready
    [net] [20:37:42] NTP sync is disabled, system time = micom time
    [net] [20:37:42] samba daemon is enabled, will start now
    [net] [20:37:43] nfs daemon is disabled, skipping
    [net] [20:37:43] sending mount request to sbox automounter
    [net] [20:37:43] finished 

    мой PGI conf

    BACKUP_DIR="/media/pgi-backup"
    CI_INIT="yes"
    CRON="no"
    EPG_DATA_DIR="/media"
    ETH_ADDR_LOW="none"
    NFSD="no"
    NFS_REC="no"
    NFS_REC_PROTO="tcp"
    NTP_SYNC="no"
    PPPD_PEER="gprs"
    SAMBA="yes"
    SKIN="default"
    USB_MODEM="12d1:1001"
    WEBTV="yes"
    DEBUG="yes" 

    В \TMP не вижу файлов похожих на модем

    /var/etc/ppp/chats/gprs.chat

    # GPRS Chat File, contains all parameters that /usr/sbin/chat will pass to the modem to create the GPRS connection
    #
    #
    # Abort Strings
    'ABORT' 'BUSY'
    'ABORT' 'ERROR'
    'ABORT' 'NO ANSWER'
    'ABORT' 'NO CARRIER'
    'ABORT' 'NO DIALTONE'
    'ABORT' 'Invalid Login'
    'ABORT' 'Login incorrect'
    'TIMEOUT' '10'
    #
    # Modem Init
    '' 'ATZ'
    #
    #
    'OK' 'ATM1L1'
    #
    # "internet" represents Vodafone's APN, whereas "general.t-mobile.uk" is T-mobiles UK APN address
    'OK' 'AT&f+cgdcont=1,"IP","internet","",0,0'
    'OK' 'ATDT*99***1#'
    'CONNECT' ''
    

    /var/etc/ppp/peers/gprs

    #this file contains all the parameters pppd will pass to the modem to establish the GPRS connection
    #
    # The user and password has been commented out becasue the "noauth" command is being used
    #user web
    #password web
    #
    # This places a default route in the routing table with the peer as the gateway
    defaultroute
    #
    # This can also be used to replace existing default routes
    #replacedefaultroute
    #
    # Serial Modem to use
    /dev/ttyUSB0
    460800
    #
    # Call this chat script to issue the modem commands
    connect "/sbin/chat -v -f /var/etc/ppp/chats/gprs.chat"
    #
    # Enable debugging to /var/log/messages
    debug
    #
    # Enable kernel debugging level 4
    kdebug 4
    #
    #
    ipcp-no-addresses
    #
    #
    noipdefault
    #
    # Do not require the peer to use authentication
    noauth
    #
    # Disable Van Jacobson style TCP/IP header compression in both TX and RX
    novj
    #
    # Disable compression control protocol,if peer doesnt accept requests for CCP from pppd
    noccp
    #
    # Use RTS/CTS hardware flow control
    crtscts
    #
    # I cant find what this means, but if its not included there is no output to the command prompt
    modem -detach
    #
    # Use DNS given to peer and rewrite /etc/resolv.conf
    usepeerdns
    #
    # pppd will accept the peers idea of its remote ip address
    ipcp-accept-remote
    #
    # pppd will accept the peers idea of its local ip address
    ipcp-accept-local
    #
    

    Вывод команды ls /dev | grep USB

    Welcome to Cuberevo
    cuberevo login: root
    Password:
    [PGI ~]$ ls /dev | grep USB
    ttyUSB0
    ttyUSB1
    ttyUSB2
    [PGI ~]$
    

    Вывод lsusb

    
    
    [PGI ~]$ Lsusb
    -sh: Lsusb: not found
    [PGI ~]$ lsusb
    Bus 002 Device 002: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
    Bus 002 Device 001: ID 0000:0000
    Bus 001 Device 001: ID 0000:0000
    [PGI ~]$
    

    Запуск вручную pppd call gprs &

    Welcome to Cuberevo
    cuberevo login: root
    Password:
    [PGI ~]$ pppd call gprs &
    [PGI ~]$ Script /sbin/chat -v -f /var/etc/ppp/chats/gprs.chat finished (pid 1046), status = 0x0
    Serial connection established.
    Couldn't set tty to PPP discipline: Invalid argument
    [PGI ~]$
    

  7. Что значит "просто выключить" и о каком именно "меню" идет речь?

    Имелось ввиду если удерживать кнопку на пульте выкл, появляется меню где есть презагрузка

    А просто выключить, имеется ввиду, нажать кнопку на пульте выкл, потом опять же ее вкл

  8. Ув. Дядя Федор в прошивке PGI 07.2a сделано чтоб диск правильно размонтировался при выключении.

    Вопрос такой при перезагрузке ресивера через меню, работает ли скрипт для размонтирование перед выключением?

    У меня, если выкл ресивер просто и включить, диск мгновенно определяется, если перезагузить через меню диск очень долго в течении минуты определяется, в настройках в обоих вариантах стоит проверка диска при старте

  9. Скорее всего плохо дела с диском.

    Можете попробовать подключить его к компьютеру и погонять тесты типа SMART monitoring tools, но, скорее всего, фтопку.

    На компьютере удалил Акрониксом все разделы всунул в рес форматнул и вуаля ;-))
×
×
  • Создать...