networking problem
New install of deb2.2.17. Freshly compiled kernel.
2boxes: deb fwall & samba server; w98 box
ppp0 to dialup; eth0 between boxes (w/hub)
running ppp0 & then pmfirewall start & masqstart
the route lines for ppp0 are automatically run (what script does this?)
but... the eth0 route is not added (should have been added at boot)
question: what script was it that used to automatically add the eth0
route line in my last install of the same ver linux? Should I fix up
the scripts or add the route lines to /etc/network/interfaces? Is it
a problem that I don't have a file named /etc/networks... (I remember
one from my last install containing a line like: localdomain ip)?
ifconfig -a
----------------------
dummy Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST NOARP 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:0
eth0 Link encap:Ethernet HWaddr 00:A0:CC:29:7D:08
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
BROADCAST RUNNING 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:100
Interrupt:11 Base address:0x6000
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:37 errors:0 dropped:0 overruns:0 frame:0
TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
ppp0 Link encap:Point-to-Point Protocol
inet addr:209.252.177.100 P-t-P:209.254.124.213
Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:145 errors:2 dropped:0 overruns:0 frame:2
TX packets:153 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
route -n
----------------------
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
209.254.124.213 0.0.0.0 255.255.255.255 UH 0 0 0
ppp0
0.0.0.0 209.254.124.213 0.0.0.0 UG 0 0 0
ppp0
interfaces
----------------------
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
iface lo inet loopback
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
Reply to: