[Frage] ebtables verfügbar? Wie einbinden?

dwichmann

Neuer User
Mitglied seit
31 Mai 2007
Beiträge
35
Punkte für Reaktionen
0
Punkte
0
Hallo Freetz-Freunde,

ich benötige das Kernel Paket ebtables. Es scheint nicht mal im Freetz Trunk verfügbar zu sein. Wie bekomme ich dieses Paket in die Freetz Software?
Bin für jede Idee dankbar.


Gruß,
dwichmann
 
Hi.

Mit iptables als auch ebtables ist das auf der Fritz!Box nicht so einfach. Bei Auswahl dieser Optionen ändert sich die größe der skbuff-Struktur was den Closed-Source-AVM Modulen nicht gefällt...

Wenn du die Module bauen willst, dann musst du die Optionen mit "make kernel-menuconfig" auswählen. Damit sie ins Image gelangen musst du kernel/Config.in.modules um die entsprechenden Einträge erweitern und in menuconfig auswählen.
Code:
config FREETZ_MODULE_ebtables
    bool "ebtables.ko"
    default n

usw...
Gruß
Oliver
 
Hallo Oliver,

wow, mit Kernel-menuconfig zaubert man ja noch viel mehr hervor, nur:
-Wo finde ich die module im Kernel?
:confused:

Gruß,
dwichmann
 
Die Module werden beim make nach kernel/modules... kopiert.

Gruß
Oliver
 
Okay, meine Fragw war falsch formuliert:
-Wo muss ich im Make kernel-menuconfig was aktivieren, um an diesen Eintrag zu kommen?
Super wäre eine Schritt für Schritt Anleitung.


Danke und Gruß,
dwichmann
 
Die Frage hat nichts mit Freetz zu tun...

Im menuconfig kannst du mit "/" suchen. ebtables eingeben und dann schauen wo es ist
Code:
   Location:                                                
  │     -> Networking support (NET [=y])       
  │       -> Networking options                                
  │         -> Network packet filtering framework (Netfilter) (NETFILTER [=y])
Gruß
Oliver
 
Hallo noch einmal,

ja, nun habe ich es tatsächlich geschafft, das Kernelmodul ebtables ins Image zu bringen, leider kommt nun folgende Meldung:
root@fritz:/var/mod# modprobe ebtables
modprobe: can't load module ebtables (kernel/net/bridge/netfilter/ebtables.ko): invalid module format

Hmm... außerdem fehlt mir noch das Programm ebtables selbst, wo finde ich das denn in der Freetz Umgebung?

Warum ist das nicht "Freetz-Thema"?


Gruß,
dwichmann
 
Es ist nicht Freetz Thema, weil es eine Frage zur Linux Kernel Konfiguration ist.

Was für eine Box hast Du? Was sagt das Kommando file zu dem Modul?
Das Programm etables findest Du in Freetz überhaupt nicht. Es hätte auch wenig Nutzen ohne das zugehörige Kernel-Modul.
 
Hallo und Frohe Ostern,

also ich habe eine FritzBox 7390 und wollte ursprünglich das Programm ebtables ins Freetz Image bringen. Nur brauche ich für ebtables die notwendigen Kernel Module, daher meine erste Frage. Hintergrund ist, dass ich ein Tinc VPN per Bridge offen habe, wo ich NUR DHCP Request offers/requests Port 67/68 blocken will. Ansonsten sollen alle Broadcasts die verschiedenen FritzBoxen im VPN passieren. Es war anfangs alles so einfach gedacht...

Also, die Ausgabe von file:
ebtables.ko: ELF 32-bit MSB relocatable, MIPS, MIPS32 rel2 version 1 (SYSV), width unknown capability 0x41000000 ) 0xf676e75, not stripped

Was auch immer das bedeuten soll.

Wie bekomme ich das Programm ebtables ins Freetz Image? Ist es vielleicht geplant, dieses Feature in einer zukünftigen Freetz Version freizugeben?

Gruß,
dwichmann
 
Zumindest ist shcon mal der Typ der Datei richtig. Vielleicht zeigt dmesg näheres an.

Bisher hat keiner etwas mit etables geplant, Du kannst gern damit anfangen.
 
Also die Ausgabe von dmesg steht unten...
Wenn ebtables läuft kann ich es gerne zur Verfügung stellen, zuvor werde ich aber noch ein wenig Unterstützung benötigen, damit es läuft.

Code:
bmedrv_init: Registered BME device with Major number 247
Request Region 0xa6000000 - 0xa67fffff
bmedrv_init: Region 0xa6000000 - 0xa67fffff allocated successfully
BME Driver has been loaded SUCCESSFULLY
yaffs: dev is 32505862 name is "mtdblock6" rw
yaffs: passed flags ""
yaffs: yaffs: Attempting MTD mount of 31.6,"mtdblock6"
yaffs: yaffs_read_super: is_checkpointed 1

[avm_debug]standard kernel-messages
[piglet]use gpio-settings for 156
patch_dectfw: c1386000, totallen = 70047(1119f)
patch_dectfw: patch_adress: f1038 max_len: 26 with Version 2 Len: 17
dect_loader: fast-bootmode
*
****************************************************************************************************************************************
dect144xx_file_process: upload of '/lib/modules/dectfw_secondlevel_488.hex' successfull
[piglet]bitfile '/lib/modules/bitfile.bit'
[piglet] try to preload in progress-context: /lib/modules/bitfile.bit
[piglet] bitfile 169309 bytes done
[piglet] "wyatt_earp_unload_xilinx" loaded
[pcmlink]svn: 1525
system-load 6 curr: busybox runnable: 2
driver params overwritten io_addr=0x0 irq_num=0
[pcmlink]chrony-support
[adsp_load] file loaded svnVersion 34
PCMLINK-Version(Fusiv): 6.1525 - dsp: 34 time 14:06:55 date Feb 27 2012
capicodec_init()
[capi_codec] support fax
[capi_codec] support Codecs
dect_uicp_from_dect, ignore 8 bytes, dect_manager not up: 2F7B
ramzswap: /dev/ramzswap0 initialized: disksize_kb=16384<6>Adding 16376k swap on /dev/ramzswap0.  Priority:-1 extents:1 across:16376k
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
dect_uicp_from_dect, ignore 16 bytes, dect_manager not up: F614
ikf68xx-ehci-hcd ikf68xx-ehci-hcd.0: Ikanos On-Chip EHCI Host Controller
ikf68xx-ehci-hcd ikf68xx-ehci-hcd.0: new USB bus registered, assigned bus number 1
ikf68xx-ehci-hcd ikf68xx-ehci-hcd.0: irq 35, io mem 0x19230000
ikf68xx-ehci-hcd ikf68xx-ehci-hcd.0: USB 0.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
avm_net_trace: New net trace device 'usb1' registered with minor 161.
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
drivers/usb/host/ohci-ikf68xx.c: Probing USB OHCI
drivers/usb/host/ohci-ikf68xx.c: starting IKF68XX OHCI USB Host Controller
drivers/usb/host/ohci-ikf68xx.c: Clock to USB host has been enabled
ikf68xx-ohci-hcd ikf68xx-ohci-hcd.0: Ikanos On-Chip OHCI Host Controller
ikf68xx-ohci-hcd ikf68xx-ohci-hcd.0: new USB bus registered, assigned bus number 2
ikf68xx-ohci-hcd ikf68xx-ohci-hcd.0: irq 35, io mem 0x19240800
hub 1-0:1.0: unable to enumerate USB device on port 2
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
avm_net_trace: New net trace device 'usb2' registered with minor 162.
usb 2-2: new full speed USB device using ikf68xx-ohci-hcd and address 2
Port#2 config: AVM Powermeter changed to 100 mA
usb 2-2: configuration #1 chosen from 1 choice
system-load 9 curr: vdsld runnable: 2
kdsldmod: init start (Feb 27 2012 14:15:35) sizeof(struct sk_buff)=536
kdsldmod: init done
dect_uicp_from_dect, ignore 16 bytes, dect_manager not up: F614
SCSI subsystem initialized
Driver 'sd' needs updating - please use bus_type methods
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
eth: port 0 status 1 throttle 0
eth: port 1 status 1 throttle 0
eth: port 2 status 1 throttle 0
eth: port 3 status 1 throttle 0
dect_uicp_from_dect, ignore 16 bytes, dect_manager not up: F614
scsi 0:0:0:0: Direct-Access     LEXAR    DIGITAL FILM     /W1. PQ: 0 ANSI: 2
sd 0:0:0:0: [sda] 251904 512-byte hardware sectors: (128 MB/123 MiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 0d 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
ADDRCONF(NETDEV_UP): eth0: link is not ready
device eth0 entered promiscuous mode
device cpmac0 entered promiscuous mode
sd 0:0:0:0: [sda] 251904 512-byte hardware sectors: (128 MB/123 MiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 0d 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1
sd 0:0:0:0: [sda] Attached SCSI removable disk
usb-storage: device scan complete
[wlan_eeprom] calibration data blocks found = 2
[wlan_eeprom] Got calibration data version 255 for instance #1
[wlan_eeprom] Using complete eeprom from flash
[wlan_eeprom] Got calibration data version 255 for instance #2
[wlan_eeprom] Using complete eeprom from flash
system-load 9 curr: usbcfgctl runnable: 2
dect_uicp_from_dect, ignore 16 bytes, dect_manager not up: F614
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
lan: topology change detected, propagating
lan: port 1(eth0) entering forwarding state
AVM_WATCHDOG: System Init UEberwachung abgeschlossen (515160 ms noch verfuegbar)
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_cpuclock: norm_power_rate=100 act_rate=100 mul=0 div=1 offset=0 NormP=0 mW -> SumNormP=0 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_systemclock: norm_power_rate=100 act_rate=100 mul=0 div=1 offset=3500 NormP=3500 mW -> SumNormP=3500 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_dspclock: norm_power_rate=100 act_rate=100 mul=0 div=1 offset=1500 NormP=1500 mW -> SumNormP=5000 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_loadrate: norm_power_rate=100 act_rate=100 mul=29 div=10 offset=-17 NormP=273 mW -> SumNormP=5273 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_analog: norm_power_rate=200 act_rate=0 mul=141 div=10 offset=100 NormP=2920 mW -> SumNormP=8193 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_isdnnt: norm_power_rate=100 act_rate=0 mul=1 div=1 offset=0 NormP=100 mW -> SumNormP=8293 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_isdnte: norm_power_rate=100 act_rate=0 mul=1 div=1 offset=0 NormP=100 mW -> SumNormP=8393 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_wlan: norm_power_rate=100 act_rate=100 mul=84 div=10 offset=100 NormP=940 mW -> SumNormP=9333 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_usb_host: norm_power_rate=500 act_rate=0 mul=55 div=10 offset=0 NormP=2750 mW -> SumNormP=12083 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_usb_host2: norm_power_rate=500 act_rate=100 mul=55 div=10 offset=0 NormP=2750 mW -> SumNormP=14833 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_dect: norm_power_rate=100 act_rate=0 mul=200 div=78 offset=150 NormP=406 mW -> SumNormP=15239 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_dsl: norm_power_rate=100 act_rate=100 mul=15 div=1 offset=0 NormP=1500 mW -> SumNormP=16739 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_ethernet: norm_power_rate=467 act_rate=167772467 mul=1 div=1 offset=50 NormP=517 mW -> SumNormP=17256 mW
SysRq : Changing Loglevel
Loglevel set to 4
dect_uicp_from_dect, ignore 16 bytes, dect_manager not up: F614
device tap0 entered promiscuous mode
lan: topology change detected, propagating
lan: port 2(tap0) entering forwarding state
system-load 100 % curr: sh runnable: 8
nla_init
nla_init-Success
ath_hal: 0.9.17.1 (AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2316, RF2317, REGOPS_FUNC, WRITE_EEPROM, 11D)
ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
ath_spectral: Version 2.0.0
Copyright (c) 2005-2009 Atheros Communications, Inc. All Rights Reserved
SPECTRAL module built on Feb 24 2012 13:42:08
ath_dfs: Version 2.0.0
Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
system-load 100 % curr: busybox runnable: 30
ath_pci: 9.2.0_U7.717 (Atheros/multi-bss)
PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
dfs_attach: use DFS enhancements
DFS min filter rssiThresh = 15
DFS max pulse dur = 151 ticks
ath_get_caps[4921] rx chainmask mismatch actual 3 sc_chainmak 0
ath_get_caps[4896] tx chainmask mismatch actual 3 sc_chainmak 0
ic_num_chains=2x2
_avm_ath_ext_attach_ah:65
_avm_ath_ext_attach_ieee:47
Using WLAN static memory @0x05f2c000
avm_net_trace: New net trace device 'HW (2.4 + 5 GHz, wifi0)' registered with minor 128.
wifi0: Atheros ???: mem=0x1a000000, irq=25 hw_base=0xba000000
PCI: Enabling device 0000:00:02.0 (0000 -> 0002)
dfs_attach: use DFS enhancements
DFS min filter rssiThresh = 15
DFS max pulse dur = 151 ticks
ath_get_caps[4921] rx chainmask mismatch actual 3 sc_chainmak 0
ath_get_caps[4896] tx chainmask mismatch actual 3 sc_chainmak 0
ic_num_chains=2x2
_avm_ath_ext_attach_ah:65
_avm_ath_ext_attach_ieee:47
avm_net_trace: New net trace device 'HW2 (2.4 + 5 GHz, wifi1)' registered with minor 129.
wifi1: Atheros ???: mem=0x1a010000, irq=25 hw_base=0xba010000
VDSL AP and VDSL PHY  clocks are enabled
vdsl: Netpro VDSL Ethernet found at 0x0, irq 36
User parameters for VDSL AP configured successfully
Slave Mem Alloc: Req size 32   Ptr2Block 0x191f0080
VDSL AP started successfully
default parameters configured successfully

VDSL Driver is initialized SUCCESSFULLY
wlan_vap_create : enter. devhandle=0x82d143a0, opmode=IEEE80211_M_HOSTAP, flags=0x1
wlan_vap_create : exit. devhandle=0x82d143a0, opmode=IEEE80211_M_HOSTAP, flags=0x1.
avm_net_trace: New net trace device 'AP (2.4 + 5 GHz, ath0)' registered with minor 130.
avm_net_trace: New net trace device 'AP (2.4 + 5 GHz, ath0)' registered with minor 131.
VAP device ath0 created
 ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1
This operation is not supported on this interface
wlan_vap_create : enter. devhandle=0x847383a0, opmode=IEEE80211_M_HOSTAP, flags=0x1
wlan_vap_create : exit. devhandle=0x847383a0, opmode=IEEE80211_M_HOSTAP, flags=0x1.
avm_net_trace: New net trace device 'AP2 (2.4 + 5 GHz, ath1)' registered with minor 136.
avm_net_trace: New net trace device 'AP2 (2.4 + 5 GHz, ath1)' registered with minor 137.
VAP device ath1 created
 ieee80211_ioctl_siwmode: imr.ifm_active=66176, new mode=3, valid=1
This operation is not supported on this interface
This operation is not supported on this interface
 ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1
system-load 100 % curr: hostapd runnable: 2
This operation is not supported on this interface
 ieee80211_ioctl_siwmode: imr.ifm_active=66176, new mode=3, valid=1
device ath0 entered promiscuous mode
lan: topology change detected, propagating
lan: port 3(ath0) entering forwarding state
device ath1 entered promiscuous mode
lan: topology change detected, propagating
lan: port 4(ath1) entering forwarding state
Found CWA - MinFreq: 0 - MaxFreq: 2472
Found CWA - MinFreq: 0 - MaxFreq: 2472
device vdsl entered promiscuous mode
userman: device registerd (userman_url) with major=241
kdsld_token_thread: start
sch_llq: Feb 27 2012 14:07:14
system-load 2 curr: tincd runnable: 3
ebtables: exports duplicate symbol ebt_do_table (owned by kernel)
system-load 1 curr: ar7cfgctl runnable: 3
ebtables: exports duplicate symbol ebt_do_table (owned by kernel)
system-load 1 curr: webdav_control runnable: 2
system-load 1 curr: webdav_control runnable: 6
system-load 1 curr: webdav_control runnable: 6
system-load 1 curr: webdav_control runnable: 3
system-load 1 curr: webdav_control runnable: 7
vdsl_pa_dev_transmit(vdsl) 1<3>vdsl_pa_dev_transmit(vdsl) 1<3>vdsl_pa_dev_transmit(vdsl) 1<3>vdsl_pa_dev_transmit(vdsl) 1<3>vdsl_pa_dev_transmit(vdsl) 1<3>vdsl_pa_dev_transmit(vdsl) 1<3>vdsl_pa_dev_transmit(vdsl) 1<3>vdsl_pa_dev_transmit(vdsl) 1<3>vdsl_pa_dev_transmit(vdsl) 1<3>vdsl_pa_dev_transmit(vdsl) 1system-load 1 curr: webdav_control runnable: 4
system-load 1 curr: busybox runnable: 5
system-load 1 curr: webdav_control runnable: 6
system-load 1 curr: webdav_control runnable: 6
system-load 1 curr: multid runnable: 6
system-load 1 curr: webdav_control runnable: 8
system-load 1 curr: webdav_control runnable: 3
system-load 1 curr: ftpd runnable: 3
system-load 1 curr: webdav_control runnable: 4
system-load 1 curr: ftpd runnable: 2
system-load 1 curr: busybox runnable: 4
system-load 1 curr: webdav_control runnable: 5
system-load 1 curr: webdav_control runnable: 3
system-load 1 curr: webdav_control runnable: 5
system-load 1 curr: busybox runnable: 3
system-load 1 curr: webdav_control runnable: 6
system-load 1 curr: busybox runnable: 4
system-load 1 curr: webdav_control runnable: 2
system-load 1 curr: webdav_control runnable: 2
system-load 1 curr: webdav_control runnable: 4
system-load 1 curr: webdav_control runnable: 5
system-load 1 curr: sh runnable: 4
[avm_power]event: 27 not handled
avm_pa: telephony active
[avm_power]event: 27 not handled
avm_pa: telephony inactive
system-load 1 curr: luacgi runnable: 3
system-load 9 curr: dsld runnable: 3
system-load 7 curr: ctlmgr runnable: 2
system-load 7 curr: ctlmgr runnable: 3
system-load 7 curr: ctlmgr runnable: 4
[avm_power]event: 27 not handled
avm_pa: telephony active
system-load 1 curr: ftpd runnable: 3
[avm_power]event: 27 not handled
avm_pa: telephony inactive
system-load 1 curr: webdav_control runnable: 6
root@fritz:/var/mod/root#
 
Zuletzt bearbeitet:
Moment, da habe ich was falsch abgezogen, nun noch einmal mit vorherigen, vergeblichen laden der ebtabels, ich denke die letzte Zeile hilft Kennern weiter:

Code:
system-load 6 curr: busybox runnable: 2
driver params overwritten io_addr=0x0 irq_num=0
[pcmlink]chrony-support
[adsp_load] file loaded svnVersion 34
PCMLINK-Version(Fusiv): 6.1525 - dsp: 34 time 14:06:55 date Feb 27 2012
capicodec_init()
[capi_codec] support fax
[capi_codec] support Codecs
dect_uicp_from_dect, ignore 8 bytes, dect_manager not up: 2F7B
ramzswap: /dev/ramzswap0 initialized: disksize_kb=16384<6>Adding 16376k swap on /dev/ramzswap0.  Priority:-1 extents:1 across:16376k
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
dect_uicp_from_dect, ignore 16 bytes, dect_manager not up: F614
ikf68xx-ehci-hcd ikf68xx-ehci-hcd.0: Ikanos On-Chip EHCI Host Controller
ikf68xx-ehci-hcd ikf68xx-ehci-hcd.0: new USB bus registered, assigned bus number 1
ikf68xx-ehci-hcd ikf68xx-ehci-hcd.0: irq 35, io mem 0x19230000
ikf68xx-ehci-hcd ikf68xx-ehci-hcd.0: USB 0.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
avm_net_trace: New net trace device 'usb1' registered with minor 161.
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
drivers/usb/host/ohci-ikf68xx.c: Probing USB OHCI
drivers/usb/host/ohci-ikf68xx.c: starting IKF68XX OHCI USB Host Controller
drivers/usb/host/ohci-ikf68xx.c: Clock to USB host has been enabled
ikf68xx-ohci-hcd ikf68xx-ohci-hcd.0: Ikanos On-Chip OHCI Host Controller
ikf68xx-ohci-hcd ikf68xx-ohci-hcd.0: new USB bus registered, assigned bus number 2
ikf68xx-ohci-hcd ikf68xx-ohci-hcd.0: irq 35, io mem 0x19240800
hub 1-0:1.0: unable to enumerate USB device on port 2
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
avm_net_trace: New net trace device 'usb2' registered with minor 162.
usb 2-2: new full speed USB device using ikf68xx-ohci-hcd and address 2
Port#2 config: AVM Powermeter changed to 100 mA
usb 2-2: configuration #1 chosen from 1 choice
system-load 9 curr: vdsld runnable: 2
kdsldmod: init start (Feb 27 2012 14:15:35) sizeof(struct sk_buff)=536
kdsldmod: init done
dect_uicp_from_dect, ignore 16 bytes, dect_manager not up: F614
SCSI subsystem initialized
Driver 'sd' needs updating - please use bus_type methods
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
eth: port 0 status 1 throttle 0
eth: port 1 status 1 throttle 0
eth: port 2 status 1 throttle 0
eth: port 3 status 1 throttle 0
dect_uicp_from_dect, ignore 16 bytes, dect_manager not up: F614
scsi 0:0:0:0: Direct-Access     LEXAR    DIGITAL FILM     /W1. PQ: 0 ANSI: 2
sd 0:0:0:0: [sda] 251904 512-byte hardware sectors: (128 MB/123 MiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 0d 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
ADDRCONF(NETDEV_UP): eth0: link is not ready
device eth0 entered promiscuous mode
device cpmac0 entered promiscuous mode
sd 0:0:0:0: [sda] 251904 512-byte hardware sectors: (128 MB/123 MiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 0d 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1
sd 0:0:0:0: [sda] Attached SCSI removable disk
usb-storage: device scan complete
[wlan_eeprom] calibration data blocks found = 2
[wlan_eeprom] Got calibration data version 255 for instance #1
[wlan_eeprom] Using complete eeprom from flash
[wlan_eeprom] Got calibration data version 255 for instance #2
[wlan_eeprom] Using complete eeprom from flash
system-load 9 curr: usbcfgctl runnable: 2
dect_uicp_from_dect, ignore 16 bytes, dect_manager not up: F614
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
lan: topology change detected, propagating
lan: port 1(eth0) entering forwarding state
AVM_WATCHDOG: System Init UEberwachung abgeschlossen (515160 ms noch verfuegbar)
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_cpuclock: norm_power_rate=100 act_rate=100 mul=0 div=1 offset=0 NormP=0 mW -> SumNormP=0 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_systemclock: norm_power_rate=100 act_rate=100 mul=0 div=1 offset=3500 NormP=3500 mW -> SumNormP=3500 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_dspclock: norm_power_rate=100 act_rate=100 mul=0 div=1 offset=1500 NormP=1500 mW -> SumNormP=5000 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_loadrate: norm_power_rate=100 act_rate=100 mul=29 div=10 offset=-17 NormP=273 mW -> SumNormP=5273 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_analog: norm_power_rate=200 act_rate=0 mul=141 div=10 offset=100 NormP=2920 mW -> SumNormP=8193 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_isdnnt: norm_power_rate=100 act_rate=0 mul=1 div=1 offset=0 NormP=100 mW -> SumNormP=8293 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_isdnte: norm_power_rate=100 act_rate=0 mul=1 div=1 offset=0 NormP=100 mW -> SumNormP=8393 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_wlan: norm_power_rate=100 act_rate=100 mul=84 div=10 offset=100 NormP=940 mW -> SumNormP=9333 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_usb_host: norm_power_rate=500 act_rate=0 mul=55 div=10 offset=0 NormP=2750 mW -> SumNormP=12083 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_usb_host2: norm_power_rate=500 act_rate=100 mul=55 div=10 offset=0 NormP=2750 mW -> SumNormP=14833 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_dect: norm_power_rate=100 act_rate=0 mul=200 div=78 offset=150 NormP=406 mW -> SumNormP=15239 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_dsl: norm_power_rate=100 act_rate=100 mul=15 div=1 offset=0 NormP=1500 mW -> SumNormP=16739 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_ethernet: norm_power_rate=467 act_rate=167772467 mul=1 div=1 offset=50 NormP=517 mW -> SumNormP=17256 mW
SysRq : Changing Loglevel
Loglevel set to 4
dect_uicp_from_dect, ignore 16 bytes, dect_manager not up: F614
device tap0 entered promiscuous mode
lan: topology change detected, propagating
lan: port 2(tap0) entering forwarding state
system-load 100 % curr: sh runnable: 8
nla_init
nla_init-Success
ath_hal: 0.9.17.1 (AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2316, RF2317, REGOPS_FUNC, WRITE_EEPROM, 11D)
ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
ath_spectral: Version 2.0.0
Copyright (c) 2005-2009 Atheros Communications, Inc. All Rights Reserved
SPECTRAL module built on Feb 24 2012 13:42:08
ath_dfs: Version 2.0.0
Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
system-load 100 % curr: busybox runnable: 30
ath_pci: 9.2.0_U7.717 (Atheros/multi-bss)
PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
dfs_attach: use DFS enhancements
DFS min filter rssiThresh = 15
DFS max pulse dur = 151 ticks
ath_get_caps[4921] rx chainmask mismatch actual 3 sc_chainmak 0
ath_get_caps[4896] tx chainmask mismatch actual 3 sc_chainmak 0
ic_num_chains=2x2
_avm_ath_ext_attach_ah:65
_avm_ath_ext_attach_ieee:47
Using WLAN static memory @0x05f2c000
avm_net_trace: New net trace device 'HW (2.4 + 5 GHz, wifi0)' registered with minor 128.
wifi0: Atheros ???: mem=0x1a000000, irq=25 hw_base=0xba000000
PCI: Enabling device 0000:00:02.0 (0000 -> 0002)
dfs_attach: use DFS enhancements
DFS min filter rssiThresh = 15
DFS max pulse dur = 151 ticks
ath_get_caps[4921] rx chainmask mismatch actual 3 sc_chainmak 0
ath_get_caps[4896] tx chainmask mismatch actual 3 sc_chainmak 0
ic_num_chains=2x2
_avm_ath_ext_attach_ah:65
_avm_ath_ext_attach_ieee:47
avm_net_trace: New net trace device 'HW2 (2.4 + 5 GHz, wifi1)' registered with minor 129.
wifi1: Atheros ???: mem=0x1a010000, irq=25 hw_base=0xba010000
VDSL AP and VDSL PHY  clocks are enabled
vdsl: Netpro VDSL Ethernet found at 0x0, irq 36
User parameters for VDSL AP configured successfully
Slave Mem Alloc: Req size 32   Ptr2Block 0x191f0080
VDSL AP started successfully
default parameters configured successfully

VDSL Driver is initialized SUCCESSFULLY
wlan_vap_create : enter. devhandle=0x82d143a0, opmode=IEEE80211_M_HOSTAP, flags=0x1
wlan_vap_create : exit. devhandle=0x82d143a0, opmode=IEEE80211_M_HOSTAP, flags=0x1.
avm_net_trace: New net trace device 'AP (2.4 + 5 GHz, ath0)' registered with minor 130.
avm_net_trace: New net trace device 'AP (2.4 + 5 GHz, ath0)' registered with minor 131.
VAP device ath0 created
 ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1
This operation is not supported on this interface
wlan_vap_create : enter. devhandle=0x847383a0, opmode=IEEE80211_M_HOSTAP, flags=0x1
wlan_vap_create : exit. devhandle=0x847383a0, opmode=IEEE80211_M_HOSTAP, flags=0x1.
avm_net_trace: New net trace device 'AP2 (2.4 + 5 GHz, ath1)' registered with minor 136.
avm_net_trace: New net trace device 'AP2 (2.4 + 5 GHz, ath1)' registered with minor 137.
VAP device ath1 created
 ieee80211_ioctl_siwmode: imr.ifm_active=66176, new mode=3, valid=1
This operation is not supported on this interface
This operation is not supported on this interface
 ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1
system-load 100 % curr: hostapd runnable: 2
This operation is not supported on this interface
 ieee80211_ioctl_siwmode: imr.ifm_active=66176, new mode=3, valid=1
device ath0 entered promiscuous mode
lan: topology change detected, propagating
lan: port 3(ath0) entering forwarding state
device ath1 entered promiscuous mode
lan: topology change detected, propagating
lan: port 4(ath1) entering forwarding state
Found CWA - MinFreq: 0 - MaxFreq: 2472
Found CWA - MinFreq: 0 - MaxFreq: 2472
device vdsl entered promiscuous mode
userman: device registerd (userman_url) with major=241
kdsld_token_thread: start
sch_llq: Feb 27 2012 14:07:14
system-load 2 curr: tincd runnable: 3
ebtables: exports duplicate symbol ebt_do_table (owned by kernel)
system-load 1 curr: ar7cfgctl runnable: 3
ebtables: exports duplicate symbol ebt_do_table (owned by kernel)
system-load 1 curr: webdav_control runnable: 2
system-load 1 curr: webdav_control runnable: 6
system-load 1 curr: webdav_control runnable: 6
system-load 1 curr: webdav_control runnable: 3
system-load 1 curr: webdav_control runnable: 7
vdsl_pa_dev_transmit(vdsl) 1<3>vdsl_pa_dev_transmit(vdsl) 1<3>vdsl_pa_dev_transmit(vdsl) 1<3>vdsl_pa_dev_transmit(vdsl) 1<3>vdsl_pa_dev_transmit(vdsl) 1<3>vdsl_pa_dev_transmit(vdsl) 1<3>vdsl_pa_dev_transmit(vdsl) 1<3>vdsl_pa_dev_transmit(vdsl) 1<3>vdsl_pa_dev_transmit(vdsl) 1<3>vdsl_pa_dev_transmit(vdsl) 1system-load 1 curr: webdav_control runnable: 4
system-load 1 curr: busybox runnable: 5
system-load 1 curr: webdav_control runnable: 6
system-load 1 curr: webdav_control runnable: 6
system-load 1 curr: multid runnable: 6
system-load 1 curr: webdav_control runnable: 8
system-load 1 curr: webdav_control runnable: 3
system-load 1 curr: ftpd runnable: 3
system-load 1 curr: webdav_control runnable: 4
system-load 1 curr: ftpd runnable: 2
system-load 1 curr: busybox runnable: 4
system-load 1 curr: webdav_control runnable: 5
system-load 1 curr: webdav_control runnable: 3
system-load 1 curr: webdav_control runnable: 5
system-load 1 curr: busybox runnable: 3
system-load 1 curr: webdav_control runnable: 6
system-load 1 curr: busybox runnable: 4
system-load 1 curr: webdav_control runnable: 2
system-load 1 curr: webdav_control runnable: 2
system-load 1 curr: webdav_control runnable: 4
system-load 1 curr: webdav_control runnable: 5
system-load 1 curr: sh runnable: 4
[avm_power]event: 27 not handled
avm_pa: telephony active
[avm_power]event: 27 not handled
avm_pa: telephony inactive
system-load 1 curr: luacgi runnable: 3
system-load 9 curr: dsld runnable: 3
system-load 7 curr: ctlmgr runnable: 2
system-load 7 curr: ctlmgr runnable: 3
system-load 7 curr: ctlmgr runnable: 4
[avm_power]event: 27 not handled
avm_pa: telephony active
system-load 1 curr: ftpd runnable: 3
[avm_power]event: 27 not handled
avm_pa: telephony inactive
system-load 1 curr: webdav_control runnable: 6
system-load 1 curr: busybox runnable: 4
system-load 1 curr: webdav_control runnable: 2
system-load 1 curr: webdav_control runnable: 6
system-load 1 curr: webdav_control runnable: 8
system-load 1 curr: webdav_control runnable: 4
system-load 1 curr: webdav_control runnable: 5
system-load 1 curr: webdav_control runnable: 8
system-load 1 curr: webdav_control runnable: 2
[avm_power]event: 27 not handled
avm_pa: telephony active
[avm_power]event: 27 not handled
avm_pa: telephony inactive
system-load 1 curr: webdav_control runnable: 6
system-load 1 curr: multid runnable: 7
system-load 1 curr: webdav_control runnable: 4
system-load 1 curr: webdav_control runnable: 9
system-load 1 curr: webdav_control runnable: 8
system-load 1 curr: webdav_control runnable: 3
system-load 1 curr: webdav_control runnable: 6
system-load 1 curr: webdav_control runnable: 3
system-load 1 curr: webdav_control runnable: 2
ebtables: exports duplicate symbol ebt_do_table (owned by kernel)
root@fritz:/var/mod/root#
 
Okay, wenn das so wäre, dann müsste ich jetzt "nur" noch das Programm ebtables crosscompiliert bekommen. How to? ;-)
Gibt´s dafür ein Link bei Freetz?

Leider ist keines der Module per lsmod sichtbar, vermute daher, dass es nicht per Module nachgeladen ist, sondern direkt im Kernel liegt.
Code:
root@fritz:/var/mod/root# lsmod
Module                  Size  Used by    Tainted: P
sch_sfq                 7872  4
sch_llq                11008  1
sch_tbf                 6272  1
ath_pktlog             19760  0
vdsldriver_lkm         26624  0
umac                  611264  1 ath_pktlog
ath_dev               198144  2 ath_pktlog,umac
ath_dfs                53600  1 ath_dev
ath_spectral           59568  1 ath_dev
ath_rate_atheros       52144  2 ath_pktlog,ath_dev
ath_hal               480208  5 ath_pktlog,umac,ath_dev,ath_dfs,ath_spectral
asf                    11632  5 umac,ath_dev,ath_dfs,ath_spectral,ath_hal
adf                    16896  3 umac,ath_dev,ath_hal
ulpcmlink              34160  0
nls_iso8859_1           3424  1
nls_cp437               4960  1
vfat                   12800  1
fat                    59696  1 vfat
aae                   103344  3 umac,ath_dev,ath_hal
usb_storage            40064  1
sd_mod                 29280  2
scsi_mod              112880  2 usb_storage,sd_mod
kdsldmod             1218784  4
ohci_hcd               21648  0
ehci_hcd               38928  0
usbcore               150656  4 usb_storage,ohci_hcd,ehci_hcd
ramzswap               20128  1
lzo_compress            2304  1 ramzswap
lzo_decompress          2592  1 ramzswap
dect_io                13472  2
avm_dect              282336  1 dect_io
capi_codec            494336  0
isdn_fbox_fon5        904064  6
pcmlink               311344  4 ulpcmlink,avm_dect,capi_codec,isdn_fbox_fon5
Piglet_noemif          35120  0
bmedrv                  5712  0
opensrc_lkm             2080  1 bmedrv
aclap_driver_lkm       23696  1 vdsldriver_lkm
sysKCode_lkm           16608  0
ethdriver_lkm          46560  1 aclap_driver_lkm
periap_driver_lkm      15904  1 ethdriver_lkm
timers_lkm              6416  0
bmdriver_lkm           14944  1 vdsldriver_lkm
ap2ap_lkm              25984  7 vdsldriver_lkm,umac,kdsldmod,aclap_driver_lkm,sy                                  sKCode_lkm,ethdriver_lkm,bmdriver_lkm
fusivlib_lkm           57376 10 vdsldriver_lkm,umac,kdsldmod,bmedrv,aclap_driver                                  _lkm,sysKCode_lkm,ethdriver_lkm,periap_driver_lkm,bmdriver_lkm,ap2ap_lkm
rtc_avm                 6288  1 pcmlink
rtc_core               16720  1 rtc_avm
led_modul_Fritz_Box_7390    99472  4
root@fritz:/var/mod/root#
 
Wenn, dann ist es auf jeden Fall im Kernel.

In Deinem Beitrag oben heißt es:
Code:
ebtables: exports duplicate symbol ebt_do_table ([B]owned by kernel[/B])
Für das Programm ebtables kannst Du mal schauen, ob Du iptables als Vorlage nehmen kannst.
 
Hallo noch einmal,

so, ich habe nun ein eigenes Freetz Package angelegt, und habe leider noch zwei Probleme:
-das Paket ebtables beinhaltet kein "make configure" target, das bedeutet, das die Datei ".configured" nicht erzeugt wird. Daher stoppt der Buildprozess.
Durch ein manuelles erstellen dieser Datei konnte ich zumindestens weiter builden und linken, ist aber unschön. Kann mir jemand beim Erstellen des makefiles unterstützen?
Code:
$(call PKG_INIT_BIN, v2.0.10-4)
$(PKG)_SOURCE:=ebtables-$($(PKG)_VERSION).tar.gz
$(PKG)_SOURCE_MD5:=506742a3d44b9925955425a659c1a8d0
$(PKG)_SITE:=http://sourceforge.net/projects/ebtables/files/ebtables/ebtables-2-0-10-4/
$(PKG)_BINARY:=$($(PKG)_DIR)/ebtables
$(PKG)_TARGET_BINARY:=$($(PKG)_DEST_DIR)/usr/bin/ebtables

$(PKG_SOURCE_DOWNLOAD)
$(PKG_UNPACKED)
$(PKG_CONFIGURED_CONFIGURE)

$($(PKG)_BINARY): $($(PKG)_DIR)/.configured
	$(SUBMAKE) -C $(EBTABLES_DIR) \
		CC="$(TARGET_CC)" \
		CFLAGS="$(TARGET_CFLAGS)"

$($(PKG)_TARGET_BINARY): $($(PKG)_BINARY)
	$(INSTALL_BINARY_STRIP)

$(pkg):

$(pkg)-precompiled: $($(PKG)_TARGET_BINARY)

$(pkg)-clean:
	-$(SUBMAKE) -C $(EBTABLES_DIR) clean
	$(RM) $(EBTABLES_DIR)/.configured

$(pkg)-uninstall:
	$(RM) $(EBTABLES_TARGET_BINARY)

$(PKG_FINISH)

-leider fehlen dem fertigen Programm ebtables mindestens eine Library, siehe unten. Kann mich auch hier jemand beim ggf. static linken der ebtables unterstützen. Wahrscheinlich ist ebenfalls eine Anpassung des Makefiles erforderlich.
Code:
root@fritz:/var/mod/root# ebtables
ebtables: can't load library 'libebtc.so'
root@fritz:/var/mod/root#


Gruß,
dwichmann
 
-das Paket ebtables beinhaltet kein "make configure" target, das bedeutet, das die Datei ".configured" nicht erzeugt wird. Daher stoppt der Buildprozess.
Durch ein manuelles erstellen dieser Datei konnte ich zumindestens weiter builden und linken, ist aber unschön. Kann mir jemand beim Erstellen des makefiles unterstützen?
Code:
...
$(PKG_CONFIGURED_CONFIGURE)
...
Das Paket wird schon ein Makefile beinhalten. Wenn ja, dann die Zeile
Code:
$(PKG_CONFIGURED_CONFIGURE)
der*.mk-Datei, in
Code:
$(PKG_CONFIGURED_NOP)
ändern.
 
Schau mal hier, da ist ein "fertiges" ebtables Programm für die 7390 und ein Paket als Patch für freetz.
 
Super, danke, ein wenig Modifikation für die aktuelle Version und alles landet auf dem Image...
Nur:
Code:
root@fritz:/usr/lib/ebtables# ls
libebt_802_3.so       libebt_log.so         libebt_standard.so
libebt_among.so       libebt_mark.so        libebt_stp.so
libebt_arp.so         libebt_mark_m.so      libebt_ulog.so
libebt_arpreply.so    libebt_nat.so         libebt_vlan.so
libebt_ip.so          libebt_nflog.so       libebtable_broute.so
libebt_ip6.so         libebt_pkttype.so     libebtable_filter.so
libebt_limit.so       libebt_redirect.so    libebtable_nat.so
root@fritz:/usr/lib/ebtables# ebtables
ebtables: can't load library 'libebt_802_3.so'
root@fritz:/usr/lib/ebtables#

Obwohl alle notwendigen Dateien im Image sind, lädt ebtables die notwendigen shared libs nicht nach. Vermutlich liegt es daran, dass sie in einem extra ebtables Verzeichnis liegen.
Die libebtc.so findet er nun, sie liegt eine ebene höher, direkt in /usr/lib.

Code:
root@fritz:/usr/lib# ls
cgi-bin            libcom_err.so      libebtc.so         libmodredir.sh
ebtables           libcom_err.so.2    libext2fs.so       libplcaccess.so
freetz             libcom_err.so.2.1  libext2fs.so.2     libplcaccess.so.0
libblkid.so        libe2p.so          libext2fs.so.2.4   libuuid.so
libblkid.so.1      libe2p.so.2        libmodcgi.sh       mod
libblkid.so.1.0    libe2p.so.2.3      libmodmount.sh     mww
root@fritz:/usr/lib#
Da es da weitere Verzeichnisse gibt, denke ich, dass ich erneut eine Konfiguration anpassen muss. Pfadvariable?
 
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.