ctlmgr crasht

the_freestyler

Neuer User
Mitglied seit
7 Mrz 2007
Beiträge
114
Punkte für Reaktionen
0
Punkte
16
Hallo,

nach dem flash der 3478 rebootet meine 7270 inner Schleife.
Der ctlmgr startet nicht.

Wenn ich den watchdog deaktiviere und ctlmgr -fv eingebe:

Code:
/var/media/ftp/uStor01 # ctlmgr -fv

*** 2009-07-14 17:30:51(1) [Segmentation fault] ctlmgr(6395) CRASHED at _DYNAMIC_LINKING+0x1dbcf (ctlmgr at 0001dbd0) accessing _DYNAMIC_LINKING+0x1dbcf (ctlmgr at 0001dbd0) ***
ctlmgr: 2009-07-14 17:30:51(1) [Segmentation fault] ctlmgr(6395) CRASHED at _DYNAMIC_LINKING+0x1dbcf (ctlmgr at 0001dbd0) accessing _DYNAMIC_LINKING+0x1dbcf (ctlmgr at 0001dbd0)
ctlmgr: ze: 00000000 at: 1000ce01 v0: 2add8dc4 v1: 00000001
ctlmgr: a0: 2adeca08 a1: 2add6d5c a2: 00000000 a3: 00000000
ctlmgr: t0: 0000adc4 t1: 2add0e53 t2: 004682d1 t3: 2ada9400
ctlmgr: t4: 2adcee08 t5: 00000016 t6: 0422da82 t7: 2add06a8
ctlmgr: s0: 0047e220 s1: 0047db60 s2: 00410000 s3: 00481130
ctlmgr: s4: 00480000 s5: 0040d744 s6: 00000002 s7: 0040e528
ctlmgr: t8: 2adceca8 t9: 0001dbd0 k0: 00000000 k1: 00000000
ctlmgr: gp: 2ae06bc0 sp: 7f9ceab8 fp: 00481088 ra: 00428f78
ctlmgr: [bt] Number of functions: 2
ctlmgr: [bt] register_all_modules+0x150 (ctlmgr at 00428e20)
ctlmgr: [bt] main+0x718 (ctlmgr at 0040e528)
Segmentation fault
/var/media/ftp/uStor01 #

Ich prüfe gerade obs an der neuen Revision liegt, checke neu aus und baue die alte funktionierende.

Gruß
 
Kannst du mal deine .config dazu posten?

MfG Oliver
 
hier die config. problem besteht weiterhin im aktuellen trunk.

Code:
mainmenu "Freetz Configuration"

config FREETZ_HAVE_DOT_CONFIG
	bool
	default y

comment "General --------------------------------"

config FREETZ_AVM_VERSION_04_29
	bool
config FREETZ_AVM_VERSION_04_30
	bool
config FREETZ_AVM_VERSION_04_33
	bool
config FREETZ_AVM_VERSION_04_40
	bool
config FREETZ_AVM_VERSION_04_49
	bool
config FREETZ_AVM_VERSION_04_57
	bool
config FREETZ_AVM_VERSION_04_67
	bool
config FREETZ_AVM_VERSION_04_70
	bool
config FREETZ_AVM_VERSION_7270_04_67
	bool
config FREETZ_AVM_VERSION_7270_04_70
	bool
config FREETZ_AVM_VERSION_7270_04_76
	bool
config FREETZ_AVM_VERSION_12043
	bool
config FREETZ_AVM_VERSION_7270
	bool
config FREETZ_AVM_VERSION_r4884
	bool
config FREETZ_AVM_VERSION_r7203
	bool
config FREETZ_AVM_VERSION_r8508
	bool

choice

	prompt "Hardware type"
		default FREETZ_TYPE_FON_WLAN_7270
		help
			Select your box type here.

	config FREETZ_TYPE_300IP_AS_FON
		select FREETZ_AVM_VERSION_04_49
		bool "300IP as Fon"

	config FREETZ_TYPE_2170
		select FREETZ_AVM_VERSION_04_57
		bool "2170"

	config FREETZ_TYPE_FON
		select FREETZ_AVM_VERSION_04_33 if FREETZ_TYPE_LANG_DE
		select FREETZ_AVM_VERSION_04_49 if ! FREETZ_TYPE_LANG_DE
		bool "Fon"

	config FREETZ_TYPE_FON_5010
		select FREETZ_AVM_VERSION_04_40
		bool "Fon 5010"

	config FREETZ_TYPE_FON_5050
		select FREETZ_AVM_VERSION_04_33
		bool "Fon 5050"

	config FREETZ_TYPE_FON_5140
		select FREETZ_AVM_VERSION_04_67
		bool "Fon 5140"

	config FREETZ_TYPE_FON_WLAN
		select FREETZ_AVM_VERSION_04_33 if FREETZ_TYPE_LANG_DE
		select FREETZ_AVM_VERSION_04_49 if ! FREETZ_TYPE_LANG_DE
		bool "Fon WLAN"

	config FREETZ_TYPE_FON_WLAN_7050
		select FREETZ_AVM_VERSION_04_33
		bool "Fon WLAN 7050"

	config FREETZ_TYPE_FON_WLAN_7113
		select FREETZ_AVM_VERSION_04_67
		bool "Fon WLAN 7113"

	config FREETZ_TYPE_FON_WLAN_7140
		select FREETZ_AVM_VERSION_04_33 if FREETZ_TYPE_LANG_DE
		select FREETZ_AVM_VERSION_04_57 if FREETZ_TYPE_LANG_A_CH
		select FREETZ_AVM_VERSION_04_67 if FREETZ_TYPE_LANG_EN
		bool "Fon WLAN 7140"

	config FREETZ_TYPE_FON_WLAN_7141
		select FREETZ_AVM_VERSION_04_70
		bool "Fon WLAN 7141"

	config FREETZ_TYPE_FON_7150
		select FREETZ_AVM_VERSION_04_57
		bool "Fon 7150"

	config FREETZ_TYPE_FON_WLAN_7170
		select FREETZ_AVM_VERSION_04_70 if FREETZ_TYPE_LANG_DE
		select FREETZ_AVM_VERSION_04_67 if ! FREETZ_TYPE_LANG_DE
		bool "Fon WLAN 7170"
	
	config FREETZ_TYPE_FON_WLAN_7240
		select FREETZ_AVM_VERSION_7270_04_76
		bool "Fon WLAN 7240"

	config FREETZ_TYPE_FON_WLAN_7270
		select FREETZ_AVM_VERSION_7270_04_76 if FREETZ_TYPE_LANG_DE && ! FREETZ_TYPE_LABOR_DSL
		select FREETZ_AVM_VERSION_7270_04_70 if FREETZ_TYPE_LANG_DE && FREETZ_TYPE_LABOR_DSL
		select FREETZ_AVM_VERSION_7270_04_67 if ! FREETZ_TYPE_LANG_DE
		select FREETZ_TYPE_FON_WLAN_7270_16MB if ! FREETZ_TYPE_LANG_DE
		bool "Fon WLAN 7270 (v1 and v2 only)"

	config FREETZ_TYPE_FON_WLAN_7270_V3
		select FREETZ_AVM_VERSION_7270_04_76
		bool "Fon WLAN 7270 (v3 only)"

	config FREETZ_TYPE_WLAN_3020
		select FREETZ_AVM_VERSION_04_33
		bool "WLAN 3020"

	config FREETZ_TYPE_WLAN_3030
		select FREETZ_AVM_VERSION_04_33
		bool "WLAN 3030"

	config FREETZ_TYPE_WLAN_3130
		select FREETZ_AVM_VERSION_04_33
		bool "WLAN 3130"

	config FREETZ_TYPE_WLAN_3131
		select FREETZ_AVM_VERSION_04_57
		bool "WLAN 3131"

	config FREETZ_TYPE_WLAN_3170
		select FREETZ_AVM_VERSION_04_57
		bool "WLAN 3170"
	
	config FREETZ_TYPE_WLAN_3270
		select FREETZ_AVM_VERSION_7270_04_70
		bool "WLAN 3270"

	config FREETZ_TYPE_SPEEDPORT_W501V
		select FREETZ_AVM_VERSION_r7203
		bool "Speedport W501V"

#	config FREETZ_TYPE_SPEEDPORT_W701V
#		select FREETZ_AVM_VERSION_r8508
#		bool "Speedport W701V"

#	config FREETZ_TYPE_SPEEDPORT_W900V
#		select FREETZ_AVM_VERSION_r4884
#		bool "Speedport W900V"

	config FREETZ_TYPE_CUSTOM
		bool "Custom"
		depends on FREETZ_SHOW_ADVANCED
		select FREETZ_DL_OVERRIDE

endchoice

config FREETZ_TYPE_FON_WLAN_7270_16MB
	bool "16 MB flash"
	depends on \
		FREETZ_TYPE_FON_WLAN_7270
	select FREETZ_AVMPLUGINS_ENABLED if FREETZ_TYPE_LANG_DE
	default n
	help
		Enable this to build an image for boxes with 16 MB flash.

config FREETZ_TYPE_LABOR
	bool "Beta/Labor"
	depends on \
		FREETZ_TYPE_FON_WLAN_7170 || \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7270_V3
	default n
	help
		Enable this to compile the mod based on an AVM "beta/labor" firmware.

choice

	prompt "Labor version"
		depends on FREETZ_TYPE_LABOR
		default FREETZ_TYPE_LABOR_DSL

	config FREETZ_TYPE_LABOR_DSL
		bool "DSL"
		depends on \
			( \
			FREETZ_TYPE_FON_WLAN_7170 || \
			FREETZ_TYPE_FON_WLAN_7270 \
			)
		help
			FRITZ!Lab DSL: This release optimizes the DSL (Digital Subscriber
			Line) software and adds related graphs.

	config FREETZ_TYPE_LABOR_IPV6
		bool "IPv6"
		depends on \
			FREETZ_TYPE_FON_WLAN_7270 || \
			FREETZ_TYPE_FON_WLAN_7270_V3
		select FREETZ_TARGET_IPV6_SUPPORT
		help
			FRITZ!Lab IPV6: This release adds native IPv6 over PPP 
			(Internet Protocol Version 6) and 6to4 tunnels.

       config FREETZ_TYPE_LABOR_PHONE
                bool "Phone"
                depends on \
                        FREETZ_TYPE_FON_WLAN_7270 || FREETZ_TYPE_FON_WLAN_7240 
                help
			Labor Phone

endchoice

config FREETZ_TYPE_ALIEN_HARDWARE
	bool "Compile image for \"alien\" hardware"
	depends on \
		FREETZ_TYPE_FON_WLAN_7170
	default n
	help
		Enable this to compile the mod image for another hardware type

choice
	prompt "Alien hardware type"
	depends on FREETZ_TYPE_ALIEN_HARDWARE
	#default FREETZ_TYPE_SINUS_W500V_7150 if FREETZ_TYPE_FON_7150
	default FREETZ_TYPE_SPEEDPORT_W701V_7170 if FREETZ_TYPE_FON_WLAN_7170

	#config FREETZ_TYPE_SINUS_W500V_7150
	#	bool "Sinus W500V"
	#	depends on FREETZ_TYPE_FON_7150
	#	select FREETZ_MODULE_jffs2
	#	help
	#		Enable this to compile a mod image for T-Com Sinus W500V based
	#		on a 7150 image.

	config FREETZ_TYPE_SPEEDPORT_W701V_7170
		bool "W701V"
		depends on FREETZ_TYPE_FON_WLAN_7170
		help
			Enable this to compile a mod image for T-Com Speedport W701V based
			on a 7170 image.

	config FREETZ_TYPE_SPEEDPORT_W900V_7170
		bool "W900V"
		depends on FREETZ_TYPE_FON_WLAN_7170
		help
			Enable this to compile a mod image for T-Com Speedport W900V based
			on a 7170 image.

	config FREETZ_TYPE_3170_7170
		bool "3170"
		depends on FREETZ_TYPE_FON_WLAN_7170
		help
			Enable this to compile a mod image for FritzBox FON WLAN 3170 based
			on a 7170 image.

	config FREETZ_TYPE_7140_7170
		bool "7140"
		depends on FREETZ_TYPE_FON_WLAN_7170
		help
			Enable this to compile a mod image for FritzBox FON WLAN 7140 based
			on a 7170 image.
	
	config FREETZ_TYPE_7141_7170
		bool "7141"
		depends on FREETZ_TYPE_FON_WLAN_7170
		help
			Enable this to compile a mod image for FritzBox FON WLAN 7141 based
			on a 7170 image.

endchoice

config FREETZ_AVM_VERSION_STRING
	string
	default "04.29"			if FREETZ_AVM_VERSION_04_29
	default "04.30"			if FREETZ_AVM_VERSION_04_30
	default "04.33"			if FREETZ_AVM_VERSION_04_33
	default "04.40"			if FREETZ_AVM_VERSION_04_40
	default "04.49"			if FREETZ_AVM_VERSION_04_49
	default "04.57"			if FREETZ_AVM_VERSION_04_57
	default "04.67"			if FREETZ_AVM_VERSION_04_67
	default "04.70"			if FREETZ_AVM_VERSION_04_70
	default "7270"			if FREETZ_AVM_VERSION_7270
	default "12043"			if FREETZ_AVM_VERSION_12043
	default "7270_04.67"		if FREETZ_AVM_VERSION_7270_04_67
	default "7270_04.70"		if FREETZ_AVM_VERSION_7270_04_70
	default "7270_04.76"		if FREETZ_AVM_VERSION_7270_04_76
	default "r4884"			if FREETZ_AVM_VERSION_r4884
	default "r7203"			if FREETZ_AVM_VERSION_r7203
	default "r8508"			if FREETZ_AVM_VERSION_r8508

choice

	prompt "Firmware language"
		default FREETZ_TYPE_LANG_DE

	config FREETZ_TYPE_LANG_DE
		bool "de - deutsch"
		depends on \
			! FREETZ_TYPE_FON_5010

	config FREETZ_TYPE_LANG_A_CH
		bool "a-ch - deutsch"
		depends on \
			! FREETZ_TYPE_LABOR && \
			! FREETZ_TYPE_ALIEN_HARDWARE && \
			( \
			FREETZ_TYPE_FON_5010 || \
			FREETZ_TYPE_FON_WLAN_7140 || \
			FREETZ_TYPE_FON_WLAN_7170 || \
			FREETZ_TYPE_FON_WLAN_7270 \
			)

	config FREETZ_TYPE_LANG_EN
		bool "en - international"
		depends on \
			! FREETZ_TYPE_LABOR && \
			! FREETZ_TYPE_ALIEN_HARDWARE && \
			( \
			FREETZ_TYPE_FON || \
			FREETZ_TYPE_300IP_AS_FON || \
			FREETZ_TYPE_FON_WLAN || \
			FREETZ_TYPE_FON_WLAN_7140 || \
			FREETZ_TYPE_FON_WLAN_7170 || \
			FREETZ_TYPE_FON_WLAN_7270 \
			)

endchoice

config FREETZ_TYPE_LANG_STRING
	string
	default "de"		if FREETZ_TYPE_LANG_DE
	default "a-ch"		if FREETZ_TYPE_LANG_A_CH
	default "en"		if FREETZ_TYPE_LANG_EN

choice

	prompt "Annex"
		depends on FREETZ_TYPE_LANG_EN && \
			! FREETZ_TYPE_FON_WLAN_7270
		default FREETZ_TYPE_ANNEX_B

	config FREETZ_TYPE_ANNEX_A
		bool "A"

	config FREETZ_TYPE_ANNEX_B
		bool "B"

endchoice

config FREETZ_TYPE_STRING
	string
	default "300ip_as_fon"					if FREETZ_TYPE_300IP_AS_FON
	default "2170"						if FREETZ_TYPE_2170 && ! FREETZ_TYPE_LABOR
	default "3020"						if FREETZ_TYPE_WLAN_3020
	default "3030"						if FREETZ_TYPE_WLAN_3030
	default "3130"						if FREETZ_TYPE_WLAN_3130
	default "3131"						if FREETZ_TYPE_WLAN_3131
	default "3170"						if FREETZ_TYPE_WLAN_3170
	default "3270"						if FREETZ_TYPE_WLAN_3270
	default "fon"						if FREETZ_TYPE_FON
	default "5010"						if FREETZ_TYPE_FON_5010
	default "5050"						if FREETZ_TYPE_FON_5050
	default "5140"						if FREETZ_TYPE_FON_5140
	default "fon_wlan"					if FREETZ_TYPE_FON_WLAN
	default "7050"						if FREETZ_TYPE_FON_WLAN_7050
	default "7113"						if FREETZ_TYPE_FON_WLAN_7113
	default "7140"						if FREETZ_TYPE_FON_WLAN_7140
	default "7141"						if FREETZ_TYPE_FON_WLAN_7141
	default "7150"						if FREETZ_TYPE_FON_7150
	default "7170"						if FREETZ_TYPE_FON_WLAN_7170 && ! FREETZ_TYPE_LABOR
	default "7170_labor_aio"				if FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LABOR_AIO
	default "7170_labor_dsl"				if FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LABOR_DSL
	default "7240"						if FREETZ_TYPE_FON_WLAN_7240 && ! FREETZ_TYPE_LABOR
	default "7240_labor_phone"				if FREETZ_TYPE_FON_WLAN_7240 && FREETZ_TYPE_LABOR_PHONE
	default "7270"						if FREETZ_TYPE_FON_WLAN_7270 && ! FREETZ_TYPE_LABOR
	default "7270_v3"					if FREETZ_TYPE_FON_WLAN_7270_V3 && ! FREETZ_TYPE_LABOR
	default "7270_labor_phone"				if FREETZ_TYPE_FON_WLAN_7270 && FREETZ_TYPE_LABOR_PHONE
	default "7270_labor_dsl"				if FREETZ_TYPE_FON_WLAN_7270 && FREETZ_TYPE_LABOR_DSL
	default "7270_labor_ipv6"				if FREETZ_TYPE_FON_WLAN_7270 && FREETZ_TYPE_LABOR_IPV6
	default "7270_v3_labor_ipv6"				if FREETZ_TYPE_FON_WLAN_7270_V3 && FREETZ_TYPE_LABOR_IPV6
	default "W501V"						if FREETZ_TYPE_SPEEDPORT_W501V
	default "W701V"						if FREETZ_TYPE_SPEEDPORT_W701V
	default "W900V"						if FREETZ_TYPE_SPEEDPORT_W900V
	default "custom"					if FREETZ_TYPE_CUSTOM

config FREETZ_TYPE_STRING2
	string
	default "W500V_"					if FREETZ_TYPE_SINUS_W500V_7150
	default "W701V_"					if FREETZ_TYPE_SPEEDPORT_W701V_7170
	default "W900V_"					if FREETZ_TYPE_SPEEDPORT_W900V_7170
	default "3170_"						if FREETZ_TYPE_3170_7170
	default "7140_"						if FREETZ_TYPE_7140_7170
	default "7141_"						if FREETZ_TYPE_7141_7170

comment "Custom options -------------------------"
	depends on FREETZ_TYPE_CUSTOM

config FREETZ_INSTALL_BASE
	bool
	select FREETZ_LIB_ld_uClibc
	select FREETZ_LIB_libcrypt
	select FREETZ_LIB_libdl
	select FREETZ_LIB_libgcc_s
	select FREETZ_LIB_libm
	select FREETZ_LIB_libnsl
	select FREETZ_LIB_libpthread
	select FREETZ_LIB_librt
	select FREETZ_LIB_libuClibc
	select FREETZ_LIB_libfreetz if FREETZ_HAS_USB_HOST
	default y
	help
		This is mandatory

config FREETZ_REPLACE_BUSYBOX
	bool
	default y
	help
		This is mandatory

config FREETZ_REPLACE_KERNEL_AVAILABLE
	bool
	depends on \
		! FREETZ_TYPE_FON_WLAN_7170 && \
		!( (FREETZ_TYPE_FON_WLAN_7240 || FREETZ_TYPE_FON_WLAN_7270) && FREETZ_TYPE_LABOR_PHONE) && \
		! (FREETZ_TYPE_FON && FREETZ_TYPE_LANG_EN) 
	default y

config FREETZ_REPLACE_KERNEL
	bool "Replace kernel"
	depends on \
		FREETZ_SHOW_ADVANCED && \
		FREETZ_REPLACE_KERNEL_AVAILABLE
	select FREETZ_MODULE_fuse if ((FREETZ_TYPE_FON_WLAN_7240 || FREETZ_TYPE_FON_WLAN_7270 || FREETZ_TYPE_FON_WLAN_7270_V3) && FREETZ_AVM_VERSION_7270_04_76)
	default n
	help
		Replace AVM kernel with self-built kernel.

comment "Replace kernel (currently not available)"
	depends on \
		FREETZ_SHOW_ADVANCED && \
		! FREETZ_REPLACE_KERNEL_AVAILABLE

config FREETZ_SHOW_ADVANCED
	bool "Show advanced options"
	default n
	help
		Show advanced Options for patching the firmware. This is only useful
		for experienced users who really know what they are doing

config FREETZ_TARGET_IPV6_SUPPORT
	bool "Enable IPv6 support"
	depends on \
		FREETZ_TYPE_LABOR_IPV6 || \
		(FREETZ_SHOW_ADVANCED && \
		FREETZ_REPLACE_KERNEL_AVAILABLE)
	select FREETZ_REPLACE_KERNEL if ! FREETZ_TYPE_LABOR_IPV6
	select FREETZ_MODULE_ipv6 if FREETZ_REPLACE_KERNEL
	select FREETZ_BUILD_TOOLCHAIN
	default n
	help
		Copies the ipv6 kernel module to the firmware and enables ipv6 support
		in uClibc and busybox.
		Shows additional options for busybox and iptables and other packages.
		To use IPv6 with Fritz!Box, at least the kernel, ucLibc and busybox
		have to be recompiled with IPv6 enabled.
		The toolchain will automatically be rebuild to achieve this.
		It is also recommended to include the package iptables/ip6tables for
		firewall settings.

config FREETZ_TARGET_REF
	string "Target ref"		if FREETZ_TYPE_CUSTOM
	default "8mb_26"		if \
		FREETZ_TYPE_SPEEDPORT_W701V || \
		FREETZ_TYPE_SPEEDPORT_W900V || \
		FREETZ_TYPE_FON_WLAN_7113 || \
		FREETZ_TYPE_FON_WLAN_7141 || \
		FREETZ_TYPE_FON_WLAN_7140 || \
		FREETZ_TYPE_FON_7150 || \
		FREETZ_TYPE_FON_WLAN_7170 || \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7270_V3 || \
		FREETZ_TYPE_WLAN_3270 
	default "4mb_26"		if \
		FREETZ_TYPE_2170 || \
		FREETZ_TYPE_SPEEDPORT_W501V || \
		FREETZ_TYPE_WLAN_3020 || \
		FREETZ_TYPE_WLAN_3030 || \
		FREETZ_TYPE_WLAN_3130 || \
		FREETZ_TYPE_WLAN_3131 || \
		FREETZ_TYPE_WLAN_3170 || \
		FREETZ_TYPE_FON || \
		FREETZ_TYPE_300IP_AS_FON || \
		FREETZ_TYPE_FON_5010 || \
		FREETZ_TYPE_FON_5050 || \
		FREETZ_TYPE_FON_5140 || \
		FREETZ_TYPE_FON_WLAN || \
		FREETZ_TYPE_FON_WLAN_7050

config FREETZ_KERNEL_REF
	string "Kernel ref"		if FREETZ_TYPE_CUSTOM
	default "8mb_26"		if \
		FREETZ_TYPE_FON_WLAN_7113 || \
		FREETZ_TYPE_FON_WLAN_7140 || \
		FREETZ_TYPE_FON_WLAN_7141 || \
		FREETZ_TYPE_FON_7150 || \
		FREETZ_TYPE_SPEEDPORT_W701V || \
		FREETZ_TYPE_SPEEDPORT_W900V || \
		FREETZ_TYPE_FON_WLAN_7170 || \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7270_V3 || \
		FREETZ_TYPE_WLAN_3270 
	default "4mb_26"		if \
		FREETZ_TYPE_2170 || \
		FREETZ_TYPE_SPEEDPORT_W501V || \
		FREETZ_TYPE_WLAN_3020 || \
		FREETZ_TYPE_WLAN_3030 || \
		FREETZ_TYPE_WLAN_3130 || \
		FREETZ_TYPE_WLAN_3131 || \
		FREETZ_TYPE_WLAN_3170 || \
		FREETZ_TYPE_FON || \
		FREETZ_TYPE_300IP_AS_FON || \
		FREETZ_TYPE_FON_5010 || \
		FREETZ_TYPE_FON_5050 || \
		FREETZ_TYPE_FON_5140 || \
		FREETZ_TYPE_FON_WLAN || \
		FREETZ_TYPE_FON_WLAN_7050

config FREETZ_KERNEL_LAYOUT
	string "Kernel ref"		if FREETZ_TYPE_CUSTOM
	default "ohio"			if \
		FREETZ_TYPE_2170 || \
		FREETZ_TYPE_FON_5140 || \
		FREETZ_TYPE_FON_WLAN_7113 || \
		FREETZ_TYPE_FON_WLAN_7140 || \
		FREETZ_TYPE_FON_WLAN_7141 || \
		FREETZ_TYPE_FON_7150 || \
		FREETZ_TYPE_FON_WLAN_7170 || \
		FREETZ_TYPE_WLAN_3130 || \
		FREETZ_TYPE_WLAN_3131 || \
		FREETZ_TYPE_WLAN_3170 || \
		FREETZ_TYPE_SPEEDPORT_W501V || \
		FREETZ_TYPE_SPEEDPORT_W701V || \
		FREETZ_TYPE_SPEEDPORT_W900V
	default "ar7"			if \
		FREETZ_TYPE_FON || \
		FREETZ_TYPE_300IP_AS_FON || \
		FREETZ_TYPE_FON_5010 || \
		FREETZ_TYPE_FON_5050 || \
		FREETZ_TYPE_FON_WLAN || \
		FREETZ_TYPE_FON_WLAN_7050 || \
		FREETZ_TYPE_WLAN_3020 || \
		FREETZ_TYPE_WLAN_3030
	default "ur8"			if \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7270_V3 || \
		FREETZ_TYPE_WLAN_3270 

	
config FREETZ_KERNEL_MTD_SIZE
	int "Kernel (64K blocks)"	if FREETZ_TYPE_CUSTOM
	default 59				if \
		FREETZ_TYPE_2170 || \
		FREETZ_TYPE_SPEEDPORT_W501V || \
		FREETZ_TYPE_WLAN_3020 || \
		FREETZ_TYPE_WLAN_3030 || \
		FREETZ_TYPE_WLAN_3130 || \
		FREETZ_TYPE_WLAN_3131 || \
		FREETZ_TYPE_WLAN_3170 || \
		FREETZ_TYPE_3170_7170 || \
		FREETZ_TYPE_FON || \
		FREETZ_TYPE_300IP_AS_FON || \
		FREETZ_TYPE_FON_5010 || \
		FREETZ_TYPE_FON_5050 || \
		FREETZ_TYPE_FON_5140 || \
		FREETZ_TYPE_FON_WLAN || \
		FREETZ_TYPE_FON_WLAN_7050
	default 119					if \
		FREETZ_TYPE_FON_WLAN_7113 || \
		FREETZ_TYPE_FON_WLAN_7140 || \
		FREETZ_TYPE_FON_WLAN_7141 || \
		FREETZ_TYPE_FON_7150 || \
		FREETZ_TYPE_SPEEDPORT_W701V || \
		FREETZ_TYPE_SPEEDPORT_W900V || \
		FREETZ_TYPE_FON_WLAN_7170 || \
		(FREETZ_TYPE_FON_WLAN_7270 && ! FREETZ_TYPE_FON_WLAN_7270_16MB) || \
		FREETZ_TYPE_CUSTOM && FREETZ_HIDDEN_ROOT
	default 246					if \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_WLAN_3270 || \
		FREETZ_TYPE_FON_WLAN_7270_16MB || \
		FREETZ_TYPE_FON_WLAN_7270_V3
	help
		Number of 64K blocks in the kernel mtd device.

config FREETZ_FILESYSTEM_MTD_SIZE
	int "Filesystem (64K blocks)"	if FREETZ_TYPE_CUSTOM
	depends on ! FREETZ_HIDDEN_ROOT || FREETZ_CONTIGUOUS_HIDDEN_ROOT
	default 48			if FREETZ_TYPE_CUSTOM
	help
		Number of 64K blocks in the filesystem mtd device.

config FREETZ_HAS_PHONE
	bool "Has Phone"		if FREETZ_TYPE_CUSTOM
	default y				if \
		FREETZ_TYPE_FON || \
		FREETZ_TYPE_300IP_AS_FON || \
		FREETZ_TYPE_FON_5010 || \
		FREETZ_TYPE_FON_5050 || \
		FREETZ_TYPE_FON_5140 || \
		FREETZ_TYPE_FON_WLAN || \
		FREETZ_TYPE_FON_WLAN_7050 || \
		FREETZ_TYPE_FON_WLAN_7113 || \
		FREETZ_TYPE_FON_WLAN_7140 || \
		FREETZ_TYPE_FON_WLAN_7141 || \
		FREETZ_TYPE_FON_7150 || \
		FREETZ_TYPE_SPEEDPORT_W501V || \
		FREETZ_TYPE_SPEEDPORT_W701V || \
		FREETZ_TYPE_SPEEDPORT_W900V || \
		FREETZ_TYPE_FON_WLAN_7170 || \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7270_V3 || \
		FREETZ_TYPE_CUSTOM
	default n				if \
		FREETZ_TYPE_2170 || \
		FREETZ_TYPE_WLAN_3020 || \
		FREETZ_TYPE_WLAN_3030 || \
		FREETZ_TYPE_WLAN_3130 || \
		FREETZ_TYPE_WLAN_3131 || \
		FREETZ_TYPE_WLAN_3170 || \
		FREETZ_TYPE_WLAN_3270

	help
		Select this if you have a box with phone support.

config FREETZ_HAS_TAM
	bool "Has TAM"		if FREETZ_TYPE_CUSTOM
	depends on FREETZ_HAS_PHONE
	default y				if \
		FREETZ_TYPE_FON_WLAN_7141 || \
		FREETZ_TYPE_FON_7150 || \
		FREETZ_TYPE_SPEEDPORT_W701V || \
		FREETZ_TYPE_SPEEDPORT_W900V || \
		FREETZ_TYPE_FON_WLAN_7170 || \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7270_V3
	default n				if \
		FREETZ_TYPE_FON || \
		FREETZ_TYPE_300IP_AS_FON || \
		FREETZ_TYPE_FON_5010 || \
		FREETZ_TYPE_FON_5050 || \
		FREETZ_TYPE_FON_5140 || \
		FREETZ_TYPE_FON_WLAN || \
		FREETZ_TYPE_FON_WLAN_7050 || \
		FREETZ_TYPE_FON_WLAN_7113 || \
		FREETZ_TYPE_FON_WLAN_7140 || \
		FREETZ_TYPE_CUSTOM
	help
		Select this if you have a box with TAM (Telephone Answering Machine) support.

config FREETZ_HAS_WLAN
	bool "Has WLAN"		if FREETZ_TYPE_CUSTOM
	default y			if \
		FREETZ_TYPE_WLAN_3131 || \
		FREETZ_TYPE_WLAN_3130 || \
		FREETZ_TYPE_WLAN_3170 || \
		FREETZ_TYPE_WLAN_3270 || \
		FREETZ_TYPE_FON_WLAN || \
		FREETZ_TYPE_FON_WLAN_7050 || \
		FREETZ_TYPE_FON_WLAN_7113 || \
		FREETZ_TYPE_FON_WLAN_7140 || \
		FREETZ_TYPE_FON_WLAN_7141 || \
		FREETZ_TYPE_FON_7150 || \
		FREETZ_TYPE_SPEEDPORT_W501V || \
		FREETZ_TYPE_SPEEDPORT_W701V || \
		FREETZ_TYPE_SPEEDPORT_W900V || \
		FREETZ_TYPE_FON_WLAN_7170 || \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7270_V3 || \
		FREETZ_TYPE_CUSTOM
	default n			if \
		FREETZ_TYPE_2170 || \
		FREETZ_TYPE_FON_5010 || \
		FREETZ_TYPE_FON_5050 || \
		FREETZ_TYPE_FON_5140 || \
		FREETZ_TYPE_300IP_AS_FON
	help
		Select this if you have a box with WLAN.

config FREETZ_HAS_USB_CLIENT
	bool "USB client"		if FREETZ_TYPE_CUSTOM
	default y				if \
		FREETZ_TYPE_2170 || \
		FREETZ_TYPE_WLAN_3020 || \
		FREETZ_TYPE_WLAN_3030 || \
		FREETZ_TYPE_WLAN_3130 || \
		FREETZ_TYPE_WLAN_3131 || \
		FREETZ_TYPE_WLAN_3170 || \
		FREETZ_TYPE_FON || \
		FREETZ_TYPE_300IP_AS_FON || \
		FREETZ_TYPE_FON_5050 || \
		FREETZ_TYPE_FON_WLAN || \
		FREETZ_TYPE_FON_WLAN_7050
	default n				if \
		FREETZ_TYPE_FON_5010 || \
		FREETZ_TYPE_FON_5140 || \
		FREETZ_TYPE_FON_WLAN_7113 || \
		FREETZ_TYPE_FON_WLAN_7140 || \
		FREETZ_TYPE_FON_WLAN_7141 || \
		FREETZ_TYPE_FON_7150 || \
		FREETZ_TYPE_FON_WLAN_7170 || \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7270_V3 || \
		FREETZ_TYPE_WLAN_3270 || \
		FREETZ_TYPE_SPEEDPORT_W501V || \
		FREETZ_TYPE_SPEEDPORT_W701V || \
		FREETZ_TYPE_SPEEDPORT_W900V || \
		FREETZ_TYPE_CUSTOM
	help
		Select this if you have a box with USB.

config FREETZ_HAS_USB_HOST
	bool "USB host"		if FREETZ_TYPE_CUSTOM
	default y			if \
		FREETZ_TYPE_2170 || \
		FREETZ_TYPE_FON_WLAN_7140 || \
		FREETZ_TYPE_FON_WLAN_7141 || \
		FREETZ_TYPE_FON_7150 && ! FREETZ_TYPE_SINUS_W500V_7150 || \
		FREETZ_TYPE_FON_WLAN_7170 && ! FREETZ_TYPE_SPEEDPORT_W701V_7170 || \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7270_V3 || \
		FREETZ_TYPE_WLAN_3130 || \
		FREETZ_TYPE_WLAN_3131 || \
		FREETZ_TYPE_WLAN_3170 || \
		FREETZ_TYPE_WLAN_3270 || \
		FREETZ_TYPE_SPEEDPORT_W900V
	default n			if \
		FREETZ_TYPE_WLAN_3020 || \
		FREETZ_TYPE_WLAN_3030 || \
		FREETZ_TYPE_FON || \
		FREETZ_TYPE_300IP_AS_FON || \
		FREETZ_TYPE_FON_5010 || \
		FREETZ_TYPE_FON_5050 || \
		FREETZ_TYPE_FON_5140 || \
		FREETZ_TYPE_FON_WLAN || \
		FREETZ_TYPE_FON_WLAN_7050 || \
		FREETZ_TYPE_FON_WLAN_7113 || \
		FREETZ_TYPE_SPEEDPORT_W501V || \
		FREETZ_TYPE_SPEEDPORT_W701V || \
		FREETZ_TYPE_SINUS_W500V_7150 || \
		FREETZ_TYPE_SPEEDPORT_W701V_7170 
	help
		Select this if your USB port is a host adapter.

config FREETZ_HAS_AVM_INETD
	bool "AVM inetd"	if FREETZ_TYPE_CUSTOM
	select FREETZ_BUSYBOX_INETD
	default y			if \
		FREETZ_TYPE_WLAN_3270 || \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7270_V3
	default n
	
	help
		Select this if your original firmware has inetd support.

config FREETZ_HAS_LIBSSL
	bool "Has libssl"	if FREETZ_TYPE_CUSTOM
	default y			if \
		FREETZ_TYPE_2170 || \
		FREETZ_TYPE_FON_WLAN_7113 || \
		FREETZ_TYPE_FON_WLAN_7140 || \
		FREETZ_TYPE_FON_WLAN_7141 || \
		FREETZ_TYPE_FON_7150 || \
		FREETZ_TYPE_SPEEDPORT_W701V || \
		FREETZ_TYPE_SPEEDPORT_W900V || \
		FREETZ_TYPE_FON_WLAN_7170 || \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7270_V3 || \
		FREETZ_TYPE_WLAN_3131 || \
		FREETZ_TYPE_WLAN_3130 || \
		FREETZ_TYPE_WLAN_3170 || \
		FREETZ_TYPE_WLAN_3270 || \
		FREETZ_TYPE_CUSTOM
	default n			if \
		FREETZ_TYPE_FON_5010 || \
		FREETZ_TYPE_FON_5050 || \
		FREETZ_TYPE_FON_5140 || \
		FREETZ_TYPE_FON_WLAN || \
		FREETZ_TYPE_FON_WLAN_7050 || \
		FREETZ_TYPE_WLAN_3020 || \
		FREETZ_TYPE_WLAN_3030 || \
		FREETZ_TYPE_SPEEDPORT_W501V || \
		FREETZ_TYPE_300IP_AS_FON
	help
		Select this if you have a box with libssl.

comment "Mod ------------------------------------"

choice

	prompt "Language"
	default FREETZ_LANG_DE		if FREETZ_TYPE_LANG_DE
	default FREETZ_LANG_DE		if FREETZ_TYPE_LANG_A_CH
	default FREETZ_LANG_EN		if FREETZ_TYPE_LANG_EN

	config FREETZ_LANG_DE
		bool "de - deutsch"

	config FREETZ_LANG_EN
		bool "en - english"

endchoice

config FREETZ_LANG_STRING
	string
	default "de"			if FREETZ_LANG_DE
	default "en"			if FREETZ_LANG_EN

menu "Patches"

comment "No Brandings available to remove"
	depends on \
		FREETZ_TYPE_SPEEDPORT_W501V || \
		FREETZ_TYPE_SPEEDPORT_W701V || \
		FREETZ_TYPE_SPEEDPORT_W900V

menu "Remove Brandings"
	depends on \
		! FREETZ_TYPE_SPEEDPORT_W501V && \
		! FREETZ_TYPE_SPEEDPORT_W701V && \
		! FREETZ_TYPE_SPEEDPORT_W900V

comment "avm and tcom branding can't be removed"
	depends on \
		FREETZ_TYPE_ALIEN_HARDWARE

config FREETZ_REMOVE_BRANDING_1und1
	bool "1&1"
	depends on \
		FREETZ_TYPE_LANG_DE && \
		( \
		FREETZ_TYPE_FON || \
		FREETZ_TYPE_FON_5050 || \
		FREETZ_TYPE_FON_5140 || \
		FREETZ_TYPE_FON_WLAN || \
		FREETZ_TYPE_FON_WLAN_7050 || \
		FREETZ_TYPE_FON_WLAN_7113 || \
		FREETZ_TYPE_FON_WLAN_7141 || \
		FREETZ_TYPE_FON_WLAN_7170 || \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7270_V3 || \
		FREETZ_TYPE_WLAN_3020 || \
		FREETZ_TYPE_WLAN_3030 || \
		FREETZ_TYPE_WLAN_3130 || \
		FREETZ_TYPE_CUSTOM \
		)
	default n
	help
		1&1 branding

		Each branding provides the web UI templates for a certain manufacturer or OEM.

		NOTE: Make sure not to remove the branding corresponding to the one defined 
		in your box's boot loader environment. It can be determined by calling the
		following command from the box's shell prompt:

		echo $(cat /proc/sys/urlader/firmware_version)

config FREETZ_REMOVE_BRANDING_avm
	bool "AVM"
	depends on \
		( \
		FREETZ_TYPE_LANG_A_CH || \
		FREETZ_TYPE_LANG_DE || \
		FREETZ_TYPE_CUSTOM \
		) \
		&& ! FREETZ_TYPE_ALIEN_HARDWARE
	default n
	help
		AVM branding

		Each branding provides the web UI templates for a certain manufacturer or OEM.

		NOTE: Make sure not to remove the branding corresponding to the one defined 
		in your box's boot loader environment. It can be determined by calling the
		following command from the box's shell prompt:

		echo $(cat /proc/sys/urlader/firmware_version)

config FREETZ_REMOVE_BRANDING_avme
	bool "AVM international"
	depends on \
		( \
		FREETZ_TYPE_LANG_EN || \
		FREETZ_TYPE_CUSTOM \
		)
	default n
	help
		AVM international branding

		Each branding provides the web UI templates for a certain manufacturer or OEM.

		NOTE: Make sure not to remove the branding corresponding to the one defined 
		in your box's boot loader environment. It can be determined by calling the
		following command from the box's shell prompt:

		echo $(cat /proc/sys/urlader/firmware_version)

config FREETZ_REMOVE_BRANDING_aol
	bool "AOL"
	depends on \
		FREETZ_TYPE_LANG_DE && \
		( \
		FREETZ_TYPE_FON || \
		FREETZ_TYPE_FON_WLAN || \
		FREETZ_TYPE_FON_WLAN_7140 || \
		FREETZ_TYPE_300IP_AS_FON || \
		FREETZ_TYPE_CUSTOM \
		)
	default n
	help
		AOL branding

		Each branding provides the web UI templates for a certain manufacturer or OEM.

		NOTE: Make sure not to remove the branding corresponding to the one defined 
		in your box's boot loader environment. It can be determined by calling the
		following command from the box's shell prompt:

		echo $(cat /proc/sys/urlader/firmware_version)

config FREETZ_REMOVE_BRANDING_arcor
	bool "Arcor"
	depends on FREETZ_TYPE_CUSTOM
	default n
	help
		Arcor branding

		Each branding provides the web UI templates for a certain manufacturer or OEM.

		NOTE: Make sure not to remove the branding corresponding to the one defined 
		in your box's boot loader environment. It can be determined by calling the
		following command from the box's shell prompt:

		echo $(cat /proc/sys/urlader/firmware_version)

config FREETZ_REMOVE_BRANDING_congstar
	bool "Congstar"
	depends on \
		FREETZ_TYPE_SPEEDPORT_W701V 
	default n
	help
		Congstar branding

		Each branding provides the web UI templates for a certain manufacturer or OEM.

		NOTE: Make sure not to remove the branding corresponding to the one defined 
		in your box's boot loader environment. It can be determined by calling the
		following command from the box's shell prompt:

		echo $(cat /proc/sys/urlader/firmware_version)

config FREETZ_REMOVE_BRANDING_freenet
	bool "Freenet"
	depends on \
		FREETZ_TYPE_LANG_DE && \
		( \
		FREETZ_TYPE_FON || \
		FREETZ_TYPE_FON_7150 || \
		FREETZ_TYPE_300IP_AS_FON || \
		FREETZ_TYPE_FON_WLAN_7113 || \
		FREETZ_TYPE_FON_WLAN_7141 || \
		FREETZ_TYPE_FON_WLAN_7170 || \
		FREETZ_TYPE_CUSTOM \
		)
	default n
	help
		Freenet branding

		Each branding provides the web UI templates for a certain manufacturer or OEM.

		NOTE: Make sure not to remove the branding corresponding to the one defined 
		in your box's boot loader environment. It can be determined by calling the
		following command from the box's shell prompt:

		echo $(cat /proc/sys/urlader/firmware_version)

#config FREETZ_REMOVE_BRANDING_tcom
#	bool "T-Com"
#	depends on \
#		FREETZ_TYPE_LANG_DE && \
#		( \
#		FREETZ_TYPE_300IP_AS_FON || \
#		FREETZ_TYPE_SPEEDPORT_W501V || \
#		FREETZ_TYPE_SPEEDPORT_W701V || \
#		FREETZ_TYPE_SPEEDPORT_W900V || \
#		FREETZ_TYPE_ALIEN_HARDWARE \
#		)
#	default n
#	help
#		T-Com branding
#
#		Each branding provides the web UI templates for a certain manufacturer or OEM.
#
#		NOTE: Make sure not to remove the branding corresponding to the one defined 
#		in your box's boot loader environment. It can be determined by calling the
#		following command from the box's shell prompt:
#
#		echo $(cat /proc/sys/urlader/firmware_version)

config FREETZ_REMOVE_BRANDING_versatel
	bool "Versatel"
	depends on \
		FREETZ_TYPE_WLAN_3131
	default n
	help
		Versatel branding

		Each branding provides the web UI templates for a certain manufacturer or OEM.

		NOTE: Make sure not to remove the branding corresponding to the one defined 
		in your box's boot loader environment. It can be determined by calling the
		following command from the box's shell prompt:

		echo $(cat /proc/sys/urlader/firmware_version)

endmenu

config FREETZ_REMOVE_HELP
	bool "Remove help"
	default n
	help
		Removes the help pages from the web menu.

config FREETZ_REMOVE_ASSISTANT
	bool "Remove assistant"
	default n
	depends on \
	( ! ( FREETZ_TYPE_FON_WLAN_7140 && FREETZ_TYPE_LANG_EN ) ) && \
	( ! ( FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_EN ) )
	help
		Removes the installation assistant from the web menu.

config FREETZ_REMOVE_TR069
	bool "Remove tr069 stuff"
	depends on \
		FREETZ_SHOW_ADVANCED && \
		( \
		FREETZ_TYPE_300IP_AS_FON || \
		FREETZ_TYPE_FON || \
		FREETZ_TYPE_FON_WLAN || \
		FREETZ_TYPE_FON_WLAN_7050 || \
		FREETZ_TYPE_FON_7150 || \
		FREETZ_TYPE_FON_WLAN_7170 || \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7270_V3 \
		)
	default n
	help
		Removes libtr069 to save space. This also removes libtr064.
		WARNING: Removing tr069-stuff without disabling it on the
		box causes permanent reboots until the box is recovered.

config FREETZ_REMOVE_USB_MODULE
	bool "Remove avalanche_usb.ko"
	depends on \
		FREETZ_SHOW_ADVANCED && \
		( \
		FREETZ_TYPE_300IP_AS_FON || \
		FREETZ_TYPE_FON || \
		FREETZ_TYPE_FON_WLAN || \
		FREETZ_TYPE_FON_WLAN_7050 \
		)
	default n
	help
		Removes avalanche_usb.ko to save space.

config FREETZ_REMOVE_CDROM_ISO
	bool "Remove cdrom.iso"
	depends on \
			FREETZ_HAS_USB_CLIENT && \
			( \
			! FREETZ_TYPE_2170 && \
			! FREETZ_TYPE_FON_WLAN_7050 && \
			! FREETZ_TYPE_WLAN_3130 && \
			! FREETZ_TYPE_WLAN_3131 && \
			! FREETZ_TYPE_WLAN_3170 \
			)
	default n
	help
		Removes the file /lib/modules/cdrom.iso.

config FREETZ_REMOVE_CHRONYD
	bool "Remove chronyd"
	depends on \
		FREETZ_TYPE_WLAN_3270 || \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7270_V3
	default n
	help
		Removes AVM's time synchronization tool (chrony) and related files.
		This will save about 220kB uncompressed size.

config FREETZ_PATCH_ATA
	bool "Patch ATA"
	depends on \
		FREETZ_TYPE_SPEEDPORT_W501V || \
		FREETZ_TYPE_SPEEDPORT_W701V || \
		FREETZ_TYPE_SPEEDPORT_W900V
	default n
	help
		Patches the ATA mode configuration pages into the web menu.

config FREETZ_PATCH_DSL_EXPERT
        bool "Patch extended DSL-Settings"
        depends on \
		! FREETZ_TYPE_LABOR_DSL && \
		! FREETZ_REMOVE_DSLD && \
		FREETZ_TYPE_LANG_DE && \
		(FREETZ_TYPE_FON_WLAN_7170 || FREETZ_TYPE_FON_WLAN_7240 || FREETZ_TYPE_FON_WLAN_7270 || FREETZ_TYPE_FON_WLAN_7270_V3)
        default n
        help
                Patches the extended dsl-settings from labor-dsl into all-in-one-firmwares. 

config FREETZ_PATCH_VCC
	bool "Patch 2. VCC"
	depends on FREETZ_HAS_PHONE && \
		! FREETZ_TYPE_LABOR && \
		(FREETZ_TYPE_FON_WLAN_7141 || FREETZ_TYPE_FON_WLAN_7170)
	default n
	help
		Patches the setting for 2. VCC into web menu. This patch also replaces
		and activates "Patch enum" feature for brandings 1und1 and tcom.
		
		Be aware that enum section is not displayed if you switch to avm
		branding!

config FREETZ_PATCH_ENUM
	bool "Patch enum"
	depends on FREETZ_HAS_PHONE && ! FREETZ_PATCH_VCC
	default n
	help
		Patches the enum configuration pages into the web menu.

#config FREETZ_PATCH_INTERNATIONAL
#	bool "Patch international"
#	depends on FREETZ_HAS_PHONE && FREETZ_TYPE_LANG_DE && ! FREETZ_TYPE_SPEEDPORT_W900V
#	default y
#	help
#		Reveals some options from the international firmware in the web menu.

config FREETZ_PATCH_SIGNED
	bool "Patch web menu signed message"
	default n
	help
		Hides the "unsupported changes" message from the web interface.

config FREETZ_PATCH_USBSTORAGE
	bool "Patch USB storage names, make FAT filesystems world-writable, automount feature"
	depends on \
		FREETZ_HAS_USB_HOST #&& \
		#! FREETZ_TYPE_SPEEDPORT_W701V_7170
	default y
	help
		1. Change the name of USB storage dir to uStorXY

		2. Auto-mounted USB storage devices will be fully accessible, i.e. it
		is now possible to put user home directories for (e.g. for FTP) on a
		FAT32-formatted partition and permit shell and FTP users to actually
		write to their own home directories.

		3. Avoid deleting whole filesystem on usb devices.

		It is highly recommended to select this patch.

config FREETZ_USBSTORAGE_AUTOMOUNT
	bool "Automount filesystems"
	depends on FREETZ_PATCH_USBSTORAGE
	select FREETZ_PACKAGE_FSTYP
	default y
	help
		ext2, ext3, fat and ntfs filesystems are mounted automatically. Detection is done
		by fstyp utility (adds about 8KB uncompressed size). It depends on the original
		firmware wich of the following points you have to select.

config FREETZ_AUTOMOUNT_EXT2
	bool "ext2"
	depends on FREETZ_USBSTORAGE_AUTOMOUNT
	select FREETZ_MODULE_ext2
	default n
	help
		This adds ext2 module to your firmware.

config FREETZ_AUTOMOUNT_EXT3
	bool "ext3"
	depends on FREETZ_USBSTORAGE_AUTOMOUNT
	select FREETZ_MODULE_ext3
	default n
	help
		This adds ext3 module to your firmware.		

config FREETZ_AUTOMOUNT_NTFS
	bool "NTFS"
	depends on FREETZ_USBSTORAGE_AUTOMOUNT
	select FREETZ_PACKAGE_NTFS
	default n
	help
		This adds ntfs-3g mount helper to your firmware.

config FREETZ_AUTOMOUNT_REISER_FS
	bool "ReiserFS"
	depends on FREETZ_USBSTORAGE_AUTOMOUNT
	select FREETZ_MODULE_reiserfs
	default n
	help
		This adds reiserfs module to your firmware.

config FREETZ_AUTORUN_AUTOEND
	bool "Execute autorun.sh/autoend.sh script on (un)mount"
	depends on FREETZ_HAS_USB_HOST
	default n
	help
		Useful to start/terminate applications located on USB devices, eg apache,
		samba or even swapfiles.

config FREETZ_PATCH_MAXDEVCOUNT
	bool "Raise the count of connectable usb device to 9"
	depends on FREETZ_HAS_USB_HOST
	default n
	help
		Use this patch if you would connect more than 3 device to the box

config FREETZ_PATCH_GETCONS
	bool "Don't redirect console messages"
	default n
	help
		Patch /etc/profile so that console messages are not redirected to
		/dev/pts/0. These can sometimes be very anoying.

config FREETZ_REMOVE_SUPPORT
	bool "Remove the support-files"
	default n
	help
		Remove the support-files which can be taken by http://fritz.box/html/support.html

config FREETZ_REMOVE_WEBSRV
	bool "Replace AVM web server by httpd"
	depends on \
		! FREETZ_TYPE_2170 \
		&& ! FREETZ_TYPE_FON_5140 \
		&& ! ( FREETZ_TYPE_FON_WLAN_7140 && FREETZ_TYPE_LANG_EN ) \
		&& ! ( FREETZ_TYPE_FON_WLAN_7140 && FREETZ_TYPE_LANG_A_CH ) \
		&& ! ( FREETZ_TYPE_FON && FREETZ_TYPE_LANG_EN ) \
		&& ! ( FREETZ_TYPE_300IP_AS_FON && FREETZ_TYPE_LANG_EN ) \
		&& ! ( FREETZ_TYPE_FON_WLAN && FREETZ_TYPE_LANG_EN ) \
		&& ! FREETZ_TYPE_FON_WLAN_7141 \
		&& ! FREETZ_TYPE_FON_WLAN_7170 \
		&& ! FREETZ_TYPE_FON_WLAN_7240 \
		&& ! FREETZ_TYPE_FON_WLAN_7270 \
		&& ! FREETZ_TYPE_FON_WLAN_7270_V3 \
		&& ! FREETZ_TYPE_WLAN_3131 \
		&& ! FREETZ_TYPE_WLAN_3170

	default n
	help
		Patch init scripts so BusyBox's httpd is used instead of AVM's websrv.
		The websrv binary will be removed from the firmware image.

		If "Remove UPnP daemon (igdd/upnpd)" patch is also selected and "Integrate
		Media Server from USB Labor firmware" is not selected, 'libwebsrv.so'
		will also be removed, because only those three binaries use it.

config FREETZ_REMOVE_UPNP
	bool "Remove UPnP daemon (igdd/upnpd)"
	select FREETZ_REMOVE_UPNP_LIBS if \
			( \
			! ( FREETZ_TYPE_FON_WLAN_7140 && FREETZ_TYPE_LANG_EN ) \
			&& ! ( FREETZ_TYPE_FON_WLAN_7140 && FREETZ_TYPE_LANG_A_CH ) \
			&& ! FREETZ_TYPE_FON_WLAN_7141 \
			&& ! FREETZ_TYPE_FON_WLAN_7170 \
			&& ! FREETZ_TYPE_FON_WLAN_7240 \
			&& ! FREETZ_TYPE_FON_WLAN_7270 \
			&& ! FREETZ_TYPE_FON_WLAN_7270_V3 \
			&& ! FREETZ_TYPE_WLAN_3131 \
			&& ! FREETZ_TYPE_WLAN_3170 \
			)
	default n
	help
		Remove Universal Plug'n'Play daemon 'igdd/upnpd' and some more files used by
		it from firmware. Patch init scripts so they can cope with the
		non-existent binary.

		ATTENTION: Fritz!Fax relies on UPnP.
		Make sure you deactivate all UPnP features in the web menu
		before updating the firmware with this option. It may not be harmful
		not to deactivate it, but there is no guarantee. You can find the
		settings in the German web UI under
		  Einstellungen
		    System
		      Netzwerkeinstellungen
		        Statusinformationen �ber UPnP �bertragen (empfohlen)

config FREETZ_REMOVE_UPNP_LIBS
	bool 
	depends on FREETZ_REMOVE_UPNP
	default n

config FREETZ_REMOVE_USERMAN
	bool "Remove usermand and userman.ko - EXPERIMENTAL"
	depends on \
		! FREETZ_TYPE_FON_5140 \
		&& ! FREETZ_TYPE_FON_WLAN_7113 \
		&& ! FREETZ_TYPE_SPEEDPORT_W501V \
		&& ! FREETZ_TYPE_SPEEDPORT_W900V
	default n
	help
		Remove userman files (Kindersicherung)

config FREETZ_REMOVE_FTPD
	bool "Remove ftpd"
	depends on \
		FREETZ_SHOW_ADVANCED && \
		( \
			FREETZ_HAS_USB_HOST && \
			! FREETZ_TYPE_SPEEDPORT_W701V_7170 \\
		)
	default n
	help
		Remove FTP deamon (ftpd)
		This patch removes AVM's ftp daemon. The regular options in AVM's Webinterface
		are still present. If you select this item your USB drives won't be accessible 
		through ftp anymore. But you can use Freetz bftpd/vsftpd package to grant ftp
		access to the devices.

config FREETZ_REMOVE_MEDIASRV
	bool "Remove mediasrv"
	depends on \
	FREETZ_SHOW_ADVANCED && \
	( \
		FREETZ_HAS_USB_HOST && \
		! FREETZ_TYPE_FON_WLAN_7240 && \
		! FREETZ_TYPE_FON_WLAN_7270 && \
		! FREETZ_TYPE_FON_WLAN_7270_V3 && \
		! FREETZ_TYPE_SPEEDPORT_W701V_7170 \
	)
	default n
	help
		Remove MediaServer daemon (mediasrv)
		This patch removes only the deamon. The regular options in AVM's webinterface 
		are still present.

config FREETZ_REMOVE_SMBD
	bool "Remove smbd"
	depends on \
		FREETZ_SHOW_ADVANCED && \
		! FREETZ_PACKAGE_SAMBA && \
		( \
		FREETZ_HAS_USB_HOST && \
		! FREETZ_TYPE_FON_7150 && \
		! FREETZ_TYPE_FON_WLAN_7270 && \
		! FREETZ_TYPE_FON_WLAN_7270_V3 && \
		! FREETZ_TYPE_SPEEDPORT_W701V_7170 \
		)
	default n
	help
		Remove Samba daemon (smbd)
		This patch removes only the daemon. The regular options in AVM's webinterface 
		are still present.

config FREETZ_REMOVE_MINID
	bool "Remove minid - EXPERIMENTAL"
	default n
	depends on \
		FREETZ_SHOW_ADVANCED && \
		( \
			FREETZ_TYPE_FON_WLAN_7141 || \
			FREETZ_TYPE_FON_WLAN_7170 || \
			FREETZ_TYPE_FON_WLAN_7240 || \
			FREETZ_TYPE_WLAN_3270 \
		) && \
		! FREETZ_TYPE_SPEEDPORT_W701V_7170
		
	help
		Remove the mini-daemon (minid) and some other related files.
		This patch removes Fritz!Mini support but only the files,
		not the settings in AVM's webinterface.

config FREETZ_REMOVE_AURA_USB
	bool "Remove aura usb - EXPERIMENTAL"
	default n
	depends on \
		FREETZ_SHOW_ADVANCED && \
		( \
			FREETZ_TYPE_2170 || \
			FREETZ_TYPE_FON_7150 || \
			FREETZ_TYPE_FON_WLAN_7141 || \
			FREETZ_TYPE_FON_WLAN_7170 || \
			FREETZ_TYPE_FON_WLAN_7240 || \
			FREETZ_TYPE_FON_WLAN_7270 || \
			FREETZ_TYPE_FON_WLAN_7270_V3 || \
			FREETZ_TYPE_WLAN_3170 \
		) && \
		! FREETZ_TYPE_SPEEDPORT_W701V_7170

	help
		Remove the aura-usb-daemon (USB-Fernanschluss) and some related files. 
		This patch only removes the files, not the settings in AVM's webinterface

config FREETZ_REMOVE_AVM_VPN
	bool "Remove AVM vpn - EXPERIMENTAL"
	default n
	depends on \
		FREETZ_SHOW_ADVANCED && \
		( \
			FREETZ_TYPE_2170 || \
			(FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_DE) || \
			FREETZ_TYPE_FON_WLAN_7240 || \
			FREETZ_TYPE_FON_WLAN_7270 || \
			FREETZ_TYPE_FON_WLAN_7270_V3 || \
			FREETZ_TYPE_WLAN_3170 \
		)

	help
		Remove AVM's vpn and some other related files
		This patch only removes the files, not the settings in AVM's webinterface

config FREETZ_REMOVE_DSLD
	bool "Remove dsld (for boxes in IP client mode) - EXPERIMENTAL"	
	default n
	depends on FREETZ_SHOW_ADVANCED
	select FREETZ_REMOVE_UPNP
	select FREETZ_REMOVE_USERMAN if ! (FREETZ_TYPE_FON_5140 || FREETZ_TYPE_FON_WLAN_7113 || FREETZ_TYPE_SPEEDPORT_W501V || FREETZ_TYPE_SPEEDPORT_W900V)
	help
		Remove DSL deamon (dsld), if you are planning to use your box as a simple
		IP client in ATA mode. 

		ATTENTION: You won't be able to use your box as a modem nor a router anymore.
		As well do *not* use this option if your ATA mode box uses PPoE passthrough,
		because in this case dsld is still needed! Furthermore, selecting this patch
		also selects the UPnP patch, because UPnP must be deactivated anyway for 
		IP clients, otherwise dsld will be used again.
		You can find the UPnP settings in the German web UI under
		  Einstellungen
		    System
		      Netzwerkeinstellungen
		        Statusinformationen �ber UPnP �bertragen (empfohlen)
		Thirdly, the usermand patch will also be selected if you activate this option,
		because kernel module userman.ko always depends on kdsldmod.ko which is
		stripped by this patch.

		EXPERIMENTAL FEATURE, USE AT OWN RISK!

config FREETZ_REMOVE_CAPIOVERTCP
	bool "Remove CAPIoverTCP (used for Fritz!Fax) - EXPERIMENTAL"
	default n
	help
		Remove CAPIoverTCP (capiotcp_server). Use this if you don't wat to use
		Fritz!Fax or any other program that uses AVM's CAPIoverTCP. This is similar
		to rcapid, but independant.
		This will save about 15kB uncompressed size.

		EXPERIMENTAL FEATURE, USE AT OWN RISK!

config FREETZ_REMOVE_DECT 
	bool "Remove DECT files - EXPERIMENTAL"
	depends on \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7270_V3 || \
		FREETZ_TYPE_SPEEDPORT_W900V_7170
	default n
	help
		Remove dect files (modules, firmware and dect_manager an maybe Config-files).
		(saves roundabout 20K compressed size on W900V and 200k on 7270)


config FREETZ_REMOVE_DECT_UPDATE
	bool"Remove dect_update - EXPERIMENTAL"
	depends on \
		FREETZ_TYPE_FON_7150
	default n
	help
		Remove /usr/bin/dect_update. This utility is only needed to 
		update the dect firmware.
		This will save about 32kB uncompressed size.

		EXPERIMENTAL FEATURE, USE AT OWN RISK!

config FREETZ_REMOVE_DTRACE
	bool"Remove dtrace"
	depends on \
		FREETZ_TYPE_FON_WLAN_7141 || \
		FREETZ_TYPE_FON_WLAN_7170 || \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7270_V3
	default n
	help
		Remove /usr/bin/dtrace. This utility is only needed to 
		trace ISDN D-channel.
		This will save about 87kB uncompressed size.

		EXPERIMENTAL FEATURE, USE AT OWN RISK!

config FREETZ_REMOVE_VOIP_ISDN
	bool "Remove VoIP & ISDN files (for non-telephony boxes) - EXPERIMENTAL"
	depends on \
		FREETZ_SHOW_ADVANCED && \
		FREETZ_HAS_PHONE
	select FREETZ_REMOVE_DECT if FREETZ_TYPE_FON_WLAN_7240 || FREETZ_TYPE_FON_WLAN_7270 || FREETZ_TYPE_FON_WLAN_7270_V3
	default n
	help
		Radically remove a lot of telephony-related files. This patch saves about
		2.370 KB or 2.3 MB of uncompressed data size in the firmware image. This
		means savings of about 700 KB of compressed firmware size.

		ATTENTION: Currently there have not been a whole lot of tests concerning
		side effects. The patch was successfully tested on a W701V IP client with
		removed UPnP/dsld/userman. If it still works for boxes including those
		functionalities, is unknown. Feel free to test it.

		NOTE: Corresponding web UI files will also be removed, so you will
		encounter several empty web pages or submenus.

		EXPERIMENTAL FEATURE, USE AT OWN RISK!

config FREETZ_REMOVE_WLAN
	bool "Remove WLAN files (for non-wlan boxes) - EXPERIMENTAL"
	depends on \
		FREETZ_SHOW_ADVANCED && \
		FREETZ_HAS_WLAN
	default n
	help
		Radically remove a lot of wlan-related files. This patch saves about
		700 kb of uncomrpessed data size in the firmware image.

		EXPERMINTAL FEATURE, USE AT OWN RISK!

config FREETZ_REMOVE_ANNEX_A_FIRMWARE
	bool "Remove Annex A firmware file"
	depends on \
		FREETZ_TYPE_FON_WLAN_7270 && \
		( \
			FREETZ_TYPE_LANG_A_CH || \
			FREETZ_TYPE_LANG_EN \
		)
	default n
	help
		Remove lib/modules/dsp_ur8/ur8-A-dsl.bin. This saves about 400 KB of
		uncompressed data size.

config FREETZ_REMOVE_ANNEX_B_FIRMWARE
	bool "Remove Annex B firmware file"
	depends on \
		FREETZ_TYPE_FON_WLAN_7240 || \
		FREETZ_TYPE_FON_WLAN_7270 || \
		FREETZ_TYPE_FON_WLAN_7270_V3
	
	default n
	help
		Remove lib/modules/dsp_ur8/ur8-B-dsl.bin. This saves about 400 KB of
		uncompressed data size.


config FREETZ_ADD_ANNEX_A_FIRMWARE
	bool "Add Annex A firmware file"
	depends on FREETZ_TYPE_FON_WLAN_7270 && FREETZ_TYPE_LANG_DE
	default n
	help
		Add lib/modules/dsp_ur8/ur8-A-dsl.bin. This costs about 400 KB of
		uncompressed data size. But you can remove Annex B file if you
		plan to use Annex A.

endmenu

menu "Package selection"

#config FREETZ_BUILD_DYNAMIC_PACKAGES
#	bool "Build dynamic packages (NOT SUPPORTED YET)"
#	default n
#	help
#		If this is selected, all packages, which are not
#		selected, will be build as dynamic packages.

source make/Config.in

endmenu

menu "Advanced options"

config FREETZ_DL_OVERRIDE
	bool "Override firmware source"
	default n
	help
		Enable this to override automatically generated entries.

config FREETZ_DL_SITE
	string "Firmware site"		if FREETZ_DL_OVERRIDE
	depends on ! FREETZ_TYPE_LABOR
	default "ftp://ftp.avm.de/fritz.box/fritzbox.2170/firmware/deutsch"			if FREETZ_TYPE_2170
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon/firmware/deutsch"			if FREETZ_TYPE_300IP_AS_FON && FREETZ_TYPE_LANG_DE
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon/firmware/english/annex_a"		if FREETZ_TYPE_300IP_AS_FON && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_A
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon/firmware/english/annex_b"		if FREETZ_TYPE_300IP_AS_FON && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_B
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon/firmware/deutsch"			if FREETZ_TYPE_FON && FREETZ_TYPE_LANG_DE
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon/firmware/english/annex_a"		if FREETZ_TYPE_FON && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_A
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon/firmware/english/annex_b"		if FREETZ_TYPE_FON && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_B
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon_5010/firmware/deutsch_a-ch"		if FREETZ_TYPE_FON_5010 && FREETZ_TYPE_LANG_A_CH
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon_5050/firmware"				if FREETZ_TYPE_FON_5050
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon_5140/firmware"				if FREETZ_TYPE_FON_5140
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan/firmware/deutsch"			if FREETZ_TYPE_FON_WLAN && FREETZ_TYPE_LANG_DE
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan/firmware/english/annex_a"		if FREETZ_TYPE_FON_WLAN && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_A
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan/firmware/english/annex_b"		if FREETZ_TYPE_FON_WLAN && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_B
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan_7050/firmware"			if FREETZ_TYPE_FON_WLAN_7050
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan_7113/firmware/deutsch"		if FREETZ_TYPE_FON_WLAN_7113
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan_7140/firmware/deutsch"		if FREETZ_TYPE_FON_WLAN_7140 && FREETZ_TYPE_LANG_DE
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan_7140/firmware/deutsch_a-ch"	if FREETZ_TYPE_FON_WLAN_7140 && FREETZ_TYPE_LANG_A_CH
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan_7140/firmware/english/annex_a"	if FREETZ_TYPE_FON_WLAN_7140 && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_A
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan_7140/firmware/english/annex_b"	if FREETZ_TYPE_FON_WLAN_7140 && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_B
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan_7141/firmware/deutsch"		if FREETZ_TYPE_FON_WLAN_7141
	default "ftp://ftp.avm.de/fritz.box/fritzfon.7150/firmware"				if FREETZ_TYPE_FON_7150
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan_7170/firmware/deutsch"		if FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_DE
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan_7170/firmware/deutsch_a-ch"	if FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_A_CH
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan_7170/firmware/english/annex_a"	if FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_A
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan_7170/firmware/english/annex_b"	if FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_B
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan_7240/firmware/deutsch"		if FREETZ_TYPE_FON_WLAN_7240
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan_7270/firmware/deutsch"		if FREETZ_TYPE_FON_WLAN_7270 && FREETZ_TYPE_LANG_DE
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan_7270/firmware/deutsch_a-ch"	if FREETZ_TYPE_FON_WLAN_7270 && FREETZ_TYPE_LANG_A_CH
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan_7270/firmware/english"		if FREETZ_TYPE_FON_WLAN_7270 && FREETZ_TYPE_LANG_EN
        default "ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan_7270_v3/firmware/deutsch"            if FREETZ_TYPE_FON_WLAN_7270_V3 && FREETZ_TYPE_LANG_DE
	default "ftp://ftp.avm.de/fritz.box/fritzbox.sl_wlan/firmware"				if FREETZ_TYPE_WLAN_3020
	default "ftp://ftp.avm.de/fritz.box/fritzbox.wlan_3030/firmware"			if FREETZ_TYPE_WLAN_3030
	default "ftp://ftp.avm.de/fritz.box/fritzbox.wlan_3130/firmware"			if FREETZ_TYPE_WLAN_3130
	default "ftp://ftp.avm.de/fritz.box/fritzbox.wlan_3131/firmware/deutsch"		if FREETZ_TYPE_WLAN_3131
	default "ftp://ftp.avm.de/fritz.box/fritzbox.wlan_3170/firmware/deutsch"		if FREETZ_TYPE_WLAN_3170
	default "ftp://ftp.avm.de/fritz.box/fritzbox.wlan_3270/firmware/deutsch"		if FREETZ_TYPE_WLAN_3270
	default "http://www.t-home.de/dlp/eki/downloads/Speedport/Speedport_W501V" 		if FREETZ_TYPE_SPEEDPORT_W501V
	default "http://www.t-home.de/dlp/eki/downloads/Speedport/Speedport%20W%20701%20V"	if FREETZ_TYPE_SPEEDPORT_W701V
	default "http://www.t-home.de/dlp/eki/downloads/Speedport/Speedport%20W%20900V"		if FREETZ_TYPE_SPEEDPORT_W900V
	default "ftp://ftp.avm.de/fritz.box/..."						if FREETZ_TYPE_CUSTOM

config FREETZ_DL_SOURCE
	string "Firmware source"							if FREETZ_DL_OVERRIDE
	default "FRITZ.Box_2170.51.04.57.image"						if FREETZ_TYPE_2170 && ! FREETZ_TYPE_LABOR
	default "fritz.box_fon.06.04.33.image"						if FREETZ_TYPE_300IP_AS_FON && FREETZ_TYPE_LANG_DE
	default "fritz.box_fon.annexa.en.06.04.49.image"				if FREETZ_TYPE_300IP_AS_FON && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_A
	default "fritz.box_fon.en.06.04.49.image"					if FREETZ_TYPE_300IP_AS_FON && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_B
	default "fritz.box_fon.06.04.33.image"						if FREETZ_TYPE_FON && FREETZ_TYPE_LANG_DE
	default "fritz.box_fon.annexa.en.06.04.49.image"				if FREETZ_TYPE_FON && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_A
	default "fritz.box_fon.en.06.04.49.image"					if FREETZ_TYPE_FON && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_B
	default "fritz.box_fon_5010.annexa.48.04.43.image"				if FREETZ_TYPE_FON_5010 && FREETZ_TYPE_LANG_A_CH
	default "fritz.box_fon_5050.12.04.31.image"					if FREETZ_TYPE_FON_5050
	default "FRITZ.Box_Fon_5140.AnnexB.43.04.67.image"				if FREETZ_TYPE_FON_5140
	default "fritz.box_fon_wlan.08.04.34.image"					if FREETZ_TYPE_FON_WLAN && FREETZ_TYPE_LANG_DE
	default "FRITZ.Box_Fon_WLAN.AnnexA.en.08.04.49.image"				if FREETZ_TYPE_FON_WLAN && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_A
	default "FRITZ.Box_Fon_WLAN.AnnexB.en.08.04.49.image"				if FREETZ_TYPE_FON_WLAN && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_B
	default "fritz.box_fon_wlan_7050.14.04.33.image"				if FREETZ_TYPE_FON_WLAN_7050
	default "FRITZ.Box_Fon_WLAN_7113.60.04.67.image"				if FREETZ_TYPE_FON_WLAN_7113
	default "fritz.box_fon_wlan_7140.annexb.30.04.33.image"				if FREETZ_TYPE_FON_WLAN_7140 && FREETZ_TYPE_LANG_DE
	default "FRITZ.Box_Fon_WLAN_7140.AnnexA.en.39.04.67.image"			if FREETZ_TYPE_FON_WLAN_7140 && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_A
	default "FRITZ.Box_Fon_WLAN_7140.AnnexB.en.30.04.67.image"			if FREETZ_TYPE_FON_WLAN_7140 && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_B
	default "FRITZ.Box_Fon_WLAN_7140.AnnexA.39.04.59.image"				if FREETZ_TYPE_FON_WLAN_7140 && FREETZ_TYPE_LANG_A_CH
	default "FRITZ.Box_Fon_WLAN_7141.40.04.70.image"				if FREETZ_TYPE_FON_WLAN_7141
	default "FRITZ.Fon_7150.AnnexB.38.04.56.image"					if FREETZ_TYPE_FON_7150
	default "FRITZ.Box_Fon_WLAN_7170.29.04.76.image"				if FREETZ_TYPE_FON_WLAN_7170 && ! FREETZ_TYPE_LABOR &&  FREETZ_TYPE_LANG_DE
	default "FRITZ.Box_Fon_WLAN_7170.AnnexA.58.04.59.image"				if FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_A_CH
	default "FRITZ.Box_Fon_WLAN_7170.AnnexA.en.58.04.67.image"			if FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_A
	default "FRITZ.Box_Fon_WLAN_7170.AnnexB.en.29.04.67.image"			if FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_EN && FREETZ_TYPE_ANNEX_B
	default "FRITZ.Box_Fon_WLAN_7170.Labor.29.04.70-13679.image"			if FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LABOR_AIO
	default "FRITZ.Box_Fon_WLAN_7170.Labor.29.04.99-14119.image"			if FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LABOR_DSL
	default "FRITZ.Box_Fon_WLAN_7240.73.04.76.image"				if FREETZ_TYPE_FON_WLAN_7240 && ! FREETZ_TYPE_LABOR
	default "FRITZ.Box_Fon_WLAN_7240.Labor.73.04.75-14543.image"	 		if FREETZ_TYPE_FON_WLAN_7240 && FREETZ_TYPE_LABOR_AIO
	default "FRITZ.Box_Fon_WLAN_7240_LabPHONE.AnnexB.73.04.97-14755.image"		if FREETZ_TYPE_FON_WLAN_7240 && FREETZ_TYPE_LABOR_PHONE
	default "FRITZ.Box_Fon_WLAN_7270.54.04.76.image"				if FREETZ_TYPE_FON_WLAN_7270 && ! FREETZ_TYPE_LABOR && FREETZ_TYPE_LANG_DE
	default "FRITZ.Box_Fon_WLAN_7270_v3.74.04.76.image"				if FREETZ_TYPE_FON_WLAN_7270_V3 && ! FREETZ_TYPE_LABOR && FREETZ_TYPE_LANG_DE
	default "FRITZ.Box_Fon_WLAN_7270.en-de-es-it.54.04.67.image"			if FREETZ_TYPE_FON_WLAN_7270 && FREETZ_TYPE_LANG_A_CH
	default "FRITZ.Box_Fon_WLAN_7270.en-de-es-it.54.04.67.image"			if FREETZ_TYPE_FON_WLAN_7270 && FREETZ_TYPE_LANG_EN
	default "FRITZ.Box_Fon_WLAN_7270_LabPHONE.AnnexB.54.04.97-14755.image"		if FREETZ_TYPE_FON_WLAN_7270 && FREETZ_TYPE_LABOR_PHONE
	default "FRITZ.Box_Fon_WLAN_7270.Labor.54.04.99-14000.image"			if FREETZ_TYPE_FON_WLAN_7270 && FREETZ_TYPE_LABOR_DSL
	default "FRITZ.Box_Fon_WLAN_7270_LabIPV6.AnnexB.54.04.94-14620.image" 		if FREETZ_TYPE_FON_WLAN_7270 && FREETZ_TYPE_LABOR_IPV6
	default "FRITZ.Box_Fon_WLAN_7270_v3_LabIPV6.AnnexB.74.04.94-14620.image" 	if FREETZ_TYPE_FON_WLAN_7270_V3 && FREETZ_TYPE_LABOR_IPV6
	default "fritz.box_sl_wlan.09.04.34.image"					if FREETZ_TYPE_WLAN_3020
	default "fritz.box_wlan_3030.21.04.34.image"					if FREETZ_TYPE_WLAN_3030
	default "fritz.box_wlan_3130.44.04.34.image"					if FREETZ_TYPE_WLAN_3130
	default "fritz.box_wlan_3131.50.04.57.image"					if FREETZ_TYPE_WLAN_3131
	default "fritz.box_wlan_3170.49.04.58.image"					if FREETZ_TYPE_WLAN_3170
	default "fritz.box_wlan_3270.67.04.70.image"					if FREETZ_TYPE_WLAN_3270
	default "fw_Speedport_W501V_v_28.04.38.image"					if FREETZ_TYPE_SPEEDPORT_W501V
	default "fw_Speedport_W701V_v33.04.57.image"					if FREETZ_TYPE_SPEEDPORT_W701V
	default "fw_Speedport_W900V_v34.04.57.image"					if FREETZ_TYPE_SPEEDPORT_W900V
	default "fritz.box..."								if FREETZ_TYPE_CUSTOM

config FREETZ_DL_SITE2
	string "AVM web interface DL Site"		if FREETZ_DL_OVERRIDE
	depends on \
		FREETZ_TYPE_3170_7170 || \
		FREETZ_TYPE_7140_7170 || \
		FREETZ_TYPE_7141_7170 || \
		FREETZ_TYPE_SINUS_W500V_7150 || \
		FREETZ_TYPE_SPEEDPORT_W501V || \
		FREETZ_TYPE_SPEEDPORT_W701V || \
		FREETZ_TYPE_SPEEDPORT_W701V_7170 || \
		FREETZ_TYPE_SPEEDPORT_W900V || \
		FREETZ_TYPE_SPEEDPORT_W900V_7170 || \
		(FREETZ_TYPE_FON_WLAN_7270 && FREETZ_ADD_ANNEX_A_FIRMWARE)
	default "ftp://ftp.avm.de/fritz.box/fritzbox.wlan_3170/firmware/deutsch"		if FREETZ_TYPE_3170_7170
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan_7140/firmware/deutsch"		if FREETZ_TYPE_7140_7170
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan_7141/firmware/deutsch"		if FREETZ_TYPE_7141_7170
	default "http://www.t-home.de/dlp/eki/downloads/Sinus%20W%20500%20V"			if FREETZ_TYPE_SINUS_W500V_7150
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan_7141/firmware/deutsch"		if FREETZ_TYPE_SPEEDPORT_W501V
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan_7141/firmware/deutsch" 		if FREETZ_TYPE_SPEEDPORT_W701V
	default "http://www.t-home.de/dlp/eki/downloads/Speedport/Speedport%20W%20701%20V"	if FREETZ_TYPE_SPEEDPORT_W701V_7170
	default "ftp://ftp.avm.de/fritz.box/fritzfon.7150/firmware"				if FREETZ_TYPE_SPEEDPORT_W900V
	default "http://www.t-home.de/dlp/eki/downloads/Speedport/Speedport%20W%20900V"		if FREETZ_TYPE_SPEEDPORT_W900V_7170
	default "ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan_7270/firmware/deutsch_a-ch"	if FREETZ_TYPE_FON_WLAN_7270

config FREETZ_DL_SOURCE2
	string "AVM web interface firmware source"	if FREETZ_DL_OVERRIDE
	depends on \
		FREETZ_TYPE_3170_7170 || \
		FREETZ_TYPE_7140_7170 || \
		FREETZ_TYPE_7141_7170 || \
		FREETZ_TYPE_SINUS_W500V_7150 || \
		FREETZ_TYPE_SPEEDPORT_W501V || \
		FREETZ_TYPE_SPEEDPORT_W701V || \
		FREETZ_TYPE_SPEEDPORT_W701V_7170 || \
		FREETZ_TYPE_SPEEDPORT_W900V || \
		FREETZ_TYPE_SPEEDPORT_W900V_7170 || \
		(FREETZ_TYPE_FON_WLAN_7270 && FREETZ_ADD_ANNEX_A_FIRMWARE)
	default "fritz.box_wlan_3170.49.04.58.image"		if FREETZ_TYPE_3170_7170
	default "fritz.box_fon_wlan_7140.annexb.30.04.33.image"	if FREETZ_TYPE_7140_7170
	default "FRITZ.Box_Fon_WLAN_7141.40.04.70.image"	if FREETZ_TYPE_7141_7170
	default "fritz.box_fon_wlan_7141.40.04.37.image"	if FREETZ_TYPE_SPEEDPORT_W501V
	default "fritz.box_fon_wlan_7141.40.04.37.image"	if FREETZ_TYPE_SPEEDPORT_W701V
	default "fw_Speedport_W701V_v33.04.57.image"		if FREETZ_TYPE_SPEEDPORT_W701V_7170
	default "fritz.fon_7150.annexb.38.04.32.image"		if FREETZ_TYPE_SPEEDPORT_W900V
	default "fw_Speedport_W900V_v34.04.57.image"		if FREETZ_TYPE_SPEEDPORT_W900V_7170
	default "Sinus_W_500V.27.04.27.image"			if FREETZ_TYPE_SINUS_W500V_7150
	default "FRITZ.Box_Fon_WLAN_7270.en-de-es-it.54.04.67.image"	if FREETZ_TYPE_FON_WLAN_7270

config FREETZ_DL_SOURCE2_CONTAINER
	string
	depends on \
		FREETZ_TYPE_SINUS_W500V_7150
	default "fw_SinusW500V_27_04_27.zip"			if FREETZ_TYPE_SINUS_W500V_7150


menu "Freetz package download sites"

# This is a fixed entry, it is invisible and cannot be changed by the user
config FREETZ_MOD_DL_NUM_SITES
	string
	default "5"

comment "Download site #1 - default: http://freetz.3dfxatwork.de"

config FREETZ_MOD_DL_SITE_1
	string ""
	default "http://freetz.3dfxatwork.de"
	help
		Download site #1 for Freetz packages like 'mc-4.5.0-freetz-0.2.tar.bz2',
		*not* for original software packages like 'mc-4.5.0.tar.gz'. During the
		build process, all mirrors defined here are triggered on a random basis,
		so as not to always use a certain mirror first. This is a cheap kind of
		load balancing.

		Note: We recommend you to only set #5 to a user-defined value, if
		necessary. Necessary means that #1 - #4 are currently unavailable or
		the desired package cannot be found on either of them. In addition to
		the default servers #1 and #2, many packages have another server name
		in their make file, so a user-defined mirror should rarely be necessary.

comment "Download site #2 - default: http://freetz.wirsind.info"

config FREETZ_MOD_DL_SITE_2
	string ""
	default "http://freetz.wirsind.info"
	help
		Download site #2 for Freetz packages like 'mc-4.5.0-freetz-0.2.tar.bz2',
		*not* for original software packages like 'mc-4.5.0.tar.gz'. During the
		build process, all mirrors defined here are triggered on a random basis,
		so as not to always use a certain mirror first. This is a cheap kind of
		load balancing.

		Note: We recommend you to only set #5 to a user-defined value, if
		necessary. Necessary means that #1 - #4 are currently unavailable or
		the desired package cannot be found on either of them. In addition to
		the default servers #1 and #2, many packages have another server name
		in their make file, so a user-defined mirror should rarely be necessary.

comment "Download site #3 - default: http://freetz.magenbrot.net"

config FREETZ_MOD_DL_SITE_3
	string ""
	default "http://freetz.magenbrot.net"
	help
		Download site #3 for Freetz packages like 'mc-4.5.0-freetz-0.2.tar.bz2',
		*not* for original software packages like 'mc-4.5.0.tar.gz'. During the
		build process, all mirrors defined here are triggered on a random basis,
		so as not to always use a certain mirror first. This is a cheap kind of
		load balancing.

		Note: We recommend you to only set #5 to a user-defined value, if
		necessary. Necessary means that #1 - #4 are currently unavailable or
		the desired package cannot be found on either of them. In addition to
		the default servers #1 and #2, many packages have another server name
		in their make file, so a user-defined mirror should rarely be necessary.

comment "Download site #4 - default: empty (reserved for later use)"

config FREETZ_MOD_DL_SITE_4
	string ""
	help
		Download site #4 for Freetz packages like 'mc-4.5.0-freetz-0.2.tar.bz2',
		*not* for original software packages like 'mc-4.5.0.tar.gz'. During the
		build process, all mirrors defined here are triggered on a random basis,
		so as not to always use a certain mirror first. This is a cheap kind of
		load balancing.

		Note: We recommend you to only set #5 to a user-defined value, if
		necessary. Necessary means that #1 - #4 are currently unavailable or
		the desired package cannot be found on either of them. In addition to
		the default servers #1 and #2, many packages have another server name
		in their make file, so a user-defined mirror should rarely be necessary.

comment "Download site #5 - user-defined"

config FREETZ_MOD_DL_SITE_5
	string ""
	help
		Download site #5 for Freetz packages like 'mc-4.5.0-freetz-0.2.tar.bz2',
		*not* for original software packages like 'mc-4.5.0.tar.gz'. During the
		build process, all mirrors defined here are triggered on a random basis,
		so as not to always use a certain mirror first. This is a cheap kind of
		load balancing.

		Note: We recommend you to only set #5 to a user-defined value, if
		necessary. Necessary means that #1 - #4 are currently unavailable or
		the desired package cannot be found on either of them. In addition to
		the default servers #1 and #2, many packages have another server name
		in their make file, so a user-defined mirror should rarely be necessary.

endmenu

config FREETZ_SECURITY_LEVEL
	int "Default Security level (0-2)"
	default 1
	help
		There are several security levels.
		0 : no restrictions
		1 : only configuration files without shell commands might be edited
		2 : no configuration files might be edited.

config FREETZ_VERBOSITY_LEVEL
	int "Verbosity level (0-2)"
	default 2
	help
		Verbosity level of the fwmod script and tar.
		0 is the least and 2 the most information.

choice

	prompt "Favicon"
	default FREETZ_FAVICON_NONE
	help
		Adds small favicons to the document root.

	config FREETZ_FAVICON_NONE
		bool "none"

	config FREETZ_FAVICON_DSL123
		bool "dsl123's favicons"

	config FREETZ_FAVICON_CUMA
		bool "cuma's favicons"

	config FREETZ_FAVICON_HANSOLO
		bool "han-solo's favicons"
endchoice

config FREETZ_FAVICON_STRING
	string
	default "none"			if FREETZ_FAVICON_NONE
	default "dsl123"		if FREETZ_FAVICON_DSL123
	default "cuma"			if FREETZ_FAVICON_CUMA
	default "hansolo"		if FREETZ_FAVICON_HANSOLO

config FREETZ_SUBVERSION_STRING
	bool "Add Freetz version to subversion string"
	default y if ! FREETZ_TYPE_FON_WLAN_7270
	default n
	help
		Add Freetz version to subversion string, e.g. -11945-freetz-devel-2417.
		Disable this if you have trouble with your isp or plugin downloads from
		AVM don't work. 
		
		Please only disable this option if you really need to!

config FREETZ_DEVELOPER_VERSION_STRING
	bool "Developer version string"
	depends on FREETZ_SUBVERSION_STRING
	default y 
	help
		Add SVN (Subversion) repository revision number to firmware image name
		and to /etc/.subversion, /etc/version within firmware itself.

		The revision number string is generated by the client command line tool
		svnversion and may include switch/modify flags and/or a range of
		version numbers, depending on the current state of the working
		directory at the time of generation. See 'svnversion --help' for
		details.

		ATTENTION! This option is for developers working on checked-out
		versions of the Freetz source code only and requires svnversion to be
		installed.

config FREETZ_STATUS_STYLE
	bool "New style for status-bars and cache-usage"
	default n
	help
		Changes the style of the Freetz status-bars and	also adds the
		cache-usage to these bars.

config FREETZ_AVMPLUGINS_ENABLED
	bool "Integrate AVM Plugins into image"
	depends on FREETZ_TYPE_FON_WLAN_7270 && FREETZ_TYPE_LANG_DE
	default n
	help
		This feature disables AVM's plugin download and handling.
		You could integrate these plugins directly into the firmware image by
		selecting them below. This saves some resources because plugins are not
		copied into RAM nor mounted with loop-devices.

		Default behaviour for boxes with 16 MB flash.

menu "Plugin selection"
	depends on FREETZ_AVMPLUGINS_ENABLED
	
	comment "Select plugin(s) for insertion"

	config FREETZ_AVMPLUGINS_MEDIASRV
		bool "MEDIASRV"
		default y if FREETZ_TYPE_FON_WLAN_7270_16MB
		default n
		help
			Integrates UPNP Mediaserver

	config FREETZ_AVMPLUGINS_MINI
		bool "MINI"
		default y if FREETZ_TYPE_FON_WLAN_7270_16MB
		default n
		help
			Integrates FRITZ! Mini support

	config FREETZ_AVMPLUGINS_NTFS
		bool "NTFS"
		default y if FREETZ_TYPE_FON_WLAN_7270_16MB
		default n
		help
			Integrates NTFS filesystem support
			Not recommended if you are using Freetz-NTFS!

	config FREETZ_AVMPLUGINS_ONLINEPB
		bool "Online Phone Book"
		default y if FREETZ_TYPE_FON_WLAN_7270_16MB
		default n
		help
			Integrates Online Phone Book support

	config FREETZ_AVMPLUGINS_SAMBA
		bool "SAMBA"
		default y if FREETZ_TYPE_FON_WLAN_7270_16MB
		default n
		help
			Integrates AVM's Samba Fileserver
			Not recommended if you are using Freetz-Samba!

	config FREETZ_AVMPLUGINS_TAM
		bool "TAM"
		default y if FREETZ_TYPE_FON_WLAN_7270_16MB
		default n
		help
			Integrates Telephone Answering Machine (TAM)

	config FREETZ_AVMPLUGINS_WEBDAV
		bool "WEBDAV"
		default y if FREETZ_TYPE_FON_WLAN_7270_16MB
		default n
		help
			Integrates AVM's webdav
endmenu

menu External
config EXTERNAL_ENABLED
	bool "Enable external processing"
	default n
	help
		Enable this to move (big) files out of the firmware-image onto
		an attached USB device or a mounted network share like SMB or NFS.

		-------------------------- WARNING ----------------------------------
		Move all the files from build/modified/external to your choosen
		directory on the box BEFORE you flash the reduced image!
		
		-------------------------- WARNING ----------------------------------
		Do NOT external files needed to boot up Freetz!
		
		------------------------- ADVANCED ----------------------------------
		You could external services (like Samba) too. First set the service
		startup to "manual". Then enable the autorun/autoend feature of
		Freetz and create these files in the root of your device:
		[autorun.sh]
		/etc/init.d/rc.XYZ start
		[autoend.sh]
		/etc/init.d/rc.XYZ stop

config EXTERNAL_DOWNLOADER
	bool "Prepare files for Downloader"
	default n
	depends on EXTERNAL_ENABLED && FREETZ_PACKAGE_DOWNLOADER
	help
		Prepare files for Downloader package. 
		Downloader loads usualy files from a http or ftp server into the RAM of the box.

config EXTERNAL_SUBDIRS
	bool "Keep subdirectories"
	default n if ! EXTERNAL_DOWNLOADER
	default y if EXTERNAL_DOWNLOADER
	depends on EXTERNAL_ENABLED
	help
		Keep the original directory structure

config EXTERNAL_CREATEPAK
	bool "Create file for upload" if ! EXTERNAL_DOWNLOADER
	default y
	depends on EXTERNAL_ENABLED && ! EXTERNAL_DOWNLOADER
	help
		Creates a file for upload with the webinterface

choice

	prompt "external directory"
	default EXTERNAL_DIR1 if ! EXTERNAL_DOWNLOADER
	default EXTERNAL_DIR3 if EXTERNAL_DOWNLOADER
	depends on EXTERNAL_ENABLED
	help
		The directory on the Freetz Box with the externald files

	config EXTERNAL_DIR1
		depends on ! EXTERNAL_DOWNLOADER
		bool "/var/media/ftp/uStor01/external/"

	config EXTERNAL_DIR2
		depends on ! EXTERNAL_DOWNLOADER
		bool "/var/media/ftp/uStor02/external/"

	config EXTERNAL_DIR3
		depends on EXTERNAL_DOWNLOADER
		bool "/mod/"

	config EXTERNAL_CUSTOM_DIR
		bool "custom directory"

endchoice

config EXTERNAL_CUSTOM_DIRNAME
	string "custom directory" if EXTERNAL_CUSTOM_DIR
	default "/var/media/ftp/uStor01/external/"
	depends on EXTERNAL_ENABLED && EXTERNAL_CUSTOM_DIR
	help
		Custom directory on the Freetz Box with the externald files

config EXTERNAL_DIRECTORY
	string
	default "/var/media/ftp/uStor01/external/" if EXTERNAL_DIR1
	default "/var/media/ftp/uStor02/external/" if EXTERNAL_DIR2
	default "/mod/" if EXTERNAL_DIR3
	default EXTERNAL_CUSTOM_DIRNAME if EXTERNAL_CUSTOM_DIR
	depends on EXTERNAL_ENABLED

config EXTERNAL_OWN_FILES
	string "own files"
	default ""
	depends on EXTERNAL_ENABLED && FREETZ_SHOW_ADVANCED
	help
		Put your own files/directorys here (space seperated)

source make/external.in

endmenu

choice

	prompt "SquashFS block size"
	default FREETZ_SQUASHFS_BLOCKSIZE_65536

	config FREETZ_SQUASHFS_BLOCKSIZE_ORIG
		bool "original (usually 64 KB)"
		help
			Block size of the root filesystem. SquashFS 2.x can use block sizes
			up to 64 KB, SquashFS 3.x (only available for 7270 firmware or with
			"replace kernel") up to 1024 KB. Bigger block sizes achieve better
			compression ratios than smaller ones.

			64 KB is the default for kernel 2.6 firmwares, we recommend not to use
			anything smaller because your firmware image will grow unnecessarily.

			Note: Currently anything above 128 KB will result in a kernel panic, thus
			we do not allow it.

	config FREETZ_SQUASHFS_BLOCKSIZE_16384
		bool "16 KB"
		help
			Block size of the root filesystem. SquashFS 2.x can use block sizes
			up to 64 KB, SquashFS 3.x (only available for 7270 firmware or with
			"replace kernel") up to 1024 KB. Bigger block sizes achieve better
			compression ratios than smaller ones.

			64 KB is the default for kernel 2.6 firmwares, we recommend not to use
			anything smaller because your firmware image will grow unnecessarily.

			Note: Currently anything above 128 KB will result in a kernel panic, thus
			we do not allow it.

	config FREETZ_SQUASHFS_BLOCKSIZE_32768
		bool "32 KB"
		help
			Block size of the root filesystem. SquashFS 2.x can use block sizes
			up to 64 KB, SquashFS 3.x (only available for 7270 firmware or with
			"replace kernel") up to 1024 KB. Bigger block sizes achieve better
			compression ratios than smaller ones.

			64 KB is the default for kernel 2.6 firmwares, we recommend not to use
			anything smaller because your firmware image will grow unnecessarily.

			Note: Currently anything above 128 KB will result in a kernel panic, thus
			we do not allow it.

	config FREETZ_SQUASHFS_BLOCKSIZE_65536
		bool "64 KB"
		help
			Block size of the root filesystem. SquashFS 2.x can use block sizes
			up to 64 KB, SquashFS 3.x (only available for 7270 firmware or with
			"replace kernel") up to 1024 KB. Bigger block sizes achieve better
			compression ratios than smaller ones.

			64 KB is the default for kernel 2.6 firmwares, we recommend not to use
			anything smaller because your firmware image will grow unnecessarily.

			Note: Currently anything above 128 KB will result in a kernel panic, thus
			we do not allow it.

	config FREETZ_SQUASHFS_BLOCKSIZE_131072
		bool "128 KB (EXPERIMENTAL)"
		depends on FREETZ_REPLACE_KERNEL
		help
			Block size of the root filesystem. SquashFS 2.x can use block sizes
			up to 64 KB, SquashFS 3.x (only available for 7270 firmware or with
			"replace kernel") up to 1024 KB. Bigger block sizes achieve better
			compression ratios than smaller ones.

			64 KB is the default for kernel 2.6 firmwares, we recommend not to use
			anything smaller because your firmware image will grow unnecessarily.

			Note: Currently anything above 128 KB will result in a kernel panic, thus
			we do not allow it.

#	config FREETZ_SQUASHFS_BLOCKSIZE_262144
#		bool "256 KB"
#		depends on FREETZ_REPLACE_KERNEL

#	config FREETZ_SQUASHFS_BLOCKSIZE_524288
#		bool "512 KB"
#		depends on FREETZ_REPLACE_KERNEL

#	config FREETZ_SQUASHFS_BLOCKSIZE_1048576
#		bool "1024 KB"
#		depends on FREETZ_REPLACE_KERNEL

endchoice

menu "BusyBox options"
	depends on FREETZ_REPLACE_BUSYBOX
	source make/busybox/Config.in
endmenu

menu "Kernel modules"
	source kernel/Config.in
endmenu

menu "Shared libraries"
	config FREETZ_STRIP_LIBRARIES
		bool "Run mklibs on the built root filesystem (Experimental)"
		depends on FREETZ_SHOW_ADVANCED
		default n
		help
			Recompiles all the shared libraries to only include the
			symbols actually needed to run the binaries on the target.
			
			Caution: Because symbols are different in every AVM image
			you have to update the list of missing symbols in fwmod 
			by hand.

			EXPERIMENTAL FEATURE, USE AT OWN RISK!
	comment "Libraries -------------------------------"

	source make/libs/Config.in
endmenu

menu "Compiler options"

choice
	prompt "Toolchains"
	default FREETZ_DOWNLOAD_TOOLCHAIN if ! FREETZ_TARGET_IPV6_SUPPORT
	default FREETZ_BUILD_TOOLCHAIN if FREETZ_TARGET_IPV6_SUPPORT
	help
		Download Toolchain, build toolchain

	config FREETZ_DOWNLOAD_TOOLCHAIN
		bool "Download and use precompiled toolchain" if ! FREETZ_TARGET_IPV6_SUPPORT

	config FREETZ_BUILD_TOOLCHAIN
		bool "Build toolchain (requires 4GB diskspace)"
endchoice

config FREETZ_TARGET_CROSS
	string
	default "mipsel-linux-uclibc-"

config FREETZ_TARGET_MAKE_PATH
	string
	default "toolchain/target/bin"

config FREETZ_TARGET_CFLAGS
	string "Target compiler flags"
	default "-Os -pipe -march=4kc -Wa,--trap"

config FREETZ_JLEVEL
	int "Number of jobs to run simultaneously"
	default "2"
	help
		Number of jobs to run simultanesouly

config FREETZ_KERNEL_CROSS
	string
	default "mipsel-unknown-linux-gnu-"

config FREETZ_KERNEL_MAKE_PATH
	string
	default "toolchain/kernel/bin"

source toolchain/Config.in

endmenu

endmenu

Dank & Gruß
 
Die .config, nicht die Config.in. Wie man daran kommt, siehst du im Wiki (Bereich FAQ).
 
achso:

Code:
#
# Automatically generated make config: don't edit
#
FREETZ_HAVE_DOT_CONFIG=y

#
# General --------------------------------
#
FREETZ_AVM_VERSION_7270_04_76=y
# FREETZ_TYPE_300IP_AS_FON is not set
# FREETZ_TYPE_2170 is not set
# FREETZ_TYPE_FON is not set
# FREETZ_TYPE_FON_5010 is not set
# FREETZ_TYPE_FON_5050 is not set
# FREETZ_TYPE_FON_5140 is not set
# FREETZ_TYPE_FON_WLAN is not set
# FREETZ_TYPE_FON_WLAN_7050 is not set
# FREETZ_TYPE_FON_WLAN_7113 is not set
# FREETZ_TYPE_FON_WLAN_7140 is not set
# FREETZ_TYPE_FON_WLAN_7141 is not set
# FREETZ_TYPE_FON_7150 is not set
# FREETZ_TYPE_FON_WLAN_7170 is not set
# FREETZ_TYPE_FON_WLAN_7240 is not set
FREETZ_TYPE_FON_WLAN_7270=y
# FREETZ_TYPE_FON_WLAN_7270_V3 is not set
# FREETZ_TYPE_WLAN_3020 is not set
# FREETZ_TYPE_WLAN_3030 is not set
# FREETZ_TYPE_WLAN_3130 is not set
# FREETZ_TYPE_WLAN_3131 is not set
# FREETZ_TYPE_WLAN_3170 is not set
# FREETZ_TYPE_WLAN_3270 is not set
# FREETZ_TYPE_SPEEDPORT_W501V is not set
# FREETZ_TYPE_CUSTOM is not set
FREETZ_TYPE_FON_WLAN_7270_16MB=y
# FREETZ_TYPE_LABOR is not set
FREETZ_AVM_VERSION_STRING="7270_04.76"
FREETZ_TYPE_LANG_DE=y
# FREETZ_TYPE_LANG_A_CH is not set
# FREETZ_TYPE_LANG_EN is not set
FREETZ_TYPE_LANG_STRING="de"
FREETZ_TYPE_STRING="7270"
FREETZ_INSTALL_BASE=y
FREETZ_REPLACE_BUSYBOX=y
FREETZ_REPLACE_KERNEL_AVAILABLE=y
# FREETZ_REPLACE_KERNEL is not set
FREETZ_SHOW_ADVANCED=y
# FREETZ_TARGET_IPV6_SUPPORT is not set
FREETZ_TARGET_REF="8mb_26"
FREETZ_KERNEL_REF="8mb_26"
FREETZ_KERNEL_LAYOUT="ur8"
FREETZ_KERNEL_MTD_SIZE=246
FREETZ_HAS_PHONE=y
FREETZ_HAS_TAM=y
FREETZ_HAS_WLAN=y
# FREETZ_HAS_USB_CLIENT is not set
FREETZ_HAS_USB_HOST=y
FREETZ_HAS_AVM_INETD=y
FREETZ_HAS_LIBSSL=y

#
# Mod ------------------------------------
#
FREETZ_LANG_DE=y
# FREETZ_LANG_EN is not set
FREETZ_LANG_STRING="de"

#
# Patches
#

#
# Remove Brandings
#
# FREETZ_REMOVE_BRANDING_1und1 is not set
# FREETZ_REMOVE_BRANDING_avm is not set
# FREETZ_REMOVE_HELP is not set
# FREETZ_REMOVE_ASSISTANT is not set
FREETZ_REMOVE_TR069=y
# FREETZ_REMOVE_CHRONYD is not set
FREETZ_PATCH_DSL_EXPERT=y
FREETZ_PATCH_ENUM=y
FREETZ_PATCH_SIGNED=y
FREETZ_PATCH_USBSTORAGE=y
FREETZ_USBSTORAGE_AUTOMOUNT=y
FREETZ_AUTOMOUNT_EXT2=y
FREETZ_AUTOMOUNT_EXT3=y
FREETZ_AUTOMOUNT_NTFS=y
# FREETZ_AUTOMOUNT_REISER_FS is not set
FREETZ_AUTORUN_AUTOEND=y
# FREETZ_PATCH_MAXDEVCOUNT is not set
# FREETZ_PATCH_GETCONS is not set
# FREETZ_REMOVE_SUPPORT is not set
# FREETZ_REMOVE_UPNP is not set
# FREETZ_REMOVE_USERMAN is not set
FREETZ_REMOVE_FTPD=y
# FREETZ_REMOVE_AURA_USB is not set
# FREETZ_REMOVE_AVM_VPN is not set
# FREETZ_REMOVE_DSLD is not set
# FREETZ_REMOVE_CAPIOVERTCP is not set
# FREETZ_REMOVE_DECT is not set
# FREETZ_REMOVE_DTRACE is not set
# FREETZ_REMOVE_VOIP_ISDN is not set
# FREETZ_REMOVE_WLAN is not set
# FREETZ_REMOVE_ANNEX_B_FIRMWARE is not set
# FREETZ_ADD_ANNEX_A_FIRMWARE is not set

#
# Package selection
#

#
# Standard packages
#
# FREETZ_PACKAGE_BFTPD is not set
# FREETZ_PACKAGE_BIRD is not set
# FREETZ_PACKAGE_BRIDGE_UTILS is not set
FREETZ_PACKAGE_CALLMONITOR=y
# FREETZ_PACKAGE_CHECKMAILD is not set
# FREETZ_PACKAGE_CIFSMOUNT is not set
FREETZ_PACKAGE_CPMACCFG=y
# FREETZ_PACKAGE_CURL is not set
# FREETZ_PACKAGE_DECO is not set
FREETZ_PACKAGE_DNSMASQ=y
FREETZ_PACKAGE_DROPBEAR=y
# FREETZ_PACKAGE_DROPBEAR_SERVER_ONLY is not set
FREETZ_PACKAGE_DROPBEAR_WITH_ZLIB=y
FREETZ_PACKAGE_DROPBEAR_SFTP_SERVER=y
FREETZ_PACKAGE_DROPBEAR_DISABLE_HOST_LOOKUP=y
FREETZ_PACKAGE_DTMFBOX=y

#
# CAPI/SIP
#
FREETZ_PACKAGE_DTMFBOX_WITH_CAPI=y
FREETZ_PACKAGE_DTMFBOX_WITH_VOIP=y
FREETZ_PACKAGE_DTMFBOX_WITH_ICE=y

#
# Codecs
#
FREETZ_PACKAGE_DTMFBOX_WITH_G711_CODEC=y
# FREETZ_PACKAGE_DTMFBOX_WITH_SPEEX_CODEC is not set
# FREETZ_PACKAGE_DTMFBOX_WITH_GSM_CODEC is not set

#
# Misc
#
FREETZ_PACKAGE_DTMFBOX_SVN=y
FREETZ_PACKAGE_DTMFBOX_SVN_FORCE_LATEST_REV=y
FREETZ_PACKAGE_DTMFBOX_USE_DIFF_PATCH=y
FREETZ_PACKAGE_DTMFBOX_WITH_WEBPHONE=y
FREETZ_PACKAGE_DTMFBOX_WITH_HELP=y
FREETZ_PACKAGE_DTMFBOX_WITH_ESPEAK=y
FREETZ_PACKAGE_DTMFBOX_WITH_MADPLAY=y
FREETZ_PACKAGE_ESPEAK=y
# FREETZ_PACKAGE_ESPEAK_ALL_LANGUAGES is not set
FREETZ_PACKAGE_FUSE=y
# FREETZ_PACKAGE_INETD is not set
FREETZ_PACKAGE_KNOCK=y
FREETZ_PACKAGE_MC=y
FREETZ_MC_INTERNAL_EDITOR=y
# FREETZ_MC_SUBSHELL is not set
FREETZ_MC_ONLINE_HELP=y
# FREETZ_MC_WITH_NCURSES is not set
# FREETZ_PACKAGE_MINI_FO is not set
# FREETZ_PACKAGE_MTR is not set
# FREETZ_PACKAGE_NANO is not set
# FREETZ_PACKAGE_NETCAT is not set
# FREETZ_PACKAGE_NETSNMP is not set
FREETZ_PACKAGE_NTFS=y
# FREETZ_PACKAGE_OPENNTPD is not set
FREETZ_PACKAGE_OPENVPN=y
FREETZ_PACKAGE_OPENVPN_STATIC=y
FREETZ_PACKAGE_OPENVPN_WITH_LZO=y
# FREETZ_PACKAGE_OPENVPN_WITH_MGMNT is not set
FREETZ_PACKAGE_OPENVPN_ENABLE_SMALL=y
# FREETZ_PACKAGE_PINGTUNNEL is not set
# FREETZ_PACKAGE_PRIVOXY is not set
# FREETZ_PACKAGE_RCAPID is not set
# FREETZ_PACKAGE_SAMBA is not set
FREETZ_PACKAGE_SCREEN=y
# FREETZ_PACKAGE_STUNNEL is not set
FREETZ_PACKAGE_TCPDUMP=y
# FREETZ_PACKAGE_TOR is not set
# FREETZ_PACKAGE_VPNC is not set
FREETZ_PACKAGE_VSFTPD=y
FREETZ_PACKAGE_VSFTPD_WITH_SSL=y
FREETZ_PACKAGE_VSFTPD_STATIC=y

#
# Web interface
#
FREETZ_PACKAGE_AVM_FIREWALL=y
FREETZ_PACKAGE_CPMACCFG_CGI=y
FREETZ_PACKAGE_DOWNLOADER=y
# FREETZ_PACKAGE_NFSD_CGI is not set
FREETZ_PACKAGE_ONLINECHANGED_CGI=y
FREETZ_PACKAGE_RRDSTATS=y
# FREETZ_PACKAGE_SPINDOWN_CGI is not set
FREETZ_PACKAGE_SYSLOGD_CGI=y
# FREETZ_PACKAGE_TRANSMISSION_CGI is not set
# FREETZ_PACKAGE_VIRTUALIP_CGI is not set
FREETZ_PACKAGE_WOL_CGI=y

#
# Debug helpers
#
FREETZ_PACKAGE_LDD=y
FREETZ_PACKAGE_LSOF=y
FREETZ_PACKAGE_LTRACE=y
FREETZ_PACKAGE_NANO_SHELL=y
FREETZ_PACKAGE_PCIUTILS=y
FREETZ_PACKAGE_PCIUTILS_IDS=y
FREETZ_PACKAGE_STRACE=y
FREETZ_PACKAGE_USBUTILS=y
FREETZ_PACKAGE_USBUTILS_IDS=y

#
# Testing
#
# FREETZ_PACKAGE_APACHE is not set
# FREETZ_PACKAGE_BASH is not set
# FREETZ_PACKAGE_BFUSB is not set
# FREETZ_PACKAGE_BIP is not set
FREETZ_PACKAGE_BLUEZ_UTILS=y
# FREETZ_PACKAGE_BR2684CTL is not set
# FREETZ_PACKAGE_CRYPTSETUP is not set
# FREETZ_PACKAGE_CTORRENT is not set
# FREETZ_PACKAGE_DAVFS2 is not set
# FREETZ_PACKAGE_DEBOOTSTRAP is not set
# FREETZ_PACKAGE_DIGITEMP is not set
# FREETZ_PACKAGE_DNS2TCP is not set
# FREETZ_PACKAGE_DTACH is not set
FREETZ_PACKAGE_E2FSPROGS=y
FREETZ_E2FSPROGS_E2FSCK=y
FREETZ_E2FSPROGS_E2MAKING=y
FREETZ_E2FSPROGS_E2TUNING=y
# FREETZ_E2FSPROGS_E2DEBUG is not set
# FREETZ_E2FSPROGS_E2FIXING is not set
FREETZ_PACKAGE_EMPTY=y
FREETZ_PACKAGE_FSTYP=y
# FREETZ_PACKAGE_GNU_MAKE is not set
# FREETZ_PACKAGE_HD_IDLE is not set
# FREETZ_PACKAGE_HTTPTUNNEL is not set
# FREETZ_PACKAGE_INADYN_MT is not set
# FREETZ_PACKAGE_INOTIFY_TOOLS is not set
# FREETZ_PACKAGE_IODINE is not set
# FREETZ_PACKAGE_IPTRAF is not set
# FREETZ_PACKAGE_IRSSI is not set
# FREETZ_PACKAGE_JAMVM is not set
# FREETZ_PACKAGE_LIGHTTPD is not set
# FREETZ_PACKAGE_LYNX is not set
# FREETZ_PACKAGE_LUA is not set
FREETZ_PACKAGE_MADPLAY=y
# FREETZ_PACKAGE_MATRIXTUNNEL is not set
# FREETZ_PACKAGE_MCABBER is not set
# FREETZ_PACKAGE_MDEV is not set
# FREETZ_PACKAGE_MICROPERL is not set
# FREETZ_PACKAGE_MODULE_INIT_TOOLS is not set
# FREETZ_PACKAGE_NAGIOS is not set
# FREETZ_PACKAGE_NDAS is not set
# FREETZ_PACKAGE_NFS_UTILS is not set
FREETZ_PACKAGE_NMAP=y
# FREETZ_PACKAGE_OBEXFTP is not set
FREETZ_PACKAGE_OPENSSH=y
FREETZ_PACKAGE_OPENSSH_STATIC=y
# FREETZ_PACKAGE_OWFS is not set
# FREETZ_PACKAGE_PHP is not set
# FREETZ_PACKAGE_PORTMAP is not set
# FREETZ_PACKAGE_QUAGGA is not set
FREETZ_PACKAGE_RRDTOOL=y
FREETZ_PACKAGE_RSYNC=y
# FREETZ_PACKAGE_RUBY is not set
# FREETZ_PACKAGE_SABLEVM_SDK is not set
# FREETZ_PACKAGE_SER2NET is not set
# FREETZ_PACKAGE_SISPMCTL is not set
# FREETZ_PACKAGE_SLURM is not set
# FREETZ_PACKAGE_SOCAT is not set
# FREETZ_PACKAGE_SQLITE is not set
# FREETZ_PACKAGE_SQUID is not set
# FREETZ_PACKAGE_STREAMRIPPER is not set
# FREETZ_PACKAGE_SYNCE_DCCM is not set
# FREETZ_PACKAGE_SYNCE_SERIAL is not set
# FREETZ_PACKAGE_TCP_WRAPPERS is not set
# FREETZ_PACKAGE_TCPPROXY is not set
# FREETZ_PACKAGE_TINYPROXY is not set
# FREETZ_PACKAGE_TRANSMISSION is not set
# FREETZ_PACKAGE_TREE is not set
# FREETZ_PACKAGE_USBROOT is not set
# FREETZ_PACKAGE_VIM is not set
# FREETZ_PACKAGE_WGET is not set
# FREETZ_PACKAGE_WOL is not set
# FREETZ_PACKAGE_WPUT is not set
# FREETZ_PACKAGE_XPDF is not set
FREETZ_PACKAGE_XRELAYD=y
FREETZ_SHOW_UNSTABLE_PACKAGES=y

#
# Unstable
#
# FREETZ_PACKAGE_COLLECTD is not set
# FREETZ_PACKAGE_HPLIP is not set
# FREETZ_PACKAGE_HP_UTILS is not set
# FREETZ_PACKAGE_IPTABLES is not set

#
# SANE
#
FREETZ_PACKAGE_SANE_BACKENDS=y
FREETZ_LIB_libsane=y
FREETZ_SANE_sane_find_scanner=y
FREETZ_SANE_scanimage=y
FREETZ_SANE_BACKEND_dll=y
# FREETZ_SANE_BACKEND_abaton is not set
# FREETZ_SANE_BACKEND_agfafocus is not set
# FREETZ_SANE_BACKEND_apple is not set
# FREETZ_SANE_BACKEND_artec is not set
# FREETZ_SANE_BACKEND_artec_eplus48u is not set
# FREETZ_SANE_BACKEND_as6e is not set
# FREETZ_SANE_BACKEND_avision is not set
# FREETZ_SANE_BACKEND_bh is not set
# FREETZ_SANE_BACKEND_canon is not set
# FREETZ_SANE_BACKEND_canon630u is not set
# FREETZ_SANE_BACKEND_cardscan is not set
# FREETZ_SANE_BACKEND_coolscan is not set
# FREETZ_SANE_BACKEND_coolscan2 is not set
# FREETZ_SANE_BACKEND_dc25 is not set
# FREETZ_SANE_BACKEND_dmc is not set
# FREETZ_SANE_BACKEND_epjitsu is not set
# FREETZ_SANE_BACKEND_epson is not set
# FREETZ_SANE_BACKEND_epson2 is not set
# FREETZ_SANE_BACKEND_fujitsu is not set
# FREETZ_SANE_BACKEND_genesys is not set
# FREETZ_SANE_BACKEND_gt68xx is not set
# FREETZ_SANE_BACKEND_hp is not set
# FREETZ_SANE_BACKEND_hp3500 is not set
# FREETZ_SANE_BACKEND_hp3900 is not set
# FREETZ_SANE_BACKEND_hp4200 is not set
# FREETZ_SANE_BACKEND_hp5400 is not set
# FREETZ_SANE_BACKEND_hp5590 is not set
# FREETZ_SANE_BACKEND_hpljm1005 is not set
# FREETZ_SANE_BACKEND_hs2p is not set
# FREETZ_SANE_BACKEND_ibm is not set
# FREETZ_SANE_BACKEND_leo is not set
# FREETZ_SANE_BACKEND_lexmark is not set
# FREETZ_SANE_BACKEND_ma1509 is not set
# FREETZ_SANE_BACKEND_matsushita is not set
# FREETZ_SANE_BACKEND_microtek is not set
# FREETZ_SANE_BACKEND_microtek2 is not set
# FREETZ_SANE_BACKEND_mustek is not set
# FREETZ_SANE_BACKEND_mustek_usb is not set
# FREETZ_SANE_BACKEND_nec is not set
# FREETZ_SANE_BACKEND_niash is not set
# FREETZ_SANE_BACKEND_pie is not set
FREETZ_SANE_BACKEND_pixma=y
# FREETZ_SANE_BACKEND_plustek is not set
# FREETZ_SANE_BACKEND_ricoh is not set
# FREETZ_SANE_BACKEND_s9036 is not set
# FREETZ_SANE_BACKEND_sceptre is not set
# FREETZ_SANE_BACKEND_sharp is not set
# FREETZ_SANE_BACKEND_sm3600 is not set
# FREETZ_SANE_BACKEND_sm3840 is not set
# FREETZ_SANE_BACKEND_snapscan is not set
# FREETZ_SANE_BACKEND_sp15c is not set
# FREETZ_SANE_BACKEND_st400 is not set
# FREETZ_SANE_BACKEND_stv680 is not set
# FREETZ_SANE_BACKEND_tamarack is not set
# FREETZ_SANE_BACKEND_teco1 is not set
# FREETZ_SANE_BACKEND_teco2 is not set
# FREETZ_SANE_BACKEND_teco3 is not set
# FREETZ_SANE_BACKEND_test is not set
# FREETZ_SANE_BACKEND_u12 is not set
# FREETZ_SANE_BACKEND_umax is not set
# FREETZ_SANE_BACKEND_umax_pp is not set
# FREETZ_SANE_BACKEND_umax1220u is not set
# FREETZ_SANE_BACKEND_plustek_pp is not set
# FREETZ_SANE_BACKEND_dc210 is not set
# FREETZ_SANE_BACKEND_dc240 is not set
# FREETZ_SANE_BACKEND_qcam is not set
# FREETZ_SANE_BACKEND_v4l is not set
# FREETZ_SANE_BACKEND_net is not set
# FREETZ_SANE_BACKEND_mustek_usb2 is not set
# FREETZ_PACKAGE_TINC is not set
# FREETZ_PACKAGE_USBIP is not set
FREETZ_PACKAGE_HASERL=y
FREETZ_PACKAGE_MODCGI=y

#
# Advanced options
#
# FREETZ_DL_OVERRIDE is not set
FREETZ_DL_SITE="ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan_7270/firmware/deutsch"
FREETZ_DL_SOURCE="FRITZ.Box_Fon_WLAN_7270.54.04.76.image"

#
# Freetz package download sites
#
FREETZ_MOD_DL_NUM_SITES="5"

#
# Download site #1 - default: http://freetz.3dfxatwork.de
#
FREETZ_MOD_DL_SITE_1="http://freetz.3dfxatwork.de"

#
# Download site #2 - default: http://freetz.wirsind.info
#
FREETZ_MOD_DL_SITE_2="http://freetz.wirsind.info"

#
# Download site #3 - default: http://freetz.magenbrot.net
#
FREETZ_MOD_DL_SITE_3="http://freetz.magenbrot.net"

#
# Download site #4 - default: empty (reserved for later use)
#
FREETZ_MOD_DL_SITE_4=""

#
# Download site #5 - user-defined
#
FREETZ_MOD_DL_SITE_5=""
FREETZ_SECURITY_LEVEL=1
FREETZ_VERBOSITY_LEVEL=2
FREETZ_FAVICON_NONE=y
# FREETZ_FAVICON_DSL123 is not set
# FREETZ_FAVICON_CUMA is not set
# FREETZ_FAVICON_HANSOLO is not set
FREETZ_FAVICON_STRING="none"
FREETZ_SUBVERSION_STRING=y
FREETZ_DEVELOPER_VERSION_STRING=y
FREETZ_STATUS_STYLE=y
FREETZ_AVMPLUGINS_ENABLED=y

#
# Plugin selection
#

#
# Select plugin(s) for insertion
#
FREETZ_AVMPLUGINS_MEDIASRV=y
# FREETZ_AVMPLUGINS_MINI is not set
# FREETZ_AVMPLUGINS_NTFS is not set
FREETZ_AVMPLUGINS_ONLINEPB=y
FREETZ_AVMPLUGINS_SAMBA=y
FREETZ_AVMPLUGINS_TAM=y
FREETZ_AVMPLUGINS_WEBDAV=y

#
# External
#
# EXTERNAL_ENABLED is not set
# FREETZ_SQUASHFS_BLOCKSIZE_ORIG is not set
# FREETZ_SQUASHFS_BLOCKSIZE_16384 is not set
# FREETZ_SQUASHFS_BLOCKSIZE_32768 is not set
FREETZ_SQUASHFS_BLOCKSIZE_65536=y
# FREETZ_SQUASHFS_BLOCKSIZE_131072 is not set

#
# BusyBox options
#
# FREETZ_BUSYBOX_AR is not set
FREETZ_BUSYBOX_DIFF=y
FREETZ_BUSYBOX_INETD=y
# FREETZ_BUSYBOX_IP is not set
FREETZ_BUSYBOX_PATCH=y
FREETZ_BUSYBOX_START_STOP_DAEMON=y
FREETZ_BUSYBOX_WGET=y
# FREETZ_BUSYBOX_LESS is not set
FREETZ_BUSYBOX_NICE=y
# FREETZ_BUSYBOX_LS_COLOR is not set
# FREETZ_BUSYBOX_FASTPROC is not set
# FREETZ_BUSYBOX_KEYS is not set
# FREETZ_BUSYBOX_BRCTL is not set
# FREETZ_BUSYBOX_UDHCPD is not set
# FREETZ_BUSYBOX_SEQ is not set
# FREETZ_BUSYBOX_TAC is not set
# FREETZ_BUSYBOX_MDEV_RENAME is not set
# FREETZ_BUSYBOX_MOUNT_HELPERS is not set
# FREETZ_BUSYBOX_MOUNT_LABEL is not set
# FREETZ_BUSYBOX_VOLUMEID is not set

#
# Kernel modules
#

#
# crypto
#
# FREETZ_MODULE_crypto_algapi is not set
# FREETZ_MODULE_arc4 is not set
# FREETZ_MODULE_blkcipher is not set
# FREETZ_MODULE_cbc is not set
# FREETZ_MODULE_cryptomgr is not set
# FREETZ_MODULE_sha1 is not set
# FREETZ_MODULE_sha256 is not set

#
# drivers
#
# FREETZ_MODULE_loop is not set
# FREETZ_MODULE_nbd is not set
# FREETZ_MODULE_cdrom is not set
# FREETZ_MODULE_capiconn is not set
# FREETZ_MODULE_nand is not set
# FREETZ_MODULE_ohio_nand is not set
# FREETZ_MODULE_dummy is not set
# FREETZ_MODULE_ppp_async is not set
# FREETZ_MODULE_ppp_deflate is not set
# FREETZ_MODULE_ppp_generic is not set
# FREETZ_MODULE_pppoe is not set
# FREETZ_MODULE_pppox is not set
# FREETZ_MODULE_ppp_mppe_mppc is not set
# FREETZ_MODULE_scsi_mod is not set
# FREETZ_MODULE_sd_mod is not set
# FREETZ_MODULE_sg is not set
# FREETZ_MODULE_sr_mod is not set
# FREETZ_MODULE_slhc is not set
# FREETZ_MODULE_musb_hdrc is not set
# FREETZ_MODULE_usblp is not set
# FREETZ_MODULE_usb_storage is not set
# FREETZ_MODULE_usbmon is not set
FREETZ_MODULE_usbcore=y
# FREETZ_MODULE_usbip is not set
# FREETZ_MODULE_usbip_common_mod is not set
# FREETZ_MODULE_usbserial is not set
# FREETZ_MODULE_ipaq is not set
# FREETZ_MODULE_pl2303 is not set
# FREETZ_MODULE_ftdi_sio is not set
FREETZ_MODULE_hci_usb=y
# FREETZ_MODULE_bfusb is not set
# FREETZ_MODULE_firmware_class is not set
# FREETZ_MODULE_dm_mod is not set
# FREETZ_MODULE_dm_crypt is not set

#
# fs
#
# FREETZ_MODULE_cifs is not set
# FREETZ_MODULE_coda is not set
FREETZ_MODULE_ext3=y
FREETZ_MODULE_ext2=y
# FREETZ_MODULE_fat is not set
# FREETZ_MODULE_hfs is not set
# FREETZ_MODULE_hfsplus is not set
FREETZ_MODULE_fuse=y
FREETZ_MODULE_jbd=y
# FREETZ_MODULE_lockd is not set
# FREETZ_MODULE_mini_fo is not set
# FREETZ_MODULE_minix is not set

#
# ndas
#
# FREETZ_MODULE_ndas_block is not set
# FREETZ_MODULE_ndas_core is not set
# FREETZ_MODULE_ndas_sal is not set
# FREETZ_MODULE_nfsd is not set
# FREETZ_MODULE_exportfs is not set
# FREETZ_MODULE_nfs is not set
# FREETZ_MODULE_nls_cp437 is not set
# FREETZ_MODULE_nls_cp852 is not set
# FREETZ_MODULE_nls_iso8859_15 is not set
# FREETZ_MODULE_nls_iso8859_1 is not set
# FREETZ_MODULE_nls_utf8 is not set
# FREETZ_MODULE_ntfs is not set
# FREETZ_MODULE_reiserfs is not set
# FREETZ_MODULE_smbfs is not set
# FREETZ_MODULE_udf is not set
# FREETZ_MODULE_unionfs is not set
# FREETZ_MODULE_vfat is not set
# FREETZ_MODULE_msdods is not set
# FREETZ_MODULE_jffs2 is not set
FREETZ_MODULE_mbcache=y

#
# lib
#
# FREETZ_MODULE_crc_ccitt is not set

#
# net
#
FREETZ_MODULE_bluetooth=y
FREETZ_MODULE_bnep=y
FREETZ_MODULE_l2cap=y
FREETZ_MODULE_rfcomm=y
# FREETZ_MODULE_sunrpc is not set

#
# Shared libraries
#
# FREETZ_STRIP_LIBRARIES is not set

#
# Libraries -------------------------------
#
# FREETZ_LIB_libatm is not set
FREETZ_LIB_libbluetooth=y
# FREETZ_LIB_libopenobex is not set

#
# Crypto & SSL
#

#
# GnuPG ----------------------------------
#
# FREETZ_LIB_libgpg_error is not set
# FREETZ_LIB_libgcrypt is not set

#
# SSL ------------------------------------
#
# FREETZ_LIB_libcyassl is not set
# FREETZ_LIB_libmatrixssl is not set
FREETZ_LIB_libxyssl=y
# FREETZ_LIB_libcrypto is not set

#
# Data compression
#
# FREETZ_LIB_liblzo2 is not set
FREETZ_LIB_libz=y

#
# Graphics & fonts
#
FREETZ_LIB_libfreetype=y
FREETZ_LIB_libart_lgpl_2=y
FREETZ_LIB_libjpeg=y
FREETZ_LIB_libpng12=y

#
# uClibc
#
FREETZ_LIB_ld_uClibc=y
FREETZ_LIB_libcrypt=y
FREETZ_LIB_libdl=y
FREETZ_LIB_libm=y
FREETZ_LIB_libnsl=y
FREETZ_LIB_libpthread=y
# FREETZ_LIB_libresolv is not set
FREETZ_LIB_librt=y
# FREETZ_LIB_libthread_db is not set
FREETZ_LIB_libuClibc=y
FREETZ_LIB_libutil=y
FREETZ_LIB_libuClibc__=y
FREETZ_LIB_libgcc_s=y
FREETZ_LIB_libglib_1=y

#
# GLib2
#
# FREETZ_LIB_libglib_2 is not set
# FREETZ_LIB_libgobject_2 is not set
# FREETZ_LIB_libgmodule_2 is not set
# FREETZ_LIB_libgthread_2 is not set

#
# ncurses
#
FREETZ_LIB_libncurses=y

#
# terminfo database
#

#
# Select terminfo database entries to install (see help of 'Show all items')
#
FREETZ_SHARE_terminfo=y
# FREETZ_SHARE_terminfo_showall is not set
FREETZ_SHARE_terminfo_ansi=y
FREETZ_SHARE_terminfo_gnome=y
FREETZ_SHARE_terminfo_konsole=y
FREETZ_SHARE_terminfo_linux=y
FREETZ_SHARE_terminfo_putty=y
FREETZ_SHARE_terminfo_rxvt=y
FREETZ_SHARE_terminfo_screen=y
FREETZ_SHARE_terminfo_screenMINUSw=y
FREETZ_SHARE_terminfo_sun=y
FREETZ_SHARE_terminfo_vt100=y
FREETZ_SHARE_terminfo_vt102=y
FREETZ_SHARE_terminfo_vt102MINUSnsgr=y
FREETZ_SHARE_terminfo_vt102MINUSw=y
FREETZ_SHARE_terminfo_vt200=y
FREETZ_SHARE_terminfo_vt220=y
FREETZ_SHARE_terminfo_vt52=y
FREETZ_SHARE_terminfo_xterm=y
FREETZ_SHARE_terminfo_xtermMINUScolor=y
FREETZ_SHARE_terminfo_xtermMINUSxfree86=y
# FREETZ_LIB_libform is not set
# FREETZ_LIB_libmenu is not set
# FREETZ_LIB_libpanel is not set
FREETZ_LIB_libcapi20=y
# FREETZ_LIB_libcurl is not set
# FREETZ_LIB_libevent is not set
# FREETZ_LIB_libexpat is not set
FREETZ_LIB_libid3tag=y
# FREETZ_LIB_libltdl is not set
FREETZ_LIB_libmad=y
# FREETZ_LIB_libneon is not set
FREETZ_LIB_libpcap=y

#
# Readline
#
# FREETZ_LIB_libreadline is not set
# FREETZ_LIB_libhistory is not set
# FREETZ_LIB_libsqlite3 is not set
FREETZ_LIB_libusb=y
FREETZ_LIB_libelf=y
# FREETZ_LIB_libintl is not set
# FREETZ_LIB_libiconv is not set
# FREETZ_LIB_libftdi is not set
# FREETZ_LIB_libsynce is not set
# FREETZ_LIB_libsysfs is not set
FREETZ_LIB_libpopt=y
# FREETZ_LIB_libdevmapper is not set
FREETZ_LIB_libfreetz=y
# FREETZ_LIB_libpcre is not set
# FREETZ_LIB_libpcreposix is not set

#
# Compiler options
#
FREETZ_DOWNLOAD_TOOLCHAIN=y
# FREETZ_BUILD_TOOLCHAIN is not set
FREETZ_TARGET_CROSS="mipsel-linux-uclibc-"
FREETZ_TARGET_MAKE_PATH="toolchain/target/bin"
FREETZ_TARGET_CFLAGS="-Os -pipe -march=4kc -Wa,--trap"
FREETZ_JLEVEL=2
FREETZ_KERNEL_CROSS="mipsel-unknown-linux-gnu-"
FREETZ_KERNEL_MAKE_PATH="toolchain/kernel/bin"
# FREETZ_KERNEL_VERSION_2_6_13_1 is not set
FREETZ_KERNEL_VERSION_2_6_19_2=y
FREETZ_KERNEL_VERSION="2.6.19.2"
# FREETZ_TARGET_UCLIBC_VERSION_0_9_28 is not set
FREETZ_TARGET_UCLIBC_VERSION_0_9_29=y
# FREETZ_TARGET_UCLIBC_VERSION_0_9_30 is not set
# FREETZ_TARGET_COMPILER_GCC_4_1_2_UCLIBC_0_9_28 is not set
# FREETZ_TARGET_COMPILER_GCC_4_2_4_UCLIBC_0_9_28 is not set
FREETZ_TARGET_COMPILER_GCC_4_2_4_UCLIBC_0_9_29=y
# FREETZ_TARGET_COMPILER_GCC_4_3_3_UCLIBC_0_9_29 is not set
# FREETZ_TARGET_COMPILER_GCC_4_3_3_UCLIBC_0_9_30 is not set
FREETZ_TARGET_GCC_VERSION="4.2.4"
FREETZ_TARGET_UCLIBC_VERSION="0.9.29"
FREETZ_TARGET_BINUTILS_VERSION="2.18"
FREETZ_TARGET_UCLIBC_REF="mod"
# FREETZ_STATIC_TOOLCHAIN is not set
FREETZ_TARGET_GXX=y
FREETZ_TARGET_CCACHE=y
# FREETZ_TARGET_NLS is not set
FREETZ_TARGET_LFS=y
FREETZ_KERNEL_GCC_VERSION="3.4.6"
FREETZ_KERNEL_BINUTILS_VERSION="2.17.50.0.17"
# FREETZ_TARGET_TOOLCHAIN is not set

#
# GNU debugger (gdb)
#
# FREETZ_PACKAGE_GDB is not set
# FREETZ_PACKAGE_GDB_SERVER is not set
# FREETZ_PACKAGE_GDB_HOST is not set
 
Ich würd ja spontan auf ersetzte SSL-Lib tippen. Aber du hast so viel in deinem Image, da würde ich Paket für Paket testen, ab wann der Crash kommt. Die SSL-Pakete zum Schluss.
 
Die libcrypto haben ich zumindest nicht ersetzt, da ich damit schon immer Probleme hatte und deswegen alles was SSL braucht statisch gelinkt hab.
Zusätzlich ist nur die libxyssl drin für xrelayd, um per SSL auf die FreetzGUI zu bekommen.
Was mich nur verwundert ist, dass in r3464 diese Konfiguration funktioniert.
 

Neueste Beiträge

Statistik des Forums

Themen
246,274
Beiträge
2,249,295
Mitglieder
373,863
Neuestes Mitglied
RuthBeatty
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.