![]() |
Hi all, i wrote yesterday to this Mailinglist but found it would be a good Idea to gibe vou more inforations. Therefore here are parts of my config files... Inittab # Run gettys in standard runlevels 1:2345:respawn:/sbin/mingetty tty1 2:2345:respawn:/sbin/mingetty tty2 3:2345:respawn:/sbin/mingetty tty3 4:2345:respawn:/sbin/mingetty tty4 5:2345:respawn:/sbin/mingetty tty5 6:2345:respawn:/sbin/mingetty tty6 S1:345:respawn:/usr/sbin/faxgetty /dev/ttyS1 #S1:345:respawn:/usr/sbin/vgetty /dev/ttyS1 So faxgetty works fine,- vgetty does not! /etc/mgetty+sendfax/mgetty.config ... debug 6 # set the local fax station id fax-id 49 6082 3149 # access the modem(s) with 38400 bps speed 38400 port ttyS1 speed 38400 switchbd 19200 /etc/mgetty+sendfax/voice.conf ... part generic voice_log_level 6 voice_dir /var/spool/voice message_flag_file .flag receive_dir incoming ... port_speed 38400 voice_shell /bin/sh port_timeout 15 ... voice_devices ttyS1 --- Port specific configuration ... ring_type virtual answer_mode fax:data ring_type ring answer_mode voice ring_type ring1 answer_mode fax:data /var/log/vgetty.lof.ttyS1 => nach manuellem Start 02/16 15:42:20 yS1 vgetty: experimental test release 0.9.32 / 24Dec01 02/16 15:42:20 yS1 mgetty: experimental test release 1.1.28-Jan10 02/16 15:42:21 yS1 reading generic configuration from config file /etc/mgetty+sendfax/voice.conf 02/16 15:42:21 yS1 reading /etc/mgetty+sendfax/voice.conf... 02/16 15:42:21 yS1 conf lib: read: 'part generic' 02/16 15:42:21 yS1 section: part generic, **found** 02/16 15:42:21 yS1 conf lib: read: 'voice_log_level 6' 02/16 15:42:21 yS1 conf lib: read: 'voice_shell_log "/var/log/vgetty_voice_shell.%s"' 02/16 15:42:21 yS1 conf lib: read: 'voice_dir /var/spool/voice' 02/16 15:42:21 yS1 conf lib: read: 'phone_owner root' 02/16 15:42:21 yS1 conf lib: read: 'phone_group uucp' 02/16 15:42:21 yS1 conf lib: read: 'phone_mode 0660' 02/16 15:42:21 yS1 conf lib: read: 'message_flag_file .flag' 02/16 15:42:21 yS1 conf lib: read: 'receive_dir incoming' 02/16 15:42:21 yS1 conf lib: read: 'message_dir messages' 02/16 15:42:21 yS1 conf lib: read: 'message_list Index' 02/16 15:42:21 yS1 conf lib: read: 'backup_message standard.rmd' 02/16 15:42:21 yS1 conf lib: read: 'port_speed 38400' 02/16 15:42:21 yS1 conf lib: read: 'voice_shell /bin/sh' 02/16 15:42:21 yS1 conf lib: read: 'port_timeout 15' 02/16 15:42:21 yS1 conf lib: read: 'dial_timeout 90' 02/16 15:42:21 yS1 conf lib: read: 'command_delay 100' 02/16 15:42:21 yS1 conf lib: read: 'dtmf_len 30' 02/16 15:42:21 yS1 conf lib: read: 'dtmf_threshold 40' 02/16 15:42:21 yS1 conf lib: read: 'dtmf_wait 7' 02/16 15:42:21 yS1 conf lib: read: 'ignore_fax_dle false' 02/16 15:42:21 yS1 conf lib: read: 'raw_data false' 02/16 15:42:21 yS1 conf lib: read: 'rec_compression 0' 02/16 15:42:21 yS1 conf lib: read: 'rec_speed 0' 02/16 15:42:21 yS1 conf lib: read: 'rec_silence_len 70' 02/16 15:42:21 yS1 conf lib: read: 'rec_silence_threshold 40' 02/16 15:42:21 yS1 conf lib: read: 'rec_remove_silence false' 02/16 15:42:21 yS1 conf lib: read: 'rec_max_len 300' 02/16 15:42:21 yS1 conf lib: read: 'rec_min_len 0' 02/16 15:42:21 yS1 conf lib: read: 'do_hard_flow true' 02/16 15:42:21 yS1 conf lib: read: 'beep_frequency 933' 02/16 15:42:21 yS1 conf lib: read: 'beep_length 1500' 02/16 15:42:21 yS1 conf lib: read: 'max_tries 8' 02/16 15:42:21 yS1 conf lib: read: 'retry_delay 5' 02/16 15:42:21 yS1 conf lib: read: 'watchdog_timeout 60' 02/16 15:42:21 yS1 conf lib: read: 'receive_gain -1' 02/16 15:42:21 yS1 conf lib: read: 'transmit_gain -1' 02/16 15:42:21 yS1 conf lib: read: 'enable_command_echo false' 02/16 15:42:21 yS1 conf lib: read: 'poll_interval 10' 02/16 15:42:21 yS1 conf lib: read: 'program vgetty' 02/16 15:42:21 yS1 found CT_KEYWORD program vgetty 02/16 15:42:21 yS1 conf lib: read: 'rings 3' 02/16 15:42:21 yS1 conf lib: read: 'answer_mode voice:fax:data' 02/16 15:42:21 yS1 conf lib: read: 'force_autodetect false' 02/16 15:42:21 yS1 conf lib: read: 'toll_saver_rings 0' 02/16 15:42:21 yS1 conf lib: read: 'rec_always_keep true' 02/16 15:42:21 yS1 conf lib: read: 'button_program ' 02/16 15:42:21 yS1 conf lib: read: 'call_program ' 02/16 15:42:21 yS1 conf lib: read: 'dtmf_program dtmf.sh' 02/16 15:42:21 yS1 conf lib: read: 'message_program ' 02/16 15:42:21 yS1 conf lib: read: 'do_message_light false' 02/16 15:42:21 yS1 conf lib: read: 'ring_report_delay 15' 02/16 15:42:21 yS1 conf lib: read: 'program vm' 02/16 15:42:21 yS1 conf lib: read: 'voice_devices ttyS1' 02/16 15:42:21 yS1 conf lib: read: 'dialout_timeout 90' 02/16 15:42:21 yS1 conf lib: read: 'ringback_goes_away 70' 02/16 15:42:21 yS1 conf lib: read: 'ringback_never_came 100' 02/16 15:42:21 yS1 conf lib: read: 'program pvf' 02/16 15:42:21 yS1 conf lib: read: 'port ttyS1' 02/16 15:42:21 yS1 conf lib: read: 'ring_type virtual' 02/16 15:42:21 yS1 conf lib: read: 'answer_mode fax:data' 02/16 15:42:21 yS1 conf lib: read: 'ring_type ring' 02/16 15:42:21 yS1 conf lib: read: 'answer_mode voice' 02/16 15:42:21 yS1 conf lib: read: 'ring_type ring1' 02/16 15:42:21 yS1 conf lib: read: 'answer_mode fax:data' ... 02/16 15:42:21 yS1 check for lockfiles 02/16 15:42:21 yS1 checklock: stat failed, no file 02/16 15:42:21 yS1 locking the line 02/16 15:42:21 yS1 makelock(ttyS1) called 02/16 15:42:21 yS1 do_makelock: lock='/var/lock/LCK..ttyS1' 02/16 15:42:21 yS1 lock made 02/16 15:42:22 yS1 tio_get_rs232_lines: status: RTS CTS DTR 02/16 15:42:22 yS1 WARNING: DSR is off - modem turned off or bad cable? 02/16 15:42:22 yS1 lowering DTR to reset Modem 02/16 15:42:22 yS1 tss: set speed to 38400 (017) 02/16 15:42:22 yS1 tio_set_flow_control( HARD ) 02/16 15:42:22 yS1 waiting for line to clear (VTIME), read: 02/16 15:42:22 yS1 send: \dATQ0V1H0[0d] 02/16 15:42:23 yS1 waiting for ``OK'' 02/16 15:42:23 yS1 got: ATQ0V1H0[0d] 02/16 15:42:23 yS1 CND: ATQ0V1H0[0d][0a]OK ** found ** 02/16 15:42:23 yS1 send: ATS0=0Q0&D3&C1[0d] 02/16 15:42:23 yS1 waiting for ``OK'' 02/16 15:42:23 yS1 got: [0d] 02/16 15:42:23 yS1 CND: OK[0a]ATS0=0Q0&D3&C1[0d] 02/16 15:42:23 yS1 CND: ATS0=0Q0&D3&C1[0d][0a]OK ** found ** 02/16 15:42:23 yS1 mdm_send: 'ATI' 02/16 15:42:23 yS1 got:[0d][0a]ATI[0d] 02/16 15:42:23 yS1 got:[0d][0a]247[0d] 02/16 15:42:23 yS1 mdm_gis: string 1: '247' 02/16 15:42:23 yS1 got:[0a][0d][0a]OK[0d] 02/16 15:42:23 yS1 mdm_identify: string '247' 02/16 15:42:23 yS1 Multitech ...=>MT2834ZDX detected ist aber 2834ZPXI Rev.B 02/16 15:42:23 yS1 mdm_send: 'ATI2' 02/16 15:42:23 yS1 got:[0a]ATI2[0d] 02/16 15:42:23 yS1 got:[0d][0a]MT2834ZPXI[0d] 02/16 15:42:23 yS1 mdm_gis: string 1: 'MT2834ZPXI' 02/16 15:42:23 yS1 got:[0a][0d][0a]OK[0d] 02/16 15:42:23 yS1 additional info: 'MT2834ZPXI' 02/16 15:42:23 yS1 modem quirks: 0002 02/16 15:42:23 yS1 mdm_send: 'AT+FCLASS=2.0' 02/16 15:42:23 yS1 got:[0a]AT+FCLASS=2.0[0d] 02/16 15:42:23 yS1 mdm_command: string 'AT+FCLASS=2.0' 02/16 15:42:23 yS1 got:[0d][0a]ERROR[0d] 02/16 15:42:23 yS1 mdm_command: string 'ERROR' -> ERROR 02/16 15:42:23 yS1 mdm_send: 'AT+FCLASS=2.0' 02/16 15:42:23 yS1 got:[0a]AT+FCLASS=2.0[0d] 02/16 15:42:24 yS1 mdm_command: string 'AT+FCLASS=2.0' 02/16 15:42:24 yS1 got:[0d][0a]ERROR[0d] 02/16 15:42:24 yS1 mdm_command: string 'ERROR' -> ERROR 02/16 15:42:24 yS1 mdm_send: 'AT+FCLASS=2' 02/16 15:42:24 yS1 got:[0a]AT+FCLASS=2[0d] 02/16 15:42:24 yS1 mdm_command: string 'AT+FCLASS=2' 02/16 15:42:24 yS1 got:[0d][0a]OK[0d] 02/16 15:42:24 yS1 mdm_command: string 'OK' -> OK 02/16 15:42:24 yS1 mdm_send: 'AT+FCLASS=0' 02/16 15:42:24 yS1 got:[0a]AT+FCLASS=0[0d] 02/16 15:42:24 yS1 mdm_command: string 'AT+FCLASS=0' 02/16 15:42:24 yS1 got:[0d][0a]OK[0d] 02/16 15:42:24 yS1 mdm_command: string 'OK' -> OK 02/16 15:42:24 yS1 mdm_send: 'AT+FAA=1;+FCR=1' 02/16 15:42:24 yS1 got:[0a]AT+FAA=1;+FCR=1[0d] 02/16 15:42:24 yS1 mdm_command: string 'AT+FAA=1;+FCR=1' 02/16 15:42:24 yS1 got:[0d][0a]OK[0d] 02/16 15:42:24 yS1 mdm_command: string 'OK' -> OK 02/16 15:42:24 yS1 mdm_send: 'AT+FBOR=0' 02/16 15:42:24 yS1 got:[0a]AT+FBOR=0[0d] 02/16 15:42:24 yS1 mdm_command: string 'AT+FBOR=0' 02/16 15:42:24 yS1 got:[0d][0a]OK[0d] 02/16 15:42:24 yS1 mdm_command: string 'OK' -> OK 02/16 15:42:24 yS1 mdm_send: 'AT+FLID="49 6082 3149"' 02/16 15:42:24 yS1 got:[0a]AT+FLID="49 6082 3149"[0d] 02/16 15:42:24 yS1 mdm_command: string 'AT+FLID="49 6082 3149"' 02/16 15:42:24 yS1 got:[0d][0a]OK[0d] 02/16 15:42:24 yS1 mdm_command: string 'OK' -> OK 02/16 15:42:24 yS1 mdm_send: 'AT+FDCC=1,5,0,2,0,0,0,0' 02/16 15:42:24 yS1 got:[0a]AT+FDCC=1,5,0,2,0,0,0,0[0d] 02/16 15:42:24 yS1 mdm_command: string 'AT+FDCC=1,5,0,2,0,0,0,0' 02/16 15:42:24 yS1 got:[0d][0a]OK[0d] 02/16 15:42:24 yS1 mdm_command: string 'OK' -> OK 02/16 15:42:24 yS1 tss: set speed to 38400 (017) 02/16 15:42:24 yS1 tss: set speed to 38400 (017) 02/16 15:42:24 yS1 tio_set_flow_control( HARD ) 02/16 15:42:24 yS1 detecting voice modem type 02/16 15:42:24 yS1 vgetty: ATE0 02/16 15:42:25 yS1 serial port: ATE0 02/16 15:42:25 yS1 serial port: OK 02/16 15:42:25 yS1 voice command: 'ATI9' -> '' 02/16 15:42:25 yS1 vgetty: ATI9 02/16 15:42:25 yS1 serial port: ZPXI 28800 FAX CT 02/16 15:42:25 yS1 serial port: OK 02/16 15:42:25 yS1 voice command: 'ATI3' -> '' 02/16 15:42:26 yS1 vgetty: ATI3 02/16 15:42:26 yS1 serial port: 229169240001019000239010 02/16 15:42:26 yS1 serial port: OK 02/16 15:42:26 yS1 voice command: 'ATI' -> '' 02/16 15:42:26 yS1 vgetty: ATI 02/16 15:42:26 yS1 serial port: 247 02/16 15:42:26 yS1 Multitech 2834ZDXv: OK 02/16 15:42:26 yS1 Multitech 2834ZDXv detected 02/16 15:42:26 yS1 vgetty: entering voice mode 02/16 15:42:26 yS1 vgetty: Installing signal handlers 02/16 15:42:26 yS1 voice command: 'AT+FCLASS?' -> '' 02/16 15:42:26 yS1 vgetty: AT+FCLASS? 02/16 15:42:26 yS1 Multitech 2834ZDXv: +FCLASS=0 02/16 15:42:26 yS1 voice command: '' -> 'OK' 02/16 15:42:26 yS1 Multitech 2834ZDXv: OK 02/16 15:42:26 yS1 voice command: 'AT+FCLASS=8' -> 'OK' 02/16 15:42:27 yS1 vgetty: AT+FCLASS=8 02/16 15:42:27 yS1 Multitech 2834ZDXv: ERROR 02/16 15:42:27 yS1 vgetty: Modem returned ERROR 02/16 15:42:27 yS1 vgetty: queued event RESET_WATCHDOG at position 0000 02/16 15:42:27 yS1 initializing Multitech 2834 voice modem 02/16 15:42:27 yS1 voice command: 'AT+VIT=10' -> 'OK' 02/16 15:42:27 yS1 vgetty: AT+VIT=10 02/16 15:42:27 yS1 vgetty: unqueued event RESET_WATCHDOG at position 0000 02/16 15:42:27 yS1 vgetty:voice_handle_event got event RESET_WATCHDOG with data <NUL> 02/16 15:42:27 yS1 Multitech 2834ZDXv: 2470 02/16 15:42:43 yS1 vgetty: timeout while reading character from voice modem 02/16 15:42:43 yS1 voice init failed, continuing 02/16 15:42:43 yS1 voice command: 'AT+VSD=128,70' -> 'OK' 02/16 15:42:43 yS1 vgetty: AT+VSD=128,70 02/16 15:42:43 yS1 Multitech 2834ZDXv: 02/16 15:42:59 yS1 vgetty: timeout while reading character from voice modem 02/16 15:42:59 yS1 setting recording preferences didn't work 02/16 15:42:59 yS1 voice command: 'AT+VGT=128' -> 'OK' 02/16 15:42:59 yS1 vgetty: AT+VGT=128 02/16 15:42:59 yS1 Multitech 2834ZDXv: 0 02/16 15:43:15 yS1 vgetty: timeout while reading character from voice modem 02/16 15:43:15 yS1 setting transmit gain didn't work 02/16 15:43:15 yS1 voice command: 'AT+VGR=128' -> 'OK' 02/16 15:43:15 yS1 vgetty: AT+VGR=128 02/16 15:43:15 yS1 Multitech 2834ZDXv: 4 02/16 15:43:27 yS1 vgetty: Watchdog timer expired, exiting... und zu guter letzt /var/spool/hylafax/etc/config.tty.1 CountryCode: +49 AreaCode: 6082 FAXNumber: 3149 LongDistancePrefix: 0 InternationalPrefix: 0 DialStringRules: etc/dialrules ServerTracing: 1 SessionTracing: 11 RecvFileMode: 0600 LogFileMode: 0600 DeviceMode: 0600 RingsBeforeAnswer: 3 SpeakerVolume: on GettyArgs: "-h %l dx_%s" =>welches getty? LocalIdentifier: "+49 6082 3149" TagLineFont: etc/lutRS18.pcf TagLineFormat: "From %%l|%c|Page %%P of %%T" QualifyCID: QualifyTSI: PercentGoodLines: 75 MaxConsecutiveBadLines: 15 MaxRecvPages: 25 # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2 # use class 2 interface ModemRate: 19200 # lock rate for DCE-DTE communication ModemFlowControl: rtscts # default # ModemHardFlowCmd: AT&E4 # hardware flow control ModemSoftFlowCmd: AT&E5 # software flow control ModemSetupDTRCmd: AT&D3 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) ModemSetupAACmd: AT+FAA=1 # enable adaptive-answer in class 2 # # NB: some models get confused by @ in ModemDialCmd # ModemDialCmd: ATDT%s # T for tone dialing # Class2RecvDataTrigger: "\022" # character sent to modem to start recv ______________________________________________________________________________ Sie haben mehr zu sagen als in eine SMS passt? Mit WEB.DE FreeMail ist das jetzt kein Problem mehr! http://freemail.web.de/features/?mc=021182 ____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*