90 ‐ Hardware ‐ HP MSM460 - freifunk-darmstadt/projects GitHub Wiki
Installation - Version Alex
Files
https://files.darmstadt.freifunk.net/s/3DMnaHTTdEEbgWd
README
NixOS
Start a nix-shell with the following toolset:
nix-shell -p dnsmasq -p tftp-hpa -p tmux -p picocom
edit lua: (or just make sure you have those packages installed) This command is installing a few needed software packages.
Procedure
Place U-Boot NAND image as msm460-uboot.bin
into a TFTP server directory.
Place OpenWrt factory image as msm460-factory.bin
into a TFTP server directory.
You can start a TFTP server in the current directory using dnsmasq:
sudo dnsmasq --no-daemon --listen-address=0.0.0.0 --port=0 --enable-tftp=enxd0 --tftp-root="$(pwd)" --user=root --group=root
edit lua: (tldr: cd into the downloads dir and start a tftp server with above args)
Replace enxd0
with the name of your network interface.
You can find out the network interface name by running "ip -c a"
- Assign yourself the IP-Address 192.168.1.66 with subnet 24. Settings/Network/+/Adresses 192.168.1.66 and subnetmask 255.255.255.0
- Connect the Router to the PC while keeping the reset button pressed.
- The LEDs will eventually begin to flash. edit lua: (kinda borked, u might need to try several times) They will start to flash faster after around 15 seconds.
- Release the reset button. edit lua: 6. start a new shell
- Make sure you are currently in the directory where the ftp server is located.
- Run the following command:
tftp 192.168.1.1 -m binary -c put commands.tftp nflashd.cccc9999
You get the message "Transfer timed out." To find out if you have been successfull please check the blinking LED Pattern. VERY IMPORTANT: Dont forget to access the Config and configure the router or else the router gets borked