• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

fli4l Problem

A

Anonymous

Gast
hi
ich bin gerade dabei einen fli4l router zu basteln :)
nun habe ich ihn soweit konfiguriert usw. aber ich kann nicht ins internet :(
was mache ich falsch???

ich habe 2 rechner(1xlinux 1xwindows) mit einem switch verbunden, vom switch geht dann ein kabel in die netzwerkkarte des routers, von der anderen netzwerkkarte des routers geht ein kabel in das dsl modem.

habe bei dem linux rechner(192.168.6.2) als Gateway die Ip des Routers(192.168.6.1) eingegeben. Wenn ich nun im Browser eine Internet-Adresse eingeben passiert nicht außer der rechner xy kann nicht gefunden werden.

hier meine base.txt:
Code:
##-----------------------------------------------------------------------------
## base.txt - fli4l configuration parameters                       2.0.8
##
##
##        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.20.2.8 2002/12/02 15:21:02 rresch 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='fli4l'                        #name of fli4l router
PASSWORD='*****'                     #password for telnetd, ftpd and sshd
MOUNT_BOOT='rw'                         #mount boot device (floppy): ro, rw, no
RAMSIZE='2048'                          #size of ramdisk for unzipped opt.tgz
# the variables MOUNT_OPT, PART_OPT and UPDATE_MODE will be ignored if
# RAMSIZE is not empty. see docu
MOUNT_OPT='ro'                          #mount opt device: ro, rw
PART_OPT='hda2'                         #location of opt-files? ram1 or disk-partition
UPDATE_MODE='full'                      #add, cfg, full, none, see documentation
#------------------------------------------------------------------------------
# Ethernet card drivers:
# uncomment your ethernet card
#------------------------------------------------------------------------------
ETH_DRV_N='1'                           #number of ethernet drivers to load, usually 1
#ETH_DRV_1='3c505'              # ISA: 3COM Etherlink Plus (3c505)
#ETH_DRV_1='3c507'              # ISA: 3COM Etherlink 16 (3c507)
#ETH_DRV_1='3c509'              # ISA: 3COM EtherLinkIII (3c509)
#ETH_DRV_1='3c515'              # ISA: 3COM EtherLink XL ISA (3c515)
#ETH_DRV_1='3c59x'              # PCI: 3COM Vortex/Boomerang 3c59x,3c900,3c905
#ETH_DRV_1='82596'              # Apricot Xen-II on board Ethernet
#ETH_DRV_1='3c503'              # ISA: 3COM EtherLinkII (3c503)
#ETH_DRV_1='e2100'              # ISA: Cabletron E21xx ISA
#ETH_DRV_1='hp'                 # ISA: HP PCLAN (27245, 27xxx) ISA
#ETH_DRV_1='hp-plus'            # ISA: HP PCLAN+ (27247B and 27252A) ISA
ETH_DRV_1='8139too'                     #ISA: NE2000 ISA clone (eg. Realtek 8019,
# Accton 16xx, NatSemi 8390, UMC 9003/9008)
#ETH_DRV_1='ne2k-pci'           # PCI: NE2000 PCI clone (eg. Realtek 8029,
# Winbond 89c940)
#ETH_DRV_1='smc-ultra'          # ISA: SMC ULTRA
#ETH_DRV_1='smc-ultra32'        # EISA: SMC ULTRA32 (NEW)
#ETH_DRV_1='wd'                 # ISA: SMC WD80*3
#ETH_DRV_1='at1700'             # ISA: AT1700 (Fujitsu 86965) ISA
#ETH_DRV_1='cs89x0'             # ISA: IBM Etherjet, cs89x0 based Cards (Option io=0xnnn necessary!)
#ETH_DRV_1='de4x5'              # PCI/EISA: Digital DE425, DE434, DE435, DE450, DE500
#ETH_DRV_1='depca'              # ISA: DEPCA, DE10x, DE200, DE201, DE202, DE422
#ETH_DRV_1='dgrs'               # PCI: Digi International RightSwitch PCI/EISA
#ETH_DRV_1='dmfe'               # PCI: DM9102 compatible PCI cards from Davicom
#ETH_DRV_1='lp486e'             # ISA: Intel Professional Workstation/panther 82596
#ETH_DRV_1='eepro'              # ISA: Intel EtherExpress Pro/10
#ETH_DRV_1='eepro100'           # PCI: Intel EtherExpressPro PCI 10+/100B/100+
#ETH_DRV_1='eexpress'           # ISA: EtherExpress16 ISA
#ETH_DRV_1='epic100'            # PCI: SMC EPIC/100 (EtherPower II) PCI
#ETH_DRV_1='eth16i'             # ISA/EISA: ICL EtherTeam 16i/32
#ETH_DRV_1='ewrk3'              # ISA: EtherWORKS 3 ISA (DE203, DE204, DE205)
#ETH_DRV_1='fa3xx'              # PCI: NETGEAR FA3XX PCI Ethernet Controller
#ETH_DRV_1='fealnx'             # PCI: ASOUND LAN 8139 card - not RTL8139 (NEW)
#ETH_DRV_1='hp100'              # ISA/EISA/PCI: HP 10/100VG PCLAN (ISA, EISA, PCI)
#ETH_DRV_1='lance'              # ISA: AMD LANCE and PCnet (AT1500, NE2100) ISA
#ETH_DRV_1='old_tulip'          # PCI: Old DECchip Tulip (dc21x4x) PCI
#ETH_DRV_1='pcnet32'            # PCI: AMD PCI PCnet32
#ETH_DRV_1='rtl8139-orig'       # PCI: RealTek 8129/8139 (not 8019/8029!)
#ETH_DRV_1='rtl8139'            # PCI: RealTek 8129/8139 (not 8019/8029!) (NEW)
#ETH_DRV_1='8139too'            # PCI: RealTek 8139 10/100 MB (NEW)
#ETH_DRV_1='sis900'             # PCI: SiS 900/7016
#ETH_DRV_1='sundance'           # PCI: DFE-550FX or DFE-530TXS (NEW)
#ETH_DRV_1='tlan'               # PCI: TI ThunderLAN (Compaq Netelligent ...)
#ETH_DRV_1='tulip'              # PCI: DECchip Tulip (dc21x4x) PCI
#ETH_DRV_1='natsemi'            # PCI: Nat Semi
#ETH_DRV_1='starfire'           # PCI: Starfire
#ETH_DRV_1='via-rhine'          # PCI: VIA Rhine PCI (3043, VT86c100A, dfe-530tx)
#ETH_DRV_1='winbond-840'        # PCI: Winbond 840
#ETH_DRV_1='lanstreamer'        # Token Ring: IBM Auto LANStreamer PCI Adapter
#ETH_DRV_1='olympic'            # Token Ring: IBM cards (Pit/Pit-Phy/Olympic)
#ETH_DRV_1='ibmtr'              # Token Ring: IBM 16/4
#ETH_DRV_1='pcnet_cs'           # PCMCIA: NS8390-based cards (NE2000, DLINK etc)
#ETH_DRV_1='3c574_cs'           # PCMCIA: 3Com 574
#ETH_DRV_1='3c575_cb'           # PCMCIA: 3Com 575
#ETH_DRV_1='3c589_cs'           # PCMCIA: 3Com 589
#ETH_DRV_1='airo'               # PCMCIA: Airo 4500 & 4800 series cards
#ETH_DRV_1='airo_cs'            # PCMCIA: Airo 4500 & 4800 series cards
#ETH_DRV_1='eepro100_cb'        # PCMCIA: EtherExpress Pro 100
#ETH_DRV_1='epic_cb'            # PCMCIA: SMC 83c170 EPIC/100
#ETH_DRV_1='ibmtr_cs'           # PCMCIA: IBM Token Ring
#ETH_DRV_1='netwave_cs'         # PCMCIA: Netwave AirSurfer Wireless LAN
#ETH_DRV_1='nmclan_cs'          # PCMCIA: New Media Ethernet LAN
#ETH_DRV_1='ray_cs'             # PCMCIA: Raylink wireless cards
#ETH_DRV_1='smc91c92_cs'        # PCMCIA: SMC91c92-based cards
#ETH_DRV_1='tulip_cb'           # PCMCIA: DEC 21040-family cards
#ETH_DRV_1='wavelan_cs'         # PCMCIA: WaveLAN
#ETH_DRV_1='wavelan2_cs'        # PCMCIA: WaveLAN2
#ETH_DRV_1='wvlan_cs'           # PCMCIA: Lucent WaveLAN/IEEE 802.11
#ETH_DRV_1='xirc2ps_cs'         # PCMCIA: Xircom: CE2, CEM28, CEM33, or CE3
#ETH_DRV_1='wl24_cs'            # PCMCIA: ELSA Airlancer MC-2
#ETH_DRV_1='cs89x0_cs'          # PCMCIA: IBM EtherJet Ethernet Adapter
#ETH_DRV_1='orinoco_cs'         # PCMCIA: Orinoco Based WLAN Cards (NEW)
#ETH_DRV_1='axnet_cs'           # PCMCIA: Asix AX88190 Fast Ethernet (NEW)
ETH_DRV_1_OPTION=''
#------------------------------------------------------------------------------
# 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.6.1'           #IP address of your nth ethernet card
IP_ETH_1_NETWORK='192.168.6.0'          #network of your LAN
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
#------------------------------------------------------------------------------
# Masquerading:
#------------------------------------------------------------------------------
MASQ_NETWORK='192.168.6.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_2='h323'                    #h323 (netmeeting)
MASQ_MODULE_3='icq'                     #icq (use with caution!)
MASQ_MODULE_4='irc'                     #irc
MASQ_MODULE_5='raudio'                  #raudio
MASQ_MODULE_6='vdolive'                 #vdolive
MASQ_MODULE_7='quake'                   #quake
MASQ_MODULE_8='cuseeme'                 #cuseeme
MASQ_MODULE_9='mms'                     #MSN-Filetransfer
MASQ_MODULE_10='pptp'                   #pptp
MASQ_MODULE_11='ipsec'                  #ipsec
MASQ_MODULE_12='dplay'                  #dplay (direct play)
MASQ_MODULE_13='msn-0.02'               #msn zone (use version 0.01 or 0.02)
MASQ_MODULE_14='udp_dloose'             #pseudo mod: some internet games need it
MASQ_FTP_PORT_N='0'                     #using ftp masq-module on different ports
MASQ_FTP_PORT_1='21'                    #standard ftp port
MASQ_FTP_PORT_2='2021'                  #additional port
#------------------------------------------------------------------------------
# Optional package: PORTFW
#
# If you set OPT_PORTFW='yes', you can also edit opt/etc/portfw.sh
#------------------------------------------------------------------------------
OPT_PORTFW='no'                         #install port forwarding tools/modules
PORTFW_N='0'                            #how many portforwardings to set up
PORTFW_1='8080 192.168.6.15:80 tcp'     #sample 1: forward ext. port 8080 to int.
# host 192.168.6.15 to port 80 (use tcp)
PORTFW_2='3000-3010 192.168.6.15 tcp'   #sample 2: forward portrange to int. host
# 192.168.5.15 (use tcp)
#------------------------------------------------------------------------------
# Routing without masquerading
#------------------------------------------------------------------------------
ROUTE_NETWORK=''                        #optional: route from/to network, no masq
#------------------------------------------------------------------------------
# Routing: internal hosts to deny forwarding
#------------------------------------------------------------------------------
FORWARD_DENY_HOST_N='0'                 #number of denied hosts
FORWARD_DENY_HOST_1='192.168.6.5'       #optional: 1st denied host
FORWARD_DENY_HOST_2='192.168.6.6'       #optional: 2nd denied host
#------------------------------------------------------------------------------
# Routing: ports to reject/deny forwarding (from inside and outside!)
#------------------------------------------------------------------------------
FORWARD_DENY_PORT_N='1'                 #no. of ports to reject/deny forwarding
FORWARD_DENY_PORT_1='137:139    REJECT' #deny/reject forwarding of netbios
FORWARD_TRUSTED_NETS=''                 #but allow forwarding between LANs
#------------------------------------------------------------------------------
# Firewall: ports to reject/deny from outside (all served ports)
#
# here we leave two ports untouched:
#
#  53 dns
# 113 auth
#------------------------------------------------------------------------------
FIREWALL_DENY_PORT_N='6'                #no. of ports to reject/deny
FIREWALL_DENY_PORT_1='0:52      REJECT' #privileged ports: reject or deny
FIREWALL_DENY_PORT_2='54:112    REJECT' #privileged ports: reject or deny
FIREWALL_DENY_PORT_3='114:1023  REJECT' #privileged ports: reject or deny
FIREWALL_DENY_PORT_4='5000:5001 REJECT' #imond/telmond ports: reject or deny
FIREWALL_DENY_PORT_5='8000      REJECT' #proxy access: reject or deny
FIREWALL_DENY_PORT_6='20012     REJECT' #vbox server access: reject or deny
FIREWALL_DENY_ICMP='no'                 #deny icmp (ping): yes or no
FIREWALL_LOG='yes'                      #log access to rejected/denied ports
#------------------------------------------------------------------------------
# Domain configuration:
#------------------------------------------------------------------------------
START_DNS='yes'                         #start dns server: yes or no
DNS_FORWARDERS='192.76.144.66'          #DNS servers of your provider, e.g. MSN
DNS_VERBOSE='no'                        #log queries in /usr/local/ens/ens.log
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='3'                             #number of hosts in your domain
HOST_1='192.168.6.1 fli4l'              #1st host: ip and name
HOST_2='192.168.6.2 client2'            #2nd host: ip and name
HOST_4='192.168.6.4 client4'            #4th host: ip and name
#------------------------------------------------------------------------------
# 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_PORT='5000'                       #TCP-Port, see also FIREWALL_DENY_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='yes'                        #start syslogd: yes or no
SYSLOGD_DEST_N='1'                      #number of destinations
SYSLOGD_DEST_1='*.* /dev/console'       #nth 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='yes'                          #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
HOST_3='192.168.6.1 test'
Nachtrag:
Habe mich jetzt über ssh auf den router eingeloggt und dann
ping www.google.de
eingeben und einen ping erhalten. Also mit dem Internet klappt es denke ich schon mal denn mir wurde auch eine ip adresse zugewiesen :) und ich erhielt 2 neue dns server. Also muss ich online gewesen sein :idea:

vielleicht ist ja hier der fehler :)
Hoffe ihr könnt mir helfen

Gruß }-Tux-{
 

Scuppa

Member
Gib' in Deinen Einstellungen den Router auch als DNS-Server an und guck', was dann passiert...

Gtx,

Scuppa
 
OP
A

Anonymous

Gast
hi
habe ich eben schon selber rausgefunden :wink:
aber trotzdem danke :!: :!:

Nun habe ich noch folgendes problem:
wenn ich mit dem router online gehe geht er nicht offline da immer wieder anfragen aus dem internet kommen. Gibt es irgendeinen befehl mit dem er sofort offline geht???

Gruß }-Tux-{
 

Scuppa

Member
Also mit 'nem Programm wie gtk-imonc oder KFli4l kannst Du den Router vom Host-Rechner aus steuern, ihm also auch erzählen, wenn er online und offline gehen soll. Ggf. vorher in der base.txt den dialmode auf manual stellen.

Cheers,

Scuppa
 
OP
A

Anonymous

Gast
hi
habe es jetzt hinbekommen :wink:
ich habe mir das OPT-Packet HangUp ( http://www.fli4l.de/german/extern/opt/search.pl ) runtergeladen. Jetzt legt er nach 120 sek auf auch wenn von noch daten von außen hereinkommen.

Gruß }-Tux-{

Ps. fli4l rocks 8)
 
OP
A

Anonymous

Gast
habe mir jetzt imonc installiert.
und mich auch als admin eingeloggt aber wie kann ich mir jetzt die syslogd und klogd meldungen anzeigen lassen????

Code:
# imond configuration:
#------------------------------------------------------------------------------
START_IMOND='yes'                       #start imond: yes or no
IMOND_PORT='5000'                       #TCP-Port, see also FIREWALL_DENY_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='yes'                          #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
##############################################
# optional package: syslogd
#------------------------------------------------------------------------------
OPT_SYSLOGD='yes'                       #start syslogd: yes or no
SYSLOGD_DEST_N='1'                      #number of destinations
SYSLOGD_DEST_1='*.* /dev/console'       #nth 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='yes'                         #start klogd: yes or no

Die 192.168.6.2 ist meine ip adresse

ich denke das alles richtig konfiguriert ist.


Gruß }-Tux-{
 

Scuppa

Member
Also erstmal musst Du natürlich in Deiner config die SYSLOGD_DEST_N auf 2 stellen. Ich weiss aber dann auch nicht, ob man sich das einfach mit /dev/console@192.168.6.2 auf den Hostbildschirm holen kann... Probier einfach mal rum ;)

Gtx,

Scuppa
 
Oben