Linux 14.986 Themen, 106.422 Beiträge

fli4l Router konfigurieren? Wählt sich nicht ins Internet ein!

bacardischmal / 8 Antworten / Flachansicht Nickles

Hallo,
also ich habe ein Problem mit fli4l 2.1.6 könnt Ihr mal bitte meine Konfigurationsdatei anschauen und mir sagen wo meine Fehler sind.

Router Ip: 192.168.0.1
clients:
bacardi 192.168.0.10
straub 192.168.0.88
client2 192.168.0.2

die dsl verbindung ist eth1
und die netzwerkverbindung eth0

es wäre schön wenn Ihz mir meine Fehler schreiben würde. der router startet aber ich kann ihn nicht anpingen ins internet geht er auch nicht. Ich brauche eure hilfe bin schon am verzweifen.

[B]hier ist meine base.txt:[/B]

##-----------------------------------------------------------------------------
## base.txt - fli4l configuration parameters 2.1.6
##
## You can edit/change this file with any text editor.
##
## P L E A S E R E A D T H E D O C U M E N T A T I O N ,
## S E E R E A D M E . T X T
##
## B I T T E U N B E D I N G T D I E D O K U M E N T A T I O N
## L E S E N , S I E H E R E A D M E . T X T
##
## Creation: 26.06.2001 fm
## Last Update: $Id: base.txt,v 1.93 2004/03/06 17:31:56 babel Exp $
##
## Copyright (c) 2001-2002 Frank Meyer <frank@fli4l.de>
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##-----------------------------------------------------------------------------

#------------------------------------------------------------------------------
# General settings:
#------------------------------------------------------------------------------
HOSTNAME='Linux-R' # name of fli4l router
PASSWORD='123456789' # password for telnetd, ftpd and sshd
FDD_1680='no' # use 1680KB-Floppy
MOUNT_BOOT='rw' # mount boot device (floppy): ro, rw, no

PART_OPT='auto' # disk-partition or size of ramdisk or 'auto'
MOUNT_OPT='ro' # mount opt device: ro, rw
UPDATE_MODE='full' # add, cfg, full, none, see documentation
TIME_INFO='MEZ-1MESZ,M3.5.0,M10.5.0'
# description of local time
# zone, don't touch without reading
# documentation

#------------------------------------------------------------------------------
# Serial console:
#------------------------------------------------------------------------------
SER_CONSOLE='no' # use serial interface instead of crt/keyboard
SER_CONSOLE_IF='0' # serial interface to use, 0 for ttyS0 (COM1)
SER_CONSOLE_RATE='9600' # Baudrate for serial console

#------------------------------------------------------------------------------
# Debug Settings:
#------------------------------------------------------------------------------
DEBUG_STARTUP='no' # Write an execution trace of the boot
DEBUG_LOG='' # sequence to file DEBUG_LOG or console if
# DEBUG_LOG is empty

#------------------------------------------------------------------------------
# Show Bootmenu after Login:
#------------------------------------------------------------------------------
OPT_MENU='yes' # Start-menue for users
MENU_LANGUAGES='de,en' # possible values de,en first one ist the default

#------------------------------------------------------------------------------
# Ethernet card drivers:
#
# Driver Bus Description
#
# 3c503 ISA 3COM EtherLinkII (3c503)
# 3c505 ISA 3COM Etherlink Plus (3c505)
# 3c507 ISA 3COM Etherlink 16 (3c507)
# 3c509 ISA 3COM EtherLinkIII (3c509)
# 3c515 ISA 3COM EtherLink XL ISA (3c515)
# 3c59x PCI 3COM Vortex/Boomerang 3c59x,3c900,3c905
# 8139cp PCI RealTek 8139C+
# 8139too PCI RealTek 8129/8139 10/100 MB (NEW)
# rtl8139 PCI RealTek 8129/8139, Donald Beckers Version, see
# www.scyld.com/network/rtl8139.html
# 82596 Apricot Xen-II on board Ethernet
# acenic PCI Alteon AceNIC Gigabit Ethernet
# at1700 ISA AT1700 (Fujitsu 86965) ISA
# b44 PCI Broadcom 4400
# cs89x0 ISA IBM Etherjet, cs89x0 based Cards (Option io=0xnnn necessary!)
# de4x5 PCI/EISA Digital DE425, DE434, DE435, DE450, DE500
# depca ISA DEPCA, DE10x, DE200, DE201, DE202, DE422
# dgrs PCI Digi International RightSwitch PCI/EISA
# dl2k PCI D-Link DL2000-based Gigabit Ethernet Adapter
# dmfe PCI DM9102 compatible PCI cards from Davicom
# e1000 PCI Intel EtherExpress PRO/1000 Gigabit Ethernet
# e100 PCI Intel's original driver for EEPRO100
# e2100 ISA Cabletron E21xx ISA
# eepro100 PCI Intel EtherExpressPro PCI 10+/100B/100+
# eepro ISA Intel EtherExpress Pro/10
# eexpress ISA EtherExpress16 ISA
# epic100 PCI SMC EPIC/100 (EtherPower II) PCI
# eth16i ISA/EISA ICL EtherTeam 16i/32
# ewrk3 ISA EtherWORKS 3 ISA (DE203, DE204, DE205)
# fealnx PCI ASOUND LAN 8139 card - not RTL8139 (NEW)
# hamachi PCI GNIC-II Gigabit Ethernet
# hp100 ISA/EISA/PCI HP 10/100VG PCLAN (ISA, EISA, PCI)
# hp ISA HP PCLAN (27245, 27xxx) ISA
# hp-plus ISA HP PCLAN+ (27247B and 27252A) ISA
# lance ISA AMD LANCE and PCnet (AT1500, NE2100) ISA
# lp486e Intel Professional Workstation/panther ethernet driver
# natsemi PCI National Semiconductor
# ne2k-pci PCI NE2000 PCI clone (eg. Realtek 8029, Winbond 89c940)
# ne ISA NE2000 ISA clone (eg. Realtek 8019,
# Accton 16xx, NatSemi 8390, UMC 9003/9008)
# ni5010 MiCom-Interlan NI5010
# ni52 NI5210 card (i82586 Ethernet chip)
# ni65 ni6510 (am7990 'lance' chip)
# ns83820 PCI cards with National Semiconductor 83820 chip
# pcnet32 PCI AMD PCI PCnet32
# r8169 PCI Realtek 8169 Gigabit Ethernet
# sis900 PCI SiS 900/7016
# sk98lin PCI SysKonnect Gigabit Ethernet Server Adapters
# smc9194 SMC's 9000 series of Ethernet cards
# smc-ultra ISA SMC ULTRA
# starfire PCI Starfire
# sundance PCI DFE-550FX or DFE-530TXS (NEW)
# tg3 PCI Broadcom Tigon3
# tlan PCI TI ThunderLAN (Compaq Netelligent ...)
# tulip PCI DECchip Tulip (dc21x4x) PCI
# tulip-db PCI DECchip Tulip (dc21x4x) PCI and work-alike chips from
# Lite-On (PNIC) and Macronix (MXIC) and ASIX,
# see www.scyld.com/network/tulip.html
# via-rhine PCI VIA Rhine PCI (3043, VT86c100A, dfe-530tx)
# wd ISA SMC WD80*3
# winbond-840 PCI Winbond 840
# yellowfin PCI Packet Engines G-NIC PCI Gigabit Eth Adapter
#
# Drivers below need the Package pcmcia installed:
#
# 3c574_cs PCMCIA 3Com 574
# 3c589_cs PCMCIA 3Com 589
# axnet_cs PCMCIA Asix AX88190 Fast Ethernet
# fmvj18x_cs PCMCIA Fujitsu FMV-J181/182 Ethernet
# nmclan_cs PCMCIA New Media Ethernet LAN
# pcnet_cs PCMCIA NS8390-based cards (NE2000, DLINK etc)
# smc91c92_cs PCMCIA SMC91c92-based cards
# xirc2ps_cs PCMCIA Xircom: CE2, CEM28, CEM33, or CE3
# xircom_cb Cardbus Xircom Cardbus Cards
# xircom_tulip_cb Cardbus Xircom Tulip-like Cardbus Cards
#
# If you don't find your Cardbus Card here then try the equivalent PCI-Driver:
# 3c59x instead of 3c575_cb or 8139too instead of realtek_cb
#
# This drivers need PCMCIA _and_ WLAN:
#
# orinoco_cs PCMCIA Lucent/Orinoco WLAN-Cards
# hostap_cs PCMCIA PrismII/2.5/3 based Cards - supports AP-Mode
# wavelan_cs PCMCIA WaveLAN
# wl24_cs PCMCIA ELSA Airlancer MC-2 - Should have Firmware 2.10
# airo_cs PCMCIA Cisco Aironet 4500 & 4800 series PCMCIA cards
# ray_cs PCMCIA Raylink wireless cards
# netwave_cs PCMCIA Netwave AirSurfer Wireless LAN
#
# this drivers need Package WLAN
#
# WLAN-Card Drivers IEEE802.11b:
#
# hostap_pci PCI Prism 2.5 based PCI Wlan Cards
# hostap_plx PCI Prism 2,2.5 and 3 based PCMCIA-WLan Cards in PLX-Adapter
# airo PCI/ISA Cisco Aironet 4500 & 4800 series PCI/ISA cards
#
# This 3 drivers acutally only work with Prism-II Cards - alternative driver to hostap_*
# orinoco_pci PCI Lucent/Orinoco based WLAN-Cards
# orinoco_plx PCI Lucent/Orinoco based PCMCIA WLAN-Cards in PLX Adapter
# orinoco_tmd PCI Lucent/Orinoco based WLAN-Cards with TMD PCI-Bridge

# WLAN-Card Drivers IEEE802.11g:
#
# prism54 PCI/PCMCIA Prism GT / Prism Duette / Prism Indigo Chipsets
# Achten Sie auf die Hinweise zum Prism54 Treiber
# in der WLAN Dokumentation!
#
# USB-Card Drivers
#
# pegasus teledat Fast Ethernet USB
#
# kaweth 3Com 3C19250
# ADS USB-10BT
# ATEN USB Ethernet
# ASANTE USB To Ethernet Adapter
# AOX Endpoints USB Ethernet
# Correga K.K.
# D-Link DSB-650C and DU-E10
# Entrega / Portgear E45
# I-O DATA USB-ET/T
# Jaton USB Ethernet Device Adapter
# Kingston Technology USB Ethernet Adapter
# Linksys USB10T
# Mobility USB-Ethernet Adapter
# NetGear EA-101
# Peracom Enet and Enet2
# Portsmith Express Ethernet Adapter
# Shark Pocket Adapter
# SMC 2202USB
# Sony Vaio port extender
# rtl8150 RTL8150-based USB-Ethernet-Cards
# catc Belkin F5U111
# CATC NetMate
# CATC NetMate II
# smartBridges smartNIC
#
# DSL-Modems shown as Ethernetcards
#
# CDCEther Ericsson PipeRider (all variants)
# Motorola (DM100 and SB4100)
# Broadcom Cable Modem (reference design)
# Toshiba PCX1100U and possibly other cable modems
# Sharp Zaurus SL-5000D
# atar215 Allied Telesyn AT-AR 215
# Sagem 250
#
# USB-to-USB-network-cable
#
# usbnet Driver for usb-to-usb networklinks
#
# Token ring drivers (see token ring minit howto on
# <http://www.tldp.org/docs.html#howto> and feel
# free to submit documention changes
#
# 3c359
# abyss
# ibmtr
# lanstreamer
# olympic
# smctr
# tmsisa
# tmspci
#------------------------------------------------------------------------------
ETH_DRV_N='2' # number of ethernet drivers to load, usually 1
ETH_DRV_1='ne2k-pci' # 1st driver: name (e.g. NE2000 PCI clone)
ETH_DRV_1_OPTION='' # 1st driver: additional option
ETH_DRV_2='ne' # 2nd driver: name (e.g. NE2000 ISA clone)
ETH_DRV_2_OPTION='io=0x320 probe_pci=0'

#------------------------------------------------------------------------------
# Ether networks used with IP protocol:
#------------------------------------------------------------------------------
IP_ETH_N='1' # number of ip ethernet networks, usually 1
IP_ETH_1_NAME='' # optional: other device name than ethX
IP_ETH_1_IPADDR='192.168.0.1' # IP address of your n'th ethernet card
IP_ETH_1_NETMASK='255.255.255.0' # netmask of your LAN

#------------------------------------------------------------------------------
# Additional routes, optional
#------------------------------------------------------------------------------
IP_DEFAULT_GATEWAY='' # normally not used, read documentation!
IP_ROUTE_N='0' # number of additional routes
IP_ROUTE_1='192.168.7.0 255.255.255.0 192.168.6.99' # network netmask gateway

#------------------------------------------------------------------------------
# old or new style paket filter configuration
#------------------------------------------------------------------------------
ORIG_FW_CONFIG='yes'

#------------------------------------------------------------------------------
# Masquerading:
#------------------------------------------------------------------------------
MASQ_NETWORK='192.168.0.0/24' # networks to masquerade (e.g. our LAN)

MASQ_MODULE_N='1' # load n masq modules (default: only ftp)
MASQ_MODULE_1='ftp' # ftp
MASQ_MODULE_1_OPTION='' # options, see documentation
MASQ_MODULE_2='irc' # irc
MASQ_MODULE_2_OPTION='' # options, see documentation

#------------------------------------------------------------------------------
# Optional package: PORTFW
#------------------------------------------------------------------------------
OPT_PORTFW='no' # install port forwarding tools/modules
PORTFW_N='1' # how many portforwardings to set up
PORTFW_1_SOURCE='8080' # sample 1: forward ext. port 8080
PORTFW_1_TARGET='192.168.6.15:80' # ...to int. host 192.168.6.15 port 80
PORTFW_1_PROTOCOL='tcp' # ...using tcp
PORTFW_2_SOURCE='3000-3010' # sample 2: forward portrange 3000-3010
PORTFW_2_TARGET='192.168.6.15' # ...to int. host 192.168.6.15
PORTFW_2_PROTOCOL='tcp' # ...using tcp

#------------------------------------------------------------------------------
# Routing without masquerading
#------------------------------------------------------------------------------
ROUTE_NETWORK='' # optional: route from/to network, no masq

#------------------------------------------------------------------------------
# Routing: internal hosts to allow/deny forwarding
#
# FORWARD_HOST_WHITE='no' describes a black list (forbidden)
# FORWARD_HOST_WHITE='yes' describes a white list (allowed)
#
# Example:
# FORWARD_HOST_WHITE='no' and FORWARD_HOST_N='0':
# -> forwarding of 0 hosts is denied
# -> forwarding of all hosts is allowed.
#------------------------------------------------------------------------------
FORWARD_HOST_WHITE='no' # 'no': black list, 'yes': white list
FORWARD_HOST_N='0' # number of allowed/denied hosts
FORWARD_HOST_1='192.168.6.5' # optional: 1st allowed/denied host
FORWARD_HOST_2='192.168.6.6' # optional: 2nd allowed/denied host

#------------------------------------------------------------------------------
# Routing: ports to reject/deny forwarding (from inside and outside!)
#------------------------------------------------------------------------------
FORWARD_DENY_PORT_N='2' # no. of ports to reject/deny forwarding
FORWARD_DENY_PORT_1='135:139 reject' # drop/reject forwarding of netbios
FORWARD_DENY_PORT_2='445 reject' # drop/reject forwarding of MS-DS
TRUSTED_NETS='' # but optionally allow forwarding between LANs

#------------------------------------------------------------------------------
# Filter: accept connections from outside to several ports (served ports)
#------------------------------------------------------------------------------
INPUT_POLICY='REJECT' # policy for input chain: reject or drop
INPUT_ACCEPT_PORT_N='0' # no. of ports to accept from outside
INPUT_ACCEPT_PORT_1='22 TCP' # e.g. allow connection to ssh service

DENY_ICMP='no' # deny icmp (ping): yes or no
PACKETFILTER_LOG='no' # log access to rejected/denied ports

#------------------------------------------------------------------------------
# Domain configuration:
#------------------------------------------------------------------------------
START_DNS='yes' # start dns server: 'yes' (use dnsmasq),
# 'ens' (use ens) or 'no'
DNS_LISTENIP_N='0' # if 0 then listen on all interfaces
DNS_LISTENIP_1='192.168.6.1' # first IP to listen on
# These two parameters are only relevant,
# when START_DNS='yes'.
DNS_FORWARDERS='195.185.185.195' # DNS servers of your provider, e.g. MSN
DNS_VERBOSE='no' # log queries into syslog
DOMAIN_NAME='lan.fli4l' # your domain name
DNS_FORBIDDEN_N='0' # number of forbidden domains
DNS_FORBIDDEN_1='foo.bar' # 1st forbidden domain
DNS_FORBIDDEN_2='bar.foo' # 2nd forbidden domain
HOSTS_N='4' # number of hosts in your domain
HOST_1_NAME='Linux-R' # 1st host: ip and name
HOST_1_IP='192.168.0.1'
#HOST_1_ALIAS_N='0' # number of optional alias names
#HOST_1_ALIAS_1='router.lan.fli4l' # optional alias name
#HOST_1_ALIAS_2='gateway.lan.fli4l' # optional alias name
HOST_2_NAME='bacardi' # 2st host: ip and name
HOST_2_IP='192.168.0.10'
#HOST_2_MAC='de:ad:af:fe:07:19' # optional mac address used by dhcpd
HOST_3_NAME='straub' # 3st host: ip and name
HOST_3_IP='192.168.0.88'
#HOST_3_MAC='de:ad:be:ef:07:19' # optional mac address used by dhcpd
HOST_4_NAME='client2' # 4st host: ip and name
HOST_4_IP='192.168.0.2'
#HOST_4_MAC='de:ad:be:ef:08:15' # optional mac address used by dhcpd

MX_N='0' # optional number of MX-records
# if START_DNS='yes' only one MX supported
# for DOMAIN_NAME
MX_1_SERVER='mail.example.net' # fqdn of the mx
MX_1_DOMAIN='example.net' # domain handled by MX_1_SERVER
MX_1_PRIORITY='10' # priority of the mx, lower means better

#------------------------------------------------------------------------------
# Special DNS configuration
#------------------------------------------------------------------------------
DNS_N='0' # number of special dns servers, normally 0
#DNS_1='firma.de 192.168.1.12' # 1st special dns server for firma.de
#DNS_2='lan.firma.de 192.168.2.12' # 2nd special dns server for lan.firma.de

#------------------------------------------------------------------------------
# imond configuration:
#------------------------------------------------------------------------------
START_IMOND='yes' # start imond: yes or no
IMOND_USE_ORIG='yes' # use the original version of
# imond instead the development version
IMOND_PORT='5000' # TCP-Port dont open in INPUT_ACCEPT_PORT_x
IMOND_PASS='' # imond-password, may be empty
IMOND_ADMIN_PASS='' # imond-admin-password, may be empty
IMOND_LED='' # tty for led: com1 - com4 or empty
IMOND_BEEP='no' # beep if connection going up/down
IMOND_LOG='no' # log /var/log/imond.log: yes or no
IMOND_LOGDIR='/var/log' # log-directory, e.g. /var/log
IMOND_ENABLE='yes' # accept "enable/disable" commands
IMOND_DIAL='yes' # accept "dial/hangup" commands
IMOND_ROUTE='yes' # accept "route" command
IMOND_REBOOT='yes' # accept "reboot" command

#------------------------------------------------------------------------------
# Generic circuit configuration:
#------------------------------------------------------------------------------
IP_DYN_ADDR='yes' # use dyn. ip addresses (most providers do)
DIALMODE='auto' # standard dialmode: auto, manual, or off

#------------------------------------------------------------------------------
# optional package: syslogd
#------------------------------------------------------------------------------
OPT_SYSLOGD='no' # start syslogd: yes or no
SYSLOGD_DEST_N='1' # number of destinations
SYSLOGD_DEST_1='*.* /dev/console' # n'th prio & destination of syslog msgs
SYSLOGD_DEST_2='*.* @192.168.6.2' # example: loghost 192.168.6.2
SYSLOGD_DEST_3='kern.info /var/log/dial.log' # example: log infos

#------------------------------------------------------------------------------
# optional package: klogd
#------------------------------------------------------------------------------
OPT_KLOGD='no' # start klogd: yes or no

#------------------------------------------------------------------------------
# optional package: y2k correction
#------------------------------------------------------------------------------
OPT_Y2K='no' # y2k correction: yes or no
Y2K_DAYS='' # correct hardware Y2K-Bug: add x days

#------------------------------------------------------------------------------
# Optional package: PNP
#------------------------------------------------------------------------------
OPT_PNP='no' # install isapnp tools: yes or no

#------------------------------------------------------------------------------
# Optional package: inittab
#------------------------------------------------------------------------------
OPT_INITTAB='no'
INITTAB_N='1'
INITTAB_1='tty2 askfirst /usr/local/bin/mini-login'

bei Antwort benachrichtigen