charles2gan / charles2gan/firmware-mod-kit

after edit ddwrt-gui's asp file,install error

Open
#145 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated OpSys-All Priority-Medium Type-Defect
Dominant language
C
Stars
7
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
What steps will reproduce the problem?
1../ extract-firmware.sh
2../ddwrt-gui-extract.sh
3.edit asp file in www/
4. ./ddwrt-gui-rebuild.sh
5. ./build-firmware.sh
6. install firmware in route:write new-firmware.bin linux

What is the expected output? What do you see instead?

function stop_freeradius not found
freeram=[88539136] bufferram=[2965504]
The free memory is enough, writing image once.
write=[7958528]
new-firmware.bin: Truncated file (actual 7958528 expect 8060928)

What version of the product are you using? On what operating system?
DD-WRT v24-sp2
Ubuntu

Please provide any additional information below.

```

Original issue reported on code.google.com by `melon12...@gmail.com` on 19 May 2015 at 1:30

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with extract-firmware.sh, ddwrt-gui-extract.sh, ddwrt-gui-rebuild.sh, and build-firmware.sh on Ubuntu using DD-WRT v24-sp2. Trace the rebuild and image-size output around the missing stop_freeradius function and truncated new-firmware.bin. Done means an edited ASP file produces a complete firmware image that installs successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
build-system, embedded-iot, reverse-engineering
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.