Hi,

Did a no, no. Cross posted this to both diald and linux newbie, forgive me
for that.

But Im having a big problem with FTP (and email), its slow less than 700
bytes/sec, and thats on a 56 kmodem. ping, traceroute works as they should.
www works but is slow.

Does anyone have any ideas?

// Jarmo

---------- Some system data -------------

My system is:
Client: Win98 (have also tried directly from server, same thing there)
Server:
        modem on second (ttyS1) com port.
        RedHat 6.0 with a own kernel (PPP, SLIP compiled in).
        diald to make PPP connection (The latest one) (my diald.conf follows)
                device /dev/ttyS1
                lock
                mode ppp
                local 127.0.0.2
                remote 127.0.0.3
                defaultroute
                modem
                crtscts
                connect "/usr/sbin/chat -s -S -f /usr/lib/diald/utfors.chat 2>>
/var/log/chat.log"
                dynamic
                pppd-options noipdefault nodefaultroute noipx
                speed 115200
                include "/usr/lib/diald/standard.filter"
        Masqurating turned on, no real filtering done (my script follows)
                echo "1" > /proc/sys/net/ipv4/ip_forward
                ipchains -P forward DENY
                ipchains -A forward -s 192.168.1.0/24 -j MASQ

** When no diald active, ifconfig and route reports this:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.1.11    *               255.255.255.255 UH    0      0        0 eth0
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo

eth0      Link encap:Ethernet  HWaddr 00:C0:0C:B0:8C:DB
          inet addr:192.168.1.11  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3243 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2260 errors:0 dropped:0 overruns:0 carrier:0
          collisions:139 txqueuelen:100
          Interrupt:10 Base address:0xff80

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:1263 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1263 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

** diald active

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.1.11    *               255.255.255.255 UH    0      0        0 eth0
127.0.0.3       *               255.255.255.255 UH    0      0        0 sl0
127.0.0.3       *               255.255.255.255 UH    0      0        0 sl0
192.168.1.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 sl0

eth0      Link encap:Ethernet  HWaddr 00:C0:0C:B0:8C:DB
          inet addr:192.168.1.11  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3251 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2270 errors:0 dropped:0 overruns:0 carrier:0
          collisions:139 txqueuelen:100
          Interrupt:10 Base address:0xff80

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:1269 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1269 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

sl0       Link encap:Serial Line IP
          inet addr:127.0.0.2  P-t-P:127.0.0.3  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10

** With connection

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.1.11    *               255.255.255.255 UH    0      0        0 eth0
212.105.12.1    *               255.255.255.255 UH    0      0        0 ppp0
212.105.12.1    *               255.255.255.255 UH    0      0        0 ppp0
192.168.1.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 ppp0

eth0      Link encap:Ethernet  HWaddr 00:C0:0C:B0:8C:DB
          inet addr:192.168.1.11  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3219 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2230 errors:0 dropped:0 overruns:0 carrier:0
          collisions:139 txqueuelen:100
          Interrupt:10 Base address:0xff80

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:1245 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1245 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

ppp0      Link encap:Point-to-Point Protocol
          inet addr:212.105.13.136  P-t-P:212.105.12.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:639 errors:61 dropped:0 overruns:0 frame:61
          TX packets:778 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10

Reply via email to