V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  henryshen233  ›  全部回复第 93 页 / 共 103 页
回复总数  2058
1 ... 89  90  91  92  93  94  95  96  97  98 ... 103  
一楼是 /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
# Print the IP address
/home/pi/kcptun/client_linux_arm7 -c /home/pi/kcptun/kcptunclient.json &
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
printf "My IP address is %s\n" "$_IP"
fi
/client_linux_arm7 -c /kcptunclient.json &
exit 0
2017 年 2 月 21 日
回复了 henryshen233 创建的主题 OpenWrt openwrt 中不能自启动 kcptun 的问题,请教同学
安装了 luci 界面,试试应该会好
2017 年 2 月 20 日
回复了 Acheron 创建的主题 macOS mac 上有没有好用的剪贴板增强软件?显示剪贴板历史
@astkaasa Copied
@guokeke 系统重装后,现在连 kcp 都配置好了😳
@imn1 现在路由器不能分配 IP 了,又得重置一下了😂
@JackyBao 我再搞清一下概念
@kuretru 安装了 shadowsocks ,但是应该不影响吧我觉得😳
@kuretru 又在网页端修改了 127.0.0.1#543 为 DNS ,能被 dig 了
@kuretru 在 /etc/dnsmasq.conf 添加 no-reslov 重启试试
@magiclu 我也不清楚,但我印象中都是不安全的,序列号貌似会被偷走
@magiclu 嗯,我挂上 VPN 也能上网
init.d ,上面打错了
@kuretru 这个文件中已经有第一句话了,我添加了 no-resolv 后运行了 /etc/unit.d/dnsmasq restart 后,查看日志还是一样:(
@kuretru 请看
mac 地址也出来了。。。
Wed Sep 9 02:23:09 2015 daemon.warn dnsmasq[1393]: ignoring nameserver 127.0.0.1 - local interface
Wed Sep 9 02:23:09 2015 daemon.warn dnsmasq[1393]: ignoring nameserver 127.0.0.1 - local interface
Wed Sep 9 02:23:09 2015 daemon.warn dnsmasq[1393]: ignoring nameserver 127.0.0.1 - local interface
Wed Sep 9 02:23:09 2015 daemon.warn dnsmasq[1393]: ignoring nameserver 127.0.0.1 - local interface
Wed Sep 9 02:23:09 2015 daemon.warn dnsmasq[1393]: ignoring nameserver 127.0.0.1 - local interface
Wed Sep 9 02:23:09 2015 daemon.warn dnsmasq[1393]: ignoring nameserver 127.0.0.1 - local interface
Wed Sep 9 02:23:09 2015 daemon.info dnsmasq[1393]: reading /etc/resolv.conf
Wed Sep 9 02:23:09 2015 daemon.info dnsmasq[1393]: using nameserver 127.0.0.1#53
Wed Sep 9 02:23:09 2015 daemon.info dnsmasq[1393]: reading /etc/resolv.conf
Wed Sep 9 02:23:09 2015 daemon.info dnsmasq[1393]: using nameserver 127.0.0.1#53
Wed Sep 9 02:23:09 2015 daemon.info dnsmasq[1393]: read /etc/hosts - 1 addresses
Wed Sep 9 02:23:09 2015 daemon.info dnsmasq[1393]: read /tmp/hosts/dhcp - 1 addresses
Wed Sep 9 02:23:09 2015 daemon.info dnsmasq-dhcp[1393]: read /etc/ethers - 0 addresses
Wed Sep 9 02:23:24 2015 daemon.info hostapd: wlan0: STA a4:5e:60:dc:cf:07 IEEE 802.11: authenticated
Wed Sep 9 02:23:24 2015 daemon.info hostapd: wlan0: STA a4:5e:60:dc:cf:07 IEEE 802.11: associated (aid 1)
Wed Sep 9 02:23:24 2015 daemon.info hostapd: wlan0: STA a4:5e:60:dc:cf:07 WPA: pairwise key handshake completed (RSN)
Wed Sep 9 02:23:26 2015 daemon.info dnsmasq-dhcp[1393]: DHCPREQUEST(br-lan) 192.168.1.165 a4:5e:60:dc:cf:07
Wed Sep 9 02:23:26 2015 daemon.info dnsmasq-dhcp[1393]: DHCPACK(br-lan) 192.168.1.165 a4:5e:60:dc:cf:07 HenrydeMBP
Wed Sep 9 02:24:42 2015 authpriv.info dropbear[1458]: Child connection from 192.168.1.165:58810
Wed Sep 9 02:24:47 2015 authpriv.notice dropbear[1458]: Password auth succeeded for 'root' from 192.168.1.165:58810
Wed Sep 9 02:27:52 2015 authpriv.info dropbear[1458]: Exit (root): Disconnect received
Wed Sep 9 02:28:26 2015 authpriv.info dropbear[1495]: Child connection from 192.168.1.165:58814
Wed Sep 9 02:28:31 2015 authpriv.notice dropbear[1495]: Password auth succeeded for 'root' from 192.168.1.165:58814
Wed Sep 9 02:33:02 2015 daemon.info hostapd: wlan0: STA a4:5e:60:dc:cf:07 WPA: group key handshake completed (RSN)
@kuretru 日志是哪个文件,请问
1 ... 89  90  91  92  93  94  95  96  97  98 ... 103  
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1376 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 26ms · UTC 17:03 · PVG 01:03 · LAX 10:03 · JFK 13:03
♥ Do have faith in what you're doing.