Met de aankomst van een 3COM ISA netwerkkaart ben ik weer een stapje verder gekomen in de configuratie van Freesco.
Het draait nu op een IBM P75 met 24mB RAM, de 3C509TP en een RTL8139.
Er is nu verbinding van lokaal naar internet, maar toch nog enkele problemen:
1.
DNS word niet doorgegeven. Bij DNS verwijzing naar Freesco server (192.168.0.1) op de client werkt die niet. Er is wel verbinding, bij invoeren van de DNS adressen welke de provider opgeeft valt er te browsen.
2.
Wat moet ik doen om Midtown Madness door te geven?
Report:
FREESCO v0.2.7 System Report. Generated - Thu Feb 21 18:59:11 2002
----- clock -----
Thu Feb 21 18:59:13 2002
----- cat /etc/system.cfg -----
# [System]
ROUTER=ethernet# 0.dialup/leased/ethernet/bridge
HOSTNAME=xxx #711.Router name
DOMAIN=xxx #712.(Local) domain name
ENAMSQ=y # 11.Enable NAT and firewall
ENABRG=n # 12.Enable bridging mode? DONT TOUCH!!!
BIGMEM=n # 13.If 16+MB RAM start ppp bsd compression
SAVERS=0,0 # 14.Savers - screen(min),hdd(x5 sec) 0 -off
SWPSIZE=0# 15.Swap size in Kb on boot device. 0 - off
LOGSIZE=0,0# 16.System_log,logins_log sizes (bytes)
DEFISP=# 6.Default dialup ISP
# [Services] # y - worldwide/s - local/n - disable
ENADNS=n #411.Enable caching DNS server
LOGDNS=n#412.Enable debug info
ENADHCP=n #421.Enable DHCP server
WINSADDR=#422.WINS address (for DHCP server)
LIZTIME=604800,604800#423.default-lease-time,max-lease-time
ENAWWW=n #431.Enable Public HTTP Server
WWWPORT=80 #432.on port
ENAWWA=n #441.Enable Time Server and control via HTTP
WWAPORT=82 #442.on port
TIMADDR=www.clock.org#443.Host timeserver address, empty - disable
TIMZONE=+0400#444.Offset to UTC (-1200 -:- +1200)
ENALPD=n #451.Enable Print Server
LPPORT1=515#452.on port
LPDEV1=lp1#453.on output device
LPPORT2=516#454.Second lp server on port, empty - disable
LPDEV2=lp2#455.on output device
ENATEL=n# 46.Enable telnet server
# [Security]
TRUSTLN=p #211.Trust local nets y/n/p{artual}
TRUSTMD=y#212.Modem links have access to local networks
RINGS=2,7#220.Rings before answer at login,nologin time
MonTIM=""#221.Nologin times for modem users
TueTIM=""#222
WedTIM=""#223
ThuTIM=""#224
FriTIM=""#225
SatTIM=""#226
SunTIM=""#227
# [Modems]
MODEM0= # 51.1st modem
MSPEED0=# 52.port's speed
MINIT0=""# 53.init string
MTU0=#541.Maximum Transmit Unit
MRU0=#542.Maximum Receive Unit
MADDR0=192.168.168.2# 55.ppp link remote addr (for dialin purpose)
MODEM1= # 61
MSPEED1=# 62
MINIT1=""# 63
MTU1=#641
MRU1=#642
MADDR1=192.168.168.3# 65.I said for dialin purpose.
# [leased line router]
ADRTYPE=dynamic #921.if ISP supplies us with dynamic IP, then:
LOCAL=127.0.0.2 #922.fake local side ppp IP addr
REMOTE=127.0.0.3 #923.fake remote addr
# [ethernet/leased/printer/ras router]
GATEWAY=000.000.000.000#911.Default gateway, if exist.
DNSADDR=000.000.000.000#912.Primary DNS address for ethernet connection
DNSADDR1=000.000.000.000#913.Secondary DNS address for ethernet connection
PROXY=""#914.HTTP proxy addr[:port]
# [Hardware]
IO0=0#811.1st ethernet card I/O address
IRQ0=0#812.IRQ line
IO1=0#821
IRQ1=0#822
IO2=0#831
IRQ2=0#832
# [Networks]
USEDHCP0=y#720.Use DHCP client to config this interface
INTNAME0=eth1#721.Interface name (eth0|arc0e|arc0)
DHCPLOG=n#722.Enable DHCP client messages in the log
DHCPDNS=y#723 Enable auto configuration of DNS via DHCP
IPADDR0=000.000.000.000#724.IP adress of this interface
NETMASK0=255.255.254.0 #725.Network mask
NETWORK0=000.000.000.000# Network address
BRDCAST0=000.000.000.000# Broadcast address
#726.IP pool, empty disables DHCP on this interface
IPRANGE0=""
INTNAME1=eth0#731.Interface name (eth1|eth0:1|arc0e|arc0 etc)
IPADDR1=192.168.0.1#732. Second network
NETMASK1=255.255.255.0
NETWORK1=192.168.0.0
BRDCAST1=192.168.0.255
IPRANGE1=""
INTNAME2=#74x. Third network
IPADDR2=
NETMASK2=
NETWORK2=
BRDCAST2=
IPRANGE2=""
----- cat /etc/live.cfg -----
VER=0.2.7
bootdev=fd0
UPTIME="Thu Feb 21 18:39:56 2002"
RENEW=1
IPADDR0=000.000.000.000
NETMASK0=000.000.000.000
BRDCAST0=000.000.000.000
NETWORK0=000.000.000.000
GATEWAY=000.000.000.000
DNSADDR=000.000.000.000
DNSADDR1=000.000.000.000
UPDATE=1
DONE="echo Done"
----- cat /etc/dhcpc/dhcpcd-eth1.info -----
IPADDR=000.000.000.000
NETMASK=000.000.000.000
NETWORK=000.000.000.000
BROADCAST=000.000.000.000
GATEWAY=000.000.000.000
HOSTNAME=server
DNS=000.000.000.000,000.000.000.000
DHCPSID=000.000.000.000
DHCPGIADDR=000.000.000.000
DHCPSIADDR=000.000.000.000
DHCPCHADDR=00:00:B4:AA:10:A7
DHCPSHADDR=00:80:2D:69:68:8B
DHCPSNAME=
LEASETIME=14400
RENEWALTIME=7200
REBINDTIME=12600
----- cat /etc/forward.cfg -----
#_47x._[Port_forwarding_AKA_export_services]
#_
#_tcp|udp,incoming_port,local_computer_IP_addr/port
#_
#_Example:_t,80,192.168.168.2/80
#_this_will_open_worldwide_web_server_on_local_computer_192.168.168.2
#_
#_Example:_t,21,192.168.168.3/21
#_this_will_open_worldwide_ftp_server_on_local_computer_192.168.168.2
#_
#_Comment_must_be_on_separate_line_start_with_"#_"_and_should_not_have_spaces
----- cat /etc/banlist.cfg -----
#_23._[List_of_banned_hosts/nets_one_record_per_line]
#_
#_local|external,IP_addr[/netmask_or_netbits_if_baning_a_whole_net]
#_
#_Example:_l,123.124.125.0/24_ban_local_net
#_Example:_e,123.124.125.0/255.255.255.0_ban_external_net
#_Example:_l,10.0.0.123_ban_local_host
#_
#_Comment_must_be_on_separat_lines_start_with_"#_"_and_should_not_have_spaces
----- sed -n 1,/AUTH/P /etc/chat.pwd -----
----- lsmod -----
ModulePagesUsed by
/tmp/net/rtl8139.o.C 31
/tmp/net/3c509.o.C 21
ip_masq_ftp 10
ip_masq_irc 10
ip_masq_quake 10
ip_masq_vdolive 10
ip_masq_raudio 10
ip_masq_icq 10
ip_masq_cuseeme 10
8390 20
----- dmesg | grep eth -----
eth0: 3c509 at 0x300 tag 1, 10baseT port, address 00 60 8c 74 ab a0, IRQ 10.
eth1: RealTek RTL8139 Fast Ethernet at 0xfc00, IRQ 11, 00:00:b4:aa:10:a7.
eth0: Setting Rx mode to 1 addresses.
----- ifconfig -----
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:0 errors:0 dropped:0 overruns:0
eth0 Link encap:10Mbps Ethernet HWaddr 00:60:8C:74:AB:A0
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2409 errors:0 dropped:0 overruns:0
TX packets:1662 errors:0 dropped:0 overruns:0
Interrupt:10 Base address:0x300
eth1 Link encap:10Mbps Ethernet HWaddr 00:00:B4:AA:10:A7
inet addr:000.000.000.000Bcast:000.000.000.000
Mask:000.000.000.000
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:41893 errors:0 dropped:0 overruns:0
TX packets:2416 errors:0 dropped:0 overruns:0
Interrupt:11 Base address:0xfc00
----- cat /proc/interrupts -----
0: 118230 timer
1: 81 keyboard
2: 0 cascade
6: 91 + floppy
8: 1 + rtc
10: 2728 3c509
11: 44252 eth1
13: 0 math error
14: 5 + ide0
----- cat /proc/ioports -----
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-009f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : npu
01f0-01f7 : ide0
02f8-02ff : serial(auto)
0300-030f : 3c509
03bc-03be : lp
03c0-03df : vga+
03f0-03f5 : floppy
03f6-03f6 : ide0
03f7-03f7 : floppy DIR
03f8-03ff : serial(auto)
fc00-fc7f : eth1
----- route -n -----
Kernel routing table
Destination Gateway Genmask Flags MSS Window Use Iface
255.255.255.255 * 255.255.255.255 UH 1500 0 0 eth0
192.168.0.0 * 255.255.255.0 U 1500 0 1 eth0
000.000.000.000 * 000.000.000.000 U 1500 0 2 eth1
127.0.0.0 * 255.0.0.0 U 3584 0 0 lo
default 000.000.000.000 * UG 1500 0 45 eth1
----- cat /etc/dhcpd.leases -----
----- free -----
total: used: free: shared: buffers: cached:
Mem: 23433216 6295552 17137664 2887680 2920448 823296
Swap: 0 0 0
MemTotal: 22884 kB
MemFree: 16736 kB
MemShared: 2820 kB
Buffers: 2852 kB
Cached: 804 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Mounted FS:
/dev/root / ext2 rw 0 0
/proc /proc proc rw 0 0
/dev/fd0 /mnt umsdos rw 0 0
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/ram0 2548 1522 1026 60% /
/dev/fd0 1424 1381 42 97% /mnt
----- ps -----
PidStat ParentNameCommand
1 S0initinitauto
2 S1kflushd
3 S1kswapd
4 S1logrotatesh/bin/logrotate
6 S1syslogdsyslogd-r-h-m0
8 S1klogdklogd
19 S1daemonsh/bin/daemon-agetty 9600 tty2
20 S19agettyagetty9600tty2
138 S1dhcpcddhcpcd-R-t600-c/etc/renew-hservereth1
302 S1daemonsh/bin/daemon-synctimesleep 180002>/dev/null
310 S302sleepsleep180002>/dev/null
319 S1daemonsh/bin/daemon-agetty 9600 tty1
321 S319sh-sh
786 S4sleepsleep10
787 S321reportsh/bin/report
814 R787pssh/bin/ps
----- cat /etc/ppp/opt* -----
asyncmap 0
----- setserial -bg /dev/cua? -----
/dev/cua0 at 0x03f8 (irq = 4) is a 16550A
/dev/cua1 at 0x02f8 (irq = 3) is a 16550A
<edit>
toch maar even de IP-adressen 'onzichtbaar' gemaakt, je weet nooit of er iemand van Q-net meekijkt'
</edit>
Het draait nu op een IBM P75 met 24mB RAM, de 3C509TP en een RTL8139.
Er is nu verbinding van lokaal naar internet, maar toch nog enkele problemen:
1.
DNS word niet doorgegeven. Bij DNS verwijzing naar Freesco server (192.168.0.1) op de client werkt die niet. Er is wel verbinding, bij invoeren van de DNS adressen welke de provider opgeeft valt er te browsen.
2.
Wat moet ik doen om Midtown Madness door te geven?
Report:
FREESCO v0.2.7 System Report. Generated - Thu Feb 21 18:59:11 2002
----- clock -----
Thu Feb 21 18:59:13 2002
----- cat /etc/system.cfg -----
# [System]
ROUTER=ethernet# 0.dialup/leased/ethernet/bridge
HOSTNAME=xxx #711.Router name
DOMAIN=xxx #712.(Local) domain name
ENAMSQ=y # 11.Enable NAT and firewall
ENABRG=n # 12.Enable bridging mode? DONT TOUCH!!!
BIGMEM=n # 13.If 16+MB RAM start ppp bsd compression
SAVERS=0,0 # 14.Savers - screen(min),hdd(x5 sec) 0 -off
SWPSIZE=0# 15.Swap size in Kb on boot device. 0 - off
LOGSIZE=0,0# 16.System_log,logins_log sizes (bytes)
DEFISP=# 6.Default dialup ISP
# [Services] # y - worldwide/s - local/n - disable
ENADNS=n #411.Enable caching DNS server
LOGDNS=n#412.Enable debug info
ENADHCP=n #421.Enable DHCP server
WINSADDR=#422.WINS address (for DHCP server)
LIZTIME=604800,604800#423.default-lease-time,max-lease-time
ENAWWW=n #431.Enable Public HTTP Server
WWWPORT=80 #432.on port
ENAWWA=n #441.Enable Time Server and control via HTTP
WWAPORT=82 #442.on port
TIMADDR=www.clock.org#443.Host timeserver address, empty - disable
TIMZONE=+0400#444.Offset to UTC (-1200 -:- +1200)
ENALPD=n #451.Enable Print Server
LPPORT1=515#452.on port
LPDEV1=lp1#453.on output device
LPPORT2=516#454.Second lp server on port, empty - disable
LPDEV2=lp2#455.on output device
ENATEL=n# 46.Enable telnet server
# [Security]
TRUSTLN=p #211.Trust local nets y/n/p{artual}
TRUSTMD=y#212.Modem links have access to local networks
RINGS=2,7#220.Rings before answer at login,nologin time
MonTIM=""#221.Nologin times for modem users
TueTIM=""#222
WedTIM=""#223
ThuTIM=""#224
FriTIM=""#225
SatTIM=""#226
SunTIM=""#227
# [Modems]
MODEM0= # 51.1st modem
MSPEED0=# 52.port's speed
MINIT0=""# 53.init string
MTU0=#541.Maximum Transmit Unit
MRU0=#542.Maximum Receive Unit
MADDR0=192.168.168.2# 55.ppp link remote addr (for dialin purpose)
MODEM1= # 61
MSPEED1=# 62
MINIT1=""# 63
MTU1=#641
MRU1=#642
MADDR1=192.168.168.3# 65.I said for dialin purpose.
# [leased line router]
ADRTYPE=dynamic #921.if ISP supplies us with dynamic IP, then:
LOCAL=127.0.0.2 #922.fake local side ppp IP addr
REMOTE=127.0.0.3 #923.fake remote addr
# [ethernet/leased/printer/ras router]
GATEWAY=000.000.000.000#911.Default gateway, if exist.
DNSADDR=000.000.000.000#912.Primary DNS address for ethernet connection
DNSADDR1=000.000.000.000#913.Secondary DNS address for ethernet connection
PROXY=""#914.HTTP proxy addr[:port]
# [Hardware]
IO0=0#811.1st ethernet card I/O address
IRQ0=0#812.IRQ line
IO1=0#821
IRQ1=0#822
IO2=0#831
IRQ2=0#832
# [Networks]
USEDHCP0=y#720.Use DHCP client to config this interface
INTNAME0=eth1#721.Interface name (eth0|arc0e|arc0)
DHCPLOG=n#722.Enable DHCP client messages in the log
DHCPDNS=y#723 Enable auto configuration of DNS via DHCP
IPADDR0=000.000.000.000#724.IP adress of this interface
NETMASK0=255.255.254.0 #725.Network mask
NETWORK0=000.000.000.000# Network address
BRDCAST0=000.000.000.000# Broadcast address
#726.IP pool, empty disables DHCP on this interface
IPRANGE0=""
INTNAME1=eth0#731.Interface name (eth1|eth0:1|arc0e|arc0 etc)
IPADDR1=192.168.0.1#732. Second network
NETMASK1=255.255.255.0
NETWORK1=192.168.0.0
BRDCAST1=192.168.0.255
IPRANGE1=""
INTNAME2=#74x. Third network
IPADDR2=
NETMASK2=
NETWORK2=
BRDCAST2=
IPRANGE2=""
----- cat /etc/live.cfg -----
VER=0.2.7
bootdev=fd0
UPTIME="Thu Feb 21 18:39:56 2002"
RENEW=1
IPADDR0=000.000.000.000
NETMASK0=000.000.000.000
BRDCAST0=000.000.000.000
NETWORK0=000.000.000.000
GATEWAY=000.000.000.000
DNSADDR=000.000.000.000
DNSADDR1=000.000.000.000
UPDATE=1
DONE="echo Done"
----- cat /etc/dhcpc/dhcpcd-eth1.info -----
IPADDR=000.000.000.000
NETMASK=000.000.000.000
NETWORK=000.000.000.000
BROADCAST=000.000.000.000
GATEWAY=000.000.000.000
HOSTNAME=server
DNS=000.000.000.000,000.000.000.000
DHCPSID=000.000.000.000
DHCPGIADDR=000.000.000.000
DHCPSIADDR=000.000.000.000
DHCPCHADDR=00:00:B4:AA:10:A7
DHCPSHADDR=00:80:2D:69:68:8B
DHCPSNAME=
LEASETIME=14400
RENEWALTIME=7200
REBINDTIME=12600
----- cat /etc/forward.cfg -----
#_47x._[Port_forwarding_AKA_export_services]
#_
#_tcp|udp,incoming_port,local_computer_IP_addr/port
#_
#_Example:_t,80,192.168.168.2/80
#_this_will_open_worldwide_web_server_on_local_computer_192.168.168.2
#_
#_Example:_t,21,192.168.168.3/21
#_this_will_open_worldwide_ftp_server_on_local_computer_192.168.168.2
#_
#_Comment_must_be_on_separate_line_start_with_"#_"_and_should_not_have_spaces
----- cat /etc/banlist.cfg -----
#_23._[List_of_banned_hosts/nets_one_record_per_line]
#_
#_local|external,IP_addr[/netmask_or_netbits_if_baning_a_whole_net]
#_
#_Example:_l,123.124.125.0/24_ban_local_net
#_Example:_e,123.124.125.0/255.255.255.0_ban_external_net
#_Example:_l,10.0.0.123_ban_local_host
#_
#_Comment_must_be_on_separat_lines_start_with_"#_"_and_should_not_have_spaces
----- sed -n 1,/AUTH/P /etc/chat.pwd -----
----- lsmod -----
ModulePagesUsed by
/tmp/net/rtl8139.o.C 31
/tmp/net/3c509.o.C 21
ip_masq_ftp 10
ip_masq_irc 10
ip_masq_quake 10
ip_masq_vdolive 10
ip_masq_raudio 10
ip_masq_icq 10
ip_masq_cuseeme 10
8390 20
----- dmesg | grep eth -----
eth0: 3c509 at 0x300 tag 1, 10baseT port, address 00 60 8c 74 ab a0, IRQ 10.
eth1: RealTek RTL8139 Fast Ethernet at 0xfc00, IRQ 11, 00:00:b4:aa:10:a7.
eth0: Setting Rx mode to 1 addresses.
----- ifconfig -----
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:0 errors:0 dropped:0 overruns:0
eth0 Link encap:10Mbps Ethernet HWaddr 00:60:8C:74:AB:A0
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2409 errors:0 dropped:0 overruns:0
TX packets:1662 errors:0 dropped:0 overruns:0
Interrupt:10 Base address:0x300
eth1 Link encap:10Mbps Ethernet HWaddr 00:00:B4:AA:10:A7
inet addr:000.000.000.000Bcast:000.000.000.000
Mask:000.000.000.000
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:41893 errors:0 dropped:0 overruns:0
TX packets:2416 errors:0 dropped:0 overruns:0
Interrupt:11 Base address:0xfc00
----- cat /proc/interrupts -----
0: 118230 timer
1: 81 keyboard
2: 0 cascade
6: 91 + floppy
8: 1 + rtc
10: 2728 3c509
11: 44252 eth1
13: 0 math error
14: 5 + ide0
----- cat /proc/ioports -----
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-009f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : npu
01f0-01f7 : ide0
02f8-02ff : serial(auto)
0300-030f : 3c509
03bc-03be : lp
03c0-03df : vga+
03f0-03f5 : floppy
03f6-03f6 : ide0
03f7-03f7 : floppy DIR
03f8-03ff : serial(auto)
fc00-fc7f : eth1
----- route -n -----
Kernel routing table
Destination Gateway Genmask Flags MSS Window Use Iface
255.255.255.255 * 255.255.255.255 UH 1500 0 0 eth0
192.168.0.0 * 255.255.255.0 U 1500 0 1 eth0
000.000.000.000 * 000.000.000.000 U 1500 0 2 eth1
127.0.0.0 * 255.0.0.0 U 3584 0 0 lo
default 000.000.000.000 * UG 1500 0 45 eth1
----- cat /etc/dhcpd.leases -----
----- free -----
total: used: free: shared: buffers: cached:
Mem: 23433216 6295552 17137664 2887680 2920448 823296
Swap: 0 0 0
MemTotal: 22884 kB
MemFree: 16736 kB
MemShared: 2820 kB
Buffers: 2852 kB
Cached: 804 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Mounted FS:
/dev/root / ext2 rw 0 0
/proc /proc proc rw 0 0
/dev/fd0 /mnt umsdos rw 0 0
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/ram0 2548 1522 1026 60% /
/dev/fd0 1424 1381 42 97% /mnt
----- ps -----
PidStat ParentNameCommand
1 S0initinitauto
2 S1kflushd
3 S1kswapd
4 S1logrotatesh/bin/logrotate
6 S1syslogdsyslogd-r-h-m0
8 S1klogdklogd
19 S1daemonsh/bin/daemon-agetty 9600 tty2
20 S19agettyagetty9600tty2
138 S1dhcpcddhcpcd-R-t600-c/etc/renew-hservereth1
302 S1daemonsh/bin/daemon-synctimesleep 180002>/dev/null
310 S302sleepsleep180002>/dev/null
319 S1daemonsh/bin/daemon-agetty 9600 tty1
321 S319sh-sh
786 S4sleepsleep10
787 S321reportsh/bin/report
814 R787pssh/bin/ps
----- cat /etc/ppp/opt* -----
asyncmap 0
----- setserial -bg /dev/cua? -----
/dev/cua0 at 0x03f8 (irq = 4) is a 16550A
/dev/cua1 at 0x02f8 (irq = 3) is a 16550A
<edit>
toch maar even de IP-adressen 'onzichtbaar' gemaakt, je weet nooit of er iemand van Q-net meekijkt'
</edit>