Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:fritz3490 [2020/05/26 12:34] – Andreas Böhler | projects:fritz3490 [2020/05/28 08:53] (current) – Andreas Böhler | ||
---|---|---|---|
Line 3: | Line 3: | ||
====== Linux/ | ====== Linux/ | ||
- | After working on the 3390, I bought a used 3490 which is more capable (twice the RAM, Flash and more WiFi bandwidth). Currently, I'm experiencing | + | After working on the 3390, I bought a used 3490 which is more capable (twice the RAM, Flash and more WiFi bandwidth). Currently, I'm experiencing |
The approach is similar to the 3390: You get a VDSL router/ | The approach is similar to the 3390: You get a VDSL router/ | ||
Line 58: | Line 58: | ||
< | < | ||
- | scp -o UserKnownHostsFiles=/ | + | scp -o UserKnownHostsFiles=/ |
</ | </ | ||
Line 66: | Line 66: | ||
ssh -o UserKnownHostsFile=dev/ | ssh -o UserKnownHostsFile=dev/ | ||
# ....once connection is established, | # ....once connection is established, | ||
- | sysupgrade / | + | sysupgrade / |
</ | </ | ||
Your router should reboot and OpenWrt for the Lantiq target is successfully installed. | Your router should reboot and OpenWrt for the Lantiq target is successfully installed. | ||
+ | |||
+ | ==== ath79 target ==== | ||
+ | |||
+ | For the WiFi part, you need a separate OpenWrt installation that is booted from RAM. We need one file from an original AVM firmware in order to be able to boot the second instance (the stage 1 firmware). The stage 2 firmware is replaced by OpenWrt. | ||
+ | |||
+ | Run the following to extract it from an OEM firmware and transfer it to your box: | ||
+ | |||
+ | NOTE: unsquashfs4-avm-be is part of http:// | ||
+ | |||
+ | < | ||
+ | wget https:// | ||
+ | 7z e FRITZ.Box_3490-07.12.image -r filesystem.image | ||
+ | 7z e filesystem.image filesystem_core.squashfs | ||
+ | unsquashfs4-avm-be filesystem_core.squashfs -e lib/ | ||
+ | scp squashfs-root/ | ||
+ | </ | ||
+ | |||
+ | Assuming you have already built the Lantiq target, you need to prepare a second OpenWrt build: | ||
+ | |||
+ | Prepare the sources, switch to the required branch and fetch the package feeds: | ||
+ | < | ||
+ | git clone https:// | ||
+ | cd openwrt_ath79 | ||
+ | git checkout avm_fritz3490_wasp | ||
+ | ./ | ||
+ | ./ | ||
+ | </ | ||
+ | |||
+ | Then, you can configure the build using '' | ||
+ | |||
+ | < | ||
+ | make defconfig | ||
+ | make -j5 | ||
+ | </ | ||
+ | |||
+ | If everything goes fine, you can transfer the resulting build to the FRITZ!Box: | ||
+ | |||
+ | < | ||
+ | scp bin/ | ||
+ | </ | ||
+ | |||
+ | Then, connect to your FRITZ!Box via SSH and start the WiFi system: | ||
+ | |||
+ | < | ||
+ | ssh root@192.168.1.1 | ||
+ | # ....once connection is established, | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | If the script succeeds, you have another OpenWrt instance ready at '' | ||
+ | |||
+ | The file '' | ||
+ | |||
+ | By default, the ath79 target uses a static IP address of 192.168.1.2, | ||
+ | |||
+ | Upon first start of '' | ||
+ | |||
+ | If you want to install additional packages on the ath79 target, you need to place all its files on the lantiq target into '' | ||
+ | |||
+ | Technically, | ||
+ | |||
+ | If you want to bring up WiFi on boot, you can add the script to the auto start file: | ||
+ | |||
+ | < | ||
+ | ssh root@192.168.1.1 | ||
+ | # ....once connection is established, | ||
+ | echo '/ | ||
+ | </ | ||
+ |