openwrt

OpenWRT git clone fatal: Unable to find remote helper for 'http'

匿名 (未验证) 提交于 2019-12-03 08:54:24
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to install LINC-Switch to OpenWRT and stuck on following problem: git clone https://github.com/FlowForwarding/LINC-Switch.git and get an error: git fatal: Unable to find remote helper for 'https' According to this link I've compiled git package without NO_CURL flag in Makefile. I even recompile dist trying to solve the problem. Any ideas? 回答1: Just use git-http instead. opkg remove git opkg install git-http 文章来源: OpenWRT git clone fatal: Unable to find remote helper for 'http'

openwrt 常用软件安装

自闭症网瘾萝莉.ら 提交于 2019-12-03 07:05:06
opkg update opkg install http://openwrt.8800.org:82/lucichinese.ipk #luci web管理汉化(安装后 需重打开ie 进luci管理) opkg install http://openwrt.8800.org:82/nwan.ipk #叠加软件 (单wan多拔、多wan多拔,多线IP接入) opkg install kmod-nls-base opkg install kmod-nls-iso8859-1 kmod-nls-utf8 # 安装语言组件iso-8859-1和utf8 opkg install kmod-usb-core opkg install kmod-usb-ohci #安装usb ohci控制器驱动 #opkg install kmod-usb-uhci  #UHCI USB控制器 opkg install kmod-usb2 #安装usb2.0 opkg install kmod-usb-storage #安装usb存储设备驱动 opkg install usbutils #安装了这个后可以用 lsusb opkg install luci-app-livestats # 实时流量查看 opkg install luci-app-initmgr #安装 Initscripts 用于服务启动管理

Luci (openwrt) wifi bridge client - how to configure? [closed]

╄→гoц情女王★ 提交于 2019-12-03 05:44:21
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . i need to configure a wireless bridge (something like a wireless switch). I have TP-LINK TL-WR740N v4.22 with OPENWRT installed and other TP-LINK router with default firmware. I need to do this setup: Router A (connected to the Internet via WAN port) have IP: 192.168.12.1 and is running DHCP Server Router B

Ubuntu 12.04下编译Openwrt教程

拟墨画扇 提交于 2019-12-03 03:23:58
1、搭建Ubuntu环境、自己解决、我用的是VirtualBox 感觉不错 2、打开“终端”。首先输入 sudo –sH 大小写注意!建议直接复制粘贴。然后输入装系统时设置的用户密码,就能切换到root(提示:输入密码的时候不会有*****之类的显示的,是完全不显示,部分人不必惊慌)。切换到root是为了安装或升级部分必要的组件,有些组件需要root权限。 3、依次输入如下命令(还是复制粘贴吧) apt-get install g++ apt-get install libncurses5-dev apt-get install zlib1g-dev apt-get install bison apt-get install flex apt-get install unzip apt-get install autoconf apt-get install gawk apt-get install make apt-get install gettext apt-get install gcc apt-get install git apt-get install binutils apt-get install patch apt-get install bzip2 apt-get install libz-dev apt-get install asciidoc apt

OpenWrt的Wifi客户端模式

℡╲_俬逩灬. 提交于 2019-12-03 01:13:44
OpenWrt设置 在OpenWrt下主要是设置/etc/config/network、/etc/config/wireless这两个文件,其他的都与默认的LAN和WAN模式相同。 /etc/config/network下,关闭VLAN(enable_valn=0),lan接口设置成静态并 去掉网桥 (默认为'option type bridge',Wifi通常自动桥接到lan接口),wan去掉'option ifname '选项(无线Wifi接口会自动加入wan作为ifname)。 config switch eth1 option reset 0 option enable_vlan 0 config interface loopback option ifname lo option proto static option ipaddr 127.0.0.1 option netmask 255.0.0.0 config interface lan option ifname eth1 option proto static option ipaddr 192.168.2.1 option netmask 255.255.255.0 config interface wan option proto dhcp 配置以后所有交换机上的接口都变为内部LAN

openwrt修改hosts

匿名 (未验证) 提交于 2019-12-03 00:42:01
不同于标准linux主机,openwrt使用dnsmasq来管理dns和dhcp。 修改dnsmasq的配置文件 vi /etc/config/dhcp 在config dnsmasq这组下面添加 list addnhosts ‘/etc/myhosts‘ 这样就可以把/etc/myhosts文件当成host文件来试用了,修改完需要service restart dnsmasq 原文:https://www.cnblogs.com/sherlock-merlin/p/9346791.html

curl更改编译器生成动态库

匿名 (未验证) 提交于 2019-12-03 00:36:02
下载安装包:curl-7.60.0.tar.bz2 1)解压 tar -xvf curl-7.60.0.tar.bz2 2)安装 cd curl-7.60.0 ./configure --prefix=/home/oqm/curl-7.60.0/new-lib --host=mipsel-openwrt-linux CC=/home/code/OpenWrt/toolchain/toolchain-mipsel_24kec+dsp_gcc-5.3.0_musl-1.1.16/bin/mipsel-openwrt-linux-gcc CXX=/home/code/OpenWrt/toolchain/toolchain-mipsel_24kec+dsp_gcc-5.3.0_musl-1.1.16/bin/mipsel-openwrt-linux-g++ make make install 运行结果: 在目录new-lib下生动相关动态库 文章来源: curl更改编译器生成动态库

OpenWrt HelloWorld程序开发入门 (三)

匿名 (未验证) 提交于 2019-12-03 00:34:01
1、 首先编译生成开发环境,在上一节已经提到(点击这里) 2、首先使用git命令获取源代码并创建SDK目录 3、把现有的helloworld工程拷贝到chaos_calmer/package目录下 (如果需要helloworld工程的程序,请点击在这里) include $(TOPDIR)/rules.mk PKG_NAME:=helloworld PKG_RELEASE:=1.0 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) PKG_CONFIG_DEPENDS := include $(INCLUDE_DIR)/package.mk define Package/helloworld SECTION:=utils CATEGORY:=Utilities TITLE:=Hellworld Program endef define Package/helloworld/description a OpenWrt demo of Hello World . endef define Build/Prepare mkdir -p $(PKG_BUILD_DIR) $(CP) ./src/* $(PKG_BUILD_DIR)/ endef define Package/helloworld/install $(INSTALL_DIR) $(1)

openzwave-1.4.164 移植到MTK openwrt-3.10.14 遇到的一些坑

匿名 (未验证) 提交于 2019-12-03 00:25:02
openzwave-1.4.164 移植到MTK openwrt-3.10.14 遇到的一些坑 一)wcsdup的编译错误 http://www.man7.org/linux/man-pages/man3/wcsdup.3.html Feature Test Macro Requirements for glibc (see feature_test_macros(7)): wcsdup(): Since glibc 2.10: _POSIX_C_SOURCE >= 200809L Before glibc 2.10: _GNU_SOURCE 【解决办法】 修改cpp\hidapi\libusb\hid.c,增加如下行 #define _GNU_SOURCE /* needed for wcsdup() before glibc 2.10 */ 二)解决静态库编译问题 Creating vers.cpp Building vers.o Linking Static Library mipsel-openwrt-linux-uclibc-ar: invalid option -- '/' Usage: mipsel-openwrt-linux-uclibc-ar [emulation options] [-]{dmpqrstx}[ abcDfilMNoPsSTuvV] [member