会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Jello
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
77
下一页
2020年8月14日
openwrt的内核默认配置选项在根文件系统的哪个文件中?
摘要: 答: 在/etc/sysctl.d/10-default.conf中
阅读全文
posted @ 2020-08-14 15:15 Jello
阅读(861)
评论(0)
推荐(0)
2020年8月12日
openwrt中的STAGING_DIR定义在哪里?
摘要: 答: 定义在openwrt源码的rules.mk中 STAGING_DIR:=$(TOPDIR)/staging_dir/$(TARGET_DIR_NAME)
阅读全文
posted @ 2020-08-12 23:44 Jello
阅读(1470)
评论(0)
推荐(0)
2020年8月10日
由uboot传给linux内核的启动参数mtdparts
摘要: mtdparts的语法 mtdparts=<mtddef>[;<mtddef>] mtddef由哪些内容组成? <mtddef> := <mtd-id>:<partdef>[,<partdef>] <partdef> := <size>[@<offset>][<name>][ro][1k] 示例解析
阅读全文
posted @ 2020-08-10 21:35 Jello
阅读(670)
评论(0)
推荐(0)
2020年8月7日
如何给centos的yum安装器设置代理?
摘要: 答: 往/etc/yum.conf加入以下内容 $ sudo vi /etc/yum.conf proxy="协议://代理服务器地址:端口" (如: proxy="https://www.helloworld.com:7680") proxy_username="hello" proxy_pass
阅读全文
posted @ 2020-08-07 18:13 Jello
阅读(734)
评论(0)
推荐(0)
2020年8月6日
在同一台机器上,virtualbox上运行的ubuntu能ping通宿主机,但宿主机无法ping通ubuntu这台虚拟机如何处理?
摘要: 答: 在virtualbox的设置里面设置网络为桥接网络(bridge-adapter), 设置完后,虚拟机和宿主机就在一个网段了
阅读全文
posted @ 2020-08-06 18:52 Jello
阅读(604)
评论(0)
推荐(0)
2020年8月5日
tun/tap是干什么的?
摘要: 答:请参考linux内核文档 https://www.kernel.org/doc/Documentation/networking/tuntap.txt
阅读全文
posted @ 2020-08-05 17:43 Jello
阅读(580)
评论(0)
推荐(0)
openwrt编译libubox时报错"missing dependencies for the following libraries: librt.so.1"如何处理?
摘要: 答:往libubox的Makefile中加入+librt即可解决依赖关系 示例如下: $ cat <openwrt source code>/package/libs/libubox/Makefile ... define Package/libubox ... DEPENDS:=+librt en
阅读全文
posted @ 2020-08-05 15:36 Jello
阅读(1134)
评论(0)
推荐(0)
2020年8月3日
如果代码已经由git管理,那么如何将这些代码推送到一个新的空仓库呢?
摘要: 答: 示例如下: cd old-repo (进入旧的仓库目录) git remote set-url origin ssh://git@bitbucket.sw.nxp.com/dash/nfc-module.git (设定新的远程仓库地址) git push -u origin --all (将所
阅读全文
posted @ 2020-08-03 13:55 Jello
阅读(463)
评论(0)
推荐(0)
openwrt中某个软件包的PKG_HASH如何生成?
摘要: 答: 使用sha256sum即可生成,示例如下 $ sha256sum jello.tar.gz
阅读全文
posted @ 2020-08-03 10:55 Jello
阅读(2510)
评论(0)
推荐(0)
2020年7月31日
git如何分解一个commit?
摘要: 答: 使用git add -p指令进行拆解 1. 先找到要分解的commit 2. 回退该commit的信息 $ git reset --soft HEAD^ 3. 将该commit相关的文件从暂存区中取出 $ git reset HEAD <filename> 4. 开始交互式拆解(根据提示选择要
阅读全文
posted @ 2020-07-31 22:29 Jello
阅读(1968)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
77
下一页
公告