forked from Freetz/freetz
/
patches.in
1665 lines (1444 loc) · 50.7 KB
/
patches.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
menu "Removal patches"
comment "Removal patches ------------------------"
config FREETZ_REMOVE_MICROVOIP_DSL
bool "Remove microvoip-dsl.bin"
depends on \
FREETZ_AVM_HAS_MICROVOIP_DSL && \
FREETZ_REMOVE_TELEPHONY
default n
help
Remove the files lib/modules/microvoip-dsl.bin and
lib/modules/2.6.13.1-*/kernel/drivers/atm/avm_atm/tiatm.ko
This saves about 590-700 KB of uncompressed data size.
config FREETZ_REMOVE_ANNEX_B_FIRMWARE
bool "Remove Annex B firmware"
depends on \
FREETZ_SHOW_ADVANCED && \
FREETZ_TYPE_7270_V1
default n
help
Remove lib/modules/dsp_*/*-B-dsl.bin. This saves about
330-400 KB of uncompressed data size.
config FREETZ_REMOVE_MULTI_ANNEX_FIRMWARE_DIFFS
bool "Remove 2nd Annex firmware"
depends on FREETZ_AVM_HAS_MULTI_ANNEX
default n
help
Remove the diffs to the prime firmware. This saves about
120-230 KB of uncompressed data size and 67 KB of bspatch.
Select this only if you don't want to switch the firmware.
See http://www.wehavemorefun.de/fritzbox/Multi-DSL-Firmware
config FREETZ_REMOVE_MULTI_ANNEX_FIRMWARE_PRIME
bool "Remove 1st Annex firmware"
depends on FREETZ_SHOW_ADVANCED && \
FREETZ_AVM_HAS_MULTI_ANNEX && \
FREETZ_REMOVE_MULTI_ANNEX_FIRMWARE_DIFFS
default n
help
This saves about 340-790 KB of uncompressed data size. Removes
lib/modules/dsp_*/*-?-dsl.bin or lib/modules/*Vx180Code.bin.gz.
Select this only if you don't use the the DSL modem. See
http://www.wehavemorefun.de/fritzbox/Multi-DSL-Firmware
config FREETZ_REMOVE_DSL_CONTROL
bool "Remove dsl_control"
depends on \
( \
FREETZ_REMOVE_ANNEX_A_FIRMWARE || \
FREETZ_REMOVE_ANNEX_B_FIRMWARE || \
FREETZ_REMOVE_MULTI_ANNEX_FIRMWARE_PRIME \
) && ( \
FREETZ_SYSTEM_TYPE_AR9 || \
FREETZ_SYSTEM_TYPE_GRX5 || \
FREETZ_SYSTEM_TYPE_VR9 \
)
default n
help
Removes /usr/sbin/dsl_control. This saves about
540-669 KB of uncompressed data size.
Select this only if you don't use the the DSL modem. See
http://wehavemorefun.de/fritzbox/Dsl_control
config FREETZ_REMOVE_PIGLET_V1_AVAILABLE
bool
default y if \
(FREETZ_TYPE_7170 && ! FREETZ_TYPE_ALIEN_HARDWARE) || \
FREETZ_TYPE_W701V_7170 || \
FREETZ_TYPE_W900V_7170 || \
FREETZ_TYPE_IAD_3331_7170
default n
config FREETZ_REMOVE_PIGLET_V2_AVAILABLE
bool
default y if FREETZ_TYPE_7170
default n
config FREETZ_REMOVE_PIGLET_ISDN_AVAILABLE
bool
default y if \
(FREETZ_AVM_HAS_PIGLET_ISDN && FREETZ_REMOVE_DSLD && FREETZ_REMOVE_TELEPHONY) || \
FREETZ_TYPE_7113 || FREETZ_TYPE_7113_7170 || \
FREETZ_TYPE_7340 || FREETZ_TYPE_7340_7390
default n
config FREETZ_REMOVE_PIGLET_POTS_AVAILABLE
bool
default y if \
(FREETZ_AVM_HAS_PIGLET_POTS && FREETZ_REMOVE_DSLD && FREETZ_REMOVE_TELEPHONY) || \
FREETZ_TYPE_7113 || FREETZ_TYPE_7113_7170 || \
FREETZ_TYPE_7340 || FREETZ_TYPE_7340_7390
default n
menu "Remove piglet"
depends on \
FREETZ_REMOVE_PIGLET_V1_AVAILABLE || \
FREETZ_REMOVE_PIGLET_V2_AVAILABLE || \
FREETZ_REMOVE_PIGLET_ISDN_AVAILABLE || \
FREETZ_REMOVE_PIGLET_POTS_AVAILABLE
config FREETZ_REMOVE_PIGLET_V1
bool "Remove v1 piglet file(s)"
depends on FREETZ_REMOVE_PIGLET_V1_AVAILABLE
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)"
depends on FREETZ_REMOVE_PIGLET_V2_AVAILABLE
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.
comment "WARNING: Both (v1 and v2) piglet files are selected for removal."
depends on FREETZ_REMOVE_PIGLET_V1 && FREETZ_REMOVE_PIGLET_V2
config FREETZ_REMOVE_PIGLET_ISDN
bool "Remove ISDN piglet file(s)"
depends on FREETZ_REMOVE_PIGLET_ISDN_AVAILABLE
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 can try to select this
patch. Be careful! Sometimes even POTS models are using the ISDN files
and not the POTS ones. If your box ends up in a reboot cycle, you
should deselect this patch and maybe want to try the other one, even
if you are using POTS.
config FREETZ_REMOVE_PIGLET_POTS
bool "Remove POTS piglet file(s)"
depends on FREETZ_REMOVE_PIGLET_POTS_AVAILABLE
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.
comment "WARNING: Both (ISDN and POTS) piglet files are selected for removal."
depends on FREETZ_REMOVE_PIGLET_ISDN && FREETZ_REMOVE_PIGLET_POTS
endmenu
config FREETZ_REMOVE_ASSISTANT
bool "Remove assistant (wizard)"
default n
depends on \
! ( \
( \
FREETZ_TYPE_5124 || \
FREETZ_TYPE_7140 || \
FREETZ_TYPE_7170 \
) \
&& FREETZ_TYPE_LANG_EN \
)
help
Removes the installation assistant from the web menu.
config FREETZ_REMOVE_ASSISTANT_SIP
bool "Remove SIP assistant"
default n
depends on FREETZ_REMOVE_ASSISTANT
help
Removes the SIP configuration assistant (about 155kB uncompressed) from
the web menu. With this patch you can't create new phones, but change and
use existing ones.
config FREETZ_REMOVE_NEXUS
bool "Remove NEXUS (AVM mesh)"
default n
depends on FREETZ_AVM_VERSION_06_9X_MIN && FREETZ_AVM_VERSION_06_9X
help
Removes "mesh" related files like
the nexus daemon and some scripts.
config FREETZ_REMOVE_AHA
bool "Remove AHA (AVM Home Automation)"
default n
depends on FREETZ_AVM_HAS_AHA
help
Remove the aha daemon and some related files.
Used for "Smart Home".
This patch only removes the files, not the settings in AVM's web interface.
config FREETZ_REMOVE_AURA_USB
bool "Remove AURA (AVM USB Remote-Architecture)"
default n
depends on FREETZ_AVM_HAS_AURA_USB
help
Remove the aura-usb-daemon (remote USB connection, USB-Fernanschluss) and some
related files.
This patch only removes the files, not the settings in AVM's web interface.
config FREETZ_REMOVE_ETHERNET_OVER_USB
bool "Remove ethernet-over-usb"
depends on FREETZ_AVM_HAS_ETHERNET_OVER_USB
select FREETZ_REMOVE_CDROM_ISO if FREETZ_AVM_HAS_CDROM_ISO
default n
help
Removes avalanche_usb.ko to save 60kB uncompressed space.
This is the Ethernet-over-USB driver which provides also CDROM emulation.
config FREETZ_REMOVE_MEDIASRV
bool "Remove mediasrv"
depends on \
(FREETZ_AVM_HAS_USB_HOST && !FREETZ_TYPE_7270_V1) || \
FREETZ_TYPE_7112_7170 || \
FREETZ_TYPE_7113_7170 || \
FREETZ_TYPE_W701V_7170
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_NAS
bool "Remove NAS"
default n
depends on FREETZ_AVM_HAS_NAS
select FREETZ_REMOVE_MEDIASRV
select FREETZ_REMOVE_WEBDAV if FREETZ_AVM_HAS_WEBDAV
help
Removes the AVM NAS Webinterface and internal memory file (saves about 390 KB in compressed image).
config FREETZ_REMOVE_MYFRITZ
bool "Remove MyFritz"
default n
depends on FREETZ_AVM_HAS_MYFRITZ
help
Removes the AVM MyFritz Webinterface. Saves about 1.1 MB uncompressed data size.
config FREETZ_REMOVE_DDNSD
bool "Remove DDNSD"
default n
depends on FREETZ_AVM_HAS_MYFRITZ
help
Removes the Dynamic DNS daemon (saves about 70 KB in compressed image)
config FREETZ_REMOVE_FHEM
bool "Remove FHEM"
default n
depends on FREETZ_AVM_HAS_FHEM
help
Removes the FHEM scripts and kernel modules (cdc_acm & ftdi_sio).
This saves about 100 KB, uncompressed.
config FREETZ_REMOVE_AVM_VPN
bool "Remove VPN"
default n
depends on \
FREETZ_AVM_VERSION_05_2X_MIN || \
FREETZ_TYPE_2170 || \
FREETZ_TYPE_3170 || \
FREETZ_TYPE_7150 || \
(FREETZ_TYPE_7170 && FREETZ_TYPE_LANG_DE) || \
FREETZ_TYPE_7270_V1 || \
FREETZ_TYPE_7570
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 websrv"
depends on \
FREETZ_AVM_VERSION_04_XX_MAX \
&& ! FREETZ_TYPE_2170 \
&& ! FREETZ_TYPE_3131 \
&& ! FREETZ_TYPE_3170 \
&& ! FREETZ_TYPE_5124 \
&& ! FREETZ_TYPE_5140 \
&& ! FREETZ_TYPE_7112 \
&& !(FREETZ_TYPE_7113 && FREETZ_TYPE_LANG_EN) \
&& !(FREETZ_TYPE_7140 && FREETZ_TYPE_LANG_EN) \
&& !(FREETZ_TYPE_7140 && FREETZ_TYPE_LANG_A_CH) \
&& ! FREETZ_TYPE_7141 \
&& ! FREETZ_TYPE_7170 \
&& ! FREETZ_TYPE_7270_V1 \
&& ! FREETZ_TYPE_7570 \
&& !(FREETZ_TYPE_300IP && FREETZ_TYPE_LANG_EN) \
&& !(FREETZ_TYPE_FON && FREETZ_TYPE_LANG_EN) \
&& !(FREETZ_TYPE_WLAN && FREETZ_TYPE_LANG_EN)
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, 'libwebsrv.so'
will be removed too, because only those two binaries use it.
comment "No brandings available to remove"
depends on FREETZ_TYPE_W501V
menu "Remove brandings"
depends on !FREETZ_TYPE_W501V && !FREETZ_SYSTEM_TYPE_PUMA6
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_WLAN || \
FREETZ_TYPE_3020 || \
FREETZ_TYPE_3030 || \
FREETZ_TYPE_3130 || \
FREETZ_TYPE_5050 || \
FREETZ_TYPE_5140 || \
FREETZ_TYPE_7050 || \
FREETZ_TYPE_7112 || \
FREETZ_TYPE_7113 || \
FREETZ_TYPE_7141 || \
FREETZ_TYPE_7170 || \
FREETZ_TYPE_7240 || \
FREETZ_TYPE_7270 || \
FREETZ_TYPE_7312 || \
FREETZ_TYPE_7320 || \
FREETZ_TYPE_7330 || \
FREETZ_TYPE_7340 || \
FREETZ_TYPE_7360 || \
FREETZ_TYPE_7390 || \
FREETZ_TYPE_7412 || \
FREETZ_TYPE_7490 || \
FREETZ_TYPE_7590 \
)
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_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
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_ewetel
bool "ewetel"
depends on \
FREETZ_TYPE_LANG_DE && FREETZ_AVM_VERSION_06_2X_MIN && \
( \
FREETZ_TYPE_7360_V1 || \
FREETZ_TYPE_7390 \
)
default n
help
EWE TEL 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_7270_V3 || \
(FREETZ_TYPE_7390 && FREETZ_AVM_VERSION_06_0X_MIN)
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_300IP || \
FREETZ_TYPE_FON || \
FREETZ_TYPE_WLAN || \
FREETZ_TYPE_7140 \
)
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_freenet
bool "Freenet"
depends on \
FREETZ_TYPE_LANG_DE && \
( \
FREETZ_TYPE_300IP || \
FREETZ_TYPE_FON || \
FREETZ_TYPE_7150 || \
FREETZ_TYPE_7112 || \
FREETZ_TYPE_7113 || \
FREETZ_TYPE_7141 \
)
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_versatel
bool "Versatel"
depends on FREETZ_TYPE_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"
depends on FREETZ_AVM_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_AVM_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_AVM_HAS_CDROM_ISO
default n
help
Removes the file /lib/modules/cdrom.iso to save 270kB uncompressed space.
config FREETZ_REMOVE_DECT
bool "Remove DECT"
depends on FREETZ_AVM_HAS_DECT
default n
help
Remove dect files (modules, dect_manager and dect related Web UI).
This saves 20K compressed size on W900V and 360k on 7240/7270.
WARNING: While *configuring* telephony ctlmgr may crash and corrupt
you settings!
config FREETZ_REMOVE_DECT_UPDATE
bool "Remove dect_update"
depends on FREETZ_TYPE_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"
default n
select FREETZ_REMOVE_UPNP
select FREETZ_REMOVE_KIDS if ! \
( \
FREETZ_TYPE_5140 || \
FREETZ_TYPE_7112 || \
FREETZ_TYPE_7113 || \
FREETZ_TYPE_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.
config FREETZ_REMOVE_SHOWDSLDSTAT
bool "Remove showdsldstat"
default n
help
Removes the showdsldstat utility which shows you the cpmac mode, connect time,
external ip, route and dns servers. Also the state of IPv6, voip and tr069.
Unsure a.t.m. if this tool is required by other AVM programs!
AVM-WebDAV will be patched to not depend on showdsldstat (hopefully).
config FREETZ_REMOVE_DTRACE
bool "Remove dtrace"
depends on \
FREETZ_AVM_VERSION_05_2X_MIN || \
FREETZ_TYPE_5124 || \
FREETZ_TYPE_7150 || \
FREETZ_TYPE_7113 || \
FREETZ_TYPE_7141 || \
FREETZ_TYPE_7170 || \
FREETZ_TYPE_7270_V1 || \
FREETZ_TYPE_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_AVM_HAS_USB_HOST || \
FREETZ_TYPE_7112_7170 || \
FREETZ_TYPE_7113_7170 || \
FREETZ_TYPE_W701V_7170
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_LIBFUSE
bool "Remove libfuse.so"
depends on \
( \
FREETZ_TYPE_7570 || \
FREETZ_TYPE_7270_V1 \
)
select FREETZ_REMOVE_NTFS if FREETZ_AVM_HAS_NTFS && !FREETZ_AVMPLUGINS_NTFS
select FREETZ_REMOVE_WEBDAV if FREETZ_AVM_HAS_WEBDAV
default n
help
This removes libfuse.so and saves about 132 KB (uncompressed).
NTFS and Webdav are also removed.
config FREETZ_REMOVE_EXT2
bool "Remove ext2.ko"
default n
depends on FREETZ_AVM_HAS_USB_HOST && !FREETZ_AVM_HAS_EXT2_BUILTIN
help
Remove ext2.ko (about 81 kB uncompressed / 24 kB compressed).
config FREETZ_REMOVE_ISOFS
bool "Remove isofs.ko"
default n
depends on FREETZ_AVM_HAS_ISOFS_MODULE
help
Remove isofs.ko (about 35 kB uncompressed).
config FREETZ_REMOVE_JFFS2
bool "Remove jffs2.ko"
depends on FREETZ_AVM_HAS_JFFS2_MODULE
default n
help
If your AVM firmware contains the JFFS2 kernel module (jffs2.ko), this patch
removes it, saving 144-192 kB of uncompressed firmware space. Use this patch
if you have space problems in your firmware ("image too big").
Please note that every functionality based on JFFS2, such as telephone
answering machine (tam) storage without USB storage media, will no longer
work. But if you have space problems to begin with, JFFS would be too small
to store anything anyway. In either case it is preferable to store phone
calls, fax documents etc. on a USB storage medium.
This patch does *not* change any scripts which might require JFFS, so use at
your own risk and test the firmware after flashing it onto your device.
config FREETZ_REMOVE_RAMZSWAP
bool "Remove ramzswap.ko"
default n
depends on FREETZ_AVM_HAS_RAMZSWAP_MODULE
help
Remove ramzswap.ko (about 35 kB uncompressed).
config FREETZ_REMOVE_LSOF
bool "Remove lsof"
depends on FREETZ_AVM_HAS_LSOF
default n
help
Remove /bin/lsof binary.
This saves about 48 KB compressed space in kernel.image.
config FREETZ_REMOVE_SOCAT
bool "Remove socat"
depends on FREETZ_AVM_HAS_SOCAT
default y
help
Remove /sbin/socat binary.
This saves about 247 KB compressed space in kernel.image.
config FREETZ_REMOVE_MINID
bool "Remove minid (Fritz!Mini and MT-D/F)"
default n
depends on FREETZ_AVM_HAS_MINID
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_FAT
bool "Remove FAT"
depends on \
! FREETZ_AUTOMOUNT_FAT && \
FREETZ_AVM_HAS_USB_HOST && \
! FREETZ_TYPE_7270_16
default n
help
Remove FAT modules
This patch will remove fat.ko, vfat.ko and msdos.ko.
Be careful, mounting volumes with this filesystem will not work.
It saves about 80-135K compressed space in kernel.image.
config FREETZ_REMOVE_NTFS
bool "Remove NTFS"
depends on \
FREETZ_AVM_HAS_NTFS && \
! FREETZ_AVMPLUGINS_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_NLS
bool "Remove NLS"
depends on FREETZ_AVM_HAS_USB_HOST
default n
help
Remove NLS support
This patch will remove all the nls_*.ko kernel module from the firmware.
This may affect mounting FAT, NTFS and other filesystems.
You can add some of the Freetz kernel nls modules if you need them.
config FREETZ_REMOVE_USBHOST
bool "Remove USB Host"
depends on FREETZ_AVM_HAS_USB_HOST
default n
help
Remove USB Host
This patch will remove all the kernel modules needed for the USB Host from the firmware.
You will not be able to use USB storage or USB printers unless you provide a way to
download and install these modules at runtime.
Selecting this patch does not automatically select the patches to remove the
kernel modules for the file systems (EXT2, FAT, NTFS, ...)
config FREETZ_REMOVE_PRINTSERV
bool "Remove printserv"
depends on \
FREETZ_AVM_HAS_USB_HOST || \
FREETZ_TYPE_7112_7170 || \
FREETZ_TYPE_7113_7170 || \
FREETZ_TYPE_W701V_7170
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.ko"
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_SAMBA
bool "Remove Samba (smbd/nmbd)"
depends on \
!FREETZ_PACKAGE_SAMBA_SMBD && \
( \
(FREETZ_AVM_HAS_USB_HOST && !FREETZ_TYPE_7270_V1) || \
FREETZ_TYPE_7112_7170 || \
FREETZ_TYPE_7113_7170 || \
FREETZ_TYPE_W701V_7170 \
)
default n
help
Remove Samba daemons (smbd, and nmbd if available)
This patch removes only the daemons. The regular options in AVM's webinterface
are still present.
config FREETZ_REMOVE_SUPPORT
bool "Remove support-files"
default n
help
Remove the support-files which can be taken
by http://fritz.box/html/support.html or
http://fritz.box/support.lua
config FREETZ_REMOVE_SUPPORT_EVENTSDUMP
bool "Remove eventsdump"
depends on FREETZ_REMOVE_SUPPORT
default n
help
Remove the eventsdump binary, saves about 6kB (uncompressed).
With the file you could dump AVM's "Ereignisse" to the console.
Seem to be use only by AVM's support-files.
config FREETZ_REMOVE_TR069
bool "Remove tr069" if FREETZ_SHOW_ADVANCED
depends on FREETZ_AVM_HAS_TR069
select FREETZ_AVMDAEMON_DISABLE_TR069
default n
help
Removes libtr069 to save space.
config FREETZ_REMOVE_TR064
bool "Remove tr064" if FREETZ_SHOW_ADVANCED
depends on FREETZ_REMOVE_TR069
default y
help
Removes libtr064 to save space.
config FREETZ_REMOVE_TR069_FWUPDATE
bool "Remove fwupdate"
depends on FREETZ_REMOVE_TR069 && FREETZ_AVM_HAS_TR069_FWUPDATE
default n
help
Removes the file /usr/bin/tr069fwupdate, needed for
updating the firmware in MT-D devices.
config FREETZ_REMOVE_TR069_HTTPSDL
bool "Remove httpsdl"
depends on FREETZ_REMOVE_TR069 && FREETZ_AVM_HAS_TR069_FWUPDATE && FREETZ_REMOVE_TR069_FWUPDATE
default y
help
Removes the file /usr/bin/httpsdl, used by:
* tr069/fwupdate, you have removed it
* firmware updater, with Freetz you don't want it
* some more ?
This saves 15-45 KB of uncompressed data size.
config FREETZ_REMOVE_TR069_PROVIDERS
bool "Remove ISP db"
depends on FREETZ_REMOVE_TR069 && FREETZ_AVM_VERSION_05_2X_MIN && FREETZ_SHOW_EXPERT
default n
help
Removes /etc/default.${BOX}/${OEM}/providers-${ALC}.tar files
containing the defaults for many ISPs. Every branding has such
a file with up to 310 KB of uncompressed data size for each.
WARNING: Enable this patch only if
- you already have configured your internet connection, and
- don't use any predefined ISP.
config FREETZ_REMOVE_TR069_VOIPPROVIDERS
bool "Remove VOIP db"
depends on FREETZ_REMOVE_TR069 && FREETZ_AVM_VERSION_07_0X_MIN && FREETZ_SHOW_EXPERT
default n
help
Removes /etc/default.${BOX}/${OEM}/voip_providers-${ALC}.tar files
containing the defaults for many VOIP providers. Every branding has
such a file with more than 90 KB of uncompressed data size for each.
config FREETZ_REMOVE_UMTSD
bool "Remove UMTS (USB GSM)"
depends on FREETZ_AVM_HAS_UMTS
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 (igdd/upnpd)"
select FREETZ_AVMDAEMON_DISABLE_IGD
select FREETZ_REMOVE_UPNP_LIBS if \
FREETZ_TYPE_2170 || \
FREETZ_TYPE_300IP || \
FREETZ_TYPE_FON || \
FREETZ_TYPE_5010 || \
FREETZ_TYPE_5050 || \
FREETZ_TYPE_5140 || \
FREETZ_TYPE_WLAN || \
FREETZ_TYPE_7050 || \
FREETZ_TYPE_7113 || \
(FREETZ_TYPE_7140 && FREETZ_TYPE_LANG_DE) || \
FREETZ_TYPE_W501V || \
FREETZ_TYPE_3020 || \
FREETZ_TYPE_3030 || \
FREETZ_TYPE_3130
select FREETZ_REMOVE_TR069 if FREETZ_AVM_HAS_TR069
select FREETZ_REMOVE_AURA_USB if FREETZ_AVM_HAS_AURA_USB
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.
WARNING: Don't select this if you are using an AVM Repeater with Guest-Wlan!
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_KIDS
bool "Remove kids (usermand/contfiltd)"
depends on \
! FREETZ_TYPE_5140 && \
! FREETZ_TYPE_7112 && \
! FREETZ_TYPE_7113 && \
! FREETZ_TYPE_W501V
default n
help
Remove userman/contfiltd files (Kindersicherung)
config FREETZ_REMOVE_QOS
bool "Remove QoS (tc)"
default n
help
Removes tc and some kernel modules.
The command tc is used by dsld.
config FREETZ_REMOVE_AVM_E2FSPROGS
bool "Remove e2fsprogs"
depends on FREETZ_AVM_HAS_E2FSPROGS
select FREETZ_PACKAGE_UTIL_LINUX if FREETZ_AVM_VERSION_05_2X_MIN && !FREETZ_PATCH_FREETZMOUNT
default y if FREETZ_PATCH_FREETZMOUNT
default n
help
Removes the e2fsprogs files (blkid, fsck, mkfs) and
libraries. Saves about 220KB of compressed space.
config FREETZ_REMOVE_VOIPD
bool "Remove VoIP"
depends on FREETZ_AVM_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.
Do not select this option if you want to use the answering machine.
ATTENTION: You must remove all sip phone numbers and all sip clients before
flashing this image. Afterward there is no possibility to remove these numbers
because the Web UI is also removed.
config FREETZ_REMOVE_TELEPHONY
bool "Remove telephony"
depends on FREETZ_AVM_HAS_PHONE
select FREETZ_REMOVE_DECT if FREETZ_AVM_HAS_DECT
select FREETZ_REMOVE_VOIPD
select FREETZ_REMOVE_DTRACE
select FREETZ_REMOVE_CAPIOVERTCP
select FREETZ_REMOVE_MINID if FREETZ_AVM_HAS_MINID
default n
help
Radically remove a lot of telephony-related files. This patch saves about
2370 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.
config FREETZ_REMOVE_WEBDAV
bool "Remove WebDAV"
depends on FREETZ_AVM_HAS_WEBDAV
default n
help
Remove WebDAV (Online-Speicher) feature. Saves about 510 KB of
uncompressed data size.
On 7270v1 only scripts, links and a 10KB library.
config FREETZ_REMOVE_WLAN
bool "Remove WLAN"
depends on FREETZ_SHOW_ADVANCED && \
FREETZ_AVM_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.
WARNING: Do not enable Wlan, you will get a reboot loop!
endmenu # "Removal patches" #
menu "Other patches"
comment "Web menu patches -----------------------"
config FREETZ_PATCH_VCC
bool "Patch 2nd VCC"
depends on FREETZ_AVM_HAS_PHONE && FREETZ_TYPE_LANG_DE && FREETZ_AVM_VERSION_05_2X_MAX
default n