comment "Web menu patches ------------------------" config FREETZ_PATCH_VCC bool "Patch 2nd VCC" depends on FREETZ_HAS_PHONE && FREETZ_TYPE_LANG_DE default n help Patches the setting for 2nd VCC into web menu. It also adds two additional settings (PCR & SCR) not available in the original AVM firmware. Please also note that it is not possible to change the value of traffic_class setting via the web-interface. You have to do it some other way (e.g. using FBEditor or nvi ar7.cfg). Warning: Please read up on what each VCC setting means before setting/changing it. Besides not working wrong values may cause additional costs for you as your provider may treat it as simultaneous dial-in attempts (Doppeleinwahl). The correct values for an 1&1-Komplettanschluss are: VPI = 1; VCI = 35; traffic_class = atm_traffic_class_CBR; pcr = 603; scr = 0; config FREETZ_PATCH_ATA bool "Patch ATA" depends on \ FREETZ_TYPE_SPEEDPORT_W501V default n help Patches the ATA mode configuration pages into the web menu. config FREETZ_PATCH_ENUM bool "Patch enum" depends on \ FREETZ_TYPE_LANG_DE && \ ( \ FREETZ_TYPE_FON || \ FREETZ_TYPE_300IP_AS_FON || \ FREETZ_TYPE_FON_5050 || \ FREETZ_TYPE_FON_WLAN || \ FREETZ_TYPE_FON_WLAN_7050 || \ FREETZ_TYPE_FON_WLAN_7140 \ ) default n help Patches the enum 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_7320 \ ) default n help Patches the extended dsl-settings from labor-dsl into all-in-one-firmwares. config FREETZ_ADD_REGEXT_GUI bool "Patch GUI to enable external SIP connections" depends on \ FREETZ_TYPE_FON_WLAN_7570 || \ ( \ FREETZ_TYPE_FON_WLAN_7170 || \ FREETZ_TYPE_FON_WLAN_7240 || \ FREETZ_TYPE_FON_WLAN_7270 || \ FREETZ_TYPE_FON_WLAN_7390 \ ) && FREETZ_TYPE_LANG_DE default n help Patches the WebUI and add a checkbox to enable setting "reg_from_outside" in the voip.conf. #config FREETZ_PATCH_INTERNATIONAL # bool "Patch international" # depends on FREETZ_HAS_PHONE && FREETZ_TYPE_LANG_DE # default y # help # Reveals some options from the international firmware in the web menu. config FREETZ_PATCH_ALARMCLOCK bool "Patch third alarm-clock" depends on ( \ FREETZ_TYPE_FON_WLAN_7150 || \ FREETZ_TYPE_FON_WLAN_7112 || \ FREETZ_TYPE_FON_WLAN_7141 || \ (FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_DE) || \ FREETZ_TYPE_FON_WLAN_7240 || \ (FREETZ_TYPE_FON_WLAN_7270 && ! FREETZ_TYPE_LABOR_PREVIEW) || \ FREETZ_TYPE_FON_WLAN_7320 || \ FREETZ_TYPE_FON_WLAN_7340 || \ (FREETZ_TYPE_FON_WLAN_7390 && ! FREETZ_TYPE_LABOR_PREVIEW) || \ FREETZ_TYPE_FON_WLAN_7570 \ ) default n help Adds a third alarm-clock to AVM-Webinterface config FREETZ_PATCH_SIGNED bool "Patch web menu signed message" default n help Hides the "unsupported changes" message from the web interface. if FREETZ_HAS_USB_HOST comment "USB mounting ----------------------------" config FREETZ_PATCH_FREETZMOUNT bool "FREETZMOUNT: Patch AVMs hotplug scripts, USB storage names, ..." select FREETZ_USBSTORAGE_AUTOMOUNT select FREETZ_BUSYBOX_BLKID if FREETZ_REMOVE_AVM_E2FSPROGS || ! FREETZ_HAS_AVM_E2FSPROGS select FREETZ_BUSYBOX_BLKID_TYPE select FREETZ_BUSYBOX_VOLUMEID default y help 1. Replaces and deselects usb-storage patch. - The names of USB storage directories can be defined by WebIF (default uStorXY) (or by volume LABEL). 2. Replaces and deselects autorun.sh/autoend.sh patch. - autorun/autoend behaviour can be activated/deactivated via WebIF. - autorun/autoend are useful to start/terminate applications located on USB devices, eg apache, samba or even swapfiles, after connecting or before disconnecting of USB devices. 3. Auto-mounted USB storage devices will be fully accessible, eg 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. 4. Avoid deleting whole filesystems on USB devices. 5. Enhanced behaviour during mounting and unmounting. 6. Provides mount-by-label feature. It is highly recommended to select this patch. config FREETZ_USBSTORAGE_AUTOMOUNT bool "Automount filesystems" depends on FREETZ_PATCH_FREETZMOUNT default y help The filesystems ext2, ext3, ext4, fat, hfs, hfs+, ntfs and reiserfs and swap are mounted automatically. Detection is done by blkid utility . It depends on the original firmware which of the following points you have to select. if FREETZ_USBSTORAGE_AUTOMOUNT config FREETZ_AUTOMOUNT_EXT2 bool "ext2" select FREETZ_BUSYBOX_VOLUMEID_EXT select FREETZ_MODULE_ext2 default n help This adds ext2 module to your firmware. config FREETZ_AUTOMOUNT_EXT3 bool "ext3" select FREETZ_BUSYBOX_VOLUMEID_EXT select FREETZ_MODULE_ext3 default n help This adds ext3 module to your firmware. config FREETZ_AUTOMOUNT_EXT4 bool "ext4" depends on FREETZ_KERNEL_VERSION_2_6_28 select FREETZ_BUSYBOX_VOLUMEID_EXT select FREETZ_MODULE_ext4 default n help This adds ext4 module to your firmware. config FREETZ_AUTOMOUNT_FAT bool "fat" select FREETZ_BUSYBOX_VOLUMEID_FAT default n help This enables detection of fat partitions. config FREETZ_AUTOMOUNT_HFS bool "HFS" select FREETZ_BUSYBOX_VOLUMEID_HFS select FREETZ_MODULE_hfs default n help This adds hfs module to your firmware. config FREETZ_AUTOMOUNT_HFS_PLUS bool "HFS+" select FREETZ_BUSYBOX_VOLUMEID_HFS select FREETZ_MODULE_hfsplus default n help This adds hfs+ module to your firmware. config FREETZ_AUTOMOUNT_LUKS bool "luks" select FREETZ_BUSYBOX_VOLUMEID_LUKS default n help This enables detection (not mounting) of luks partitions. config FREETZ_AUTOMOUNT_NTFS bool "NTFS" select FREETZ_PACKAGE_NTFS if ! FREETZ_HAS_AVM_NTFS select FREETZ_BUSYBOX_VOLUMEID_NTFS default n help This adds ntfs-3g mount helper to your firmware. config FREETZ_AUTOMOUNT_REISER_FS bool "ReiserFS" select FREETZ_BUSYBOX_VOLUMEID_REISERFS select FREETZ_MODULE_reiserfs default n help This adds reiserfs module to your firmware. config FREETZ_AUTOMOUNT_LINUXSWAP bool "swap" select FREETZ_BUSYBOX_VOLUMEID_LINUXSWAP default n help This enables detection of linux-swap partitions. endif config FREETZ_PATCH_FREETZMOUNT_FINDFS bool "Provide mount-by-label feature" depends on FREETZ_PATCH_FREETZMOUNT select FREETZ_BUSYBOX_FINDFS default n help This option selects findfs which is required for the optional mount-by-label feature. config FREETZ_PATCH_MAXDEVCOUNT bool "Raise the count of connectable usb device to 9" default n help Use this patch if you would connect more than 3 device to the box config FREETZ_PATCH_MULTIPLE_PRINTERS bool "Add support for multiple printers" depends on ! FREETZ_REMOVE_PRINTSERV && \ ( \ ( FREETZ_TYPE_FON_WLAN_7140 && ! FREETZ_TYPE_LANG_DE ) || \ FREETZ_TYPE_FON_WLAN_7570 || \ FREETZ_TYPE_FON_5124 || \ FREETZ_TYPE_2170 || \ FREETZ_TYPE_WLAN_3131 || \ FREETZ_TYPE_WLAN_3170 || \ 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_LABOR_PREVIEW) || \ FREETZ_TYPE_FON_WLAN_7340 || \ (FREETZ_TYPE_FON_WLAN_7390 && ! FREETZ_TYPE_LABOR_PREVIEW) || \ FREETZ_TYPE_WLAN_3270 || \ FREETZ_TYPE_WLAN_3270_V3 \ ) # no patch available atm: 7140_DE 2070 3070 3050 3130 default n help Use this patch if you want to use more than one printer. endif comment "Removings -------------------------------" config FREETZ_REMOVE_ANNEX_A_FIRMWARE bool "Remove Annex A firmware file" depends on \ FREETZ_TYPE_FON_WLAN_7270_V2 || \ FREETZ_TYPE_FON_WLAN_7270_V3 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_V1 || \ FREETZ_TYPE_FON_WLAN_7270_V2 || \ 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. menu "Remove v1/v2 piglet file(s)" depends on FREETZ_SHOW_ADVANCED && \ ( \ (FREETZ_TYPE_FON_WLAN_7170 && ! FREETZ_TYPE_ALIEN_HARDWARE) || \ FREETZ_TYPE_SPEEDPORT_W701V_7170 || \ FREETZ_TYPE_SPEEDPORT_W900V_7170 \ ) config FREETZ_REMOVE_PIGLET_V1 bool "Remove v1 piglet file(s)" help The firmware of this model contains double piglet files. Which instance is needed depends on the hardware version (v1 or v2) of your box. You can safely remove the unneeded instance. Hint: If "echo $HWRevision_BitFileCount" returns "1" you could select this patch. config FREETZ_REMOVE_PIGLET_V2 bool "Remove v2 piglet file(s)" help The firmware of this model contains double piglet files. Which instance is needed depends on the hardware version (v1 or v2) of your box. You can safely remove the unneeded instance. Hint: If "echo $HWRevision_BitFileCount" returns "" (nothing) you could select this patch. endmenu comment "WARNING: Both (v1 and v2) piglet files are selected for removal." depends on \ FREETZ_REMOVE_PIGLET_V1 && \ FREETZ_REMOVE_PIGLET_V2 menu "Remove ISDN/POTS piglet file(s) (EXPERIMENTAL)" depends on FREETZ_SHOW_ADVANCED && \ ( \ FREETZ_TYPE_FON_5113 || \ FREETZ_TYPE_FON_WLAN_7113 || \ FREETZ_TYPE_FON_WLAN_7240 || \ FREETZ_TYPE_FON_WLAN_7340 || \ FREETZ_TYPE_5113_7170 || \ FREETZ_TYPE_7113_7170 \ ) config FREETZ_REMOVE_PIGLET_ISDN bool "Remove ISDN piglet file(s) (EXPERIMENTAL)" help The firmware of this model contains separate piglet files for ISDN and POTS. Depending on your type of fixed line usage you can safely remove the unneeded bitfile(s). Hint: If you are using POTS fixed line you could select this patch. config FREETZ_REMOVE_PIGLET_POTS bool "Remove POTS piglet file(s) (EXPERIMENTAL)" help The firmware of this model contains separate piglet files for ISDN and POTS. Depending on your type of fixed line usage you can safely remove the unneeded bitfile(s). Hint: If you are using ISDN fixed line you could select this patch. endmenu comment "WARNING: Both (ISDN and POTS) piglet files are selected for removal." depends on \ FREETZ_REMOVE_PIGLET_ISDN && \ FREETZ_REMOVE_PIGLET_POTS config FREETZ_REMOVE_ASSISTANT bool "Remove assistant" default n depends on \ ! ( \ ( \ FREETZ_TYPE_FON_5124 || \ FREETZ_TYPE_FON_WLAN_7140 || \ FREETZ_TYPE_FON_WLAN_7170 \ ) \ && FREETZ_TYPE_LANG_EN \ ) help Removes the installation assistant from the web menu. config FREETZ_REMOVE_AURA_USB bool "Remove aura usb" default n depends on FREETZ_SHOW_ADVANCED && FREETZ_HAS_USB_HOST 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_USB_MODULE bool "Remove avalanche_usb.ko" depends on FREETZ_SHOW_ADVANCED && FREETZ_HAS_USB_CLIENT default n help Removes avalanche_usb.ko to save 60kB uncompressed space. config FREETZ_REMOVE_NAS bool "Remove AVM NAS Webinterface" default n depends on FREETZ_HAS_NAS && FREETZ_TYPE_LANG_DE help Removes the AVM NAS Webinterface and internal memory file (saves about 390 KB in compressed image). config FREETZ_REMOVE_AVM_VPN bool "Remove AVM vpn" default n depends on \ FREETZ_SHOW_ADVANCED && \ ( \ FREETZ_TYPE_2170 || \ FREETZ_TYPE_FON_7150 || \ (FREETZ_TYPE_FON_WLAN_7170 && FREETZ_TYPE_LANG_DE) || \ FREETZ_TYPE_FON_WLAN_7240 || \ FREETZ_TYPE_FON_WLAN_7270 || \ FREETZ_TYPE_FON_WLAN_7320 || \ FREETZ_TYPE_FON_WLAN_7340 || \ FREETZ_TYPE_FON_WLAN_7390 || \ FREETZ_TYPE_FON_WLAN_7570 || \ FREETZ_TYPE_WLAN_3170 || \ FREETZ_TYPE_WLAN_3270 || \ FREETZ_TYPE_WLAN_3270_V3 \ ) help Remove AVM's vpn and some other related files This patch removes the files and related Web UI entrys, but not the vpn settings. This will save about 120kB compressed size. config FREETZ_REMOVE_WEBSRV bool "Remove AVM web server (replaced by httpd)" depends on \ ! FREETZ_TYPE_2170 \ && ! FREETZ_TYPE_FON_5124 \ && ! FREETZ_TYPE_FON_5140 \ && ! FREETZ_TYPE_FON_WLAN_7112 \ && ! ( 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_7320 \ && ! FREETZ_TYPE_FON_WLAN_7340 \ && ! FREETZ_TYPE_FON_WLAN_7390 \ && ! FREETZ_TYPE_FON_WLAN_7570 \ && ! FREETZ_TYPE_WLAN_3131 \ && ! FREETZ_TYPE_WLAN_3170 \ && ! FREETZ_TYPE_WLAN_3270 \ && ! FREETZ_TYPE_WLAN_3270_V3 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. comment "No brandings available to remove" depends on \ FREETZ_TYPE_SPEEDPORT_W501V menu "Remove brandings" depends on \ ! FREETZ_TYPE_SPEEDPORT_W501V 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_7112 || \ 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_7320 || \ FREETZ_TYPE_FON_WLAN_7340 || \ FREETZ_TYPE_FON_WLAN_7390 || \ 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_otwo bool "otwo" depends on FREETZ_TYPE_FON_WLAN_7270_V3 default n help O2 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_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_7112 || \ FREETZ_TYPE_FON_WLAN_7113 || \ FREETZ_TYPE_FON_WLAN_7141 || \ 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_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_CAPIOVERTCP bool "Remove CAPIoverTCP (used for Fritz!Fax)" depends on FREETZ_HAS_PHONE default n help Remove CAPIoverTCP (capiotcp_server). Use this if you don't want 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. config FREETZ_REMOVE_CHRONYD bool "Remove chronyd" depends on FREETZ_HAS_CHRONYD default n help Removes AVM's time synchronization tool (chrony) and related files. This will save about 220kB uncompressed size. config FREETZ_REMOVE_CDROM_ISO bool "Remove cdrom.iso" depends on \ FREETZ_TYPE_300IP_AS_FON || \ FREETZ_TYPE_FON || \ FREETZ_TYPE_FON_5050 || \ FREETZ_TYPE_FON_WLAN || \ FREETZ_TYPE_WLAN_3020 || \ FREETZ_TYPE_WLAN_3030 default n help Removes the file /lib/modules/cdrom.iso to save 270kB uncompressed space. config FREETZ_REMOVE_DECT bool "Remove DECT files" depends on FREETZ_HAS_DECT default n help Remove dect files (modules, dect_manager and dect related Web UI). (saves 20K compressed size on W900V and 360k on 7240/7270) config FREETZ_REMOVE_DECT_UPDATE bool "Remove dect_update" 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. 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_7112 || \ FREETZ_TYPE_FON_WLAN_7113 || \ FREETZ_TYPE_SPEEDPORT_W501V \ ) help Remove DSL daemon (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 ueber UPnP uebertragen (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_DTRACE bool "Remove dtrace" depends on \ FREETZ_TYPE_FON_5124 || \ FREETZ_TYPE_FON_WLAN_7113 || \ 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_7320 || \ FREETZ_TYPE_FON_WLAN_7340 || \ FREETZ_TYPE_FON_WLAN_7390 || \ FREETZ_TYPE_FON_WLAN_7570 default y help Remove /usr/bin/dtrace. This utility is only needed to trace ISDN D-channel. This will save about 87kB uncompressed size. config FREETZ_REMOVE_FTPD bool "Remove ftpd" depends on FREETZ_SHOW_ADVANCED && FREETZ_HAS_USB_HOST default n help Remove FTP daemon (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_HELP bool "Remove help" default n help Removes the (offline) help pages from the web menu. config FREETZ_REMOVE_LSOF bool "Remove lsof" depends on FREETZ_HAS_LSOF default n help Remove /bin/lsof binary. This saves about 48 KB compressed space in kernel.image. config FREETZ_REMOVE_MEDIASRV bool "Remove mediasrv" depends on \ FREETZ_SHOW_ADVANCED && \ FREETZ_HAS_USB_HOST && \ ! FREETZ_TYPE_FON_WLAN_7270_V1 default n help Remove the MediaServer-daemon (mediasrv) and some other related files. This patch hides also the MediaServer options in the Web UI, so you must disable it before flashing the new image. Saves compressed 230 KB on a 7270_V2 and 40 KB on a 7170. config FREETZ_REMOVE_MINID bool "Remove minid and MT-D/F" default n depends on \ FREETZ_SHOW_ADVANCED && \ ( \ FREETZ_TYPE_FON_WLAN_7141 || \ FREETZ_TYPE_FON_WLAN_7170 || \ FREETZ_TYPE_FON_WLAN_7240 || \ FREETZ_TYPE_FON_WLAN_7270_V2 || \ FREETZ_TYPE_FON_WLAN_7270_V3 || \ FREETZ_TYPE_WLAN_3270 || \ FREETZ_TYPE_WLAN_3270_V3 \ ) help Remove the mini-daemon (minid) and some other related files. This patch removes Fritz!Mini and MT-D/F support and all Web UI entrys. Saves compressed 660 KB on a 7270_V3 and 460 KB on a 7170. ATTENTION: You must remove all Fritz!Mini's from your Fritz!Box configuration and delete all Mini users with the Gini! software to avoid complications. config FREETZ_REMOVE_NTFS bool "Remove NTFS support" depends on \ FREETZ_HAS_AVM_NTFS && \ ! FREETZ_PACKAGE_NTFS && \ ! FREETZ_AUTOMOUNT_NTFS default n help Remove NTFS support This patch will remove ntfs-3g dependent files from the firmware. Be careful, mounting volumes with this filesystem will not work. It saves about 118K compressed space in kernel.image. config FREETZ_REMOVE_PRINTSERV bool "Remove printserv" depends on FREETZ_HAS_USB_HOST default n help Remove /sbin/printserv daemon. Select this patch if you don't want to connect a printer to your box or if you plan to use usb/ip package. Saves about 8 KB of compressed space. config FREETZ_REMOVE_PRINTSERV_MODULE bool "Remove usblp kernel module" depends on FREETZ_REMOVE_PRINTSERV && \ ! FREETZ_MODULE_usblp default n help Remove usblp kernel module. Without this module it's not possible to run a printer on your box. Saves about 12 KB of compressed space. config FREETZ_REMOVE_RUNCLOCK bool "Remove run_clock" default n help Remove /bin/run_clock (operating hours meter) daemon. This saves about 5K compressed space in kernel.image. config FREETZ_REMOVE_SMBD bool "Remove smbd" depends on \ FREETZ_SHOW_ADVANCED && FREETZ_HAS_USB_HOST && \ ! FREETZ_PACKAGE_SAMBA && \ ! FREETZ_TYPE_FON_7150 && \ ! FREETZ_TYPE_FON_WLAN_7270_V1 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_STRACE bool "Remove strace" depends on FREETZ_HAS_STRACE default n help Remove /usr/bin/strace binary. This saves about 72 KB compressed space in kernel.image. 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_TR069 bool "Remove tr069 stuff" depends on \ FREETZ_SHOW_ADVANCED && \ ( \ FREETZ_TYPE_300IP_AS_FON || \ FREETZ_TYPE_FON || \ FREETZ_TYPE_FON_5124 || \ 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_FON_WLAN_7170 || \ FREETZ_TYPE_FON_WLAN_7240 || \ FREETZ_TYPE_FON_WLAN_7270 || \ FREETZ_TYPE_FON_WLAN_7320 || \ FREETZ_TYPE_FON_WLAN_7340 || \ FREETZ_TYPE_FON_WLAN_7390 || \ FREETZ_TYPE_FON_WLAN_7570 || \ FREETZ_TYPE_WLAN_3020 || \ FREETZ_TYPE_WLAN_3270 || \ FREETZ_TYPE_WLAN_3270_V3 \ ) default n help Removes libtr069 to save space. This also removes libtr064. config FREETZ_REMOVE_TR069_FWUPDATE bool "Remove fwupdate" depends on \ FREETZ_REMOVE_TR069 && \ ( \ FREETZ_TYPE_FON_5124 || \ 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_7320 || \ FREETZ_TYPE_FON_WLAN_7340 || \ FREETZ_TYPE_FON_WLAN_7390 || \ FREETZ_TYPE_FON_WLAN_7570 || \ FREETZ_TYPE_WLAN_3270 || \ FREETZ_TYPE_WLAN_3270_V3 \ ) default n help Removes the file /usr/bin/tr069fwupdate, needed for updating the firmware in MT-D devices config FREETZ_REMOVE_UMTSD bool "Remove UMTS support (USB GSM)" depends on \ FREETZ_TYPE_FON_WLAN_7240 || \ FREETZ_TYPE_FON_WLAN_7270 || \ FREETZ_TYPE_FON_WLAN_7320 || \ FREETZ_TYPE_FON_WLAN_7390 || \ FREETZ_TYPE_WLAN_3270 || \ FREETZ_TYPE_WLAN_3270_V3 default n help Remove UMTS support This patch will remove UMTS-dependent files from firmware. It saves about 12K compressed space in kernel.image. config FREETZ_REMOVE_UPNP bool "Remove UPnP daemon (igdd/upnpd)" select FREETZ_REMOVE_UPNP_LIBS if \ FREETZ_TYPE_2170 || \ FREETZ_TYPE_300IP_AS_FON || \ FREETZ_TYPE_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_LANG_DE) || \ FREETZ_TYPE_WLAN_3020 || \ FREETZ_TYPE_WLAN_3030 || \ FREETZ_TYPE_WLAN_3130 || \ FREETZ_TYPE_SPEEDPORT_W501V 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 ueber UPnP uebertragen (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_7112 \ && ! FREETZ_TYPE_FON_WLAN_7113 \ && ! FREETZ_TYPE_SPEEDPORT_W501V default n help Remove userman files (Kindersicherung) config FREETZ_REMOVE_UTIL_LINUX bool "Remove util-linux files (blkid, fsck, mkfs)" depends on \ FREETZ_HAS_UTIL_LINUX default n help Removes the util-linux files (blkid, fsck, mkfs) and libraries. Saves about 220KB of compressed space. config FREETZ_REMOVE_VOIPD bool "Remove VoIP files (for non-telephony boxes)" depends on \ FREETZ_SHOW_ADVANCED && \ FREETZ_HAS_PHONE default n help This removes the integrated sip-client and -server and the releated Web menu, normal telefon use (ISDN, POTS and DECT) is not affected. This saves 250 KB on a 7170/7270 of compressed firmware size. ATTENTION: You must remove all sip phone numbers and all sip clients before flashing this image. Afterward there is no possibility to remove thees numbers because the Web UI is also removed. 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_HAS_DECT select FREETZ_REMOVE_VOIPD select FREETZ_REMOVE_DTRACE select FREETZ_REMOVE_CAPIOVERTCP select FREETZ_REMOVE_MINID 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_WEBDAV bool "Remove webdav" depends on \ FREETZ_TYPE_FON_WLAN_7240 || \ FREETZ_TYPE_FON_WLAN_7270_V2 || \ FREETZ_TYPE_FON_WLAN_7270_V3 || \ FREETZ_TYPE_FON_WLAN_7320 || \ FREETZ_TYPE_FON_WLAN_7390 || \ FREETZ_TYPE_FON_WLAN_7570 || \ FREETZ_TYPE_WLAN_3270 || \ FREETZ_TYPE_WLAN_3270_V3 default n help Remove webdav (Online-Speicher) feature. Saves about 510 KB of uncompressed data size. 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! comment "Replacement patches --------------------" config FREETZ_REPLACE_DTRACE bool "Replace dtrace" depends on FREETZ_REMOVE_DTRACE default n help Dtrace will be replaced by a symlink to /tmp/flash/mod/dtrace. Activating this option lets you execute a custom action via phone using #97*3* keycode sequence. config FREETZ_REPLACE_ONLINECHANGED bool "Replace onlinechanged (EXPERIMENTAL)" depends on FREETZ_SHOW_ADVANCED default n help AVM's built-in onlinechanged is not reliably called on some DSL boxes for unknown reasons (see http://www.ip-phone-forum.de/showthread.php?t=231873). On boxes behind a NAT, e.g. on many IP clients, behind cable routers etc., onlinechanged is not triggered either because dsld is not responsible for the connection. Thus, services on such boxes cannot be reinitialised automatically after the external IP address has changed. This is where this patch can be useful: It starts a shell script /sbin/ip_watchdog via /etc/inittab and makes sure the script is automatically restarted (via "respawn") in case it is terminated accidentally. The script periodically (60 s) checks the external IP via /usr/bin/get_ip and calls AVM's and Freetz's onlinechanged scripts via /bin/onlinechanged.sh if the IP has changed. At the same time the patch ensures that AVM's master script /bin/onlinechanged is empty, so the scripts are not called twice. Who should use this patch? First of all users with boxes configured for NAT who cannot profit from AVM onlinechanged at all. Secondly users having problems with AVM onlinechanged being called unreliably on their DSL boxes. Limitations: Environment variable IPADDR is set as usual, but no other variables set by AVM multid in original onlinechanged such as NETMASK, GATEWAY, DNS1, DNS2. They are currently not used by AVM or Freetz scripts anyway, so this limitation should not be a problem. Another difference to AVM onlinechanged is that this solution only calls "onlinechanged online", never "onlinechanged offline". This also should not be a problem, but you should be aware of it. comment "Additional patches ---------------------" config FREETZ_ADD_ANNEX_A_FIRMWARE bool "Add Annex A firmware file" depends on \ FREETZ_TYPE_FON_WLAN_7270_V1 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. config FREETZ_ENFORCE_URLADER_SETTINGS bool "Enforce urlader environment" depends on FREETZ_SHOW_ADVANCED default n help Enforce some urlader (Adam2/EVA) environment variables. * useful for tcom boxes having non-AVM standard settings in bootloader (my_ipaddress, firmware_version, ProductID) * useful for people that do clear mtd3/mtd4 often. This settings are enforced at the beginnig of the boot process. config FREETZ_ENFORCE_URLADER_SETTING_MY_IPADDRESS depends on FREETZ_ENFORCE_URLADER_SETTINGS string "Enforce my_ipaddress variable" default "192.168.178.1" help This is the AVM default, enforce to also to reseller boxes, eg. from T-Com If this is empty the urlader setting won't be touched. config FREETZ_ENFORCE_URLADER_SETTING_FIRMWARE_VERSION depends on FREETZ_ENFORCE_URLADER_SETTINGS string "Enforce firmware_version variable" default "" help Choose wisely. Your image beeing built must support this. Typical settings are eg.: avm, avme, tcom, 1und1, ... If this is empty the urlader setting won't be touched. config FREETZ_ENFORCE_URLADER_SETTING_PRODUCTID depends on FREETZ_ENFORCE_URLADER_SETTINGS string "Enforce ProductID variable" default "" help Choose wisely. Your image beeing built must support this. Typical settings are eg.: Fritz_Box_DECT_7270, Fritz_Box_DECT_W920V If this is empty the urlader setting won't be touched. comment "Other stuff -----------------------------" config FREETZ_TYPE_SPEEDPORT_W920V_LED_MODULE bool "Change LED semantics to W920V" default n depends on FREETZ_TYPE_SPEEDPORT_W920V_7570 || FREETZ_TYPE_FON_WLAN_7570 help If Y is choosen, this changes the semantics of the LEDs on the front panel of your 7570/W920V box fitting the descriptions of the W920V. config FREETZ_DISABLE_SERIAL_CONSOLE bool "Disable console on serial port" default n help Choose this if you do not want your Box to start a console/shell on its serial port (/dev/ttyS0). This is particularly helpful if you want to use the serial port exclusively with another application, e.g. minicom. config FREETZ_PATCH_GETCONS bool # bool "Redirect console messages" default n help Patch /etc/profile so that console messages are redirected to the last opened console.