ACS6000 MGETTY CONFIGURATION FIRWARE 3.0.0.11 and later Login to the appliance as root (default password linux) mgetty logs are configured on /etc/ mgetty+sendfax/mgetty.config [root@ACS6008-1122334488 /etc/mgetty+sendfax]# ls -la drwxr-xr-x 2 root root 0 Sep 16 19:25 . drwxr-xr-x 43 root root 0 Sep 19 19:53 .. -rw-r--r-- 1 root root 2718 Jul 16 22:37 login.config -rw-r--r-- 1 root root 1713 Sep 19 19:42 mgetty.config 2. Contents of mgetty.config below. Set debug to 8 for noisy log; you can try values in between. Default is “1”, which is no log. . . . . . . . . # set the global debug level to "1" (default from policy.h) debug 1 . . . . . . . . . 3.Configure the modem and reboot the appliance 4. The mgetty.ttyM1 log is gets created in /var/log/mgetty.ttyM1. Example follows for dialing into the ACS through internal modem. . . . . . . [root@ACS6008-1122334488 ~]# cd /var/log [root@ACS6008-1122334488 /var/log]# ls -la drwxr-xr-x 2 root root 120 Sep 20 01:31 . drwxr-xr-x 19 root root 420 Sep 20 01:29 .. -rw------- 1 root root 0 Sep 20 01:30 .linkup.dhcpc -rw------- 1 root root 981 Sep 20 01:29 dlog.log -rw------- 1 root root 24 Sep 20 01:32 faillog -rw------- 1 root root 2825 Sep 20 01:31 mgetty.ttyM1 [root@ACS6008-1122334488 /var/log]# cat mgetty.ttyM1 09/20 01:29:52 yM1 check for lockfiles 09/20 01:29:52 yM1 checklock: stat failed, no file 09/20 01:29:52 yM1 locking the line 09/20 01:29:52 yM1 makelock(ttyM1) called 09/20 01:29:52 yM1 do_makelock: lock='/var/lock/LCK..ttyM1' 09/20 01:29:52 yM1 lock made 09/20 01:29:52 yM1 tio_get_rs232_lines: status: RTS CTS DSR DTR 09/20 01:29:52 yM1 lowering DTR to reset Modem 09/20 01:29:53 yM1 tss: set speed to 38400 (017) 09/20 01:29:53 yM1 tio_set_flow_control( HARD ) 09/20 01:29:53 yM1 waiting for line to clear (VTIME=1), read: 09/20 01:29:53 yM1 send: \d\d\d+++\d\d\dATZ[0d] 09/20 01:29:56 yM1 waiting for ``OK'' 09/20 01:29:56 yM1 got: +++ATZ[0d] 09/20 01:29:56 yM1 CND: +++ATZ[0d][0a]OK ** found ** 09/20 01:29:56 yM1 waiting for line to clear (VTIME=3), read: [0d][0a] 09/20 01:29:56 yM1 removing lock file 09/20 01:29:56 yM1 waiting... 09/20 01:31:24 yM1 select returned 1 09/20 01:31:24 yM1 checking lockfiles, locking the line 09/20 01:31:24 yM1 makelock(ttyM1) called 09/20 01:31:24 yM1 do_makelock: lock='/var/lock/LCK..ttyM1' 09/20 01:31:24 yM1 lock made 09/20 01:31:24 yM1 wfr: waiting for ``RING'' 09/20 01:31:24 yM1 got: [0d][0a]RING[0d] 09/20 01:31:24 yM1 CND: RING 09/20 01:31:24 yM1 wfr: rc=0, drn=0 09/20 01:31:24 yM1 send: ATA[0d] 09/20 01:31:24 yM1 waiting for ``CONNECT'' 09/20 01:31:24 yM1 got: ATA[0d] 09/20 01:31:24 yM1 CND: OKATA[0d][0a]CONNECT ** found ** 09/20 01:31:43 yM1 send: 09/20 01:31:43 yM1 waiting for ``_'' 09/20 01:31:43 yM1 got: 38400[0d] 09/20 01:31:43 yM1 CND: CONNECT 38400 09/20 01:31:43 yM1 CND: found: 38400[0a] ** found ** 09/20 01:31:43 yM1 waiting for line to clear (VTIME=3), read: 09/20 01:31:43 yM1 looking for utmp entry... (my PID: 2187) 09/20 01:31:43 yM1 tio_set_flow_control( HARD ) 09/20 01:31:43 yM1 print welcome banner () 09/20 01:31:43 yM1 getlogname (FIDO AUTO_PPP), read:root[0d] 09/20 01:31:56 yM1 input finished with '\r', setting ICRNL ONLCR 09/20 01:31:56 yM1 tio_get_rs232_lines: status: RTS CTS DSR DTR DCD 09/20 01:31:56 yM1 login: use login config file /etc/mgetty+sendfax/login.config 09/20 01:31:56 yM1 match: user='root', key='' 09/20 01:31:56 yM1 match: user='root', key='' 09/20 01:31:56 yM1 match: user='root', key='' 09/20 01:31:56 yM1 login: version 2 09/20 01:31:56 yM1 match: user='root', key='*'*** hit! 09/20 01:31:56 yM1 login: utmp entry: /bin/false 09/20 01:31:56 yM1 looking for utmp entry... (my PID: 2187) 09/20 01:31:56 yM1 calling login: cmd='/bin/login', argv[]='login root' 09/20 01:31:56 yM1 setenv: 'CALLER_ID=none' 09/20 01:31:56 yM1 setenv: 'CONNECT=38400' 09/20 01:31:56 yM1 setenv: 'DEVICE=ttyM1' 09/20 01:31:56 ##### data dev=ttyM1, pid=2187, caller='none', conn='38400', name='', cmd='/bin/login', user='root'
↧