Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…eater-3000/

Compile-tested only
  • Loading branch information
er13 committed Aug 11, 2019
1 parent 7fa9d7a commit f1add6e
Show file tree
Hide file tree
Showing 10 changed files with 58 additions and 3 deletions.
3 changes: 3 additions & 0 deletions FIRMWARES
Original file line number Diff line number Diff line change
Expand Up @@ -340,3 +340,6 @@ Currently supported boxes and firmwares
* Fritz!WLAN Repeater 1750E
* 134.07.01 rev63070
* 134.07.10 rev67488

* FRITZ!Repeater 3000 (EXPERIMENTAL)
* 174.07.12 rev70612
3 changes: 3 additions & 0 deletions config/avm/availability.in
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ config FREETZ_AVM_HAS_FIRMWARE_07_1X
depends on \
( FREETZ_TYPE_LANG_DE && ( \
FREETZ_TYPE_1750 || \
FREETZ_TYPE_3000 || \
FREETZ_TYPE_3490 || \
FREETZ_TYPE_4040 || \
FREETZ_TYPE_6490 || \
Expand All @@ -252,6 +253,7 @@ config FREETZ_AVM_HAS_FIRMWARE_07_1X
)) \
|| \
( FREETZ_TYPE_LANG_EN && ( \
FREETZ_TYPE_3000 || \
FREETZ_TYPE_3490 || \
FREETZ_TYPE_4040 || \
FREETZ_TYPE_7430 || \
Expand Down Expand Up @@ -305,6 +307,7 @@ config FREETZ_AVM_HAS_LANG_EN
FREETZ_TYPE_5124 || \
FREETZ_TYPE_WLAN || \
FREETZ_TYPE_1750 || \
FREETZ_TYPE_3000 || \
FREETZ_TYPE_3270 || \
FREETZ_TYPE_3272 || \
FREETZ_TYPE_3370 || \
Expand Down
9 changes: 8 additions & 1 deletion config/avm/features.in
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ config FREETZ_TYPE_WLAN_REPEATER
bool
default y
depends on \
FREETZ_TYPE_1750
FREETZ_TYPE_1750 || \
FREETZ_TYPE_3000

# CONFIG_HOME_AUTO=y
config FREETZ_AVM_HAS_AHA
Expand All @@ -46,6 +47,7 @@ config FREETZ_AVM_HAS_AHA
FREETZ_AVM_VERSION_05_5X_MIN && \
( \
!FREETZ_TYPE_1750 && \
!FREETZ_TYPE_3000 && \
!FREETZ_TYPE_3270 && \
!FREETZ_TYPE_3272 && \
!FREETZ_TYPE_3370 && \
Expand All @@ -69,6 +71,7 @@ config FREETZ_AVM_HAS_DECT
( \
FREETZ_AVM_VERSION_05_2X_MIN && \
!FREETZ_TYPE_1750 && \
!FREETZ_TYPE_3000 && \
!FREETZ_TYPE_3270 && \
!FREETZ_TYPE_3272 && \
!FREETZ_TYPE_3370 && \
Expand Down Expand Up @@ -138,6 +141,7 @@ config FREETZ_AVM_HAS_NAS
depends on \
FREETZ_AVM_VERSION_05_2X_MIN && \
!FREETZ_TYPE_1750 && \
!FREETZ_TYPE_3000 && \
!FREETZ_TYPE_6810 && \
!FREETZ_TYPE_6820 && \
!FREETZ_TYPE_7312 && \
Expand All @@ -152,6 +156,7 @@ config FREETZ_AVM_HAS_NTFS
( \
FREETZ_AVM_VERSION_05_2X_MIN && \
!FREETZ_TYPE_1750 && \
!FREETZ_TYPE_3000 && \
!FREETZ_TYPE_6810 && \
!FREETZ_TYPE_6820 && \
!FREETZ_TYPE_7312 && \
Expand All @@ -164,6 +169,7 @@ config FREETZ_AVM_HAS_PHONE
depends on \
!FREETZ_TYPE_1750 && \
!FREETZ_TYPE_2170 && \
!FREETZ_TYPE_3000 && \
!FREETZ_TYPE_3020 && \
!FREETZ_TYPE_3030 && \
!FREETZ_TYPE_3130 && \
Expand Down Expand Up @@ -403,6 +409,7 @@ config FREETZ_AVM_HAS_WEBDAV
( \
FREETZ_AVM_VERSION_05_2X_MIN && \
!FREETZ_TYPE_1750 && \
!FREETZ_TYPE_3000 && \
!FREETZ_TYPE_6810 && \
!FREETZ_TYPE_6820 && \
!FREETZ_TYPE_7312 && \
Expand Down
1 change: 1 addition & 0 deletions config/avm/hardware.in
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ config FREETZ_SYSTEM_TYPE_IPQ40xx
bool
default y
depends on \
FREETZ_TYPE_3000 || \
FREETZ_TYPE_4040 || \
FREETZ_TYPE_7520 || \
FREETZ_TYPE_7530
Expand Down
4 changes: 2 additions & 2 deletions config/avm/source.in
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ config FREETZ_AVM_SOURCE_FOR_SYSTEM_TYPE_IPQ40xx
select FREETZ_AVM_SOURCE_4040_07_01 if FREETZ_AVM_VERSION_07_0X && FREETZ_TYPE_4040
select FREETZ_AVM_SOURCE_7530_07_02 if FREETZ_AVM_VERSION_07_0X && FREETZ_TYPE_7530
# 07.1X
select FREETZ_AVM_SOURCE_4040_07_01 if FREETZ_AVM_VERSION_07_1X && FREETZ_TYPE_4040 # TODO: 07.1x sources
select FREETZ_AVM_SOURCE_7530_07_02 if FREETZ_AVM_VERSION_07_1X && (FREETZ_TYPE_7520 || FREETZ_TYPE_7530) # TODO: 07.1x sources
select FREETZ_AVM_SOURCE_4040_07_01 if FREETZ_AVM_VERSION_07_1X && FREETZ_TYPE_4040 # TODO: 07.1x sources
select FREETZ_AVM_SOURCE_7530_07_02 if FREETZ_AVM_VERSION_07_1X && !FREETZ_TYPE_4040 # TODO: 07.1x sources
bool

config FREETZ_AVM_SOURCE_FOR_SYSTEM_TYPE_PUMA6
Expand Down
6 changes: 6 additions & 0 deletions config/mod/download.in
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ menu "Override options"
#
default "@AVM/fritzbox.2170/firmware/deutsch" if FREETZ_TYPE_FIRMWARE_FINAL && FREETZ_TYPE_2170
#
default "@AVM/fritzwlan/fritzrepeater-3000/deutschland/fritz.os" if FREETZ_TYPE_FIRMWARE_FINAL && FREETZ_TYPE_3000 && FREETZ_TYPE_FIRMWARE_07_1X
#
default "@AVM/fritzbox.sl_wlan/firmware" if FREETZ_TYPE_FIRMWARE_FINAL && FREETZ_TYPE_3020
#
default "@AVM/fritzbox.wlan_3030/firmware" if FREETZ_TYPE_FIRMWARE_FINAL && FREETZ_TYPE_3030
Expand Down Expand Up @@ -439,6 +441,8 @@ menu "Override options"
#
default "FRITZ.Box_2170.51.04.57.image" if FREETZ_TYPE_FIRMWARE_FINAL && FREETZ_TYPE_2170
#
default "FRITZ.Repeater_3000-07.12.image" if FREETZ_TYPE_FIRMWARE_FINAL && FREETZ_TYPE_3000 && FREETZ_TYPE_FIRMWARE_07_1X
#
default "fritz.box_sl_wlan.09.04.34.image" if FREETZ_TYPE_FIRMWARE_FINAL && FREETZ_TYPE_3020
#
default "fritz.box_wlan_3030.21.04.34.image" if FREETZ_TYPE_FIRMWARE_FINAL && FREETZ_TYPE_3030
Expand Down Expand Up @@ -699,6 +703,8 @@ menu "Override options"
#
default "7b109464d953dac912352dd9906c9d61" if FREETZ_TYPE_2170
#
default "5d5966eee224fe397e42797f9259190b" if FREETZ_TYPE_3000 && FREETZ_TYPE_FIRMWARE_07_1X
#
default "f483cfab8da97207248f5e0703993a72" if FREETZ_TYPE_3020
#
default "31653fb1ba044375ab389474951c1cf4" if FREETZ_TYPE_3030
Expand Down
1 change: 1 addition & 0 deletions config/mod/prefix.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ config FREETZ_TYPE_PREFIX
default "300ip" if FREETZ_TYPE_300IP
default "1750" if FREETZ_TYPE_1750
default "2170" if FREETZ_TYPE_2170
default "3000" if FREETZ_TYPE_3000
default "3020" if FREETZ_TYPE_3020
default "3030" if FREETZ_TYPE_3030
default "3130" if FREETZ_TYPE_3130
Expand Down
4 changes: 4 additions & 0 deletions config/ui/firmware.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ choice
select FREETZ_AVM_SOURCE_FOR_SYSTEM_TYPE_QCA955x
bool "1750"

config FREETZ_TYPE_3000
select FREETZ_AVM_SOURCE_FOR_SYSTEM_TYPE_IPQ40xx
bool "3000 - EXPERIMENTAL (status: unknown)"

comment "LAN"

config FREETZ_TYPE_2170
Expand Down
30 changes: 30 additions & 0 deletions patches/devices/07_0X/3000/190-webmenu.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
--- usr/www/all/menus/menu_data.lua
+++ usr/www/all/menus/menu_data.lua
@@ -1028,6 +1028,10 @@
pageData, data = getPageData()
local expertMode = data.expertMode
local checkedIds = {}
+
+-- TODO: find out how to check if Freetz WOL files are avalaible
+local freetzWolInstalled = false
+
local menuData = {
["overview"] = pageData["overview"] and {
["txt"] = TXT([[{?menuOverview?}]]),
@@ -1992,6 +1996,16 @@
["lnk"] = pageData["liveTv"].lnk,
["pos"] = -65
} or nil,
+["freetz-wol"] = (freetzWolInstalled) and {
+["txt"] = "Freetz WOL",
+["lnk"] = "/cgi-bin/freetz_wol",
+["pos"] = -55
+} or nil,
+["freetz"] = {
+["txt"] = "Freetz",
+["lnk"] = "/cgi-bin/freetz_status",
+["pos"] = -60
+},
["endTag"] = nil
}
function checkMenu(pid)
Empty file.

0 comments on commit f1add6e

Please sign in to comment.