Skip to content

probonopd/minikrebs

 
 

Repository files navigation

Customized OpenWrt image generator Build Status

This is a customized OpenWrt firmware image generator based on http://shackspace.de/wiki/doku.php?id=project:minikrebs

You can download some of the generated firmware images from this Bintray repository.

CAUTION: These images are entirely untested and you are running them on your own risk. You might brick your device, so if you do not know how to debrick your device e.g., using a serial console, don't use these images.

Profiles

Radio

Builds an image that contains a web radio and podcast client.

You can use this firmware image generator to produce a firmware that does the following:

  • Play web radio streams
  • Play podcasts
  • Connect wired ethernet or wireless LAN
  • Use station IDs/jingles or spoken announcements to identify the radio stream
  • Flip through predefined channels and podcasts using a regular infrared remote control
  • Use an HTML interface to control the player from any computer or mobile device in the household
  • Search for and play MP3 music files on the Internet
  • Search for and play radio stations and podcasts
  • Discover radio stations and podcasts using a server-based repository of radio stations and podcasts
  • Find and play podcast episodes
  • Sleep timer
  • Optionally, send infrared remote control codes to other devices, e.g. an amplifier
# If you want to build for a device other than the TP-LINK TL-WR703N, do:
export PLATFORM=DIR505A1 # for D-Link DIR-505
export PLATFORM=TLWR710 # for TP-LINK TL-WR710N
# Get ready
./prepare radio
# Build the firmware image
./builder/init
# Flash to the device - either using the OEM's web interface 
# or using the script below if the router is already running OpenWrt - 
# this asks for the root password of the device twice, then reboots
# Note: OpenWrt must already be running on the device for this to work
./upgrade 192.168.0.19 # replace with the IP address of the device

For more information see doc/radio.md

Captive

A captive portal. To be written

Netem

A worst-case network simulator. To be written

Supported hardware

TP-Link TL-WR703N

TP-Link TL-WR703N

To be written

TP-Link TL-WR710N

To be written

D-Link DIR-505 Mobile Companion

D-Link DIR-505 Mobile Companion

To be written

Unbranded A5-V11 (7 EUR router)

Unbranded A5-V11

This whitelabel A5-V11 Ralink/Mediatek RT5350F-based router is sold on eBay from Chinese sellers for around 8 USD (shipped) as of January 2015, which is around a third of the TL-WR703N. It has a white housing with silver print "3G/4G Router 150M". On the PCB it says "A5-V11". On the PCB it has a W9825G6EH-75 RAM (32 MB) RAM chip and 4 MB SPI ROM. Ethernet MAC address starts with 2C:67:FB:. As of OpenWrt trunk r43793 it is supported by the Image Generator. The factory image can successfully be flashed from the stock firmware GUI without having to open the device or mess with uboot manually.

CAUTION: This device uses eth0.1 rather than eth0 or eth1, so be aware of that in order for the wired Ethernet to work. You need to change /etc/configuration/network accordingly or the device will not be accessible after flashing without using a serial adapter to unbrick (or possibly OpenWrt Failsafe).

To build for this device, move or remove any pre-existing builder/ directory, and change the IMAGEBUILDER_URL so that it points to a "trunk/ramips/generic" ImageBuilder URL like IMAGEBUILDER_URL="https://downloads.openwrt.org/snapshots/trunk/ramips/generic/OpenWrt-ImageBuilder-ramips_rt305x-for-linux-x86_64.tar.bz2".

Now you can build for this platform like so:

export PLATFORM=A5-V11 
./prepare radio
./builder/init

Before flashing, make sure that /etc/config/network looks like this (note the eth0.1):

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'
 
config interface 'lan0'
        option ifname 'eth0.1'
        option proto 'dhcp'

About

OpenWrt-based webradio firmware generator for A5-V11, D-Link DIR-505, TP-LINK TL-WR710N and TP-LINK TL-WR703N and USB sound card

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 84.1%
  • Lua 5.1%
  • Python 5.0%
  • Awk 4.3%
  • HTML 1.5%