[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[linux-users:86066] mgetty+sendfaxとpppでダイアルアップサーバー構築


 成田です、いつも大変お世話になっております。
 返事が遅くなってしまい申し訳ございません。pap認証の検証結果
についてご報告いたします。(長文になりますが、申し訳ございません。)

 naru様からアドバイスいただいたように、pap-secret内を下記のように
変更してみました。

* servername "" *

 これでもやはり、Windows2000側からダイアルアップすると、
「ユーザー名とパスワードを検証中です」の後に切断されて
しまいます。

※ エラー名は「エラー619:指定したポートは接続されていません」
 です。毎回このエラーが出ます。

 web上から「mgetty+sendfax」、「ppp」に関する情報を入手し
色々と設定を変更したりして試してみましたが、どうにもうまく
行きません。認証まわりの設定方法にパッケージのバージョン
による違いがあるとのことでしたので、TurboLinux6.0SOHO
Editionからpppとmgetty+sendfaxを持ってきてみましたが、
これも駄目でした。

 どなたか助けてください、お願いいたします。現在の設定環境は
下記の通りです。

(1) 使用しているモデム
        REX-PCI56

(2) サーバOS
        Turbo Linux Server 6.5

(3) パッケージののバージョン
        mgetty+sendfax: 1.1.21-5
        ppp: 2.3.10-1

        TurboLinux6.0 SOHOEdition から持ってきました

(4) /etc/inittab

        s2:2345:respawn:/sbin/mgetty ttyS15    ※追加

(5) /etc/rc.d/rc.local

        cd /pci56/linux/lib
        insmod pctel.o    ※追加

(5) /etc/mgetty+sendfax/mgetty.conf

        port-owner uucp
        port-group uucp
        port-mode 0644 ※ 「#」を削除し、非コメント化

〜中略〜

        port ttyS15
            data-only y
            modem-type data
            init-chat "" ATZ OK AT&F&C1&D2&K3W1 OK  ※追加

(6) /etc/mgetty+sendfax/login.conf

        /AutoPPP/ -    a_ppp    /usr/sbin/pppd -detach auth -chap +pap
debug 192.168.2.190:192.168.2.191  ※非コメント化し、変更

    ※ pppのバージョンを下げたため、require-pap等を+pap等に変更

(7) /etc/ppp/options

        lock        ※ 変更せず

(8) /etc/ppp/pap-secret

        * * ppplogin 192.168.2.191  ※追加

        username * "" 192.168.2.191
        * servername "" *                等にしても駄目でした。
        * * "" *

(9) /var/log/mgetty.log.ttyS15は下記の通りです 

--
07/31 14:03:19 S15  mgetty: experimental test release 1.1.21-Jul24
07/31 14:03:19 S15  check for lockfiles
07/31 14:03:19 S15  locking the line
07/31 14:03:20 S15  WARNING: DSR is off - modem turned off or bad cable?
07/31 14:03:20 S15  lowering DTR to reset Modem
07/31 14:03:20 S15  send: ATZ[0d]
07/31 14:03:20 S15  waiting for ``OK'' ** found **
07/31 14:03:21 S15  send: AT&F&C1&D2&K3W1[0d]
07/31 14:03:21 S15  waiting for ``OK'' ** found **
07/31 14:03:21 S15  waiting...
07/31 14:08:08 S15  wfr: waiting for ``RING''
07/31 14:08:08 S15  send: ATA[0d]
07/31 14:08:08 S15  waiting for ``CONNECT'' ** found **
07/31 14:08:23 S15  send:
07/31 14:08:23 S15  waiting for ``_'' ** found **
07/31 14:08:26 ##### data dev=ttyS15, pid=393, caller='none', conn='38400/
CARRIER 33600/PROTOCOL: LAPM/COMPRESSION: V.42bis', name='',
cmd='/usr/sbin/pppd', user='/AutoPPP/'

--
07/31 14:08:26 S15  mgetty: experimental test release 1.1.21-Jul24
07/31 14:08:26 S15  check for lockfiles
07/31 14:08:26 S15  locking the line
07/31 14:08:26 S15  WARNING: DCD line still active, check modem settings
(AT&Dx)
07/31 14:08:26 S15  lowering DTR to reset Modem
07/31 14:08:27 S15  send:

※ 一度着信すると、このまま固まってしまいます。

(10) /var/log/messagesは下記の通りです。

Jul 31 14:08:26 ServerName mgetty[393]: data dev=ttyS15, pid=393,
caller='none
', conn='38400/CARRIER 33600/PROTOCOL: LAPM/COMPRESSION: V.42bis', name='',
cmd=
'/usr/sbin/pppd', user='/AutoPPP/'
Jul 31 14:08:26 ServerName modprobe: modprobe: Can't locate module
char-major-
108
Jul 31 14:08:26 ServerName kernel: registered device ppp0
Jul 31 14:08:26 ServerName pppd[393]: pppd 2.3.10 started by a_ppp, uid 0
Jul 31 14:08:26 ServerName pppd[393]: Using interface ppp0
Jul 31 14:08:26 ServerName pppd[393]: Connect: ppp0 <--> /dev/ttyS15
Jul 31 14:08:26 ServerName kernel: Unable to handle kernel paging request at
v
irtual address 60000000
Jul 31 14:08:26 ServerName kernel: current->tss.cr3 = 0f85c000, %%cr3 =
0f85c0
00
Jul 31 14:08:26 ServerName kernel: *pde = 00000000
Jul 31 14:08:26 ServerName kernel: Oops: 0002
Jul 31 14:08:26 ServerName kernel: CPU:    0
Jul 31 14:08:26 ServerName kernel: EIP:
0010:[aic7xxx:__insmod_aic7xxx_S.bs
s_L256+1327961/551483431]
Jul 31 14:08:26 ServerName kernel: EFLAGS: 00010007
Jul 31 14:08:26 ServerName kernel: eax: 00000000   ebx: 00000033   ecx:
000000
0c   edx: 00001000
Jul 31 14:08:26 ServerName kernel: esi: cff74238   edi: 60000000   ebp:
cff740
00   esp: cd107ecc
Jul 31 14:08:26 ServerName kernel: ds: 0018   es: 0018   ss: 0018
Jul 31 14:08:26 ServerName kernel: Process pppd (pid: 393, process nr: 32,
sta
ckpage=cd107000)
Jul 31 14:08:26 ServerName kernel: Stack: 00000001 cff74000 00000286
00000000
d01b9f55 cca2d000 00000000 cff74238
Jul 31 14:08:26 ServerName kernel:        00000033 cff74000 cb6d14d0
cd73b4d0
d01b9e6d cff74000 0000c021 d01bc27b
Jul 31 14:08:26 ServerName kernel:        cff74000 cd73b4d0 cff74020
cff74000
cff74020 cb6d14d0 0000001c d01bc5a7
Jul 31 14:08:26 ServerName kernel: Call Trace:
[aic7xxx:__insmod_aic7xxx_S.bss
_L256+1639093/551172299]
[aic7xxx:__insmod_aic7xxx_S.bss_L256+1638861/551172531]
 [aic7xxx:__insmod_aic7xxx_S.bss_L256+1648091/551163301]
[aic7xxx:__insmod_aic7x
xx_S.bss_L256+1648903/551162489]
[aic7xxx:__insmod_aic7xxx_S.bss_L256+1636871/55
1174521] [tty_write+450/528]
[aic7xxx:__insmod_aic7xxx_S.bss_L256+1636624/551174
768]
Jul 31 14:08:26 ServerName kernel:        [sys_write+230/288]
[tty_write+0/528
] [system_call+52/56]
Jul 31 14:08:26 ServerName kernel: Code: f3 a5 f6 c3 02 74 02 66 a5 f6 c3 01
7
4 01 a4 89 d8 03 45 5c
Jul 31 14:08:26 ServerName kernel: Unable to handle kernel NULL pointer
derefe
rence at virtual address 00000604
Jul 31 14:08:26 ServerName kernel: current->tss.cr3 = 00101000, %%cr3 =
001010
00
Jul 31 14:08:26 ServerName kernel: *pde = 00000000
Jul 31 14:08:26 ServerName kernel: Oops: 0002
Jul 31 14:08:26 ServerName kernel: CPU:    0
Jul 31 14:08:26 ServerName kernel: EIP:
0010:[aic7xxx:__insmod_aic7xxx_S.bs
s_L256+1332267/551479125]
Jul 31 14:08:26 ServerName kernel: EFLAGS: 00010002
Jul 31 14:08:26 ServerName kernel: eax: 00000000   ebx: cff74000   ecx:
cca2d0
00   edx: 00000000
Jul 31 14:08:26 ServerName kernel: esi: 000005dc   edi: ccae9100   ebp:
cca2d0
00   esp: cd107d48
Jul 31 14:08:26 ServerName kernel: ds: 0018   es: 0018   ss: 0018
Jul 31 14:08:26 ServerName kernel: Process pppd (pid: 393, process nr: 32,
sta
ckpage=cd107000)
Jul 31 14:08:26 ServerName kernel: Stack: ccae9100 00000000 00000286
c01f6813
cca2d000 ccae9100 ccae9100 cccfb4ec
Jul 31 14:08:26 ServerName kernel:        ccd61690 00000001 cca2d000
00000005
c010b48d 00000005 cf85c020 0000000f
Jul 31 14:08:26 ServerName kernel:        cf85c020 00000001 00000000
00000000
ccd61690 00000001 cccfb560 cccfb4ec
Jul 31 14:08:26 ServerName kernel: Call Trace: [release_dev+643/1696]
[do_8259
A_IRQ+157/168] [check_pgt_cache+17/32] [tty_release+10/16] [__fput+31/80]
[fput+
23/80] [filp_close+82/96]
Jul 31 14:08:26 ServerName kernel:        [do_exit+306/640] [die+56/64]
[error
_table+2486/9600] [error_table+9326/9600] [do_page_fault+742/992]
[error_table+9
326/9600] [error_code+45/52]
[aic7xxx:__insmod_aic7xxx_S.bss_L256+1327961/551483
431]
Jul 31 14:08:26 ServerName kernel:
[aic7xxx:__insmod_aic7xxx_S.bss_L256
+1639093/551172299] [aic7xxx:__insmod_aic7xxx_S.bss_L256+1638861/551172531]
[aic
7xxx:__insmod_aic7xxx_S.bss_L256+1648091/551163301]
[aic7xxx:__insmod_aic7xxx_S.
bss_L256+1648903/551162489]
[aic7xxx:__insmod_aic7xxx_S.bss_L256+1636871/5511745
21] [tty_write+450/528]
[aic7xxx:__insmod_aic7xxx_S.bss_L256+1636624/551174768]
[sys_write+230/288]
Jul 31 14:08:26 ServerName kernel:        [tty_write+0/528]
[system_call+52/56
]
Jul 31 14:08:26 ServerName kernel: Code: ff 4e 28 79 1a ff 76 28 ff 73 48 68
2
0 3c 17 d0 e8 a0 73 fa
Jul 31 14:08:26 ServerName kernel: Unable to handle kernel NULL pointer
derefe
rence at virtual address 00000014
Jul 31 14:08:26 ServerName kernel: current->tss.cr3 = 00101000, %%cr3 =
001010
00
Jul 31 14:08:26 ServerName kernel: *pde = 00000000
Jul 31 14:08:26 ServerName kernel: Oops: 0000
Jul 31 14:08:26 ServerName kernel: CPU:    0
Jul 31 14:08:26 ServerName kernel: EIP:
0010:[aic7xxx:__insmod_aic7xxx_S.bs
s_L256+1332920/551478472]
Jul 31 14:08:26 ServerName kernel: EFLAGS: 00010282
Jul 31 14:08:26 ServerName kernel: eax: cca2d000   ebx: 00000000   ecx:
cca2d0
00   edx: 00000012
Jul 31 14:08:26 ServerName kernel: esi: cca2d000   edi: cca2d100   ebp:
000000
02   esp: cd107c44
Jul 31 14:08:26 ServerName kernel: ds: 0018   es: 0018   ss: 0018
Jul 31 14:08:26 ServerName kernel: Process pppd (pid: 393, process nr: 32,
sta
ckpage=cd107000)
Jul 31 14:08:26 ServerName kernel: Stack: c01f5a81 cca2d000 cca2d000
00000189
cd106000 00000001 cca2d000 00000000
Jul 31 14:08:26 ServerName kernel:        c01f5ada cca2d000 c01f5b58
cca2d000
00000000 cd106000 cd106000 cd106000
Jul 31 14:08:26 ServerName kernel:        c0119f01 00000001 00000296
cd106000
00000000 cca2d000 c011a14a cd107d0c
Jul 31 14:08:26 ServerName kernel: Call Trace: [do_tty_hangup+641/656]
[tty_vh
angup+10/16] [disassociate_ctty+88/208] [exit_notify+481/496]
[do_exit+570/640]
[die+56/64] [error_table+2486/9600]
Jul 31 14:08:26 ServerName kernel:        [error_table+9326/9600]
[do_page_fau
lt+742/992] [error_table+9326/9600] [error_code+45/52]
[rs_interrupt+568/1216] [
aic7xxx:__insmod_aic7xxx_S.bss_L256+1332267/551479125]
[release_dev+643/1696] [d
o_8259A_IRQ+157/168]
Jul 31 14:08:26 ServerName kernel:        [check_pgt_cache+17/32]
[tty_release
+10/16] [__fput+31/80] [fput+23/80] [filp_close+82/96] [do_exit+306/640]
[die+56
/64] [error_table+2486/9600]
Jul 31 14:08:26 ServerName kernel:        [error_table+9326/9600]
[do_page_fau
lt+742/992] [error_table+9326/9600] [error_code+45/52]
[aic7xxx:__insmod_aic7xxx
_S.bss_L256+1327961/551483431]
[aic7xxx:__insmod_aic7xxx_S.bss_L256+1639093/5511
72299] [aic7xxx:__insmod_aic7xxx_S.bss_L256+1638861/551172531]
[aic7xxx:__insmod
_aic7xxx_S.bss_L256+1648091/551163301]
Jul 31 14:08:26 ServerName kernel:
[aic7xxx:__insmod_aic7xxx_S.bss_L256
+1648903/551162489] [aic7xxx:__insmod_aic7xxx_S.bss_L256+1636871/551174521]
[tty
_write+450/528] [aic7xxx:__insmod_aic7xxx_S.bss_L256+1636624/551174768]
[sys_wri
te+230/288] [tty_write+0/528] [system_call+52/56]
Jul 31 14:08:26 ServerName kernel: Code: 8b 73 14 50 e8 63 ed ff ff 53 e8 a9
e
1 ff ff c7 43 40 00 00

 長々とlogを張り付けてしまい申し訳ありません、何でエラーが出ているのかが、
わかりませんので、アドバイスをいただければと思い・・・

(11) その他
      モデムは、正常に発信しました(※ minicomを使用)
     以上です、ご指導・アドバイスよろしくお願いいたします。

この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
Follow-Ups: