Skip to content
rfree-d edited this page Mar 6, 2018 · 2 revisions

Yedino/Galaxy42 should work on OpenWrt/LEDE platform, tested on CompWdr4300.

Build galaxy

  1. Checking out source

If you want to use trunk, use the below line:

git clone https://www.github.com/openwrt/openwrt

or

git clone https://git.lede-project.org/source.git openwrt

If you want to use a release source, use this:

git clone https://www.github.com/openwrt/openwrt -b v17.01.4 (Verify the release name on Github.)

  1. Download Galaxy packages:

update this URL in future will be https://github.com/yedino/OpenWrt-packages

git clone https://github.com/sdf5/OpenWrt-packages packages

  1. Go to openwrt directory

cd openwrt/

  1. Update feeds:

./scripts/feeds update -a

  1. Copy Galaxy packages to feeds

cp ../packages/* feeds/packages/libs/ -r

  1. Update feeds:

./scripts/feeds update -a

  1. Make downloaded package/packages available in make menuconfig

./scripts/feeds install -a

  1. The OpenWrt build system configuration interface

make menuconfig

  1. Set "Target System", "Subtarget", "Target Profile", check Galaxy42 package
  • Set "Target System"
  • Set "Subtarget"
  • Set "Target Profile"
  • check "Galaxy42"
  • check "LuCI/Collections/luci" (optional for GUI)
  • check "Utilities/schadow-utils" (optional for add user)
  • check "Utilities/shells/bash" (optional)
  • check "Administration/sudo" (optional)

and save config

  1. download sources (optional to download before build)

make download

  1. Build the image

make

Enable multi threads builds make -jN where N is number of threads.

Enable ccache for buidl openwrt export CONFIG_CCACHE=y

After a successful build, the freshly built image(s) can be found in the newly created ./bin/targets directory (for TP-LINK TL-WDR4300 is ./bin/targets/ar71xx/generic/openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-factory.bin).

If you want only galaxy42 package you can build it:

make package/Galaxy42/compile

and find it in ./bin/packages/ directory (for TP-LINK TL-WDR4300 is ./bin/packages/mips_24kc/packages/Galaxy42_2016-12-29-OpenWrt-1_mips_24kc.ipk).

Run galaxy

How to run opnewrt on device you can find on https://openwrt.org/toh/start.

  1. Connect to device

ssh [email protected]

  1. Create new user
  • 'useradd USER_NAME' - Create new user

  • passwd USER_NAME - Add password to user

  • mkdir /home - Create home directory

  • mkdir /home/USER_NAME - Create user directory

  • chown USER_NAME /home/USER_NAME - Give permissions

  1. Allow user to temporary privileged access using sudo

For enabling enter the command

visudo

And then add a line allowing your user, under comment "## User privilege specification":

##

## User privilege specification

##

root ALL=(ALL) ALL

nicolaus ALL=(ALL) ALL

  1. Add privilege to tun for all users

chmod a+rw /dev/net/tun

  1. Login to new user.

su USER_NAME

  1. Run galaxy

sudo /usr/bin/tunserver.elf

Home || Contact || Tips❤️ || TestNr🔬 || EditWiki

Progress:
Report (blog)

Research / Current topic:
NetworkSpeed
TestNetwork10gNet1 Network
TestDevicesNX3031_HP NIC Device
NetworkSpeed10Gb 10 GB speed

Development:
GUI

Yedino Users:
YedinoServices - use this services
YedinoPeers - peer to this
Cool - most popular services

Please help
Help
NetworkSpeed 🏗️Help🏗️


Use/search emojis icons:

🏗️ - help needed
📓 - testing/lab needed

🥇 - best result (in our program)
🥈 - best result

🚫 - warning (e.g. in test results)
🚩 - interesting (e.g. in test results)

📚 - high quality resource

🚧 - todo
🚨 - warning


Clone this wiki locally