Stvari stoje ovako. Imam masinu na kojoj mi je Mandrake 9.0 i MTA QMAIL koji savrseno radi. E, posto bi QMAIL trebalo da komunicira sa spoljnim svetom to mi je potrebna i internet konekcija a tu nastaju problemi. Imam serijski modem (ttyS0) Zoltrix, wvdial 1.42 i PPPd 2.4.1. /etc/wvdial.conf je sasvim OK.
Naravno zbog qmail-a potrebna mi je i LAN Eth0;Eth1;Eth2.
Posto izdam komandu sudo wdial on se kao nakaci na internet, a nijedan browser to ne kapira i ne mogu da pingujem provajdera ili bilo koju drugu adresu van LAN-a.
Ovde su mi outputi:
[root@mail dvojino]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:08:9B:07:45:81
inet addr:192.168.0.8 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1461 errors:0 dropped:0 overruns:0 frame:0
TX packets:1432 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:210247 (205.3 Kb) TX bytes:60168 (58.7 Kb)
Interrupt:10 Base address:0x3000
eth1 Link encap:Ethernet HWaddr 00:08:9B:07:45:82
inet addr:192.168.2.8 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1683 errors:0 dropped:0 overruns:0 frame:0
TX packets:1448 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:238448 (232.8 Kb) TX bytes:61021 (59.5 Kb)
Interrupt:5 Base address:0x5000
eth2 Link encap:Ethernet HWaddr 00:50:DA:37:BB:B5
inet addr:192.168.3.8 Bcast:192.168.3.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2037 errors:0 dropped:0 overruns:0 frame:0
TX packets:1518 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:292519 (285.6 Kb) TX bytes:91080 (88.9 Kb)
Interrupt:5 Base address:0xd000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1619 errors:0 dropped:0 overruns:0 frame:0
TX packets:1619 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:93501 (91.3 Kb) TX bytes:93501 (91.3 Kb)
ppp0 Link encap:Point-to-Point Protocol
inet addr:212.200.135.151 P-t-P:194.106.188.71 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:150 (150.0 b) TX bytes:103 (103.0 b)
[root@mail dvojino]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
194.106.188.71 * 255.255.255.255 UH 0 0 0 ppp0
192.168.3.0 mail.gvs.co.yu 255.255.255.0 UG 0 0 0 eth2
192.168.3.0 * 255.255.255.0 U 0 0 0 eth2
192.168.2.0 mail.gvs.co.yu 255.255.255.0 UG 0 0 0 eth1
192.168.2.0 * 255.255.255.0 U 0 0 0 eth1
192.168.0.0 mail.gvs.co.yu 255.255.255.0 UG 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default * 0.0.0.0 U 0 0 0 eth1
Tu je i isecak iz /var/log/messages:
Dec 10 14:23:00 mail CROND[3675]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Dec 10 14:23:05 mail kernel: CSLIP: code copyright 1989 Regents of the University of California
Dec 10 14:23:05 mail kernel: PPP generic driver version 2.4.2
Dec 10 14:23:05 mail pppd[3678]: pppd 2.4.1 started by root, uid 0
Dec 10 14:23:05 mail pppd[3678]: Using interface ppp0
Dec 10 14:23:05 mail pppd[3678]: Connect: ppp0 <--> /dev/tts/0
Dec 10 14:23:05 mail /etc/hotplug/net.agent: assuming ppp0 is already up
Dec 10 14:23:06 mail kernel: PPP BSD Compression module registered
Dec 10 14:23:06 mail kernel: PPP Deflate Compression module registered
Dec 10 14:23:06 mail pppd[3678]: not replacing existing default route to eth1 [0.0.0.0]
Dec 10 14:23:06 mail pppd[3678]: local IP address 212.200.135.151
Dec 10 14:23:06 mail pppd[3678]: remote IP address 194.106.188.71
Dec 10 14:23:06 mail pppd[3678]: primary DNS address 194.106.188.2
Dec 10 14:23:06 mail pppd[3678]: secondary DNS address 194.106.188.17
Dec 10 14:23:11 mail kernel: Shorewall:INPUT:REJECT:IN=ppp0 OUT= MAC= SRC=217.119.241.114 DST=212.200.135.151 LEN=40 TOS=0x00 PREC=0x00 TTL=123 ID=37212 DF PROTO=TCP SPT=443 DPT=3802 WINDOW=0 RES=0x00 ACK RST URGP=0
Dec 10 14:23:11 mail kernel: Shorewall:INPUT:REJECT:IN=ppp0 OUT= MAC= SRC=217.119.241.114 DST=212.200.135.151 LEN=40 TOS=0x00 PREC=0x00 TTL=123 ID=37213 DF PROTO=TCP SPT=443 DPT=3803 WINDOW=0 RES=0x00 ACK RST URGP=0
Dec 10 14:23:21 mail xinetd[2529]: Activating service sgi_fam
Dec 10 14:24:58 mail pppd[3678]: Terminating on signal 15.
Dec 10 14:24:58 mail pppd[3678]: Connection terminated.
Dec 10 14:24:58 mail pppd[3678]: Connect time 1.9 minutes.
Dec 10 14:24:58 mail pppd[3678]: Sent 103 bytes, received 150 bytes.
Dec 10 14:24:58 mail pppd[3678]: Exit.
Dec 10 14:24:58 mail /etc/hotplug/net.agent: NET unregister event not supported
Dec 10 14:25:00 mail CROND[3747]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Dec 10 14:26:01 mail CROND[3751]: (root) CMD ( /usr/share/msec/promisc_check.s
Ako je neko u stanju da mi pomogne bio bih veoma zahvalan.
Vrlo je bitno.












ppp0 problematika