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

Mihanism

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

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

  • Посещение

Весь контент Mihanism

  1. помогите плиз... отредактировал файлы для ХУАВЕЙ Е1550 МТС 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 mts #password mts # # 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/ttyUSB2 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 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.mts.ru","",0,0' 'OK' 'ATDT*99#' 'CONNECT' '' CODE chap.secret # Secrets for authentication using CHAP # client server secret IP addresses *mts* "mts" * результат [PGI ~]$ pppd call gprs & Script /sbin/chat -v -f /var/etc/ppp/chats/gprs.chat finished (pid 2370), status = 0x89 Connect script failed
  2. Спасибо Дядя Федор. Вы мозг:) Получается что модем сейчас стартует нормально и можно настраивать PPPD???
  3. после того как изменил атрибуты 1.usbmodem sbox.init.log выдает такую ошибку: [1.db] [02:24:36] running DB revision check [sbox.init] [02:24:36] stage 1 user script: /var/bin/init.d/1.ntp [sbox.init] [02:24:36] stage 1 user script: /var/bin/init.d/1.usbmodem /bin/sh: illegal option - checking database revision.
  4. как я понял из лога /etc/rc.d/rc3.d/S50sbox: line 287: /var/bin/init.d/1.usbmodem: Permission denied атрибуты файлы были -rw-r--r-- 1 root root 3926 Apr 12 00:21 1.usbmodem изменил -rwxr-xr-x 1 root root 3926 Apr 12 00:21 1.usbmodem
  5. [sbox.init] [01:46:55] started[sbox.init] [01:46:55] exporting pgi.conf variables[sbox.init] [01:46:55] checking for missing config files in /var[sbox.init] [01:46:55] stage 1 user script: /var/bin/init.d/1.ci[sbox.init] [01:46:55] stage 1 user script: /var/bin/init.d/1.cron[1.ci] [01:46:55] started[1.ci] [01:46:55] loading CI kernel module[1.ci] [01:46:56] finished[sbox.init] [01:46:56] stage 1 user script: /var/bin/init.d/1.db[sbox.init] [01:46:56] stage 1 user script: /var/bin/init.d/1.hdd[1.cron] [01:46:56] started[sbox.init] [01:46:56] stage 1 user script: /var/bin/init.d/1.netd[1.cron] [01:46:57] no cron daemon start requested[1.cron] [01:46:57] finished[1.hdd] [01:46:57] started[1.hdd] [01:46:57] nfs recording is not enabled[1.hdd] [01:46:57] no device /sys/block/sda -- no hdd support in sbox[1.hdd] [01:46:57] finished[1.db] [01:46:57] started[1.db] [01:46:57] running DB revision check[sbox.init] [01:46:57] stage 1 user script: /var/bin/init.d/1.ntpchecking database revision.[sbox.init] [01:46:57] stage 1 user script: /var/bin/init.d/1.usbmodem/etc/rc.d/rc3.d/S50sbox: line 287: /var/bin/init.d/1.usbmodem: Permission denied[1.netd] [01:46:57] started[1.netd] [01:46:57] samba daemon is disabled, skipping[1.netd] [01:46:57] nfs daemon is disabled, skipping[1.netd] [01:46:57] enabling cifs mounting as a client[1.netd] [01:46:57] sending mount mgr automount to sbox[sbox.init] [01:46:58] setting tv mode: [1920x1080-50i][sbox.init] [01:46:58] hdd is ignored: /sys/block/sda does not exist and no NFS_REC used[1.ntp] [01:46:58] started[1.ntp] [01:46:58] no NTP time synchronisation requested[1.ntp] [01:46:58] finished[1.db] [01:46:59] setting aspect ratio option to [0:3:2:1:4][1.db] [01:46:59] setting device banner state to [skip1st][1.db] [01:47:00] setting fan state to [on][1.db] [01:47:00] setting power button option to [hold][1.db] [01:47:01] setting vfd brightness to [7][1.db] [01:47:01] raising the db_ready flag[1.db] [01:47:01] finished[sbox.init] [01:47:07] stage 2 user script: /var/bin/init.d/2.cs[sbox.init] [01:47:07] stage 2 user script: /var/bin/init.d/2.ethaddr[sbox.init] [01:47:07] stage 2 user script: /var/bin/init.d/2.streamts[2.ethaddr] [01:47:07] started[2.cs] [01:47:07] started[2.ethaddr] [01:47:07] MAC address is auto-managed[2.cs] [01:47:07] loading cardreader driver [sci-ng][sbox.init] [01:47:07] user set skin: [default][sbox.init] [01:47:07] default skin selected[sbox.init] [01:47:07] starting sbox applicationLoading SCI-NG[2.streamts] [01:47:07] started[2.streamts] [01:47:07] webtv requested - waiting for sbox to start...[2.ethaddr] [01:47:08] current MAC address is: [00:13:18:02:EF:27][2.ethaddr] [01:47:08] setting MAC address to [00:13:18:02:EF:27] for the next reboot[2.cs] [01:47:08] cardserver selected: [newcs][2.cs] [01:47:08] starting newcs...This is NewCS 1.67 RC1 [build: 95] - the New CardServer by the Butter-team..Compiled on Jul 14 2009 at 12:01:03Reading Config file from /var/keys/newcs.xmlTCP-log password is disabled!TCP-log set to simple modelevel: normaltype: initoutput: consolelogger config: level 1 type 3 output 1Console log options: level 1 type 3[ 01:47:09 ] [ Box detect ] Box type 1 (General Boxtype - Generic)[ 01:47:09 ] [ Config ] Option <blockc0> for device 0 (lower) not present, defaulting to NO[ 01:47:09 ] [ Config ] Option <crypto-special> for device 0 (lower) not present, defaulting to NO[ 01:47:09 ] [ Config ] Pincode for device 0 (lower): 0000[ 01:47:09 ] [ Config ] /dev/sci0 ECM priority: round[ 01:47:09 ] [ Config ] Option <spider> not present for User: pgi, defaulting to NO[ 01:47:09 ] [ Config ] Option <spider> not present for User: pgi_pip, defaulting to NO[ 01:47:09 ] [ Config ] Option <spider> not present for User: pgi_rec, defaulting to NO[ 01:47:09 ] [ httpd ] httpd-user: root, password: relook, accesslevel: admin[ 01:47:09 ] [ EMM Cache ] Initialising dynamic Cache[ 01:47:09 ] [ ECM Cache ] Initialising dynamic Cache[ NewCS ] Process ID is: 846[ 01:47:09 ] [ Loader ] Starting Telnet on port 0[ 01:47:09 ] [ Loader ] Started HTTP-server on port: 11000[ 01:47:09 ] [ Loader ] Reader type 5 on node /dev/sci0[ 01:47:09 ] [ Sci ] Closing device /dev/sci0 [Handle=-1][ 01:47:09 ] [ Sci ] Opening device /dev/sci0SCI returned 0 on IOCTL IOCTL_SET_PARAMETERS[ 01:47:09 ] [ Sci ] No card present in reader[ 01:47:09 ] [ Loader ] Reset failed ...[ 01:47:09 ] [ Loader ] Starting Newcamd Server on port 10100[ 01:47:09 ] [ NewCS ] Ready to GO! <img src='http://gomel-sat.bz/forums/public/style_emoticons/<#EMO_DIR#>/smile.png' class='bbc_emoticon' alt=':)' />[2.cs] [01:47:09] softcam enabled, waiting for sbox to start...[ 01:47:10 ] [ Newcamd ] Newcamd thread Server started on port 10100ioctl failed.(Invalid argument)[FRONT] [VFD] never use the power symbol> [2.ethaddr] [01:47:12] finished[1.netd] [01:47:12] finishedcompiled at 03/27/10 09:55:21 by bhishma@WaterhouseSTMERGE_Init success !!### Warning INJ_Setup:56: [iNJ] INJ PTI name is not exist. CHECK !!!!### Warning INJ_Setup:56: [iNJ] INJ PTI name is not exist. CHECK !!!!### Warning INJ_Setup:56: [iNJ] INJ PTI name is not exist. CHECK !!!!LAYER[0] : Width = 1920, Height = 1080, ScanType = INTERLACED, Aspect = 16:9LAYER[1] : Width = 1920, Height = 1080, ScanType = INTERLACED, Aspect = 4:3LAYER[2] : Width = 1920, Height = 1080, ScanType = INTERLACED, Aspect = 16:9VOUT_SetOutputParams(VOUT_MAIN, OutputType:1024) -> OKVOUT_SetOutputParams(VOUT_AUX, OutputType:2048) -> OKVOUT_SetOutputParams(VOUT_HDMI, OutputType:8) -> OK[vmix.c] >> line 244, num layers = 2[vmix.c] >> line 256, num layers = 3[vmix.c] >> line 272, Index = 0[vmix.c] >> line 272, Index = 1[vmix.c] >> line 272, Index = 2[vmix.c] >> line 366 returning 0gfx_init() : STGFX-REL_1.5.4gfx_open() : openedinit default gc : successSTLAYER_OpenViewPort SucessSTVID_Init() : VID_CallbackThread() start !![VID] pig (1120,590) (640,360)[VID] now decode mode : [sTREAM_H264][VID] to this decode mode : [sTREAM_MPEG][VID] before vid[vid_primary].handle : [C05A31D8][VID] after vid[vid_primary].handle : [C05A31D8]input device name "/dev/input/event0"img: prefix "/usr/share/sbox/image"[PVR] open for play : 0 : 0x86fd58[PVR] open for record : 0 : 0x870188[PVR] open for record : 0 : 0x8705b8[PVR] open for play : 0 : 0x8709e8[PVR] open for record : 0 : 0x870e18[PVR] open for record : 0 : 0x871248[TUNER] SMART_TUNER is enabled, start detect [TUNER] try to detect 0[TUNER] slot 0 : DVB-S2[cx24116] slot 0 : cx24116 initailizing start[cx24116] slot 0 : cx24116 initailizing success[TELETEXT] buffering thread start[sCH_REC]sch_core_2008_01_01_all_schdata_deleteslot_monitorregister RM recource 1 1 1register AI recource 2 1 1register CA recource 3 1 1register MMI recource 64 1 1[slot_monitor] smarcard resourceid = 00700041register smartcard recource 112 1 1*** Error aud_event_register:886: invalid event*** Error private_list_init:721: fopen failed.piece: prefix "/usr/share/sbox/image"[AUTOMOUNT] automount_init ... ! [RTC] clear alarm[sCH_MANAGER] wait for new schedule.use "/usr/share/locale/ru/LC_MESSAGES/sbox.mo" as mo file.[TZ] TZ updated with "/usr/share/zoneinfo/Etc/GMT-3"execute gui_init.[AUD] volume : 12[PIECE] Open "volume" piece... 0 / 65[PIECE] Open "progressbar_volume" piece... 1 / 65[PIECE] Open "frame_mute" piece... 2 / 65[PIECE] Open "icon" piece... 3 / 65[PIECE] Open "background" piece... 4 / 65[PIECE] Open "frame_big_radio_background" piece... 5 / 65[PIECE] Open "frame_small_radio_background" piece... 6 / 65[sTART]system locking check[AUD] current aud info stream content : 0 freq : -1### Warning aud_set_spdif_mode:633: [AUD] can not stop audio(already stopped ??) : STAUD_ERROR_DECODER_STOP[AUD] spdif compressed### Warning aud_set_spdif_mode:668: [AUD] can not start audio(maybe started by DVM/PRM ??) : ST_ERROR_BAD_PARAMETER[AUD] hdmi noncompressed[RTC] clear alarm*** Error pmt_monitoring_stop:236: [PMT_MONITORING] pmt monitoring not started.[cx24116] trying to lock : tuner_id = 1, sat_id = 25, freq = 12226, sym = 27500, fec = 3/4, mod = QPSK, trans = DVB-Slock_cx24116:2963: tuner LOCKED!! 0[CH] pmt_pid = 250(0xfa), service_id = 27025(0x6991)[CH] PMT open : 0xfa @ dmx2[CH] CAT open : dmx2[CH_AUDIO] audio index : 0, stop : 0[AUD] spdif noncompressed[AUD] set stereo mode[PVR] stream type debug : pvr_get_pids_normal() audio_item_num = 1 service type : 0x1 video stream : 0x2 audio stream : 0x4[PVR] pid list. num_of pids = 4 [00] MPGV : 0x00FB [01] MP2A : 0x00FC [02] PCR : 0x00FB [03] MP2A : 0x00FC### Warning camd_build_capmt:400: Forgot to send stop message for demux 0?[PMT_MONITORING] start pmt monitoring...(2, 0x00FA)[tuner] monitoring resume. (tuner_id:1)[TUNER_MONITORING] lock status is changed : TODO - send pmt update### Warning get_slot_info_by_slot_num:187: CAM slot 0 was extracted.### Warning get_slot_info_by_slot_num:187: CAM slot 0 Starting mgcamd...[2.streamts] [01:47:19] starting web-tv daemon[2.streamts] [01:47:19] finished[streamts-ng] v1.5 successfully starteddone![2.cs] [01:47:20] finishedwas extracted.### Warning get_slot_info_by_slot_num:187: CAM slot 1 was extracted.### Warning get_slot_info_by_slot_num:187: CAM slot 1 was extracted.*** Error cam_try_descramble:863: there is no usable cam[tuner] monitoring resume. (tuner_id:1)[AUD] volume : 12time adjusting on boot....[PIECE] Open "nlivebanner" piece... 7 / 65tdt_status_success[PIECE] Open "frame_banner_normal" piece... 8 / 65[PIECE] Open "frame_banner_additional" piece... 9 / 65[PIECE] Open "progressbar_banner_level" piece... 10 / 65[PIECE] Open "progressbar_banner_quality" piece... 11 / 65[PIECE] Open "frame_banner_pvr" piece... 12 / 65[PIECE] Open "textbox_banner_additional_storybox" piece... 13 / 65[PIECE] Open "scrollbar_banner_additional" piece... 14 / 65get new cam on slot 0new slot_id(0) on 0th slotconnection id 1*** Error pvr_live_get_time:760: can't get recording pvr00:Host originated transport connection 1 connected[PIECE] Open "channellist" piece... 15 / 6500:Public resource lookup callback 1 1 100:CAM connecting to resource 00010041, session_number 100:CAM successfully connected to resource 00010041, session_number 1[PIECE] Open "frame_channellist" piece... 16 / 6500:Public resource lookup callback 3 1 100:CAM connecting to resource 00030041, session_number 200:CAM successfully connected to resource 00030041, session_number 200:rm_reply_callback00:ca_info_callback Supported CA ID: 4ae000:rm_enq_callback00:Public resource lookup callback 2 1 100:CAM connecting to resource 00020041, session_number 300:CAM successfully connected to resource 00020041, session_number 3[PIECE] Open "buttons_chlist" piece... 17 / 6500:ai_callback Application type: 01 Application manufacturer: 4ae0 Manufacturer code: 0000 Menu string: DREcrypt[PIECE] Open "button_extended_chlist" piece... 18 / 6500:Connection to resource 00030041, session_number 2 closed[PIECE] Open "button_base_chlist" piece... 19 / 65[PIECE] Open "button_extended_chlist_title" piece... 20 / 65[PIECE] Open "button_base_chlist_title" piece... 21 / 6500:Public resource lookup callback 3 1 100:CAM connecting to resource 00030041, session_number 200:CAM successfully connected to resource 00030041, session_number 2[PIECE] Open "help_channellist" piece... 22 / 6500:ca_info_callback Supported CA ID: 4ae0[PIECE] Open "frame_help" piece... 23 / 65[PIECE] Open "textbox_chlist" piece... 24 / 65[PIECE] Open "scrollbar_list_block" piece... 25 / 65[PIECE] Open "help_favlist" piece... 26 / 65[PIECE] Open "favoritelist" piece... 27 / 65[PIECE] Open "frame_favoritelist" piece... 28 / 65[PIECE] Open "buttons_fav_list_vertical" piece... 29 / 65[PIECE] Open "buttons_fav_menu_vertical" piece... 30 / 65[PIECE] Open "button_extended_favlist" piece... 31 / 65[PIECE] Open "button_base_favlist_list" piece... 32 / 65[PIECE] Open "button_simple_favlist" piece... 33 / 65[PIECE] Open "button_base_favlist_menu" piece... 34 / 65[CMD_EVENT_HANLDER] EVENT_TUNER_LOCK_CHANGED received[cmd_handle_tuner_lock_changed] send event to ch module( live )[CH] pmt_pid = 250(0xfa), service_id = 27025(0x6991)[CH] PMT open : 0xfa @ dmx2[CH_CHANGE_UPDATE] pmt is not updated[VID] pig (0,-1) (1920,1080)[CH_VIDEO] tv setting 16:9, aspect ratio 16:9, current ch ar : -1 !![VID] pig (0,-1) (1920,1080)[LIVEMENU]!!! +++ now is live +++ !!!### Warning aud_decoder_event_callback:1251: **** BEFORE SEND EVENT : not descrambling...### Warning aud_decoder_event_callback:1251: **** BEFORE SEND EVENT : not descrambling...show messagebox... -1, "Сообщение", "Канал закодирован или недоступен"[PIECE] Open "messagebox_default" piece... 35 / 65mbox->tbox_rect.h = 21, vect_num = 1[PIECE] Open "frame_messagebox" piece... 36 / 65[PIECE] Open "textbox_msgbox" piece... 37 / 65### Warning aud_decoder_event_callback:1251: **** BEFORE SEND EVENT : not descrambling...### Warning aud_decoder_event_callback:1251: **** BEFORE SEND EVENT : not descrambling...### Warning aud_decoder_event_callback:1251: **** BEFORE SEND EVENT : not descrambling...##
  6. почему то после несколких перезагрузок 1.usbmodem не обнавляется.... как был вчерашний, так и остался [1.usbmodem] [18:31:14] started [1.usbmodem] [18:31:14] USB_MODEM is not set in pgi.conf [1.usbmodem] [18:31:14] pppd peer is set to: gprs [1.usbmodem] [18:31:15] detecting serial device in /dev, attempt #1/10 [1.usbmodem] [18:31:17] detecting serial device in /dev, attempt #2/10 ...
  7. [1.usbmodem] [14:35:18] started [1.usbmodem] [14:35:18] USB_MODEM is set to 12d1:1001 [1.usbmodem] [14:35:24] scanning usb connected devices [1.usbmodem] [14:35:28] no usb devices found [1.usbmodem] [14:35:28] loading usbserial.ko for vendor=0x12d1 product=0x1001 [1.usbmodem] [14:35:28] pppd peer is set to: gprs [1.usbmodem] [14:35:29] detecting serial device in /dev, attempt #1/10 [1.usbmodem] [14:35:31] detecting serial device in /dev, attempt #2/10 [1.usbmodem] [14:35:32] detecting serial device in /dev, attempt #3/10 [1.usbmodem] [14:35:33] detecting serial device in /dev, attempt #4/10 [1.usbmodem] [14:35:34] detecting serial device in /dev, attempt #5/10 [1.usbmodem] [14:35:35] detecting serial device in /dev, attempt #6/10 [1.usbmodem] [14:35:36] detecting serial device in /dev, attempt #7/10 [1.usbmodem] [14:35:42] detecting serial device in /dev, attempt #8/10 [1.usbmodem] [14:35:43] detecting serial device in /dev, attempt #9/10 [1.usbmodem] [14:35:44] detecting serial device in /dev, attempt #10/10 [1.usbmodem] [14:35:45] warning: could not detect any serial interfaces /sbin/pppd: In file /etc/ppp/peers/gprs: unrecognized option '/dev/ttyACM0' [1.usbmodem] [14:35:45] finished
  8. модем перевел в режим модема. но все равно при включении он его аппараь его не видит. только когда я вручную ввожу команду : modprobe usbserial vendor=0x12d1 product=0x1001то вижу : [PGI ~]$ modprobe usbserial vendor=0x12d1 product=0x1001[J [PGI ~]$ lsusb[J [PGI ~]$ ls -ls /dev/tty*[J 0 crw-rw-rw- 1 root root 5, 0 Feb 7 2027 [1;35m/dev/tty[0m 0 crw-rw---- 1 root root 204, 40 Feb 7 2027 [1;35m/dev/ttyAS0[0m 0 crw-rw---- 1 root root 204, 41 Feb 7 2027 [1;35m/dev/ttyAS1[0m 0 crw-rw---- 1 root root 188, 0 Apr 10 02:41 [1;35m/dev/ttyUSB0[0m 0 crw-rw---- 1 root root 188, 1 Apr 10 02:41 [1;35m/dev/ttyUSB1[0m 0 crw-rw---- 1 root root 188, 2 Apr 10 03:34 [1;35m/dev/ttyUSB2[
  9. Добрый день. помогите настроить 3G модем E1550-MTC на sezam 902. инструкции прочитал. скачал usb-modeswitch-1.1.1, распоовал. как его установить?? не получается скопировать конфиг файлы в /etc/ и др папки по lsusb определяется то так: Bus 002 Device 001: ID 0000:0000 Bus 001 Device 004: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem Bus 001 Device 001: ID 0000:0000 то так: Bus 002 Device 001: ID 0000:0000 Bus 001 Device 002: ID 12d1:1446 Huawei Technologies Co., Ltd. Bus 001 Device 001: ID 0000:0000
×
×
  • Создать...