ping-client.rcS (1598:1bc90edc1a86) ping-client.rcS (3032:dc687512802b)
1#!/bin/sh
2SERVER=10.0.0.1
3CLIENT=10.0.0.2
4
5echo "setting up network..."
6ifconfig lo 127.0.0.1
7ifconfig eth0 $CLIENT txqueuelen 1000
8

--- 5 unchanged lines hidden (view full) ---

14echo "262143" > /proc/sys/net/core/rmem_max
15echo "262143" > /proc/sys/net/core/wmem_max
16echo "262143" > /proc/sys/net/core/rmem_default
17echo "262143" > /proc/sys/net/core/wmem_default
18echo "262143" > /proc/sys/net/core/optmem_max
19echo "100000" > /proc/sys/net/core/netdev_max_backlog
20
21echo -n "waiting for server..."
1#!/bin/sh
2SERVER=10.0.0.1
3CLIENT=10.0.0.2
4
5echo "setting up network..."
6ifconfig lo 127.0.0.1
7ifconfig eth0 $CLIENT txqueuelen 1000
8

--- 5 unchanged lines hidden (view full) ---

14echo "262143" > /proc/sys/net/core/rmem_max
15echo "262143" > /proc/sys/net/core/wmem_max
16echo "262143" > /proc/sys/net/core/rmem_default
17echo "262143" > /proc/sys/net/core/wmem_default
18echo "262143" > /proc/sys/net/core/optmem_max
19echo "100000" > /proc/sys/net/core/netdev_max_backlog
20
21echo -n "waiting for server..."
22/usr/bin/netcat -c -l -p 8000
22netcat -c -l -p 8000
23
24ping $SERVER
25/sbin/m5 exit
23
24ping $SERVER
25/sbin/m5 exit