OpenWRT/LEDE更换国内源

https://mirrors.ustc.edu.cn/openwrt/ 说明: OpenWRT/LEDE 下载站镜像。 这是对https://downloads.openwrt.org/的完整镜像,内容包括官方支持的平台的 ROM、SDK 及工具链、软件仓库镜像等。 使用说明: 一般情况下,下载来自downloads.openwrt.org的文件时,将 URL 中的这部分域名替换为mirrors.ustc.edu.cn/openwrt即可。 如要使用本镜像作为 OpenWRT/LEDE 系统 opkg 软件仓库,SSH 登录路由器编辑/etc/opkg/distfeeds.conf文件,同样按照上面的方法替换域名即可。可以使用如下命令操作: sed -i 's/downloads.openwrt.org/mirrors.ustc.edu.cn\/openwrt/g' /etc/opkg/distfeeds.conf 之后运行opkg update更新软件索引,注意检查是否出现错误。 via https://mirrors.ustc.edu.cn/help/openwrt.html

2021年2月27日 · bbq

Android上免root安装Linux

准备工作 安装Termux 下载地址:官方 国内 建议将Termux软件源替换为国内,参考Termux编辑软件源 安装Linux系统 安装ubuntu pkg install wget openssl-tool proot -y && hash -r && wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/Installer/Ubuntu/ubuntu.sh && bash ubuntu.sh 源地址无法访问,国内可使用http://0x8.net/res/ubuntu.sh替换。 安装完成后使用./start-ubuntu.sh启动进入系统。 替换ubuntu port软件源并更新系统 sed -i 's,http://ports.ubuntu.com/ubuntu-ports,http://mirrors.ustc.edu.cn/ubuntu-ports,' /etc/apt/sources.list apt update&&apt upgrade -y 安装xfce桌面环境 安装xfce wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Apt/Xfce4/de-apt-xfce4.sh && bash de-apt-xfce4.sh 源地址无法访问,国内可使用http://0x8.net/res/de-apt-xfce4.sh替换。 安装mate wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Apt/Mate/de-apt-mate.sh && bash de-apt-mate.sh 源地址无法访问,国内可使用http://0x8.net/res/de-apt-mate.sh替换。 安装lxqt wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Apt/LXQt/de-apt-lxqt.sh && bash de-apt-lxqt.sh 源地址无法访问,国内可使用http://0x8.net/res/de-apt-lxqt.sh替换。 安装lxde wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Apt/LXDE/de-apt-lxde.sh && bash de-apt-lxde.sh 源地址无法访问,国内可使用http://0x8.net/res/de-apt-lxde.sh替换。 开启SSH登录 安装开启SSH wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/SSH/Apt/ssh-apt.sh && bash ssh-apt.sh 源地址无法访问,国内可使用http://0x8.net/res/ssh-apt.sh替换。

2021年2月8日 · bbq

RB750Gr3通过Netinstall恢复官方系统

在官网下载NetInstall https://mikrotik.com/download 以及routeros系统。 参考下图,将固网中的IP4设置下。 打开下载后的Netinstall程序,如下点击Net booting,设置IP。 将网线连接到路由器WAN口,断电,用卡针按住RES按钮,上电后观察USR灯,连闪三下后,再闪一下后熄灭马上放开RES按钮,此时路由器进入netboot模式。 然后将路由器连接到电脑固网网口。 连接后点击识别出的设备,然后点击Browse选择下载好的routeros系统文件(.bin),勾选之。 点击install开始安装,完成后点击reboot即可。

2021年1月15日 · bbq

OpenWRT通过SSH 安装LUCI

安装完OpenWRT基本系统后,是无法通过WEB来进行管理的,需要安装LUCI才可以 将路由器WAN口连接到一个已经联网的路由器下,然后电脑LAN口连接新路由,通过以下方法开安装LUCI。 建议安装前将OpenWRT/LEDE更换国内源,这样可以更加快速安装软件。 $ ssh root@192.168.1.1 #默认密码为空 The authenticity of host \'192.168.1.1 (192.168.1.1)\' can\'t be established. RSA key fingerprint is SHA256:UElnmEDlnbdNWutb3J8IjXbBMxbdOJYzHNYYp9lTYKw. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added \'192.168.1.1\' (RSA) to the list of known hosts. BusyBox v1.30.0 () built-in shell (ash) _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- OpenWrt SNAPSHOT, r9028-75fdf3b ----------------------------------------------------- === WARNING! ===================================== There is no root password defined on this device! Use the \"passwd\" command to set up a new password in order to prevent unauthorized SSH logins. -------------------------------------------------- root@OpenWrt:~# opkg update #更新软件源 Downloading http://downloads.openwrt.org/snapshots/targets/ramips/mt7621/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_core Downloading http://downloads.openwrt.org/snapshots/targets/ramips/mt7621/packages/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/snapshots/targets/ramips/mt7621/kmods/4.14.91-1-26f5ed44a4b010654f5ec58e94ee7c46/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_kmods Downloading http://downloads.openwrt.org/snapshots/targets/ramips/mt7621/kmods/4.14.91-1-26f5ed44a4b010654f5ec58e94ee7c46/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_base Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_luci Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_packages Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_routing Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing/Packages.sig Signature check passed.\r\nDownloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_telephony Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony/Packages.sig Signature check passed.\r\nroot@OpenWrt:~# opkg install luci #安装luci Installing luci (git-19.013.40861-80ac438-1) to root... Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci_git-19.013.40861-80ac438-1_all.ipk Installing uhttpd (2018-11-28-cdfc902a-1) to root... Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/uhttpd_2018-11-28-cdfc902a-1_mipsel_24kc.ipk Installing liblua (5.1.5-1) to root... Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/liblua_5.1.5-1_mipsel_24kc.ipk Installing lua (5.1.5-1) to root... Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/lua_5.1.5-1_mipsel_24kc.ipk Installing luci-lib-nixio (git-19.013.40861-80ac438-1) to root... Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-lib-nixio_git-19.013.40861-80ac438-1_mipsel_24kc.ipk Installing luci-lib-ip (git-19.013.40861-80ac438-1) to root... Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-lib-ip_git-19.013.40861-80ac438-1_mipsel_24kc.ipk Installing rpcd (2018-11-28-3aa81d0d-1) to root... Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/rpcd_2018-11-28-3aa81d0d-1_mipsel_24kc.ipk Installing libubus-lua (2018-10-06-221ce7e7-1) to root... Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/libubus-lua_2018-10-06-221ce7e7-1_mipsel_24kc.ipk Installing luci-lib-jsonc (git-19.013.40861-80ac438-1) to root... Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-lib-jsonc_git-19.013.40861-80ac438-1_mipsel_24kc.ipk Installing liblucihttp (2018-05-18-cb119ded-1) to root... Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/liblucihttp_2018-05-18-cb119ded-1_mipsel_24kc.ipk Installing liblucihttp-lua (2018-05-18-cb119ded-1) to root... Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/liblucihttp-lua_2018-05-18-cb119ded-1_mipsel_24kc.ipk Installing luci-base (git-19.013.40861-80ac438-1) to root... Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-base_git-19.013.40861-80ac438-1_mipsel_24kc.ipk Installing libiwinfo (2018-12-25-dd508af4-1) to root... Downloading http://downloads.openwrt.org/snapshots/targets/ramips/mt7621/packages/libiwinfo_2018-12-25-dd508af4-1_mipsel_24kc.ipk Installing libiwinfo-lua (2018-12-25-dd508af4-1) to root... Downloading http://downloads.openwrt.org/snapshots/targets/ramips/mt7621/packages/libiwinfo-lua_2018-12-25-dd508af4-1_mipsel_24kc.ipk Installing luci-mod-status (git-19.013.40861-80ac438-1) to root... Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-mod-status_git-19.013.40861-80ac438-1_mipsel_24kc.ipk Installing luci-mod-system (git-19.013.40861-80ac438-1) to root... Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-mod-system_git-19.013.40861-80ac438-1_all.ipk Installing luci-mod-network (git-19.013.40861-80ac438-1) to root... Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-mod-network_git-19.013.40861-80ac438-1_all.ipk Installing luci-mod-admin-full (git-19.013.40861-80ac438-1) to root... Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-mod-admin-full_git-19.013.40861-80ac438-1_all.ipk Installing luci-theme-bootstrap (git-19.013.40861-80ac438-1) to root... Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-theme-bootstrap_git-19.013.40861-80ac438-1_all.ipk Installing luci-app-firewall (git-19.013.40861-80ac438-1) to root... Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-app-firewall_git-19.013.40861-80ac438-1_all.ipk Installing luci-app-opkg (git-19.013.40861-80ac438-1) to root... Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-app-opkg_git-19.013.40861-80ac438-1_all.ipk Installing luci-proto-ppp (git-19.013.40861-80ac438-1) to root... Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-proto-ppp_git-19.013.40861-80ac438-1_all.ipk Installing luci-proto-ipv6 (git-19.013.40861-80ac438-1) to root... Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-proto-ipv6_git-19.013.40861-80ac438-1_all.ipk Installing rpcd-mod-rrdns (20170710) to root... Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/rpcd-mod-rrdns_20170710_mipsel_24kc.ipk Configuring luci-app-opkg. Configuring rpcd. Configuring liblua. Configuring luci-lib-ip. Configuring libubus-lua. Configuring libiwinfo. Configuring libiwinfo-lua. Configuring lua. Configuring luci-lib-nixio. Configuring luci-lib-jsonc. Configuring liblucihttp. Configuring liblucihttp-lua. Configuring luci-base. Configuring luci-mod-system. Configuring luci-theme-bootstrap. Configuring luci-mod-status. Configuring luci-app-firewall. Configuring luci-proto-ppp. Configuring luci-mod-network. Configuring luci-mod-admin-full. Configuring luci-proto-ipv6. Configuring uhttpd. Configuring rpcd-mod-rrdns. Configuring luci. root@OpenWrt:~# #安装完成,重启即可 重启后,就可以通过访问192.168.1.1来进行web端管理了,root默认密码为空,记得添加密码咯! ...

2020年12月27日 · bbq

使用proxychains-ng代理cmd

安装rpoxychains-ng sudo dnf install proxychains-ng ## or sudo apt install proxychains-ng 设置proxychains-ng代理地址 vi /etc/proxychains.conf 添加socks5 192.168.1.94 10808即可,支持多种代理方式:socks4/socks5/http,如下说明: # Examples: # # socks5 192.168.67.78 1080 lamer secret # http 192.168.89.3 8080 justu hidden # socks4 192.168.1.49 1080 # http 192.168.39.93 8080 使用proxychains-ng代理执行命令 $proxychains curl -O https://github.com/XTLS/Xray-install/raw/main/install-release.sh [proxychains] config file found: /etc/proxychains.conf [proxychains] preloading /usr/lib64/proxychains-ng/libproxychains4.so [proxychains] DLL init: proxychains-ng 4.13 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 [proxychains] Strict chain ... 192.168.1.94:10808 ... raw.githubusercontent.com:443 ... OK 100 21115 100 21115 0 0 6107 0 0:00:03 0:00:03 --:--:-- 6106 https://github.com/rofl0r/proxychains-ng.git ...

2020年11月8日 · bbq