I'm not new to Linux, but am to LRP and networking in
general. I've ADSL with xs4all, and I've tried to install
LRP. My network will be consisting (once it's up and running)
of a 1 Windows98 and 1 Linux(Slackware 7.1) PC, connected to
a hub which in turn is connected to a 486-router running
LRP-2.9.8. I'm first trying to get it working with the
windows machine.
This is how the set up looks:
| -------M$ windows98
| /
|------modem-----router----hub----|
| \
| -------Slackware 7.1
IP = 213.84.89.39
modem (network side) = 10.0.0.138
router(modem side) = 10.0.0.150
router(network side) = 192.168.0.150
M$ Windows 98 = 192.168.0.151
Slackware Linux 7.1 = 192.168.0.152
netmask = 255.255.255.0
this may seem strange, but my modem won't work if it doesn't receive from 10.0.0.150.
The network.conf (see below) should be fine, I got it from someone with the same kind
of connection from the same ISP. the modem IP (10.0.0.138) is stored in a module
called ADSL.lrp, which I got from the same guy, and since this network.conf works for
him I assume it hasn't got to contain 10.0.0.138.
When I boot my router it says:
...
(recognizes my NIC's (2x 3com509B) perfectly)
...
Mounting /dev/ram0 on / failed: Device or resource busy
Configuring serial Ports.... done.
Starting Network: sysctl: ip forwarding off
[IP Forwarding: OFF]
Interfaces: lo eth0: Setting Rx mode to 1 addresses.
eth0 SIOCSIFFLAGS: Resource temporarily unavailable
eth1
Static Networks: 127.0.0.0 Usage: inet_route [-vF] del {-host|-net} (etc, this kind of
stuff appears for another 3/4 of a screen)
...
Firewall Rules - [Flushing: F,I,O,A] [Forwarding: DENY]
IP spoofing protection: eth0 eth1
Portfw:
Hostname: Bartosz
Static NS: 2 hosts
DNS: 194.109.6.66 194.109.9.99 127.0.0.1
Direct Network settings:
...
Later, about 5 min. after the login prompt has appeared, it says:
...
eth0: transmit timed out, Tx_status 00 status 2000 Tx FIFO room 1512.
...
When everything has booted, I can't ping anything, not even the router itself. when I
try to ping anything it says:
PING <IP ADDRESS> (<IP ADDRESS>): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote <IP ADDRESS> 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote <IP ADDRESS> 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote <IP ADDRESS> 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote <IP ADDRESS> 64 chars, ret=-1
etc.
I also don't know anything about the 127.0.0.x (is it necessary)?
###############################################################################
# Auto configuration bypass (Say NO to use this file)
###############################################################################
DIRECT_SETTINGS_ONLY=NO
###############################################################################
# Default Settings
###############################################################################
VERBOSE=YES
MAX_LOOP=15
#DHCP_SLEEP=15
IPFWDING_KERNEL=NO
IPFWDING_FW=NO
IPMASQ_DLOOSE=NO
CONFIG_HOSTNAME=YES
CONFIG_HOSTSFILE=YES
CONFIG_DNS=YES
###############################################################################
# Interfaces
###############################################################################
IF0_IFNAME=eth0
IF0_IPADDR=10.0.0.150
IF0_NETMASK=255.255.255.0
IF0_BROADCAST=10.0.0.255
IF0_IP_SPOOF=YES
IF1_IFNAME=eth1
IF1_IPADDR=192.168.0.150
IF1_NETMASK=255.255.255.0
IF1_BROADCAST=192.168.0.255
IF1_IP_SPOOF=YES
#IF2_IFNAME=eth1:0
IF2_IPADDR=192.168.0.1
IF2_NETMASK=$IF1_NETMASK
IF2_BROADCAST=$IF1_BROADCAST
IF2_IP_SPOOF=NO
###############################################################################
# Hosts
###############################################################################
#HOST0_IPADDR=192.168.7.123
HOST0_GATEWAY_IF=default
HOST0_GATEWAY_IP=192.168.1.200
HOST0_IPMASQ=NO
HOST0_IPMASQ_IF=default
###############################################################################
# Networks
###############################################################################
NET0_NETADDR=10.0.0.0/24
NET1_NETADDR=192.168.0.0/24
#NET1_NETMASK=$IF1_NETMASK
#NET1_GATEWAY_IF=$IF0_IFNAME
#NET1_GATEWAY_IP=default
#NET1_IPMASQ=YES
#NET1_IPMASQ_IF=$IF1_IFNAME
###############################################################################
# Gateways (Default Routes)
###############################################################################
#GW0_IPADDR=216.254.79.1
GW0_IFNAME=$IF0_IFNAME
GW0_METRIC=1
###############################################################################
# Port Fowarding
###############################################################################
#PF0_IFNAME=$IF0_IFNAME
PF0_DESTIP=10.12.0.2
PF0_TPORTS=25:25,22:22
PF0_UPORTS=
###############################################################################
# Hostname Requires: CONFIG_HOSTNAME=YES
###############################################################################
HOSTNAME=Guido
###############################################################################
# Hosts file (Static domainname entires) Requires: CONFIG_HOSTSFILE=YES
###############################################################################
# IP FQDN hostname alias1 alias2..
HOSTS0="$IF1_IPADDR $HOSTNAME.xs4all.nl $HOSTNAME"
#HOSTS1="PF0_DESTIP stormcaller.shadownet.wox.org stormcaller"
###############################################################################
# Domain Search Order and Name Servers Requires: CONFIG_DNS=YES
###############################################################################
DOMAINS="xs4all.nl"
DNS0=192.168.0.150
DNS1=194.109.6.66
DNS2=194.109.9.99
###############################################################################
# Brief instructions for this file
###############################################################################
#
# DIRECT_SETTINGS_ONLY=(YES/NO) Default: YES
# Bypass automatic configuration using this file's settings,
# and only execute the commands in /etc/network_direct.conf
#
# VERBOSE=(YES/NO) Default: Yes
# Be verbose about settings.
#
# MAX_LOOP=(int) Default: 10
# Maximum number of incrementable entries to search for.
# IE: If you create a DNS7=, and MAX_LOOP=7, it will not be reached.
# (DNS0 - DNS7 == 8 entires)
# Setting this value too high will decrease the speed of the configuation
# system.
#
# IPFWDING_KERNEL=(YES/NO) Default: NO
# Enable IP forwarding in the kernel.
#
# IPFWDING_FW=(YES/NO) Default: NO
# Set firewall forwarding policy to 'allow'.
#
# CONFIG_HOSTNAME=(YES/NO) Default: NO
# Create /etc/hostname file using HOSTNAME entry.
# Any current hostname file will be **OVERWRITTEN**
#
# CONFIG_HOSTSFILE=(YES/NO) Default: NO
# Create /etc/hosts file using HOSTSx entries.
# Any current hosts file will be **OVERWRITTEN**
#
# CONFIG_DNS=(YES/NO) Default: NO
# Create /etc/resolv.conf file using DOMAINS and DNSx entries.
# Any current resolv.conf file will be **OVERWRITTEN**
# If you use dhcpc, let dhclient handle DNS configuration.
#
###############################################################################
# End
###############################################################################
Thanks.
I would greatly appreciate any help,
Bartosz Oudekerk
_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-user