This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Script to set up BitNet environment. | |
# | |
# This script performs the following steps: | |
# 1. Updates the system's package list. | |
# 2. Installs necessary dependencies (lsb-release, wget, software-properties-common, gnupg, git, clang, cmake). | |
# 3. Adds the LLVM repository and installs LLVM. | |
# 4. Downloads and installs Miniconda with Python 3.9 based on system architecture. | |
# 5. Makes the conda binaries executable. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
/system/bin/ip addr add 192.168.1.1/24 dev dummy0 | |
/system/bin/ip addr add 192.168.2.1/24 dev dummy0 | |
/system/bin/ip addr add 192.168.3.1/24 dev dummy0 | |
/system/bin/ip addr add 192.168.4.1/24 dev dummy0 | |
/system/bin/ip addr add 192.168.5.1/24 dev dummy0 | |
/system/bin/ip addr add 192.168.6.1/24 dev dummy0 | |
/system/bin/ip addr add 192.168.7.1/24 dev dummy0 | |
/system/bin/ip addr add 192.168.8.1/24 dev dummy0 | |
/system/bin/ip addr add 192.168.9.1/24 dev dummy0 |