Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译后ssr 守护日志提示错误 #29

Closed
sirfromprc opened this issue Sep 9, 2017 · 8 comments
Closed

编译后ssr 守护日志提示错误 #29

sirfromprc opened this issue Sep 9, 2017 · 8 comments

Comments

@sirfromprc
Copy link

[2017-09-09 14:15:00] ShadowsocksR No Problem.
udhcpc: no lease, failing
udhcpc: sending discover
udhcpc: started, v1.27.2
/etc/rc.common: line 144: /usr/bin/ip: not found
/etc/rc.common: line 144: /usr/bin/ip: not found
2017-09-09 14:00:09 INFO: obfs_param
2017-09-09 14:00:09 INFO: obfs plain
2017-09-09 14:00:09 INFO: method chacha20-ietf
2017-09-09 14:00:09 INFO: protocol_param
2017-09-09 14:00:09 INFO: protocol origin
/etc/rc.common: line 144: /usr/bin/ip: not found
/etc/rc.common: line 144: /usr/bin/ip: not found
udhcpc: no lease, failing
udhcpc: sending discover
udhcpc: started, v1.27.2
[2017-09-09 14:00:00] Problem decteted, restarting ShadowsocksR...

@coolsnowwolf
Copy link
Owner

请将 default-settings 编译进去,或者参考

里面有个 ip-full 和 ip-tiny 的路径修正

@coolsnowwolf
Copy link
Owner

算了,我来加吧。修复了。

你 git pull 一下再编译即可

@sirfromprc
Copy link
Author

还是不行,路由器里面/usr/bin/ip这个文件是链接到/usr/sbin/ip,但/usr/sbin/ip这个文件不存在。程序应该是执行的(opkg list-installed | grep ip-full >/dev/null 2>&1) && ln -sf /usr/sbin/ip /usr/bin/ip这个命令。[ ! -f /usr/bin/ip ] && ln -sf /sbin/ip /usr/bin/ip这个命令没有执行,/sbin/ip 这个文件是存在的

@coolsnowwolf
Copy link
Owner

看你选择了,你不要同时选择 ip-full 和 ip-tiny 即可

default

/usr/bin/ip 默认 在 ip-tiny 是真实文件

我也不知道官方为毛要这样分开

同样的问题出现在 MWAN3

@coolsnowwolf
Copy link
Owner

提示:如果去掉绝对路径,在 LEDE 上面执行没问题,会自动判断路径,潘多拉上面有问题

@coolsnowwolf
Copy link
Owner

ip-tiny 在这里 /usr/bin/ip
ip-full 在这里 /usr/sbin/ip

MWAN3 需要的是 /usr/bin/ip

@coolsnowwolf
Copy link
Owner

另外 , /sbin/ip 还有一个,是 busybox 生成的。。。。为毛这么绕,我也不明白

@sirfromprc
Copy link
Author

谢谢大雕,原来是只装了ip-full,程序应用没什么问题的,就是感觉变慢了。我又把ip-full和ip-tiny一起编译了,发现速度反而快了,明天再看看速度怎么样

1582130940 pushed a commit to 1582130940/OpenWrt-Lean that referenced this issue Oct 24, 2022
95ca1c3 nat46-core: ignore IPv4 options when translating packets
39778c2 add a module argument to ignore TOS translate for IPv4
9a36ee1 add a module argument to ignore TOS translate for IPv4
79190a8 add a module argument to ignore TOS translate for IPv4

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

nat46: fix translation of ICMP protocols parameter problem and unreachable

9b3a819 nat46-core: Fix translation of ICMP protocols parameter problem and unreachable (coolsnowwolf#27)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

nat46: update to latest git HEAD

1fdf2a3 Fix kernel panic due to device deletion (coolsnowwolf#29)
e7b48d1 add the mutex lock for create/delete/config/insert nat46 devices to fix nat46 module crash issues. (coolsnowwolf#28)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

nat46: update to latest git HEAD

d9bc161 nat46-core: Fix typo since day one (coolsnowwolf#31)
840e235 Fix coverity issues observed so far (coolsnowwolf#30)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
1582130940 pushed a commit to 1582130940/OpenWrt-Lean that referenced this issue Oct 24, 2022
95ca1c3 nat46-core: ignore IPv4 options when translating packets
39778c2 add a module argument to ignore TOS translate for IPv4
9a36ee1 add a module argument to ignore TOS translate for IPv4
79190a8 add a module argument to ignore TOS translate for IPv4

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

nat46: fix translation of ICMP protocols parameter problem and unreachable

9b3a819 nat46-core: Fix translation of ICMP protocols parameter problem and unreachable (coolsnowwolf#27)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

nat46: update to latest git HEAD

1fdf2a3 Fix kernel panic due to device deletion (coolsnowwolf#29)
e7b48d1 add the mutex lock for create/delete/config/insert nat46 devices to fix nat46 module crash issues. (coolsnowwolf#28)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

nat46: update to latest git HEAD

d9bc161 nat46-core: Fix typo since day one (coolsnowwolf#31)
840e235 Fix coverity issues observed so far (coolsnowwolf#30)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
1582130940 pushed a commit to 1582130940/OpenWrt-Lean that referenced this issue Nov 1, 2022
95ca1c3 nat46-core: ignore IPv4 options when translating packets
39778c2 add a module argument to ignore TOS translate for IPv4
9a36ee1 add a module argument to ignore TOS translate for IPv4
79190a8 add a module argument to ignore TOS translate for IPv4

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

nat46: fix translation of ICMP protocols parameter problem and unreachable

9b3a819 nat46-core: Fix translation of ICMP protocols parameter problem and unreachable (coolsnowwolf#27)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

nat46: update to latest git HEAD

1fdf2a3 Fix kernel panic due to device deletion (coolsnowwolf#29)
e7b48d1 add the mutex lock for create/delete/config/insert nat46 devices to fix nat46 module crash issues. (coolsnowwolf#28)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

nat46: update to latest git HEAD

d9bc161 nat46-core: Fix typo since day one (coolsnowwolf#31)
840e235 Fix coverity issues observed so far (coolsnowwolf#30)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
1582130940 pushed a commit to 1582130940/OpenWrt-Lean that referenced this issue Nov 3, 2022
95ca1c3 nat46-core: ignore IPv4 options when translating packets
39778c2 add a module argument to ignore TOS translate for IPv4
9a36ee1 add a module argument to ignore TOS translate for IPv4
79190a8 add a module argument to ignore TOS translate for IPv4

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

nat46: fix translation of ICMP protocols parameter problem and unreachable

9b3a819 nat46-core: Fix translation of ICMP protocols parameter problem and unreachable (coolsnowwolf#27)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

nat46: update to latest git HEAD

1fdf2a3 Fix kernel panic due to device deletion (coolsnowwolf#29)
e7b48d1 add the mutex lock for create/delete/config/insert nat46 devices to fix nat46 module crash issues. (coolsnowwolf#28)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

nat46: update to latest git HEAD

d9bc161 nat46-core: Fix typo since day one (coolsnowwolf#31)
840e235 Fix coverity issues observed so far (coolsnowwolf#30)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
1582130940 pushed a commit to 1582130940/OpenWrt-Lean that referenced this issue Nov 19, 2022
1fdf2a3 Fix kernel panic due to device deletion (coolsnowwolf#29)
e7b48d1 add the mutex lock for create/delete/config/insert nat46 devices to fix nat46 module crash issues. (coolsnowwolf#28)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
coolsnowwolf pushed a commit that referenced this issue Nov 19, 2022
* firmware: intel-microcode: update to 20220809

Debian's changelog by Henrique de Moraes Holschuh <hmh@debian.org>:

  * New upstream microcode datafile 20220809
    * Fixes INTEL-SA-00657, CVE-2022-21233
      Stale data from APIC leaks SGX memory (AEPIC leak)
    * Fixes unspecified errata (functional issues) on Xeon Scalable
    * Updated Microcodes:
      sig 0x00050653, pf_mask 0x97, 2022-03-14, rev 0x100015e, size 34816
      sig 0x00050654, pf_mask 0xb7, 2022-03-08, rev 0x2006e05, size 44032
      sig 0x000606a6, pf_mask 0x87, 2022-04-07, rev 0xd000375, size 293888
      sig 0x000706a1, pf_mask 0x01, 2022-03-23, rev 0x003c, size 75776
      sig 0x000706a8, pf_mask 0x01, 2022-03-23, rev 0x0020, size 75776
      sig 0x000706e5, pf_mask 0x80, 2022-03-17, rev 0x00b2, size 112640
      sig 0x000806c2, pf_mask 0xc2, 2022-03-19, rev 0x0028, size 97280
      sig 0x000806d1, pf_mask 0xc2, 2022-03-28, rev 0x0040, size 102400
      sig 0x00090672, pf_mask 0x03, 2022-06-07, rev 0x0022, size 216064
      sig 0x00090675, pf_mask 0x03, 2022-06-07, rev 0x0022, size 216064
      sig 0x000906a3, pf_mask 0x80, 2022-06-15, rev 0x0421, size 216064
      sig 0x000906a4, pf_mask 0x80, 2022-06-15, rev 0x0421, size 216064
      sig 0x000a0671, pf_mask 0x02, 2022-03-17, rev 0x0054, size 103424
      sig 0x000b06f2, pf_mask 0x03, 2022-06-07, rev 0x0022, size 216064
      sig 0x000b06f5, pf_mask 0x03, 2022-06-07, rev 0x0022, size 216064

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>

* bcm27xx-gpu-fw: update to latest version

Multiple firmware fixes needed for kernel updates.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* bcm27xx-gpu-fw: update to latest version

Latest GPU FW contains multiple fixes and improvements.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* bcm63xx-cfe: update to the latest master

e5050f3 linksys: ea9500-v2: add cferam file

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>

* nat46: fix translation of ICMP protocols parameter problem and unreachable

9b3a819 nat46-core: Fix translation of ICMP protocols parameter problem and unreachable (#27)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

* nat46: update to latest git HEAD

1fdf2a3 Fix kernel panic due to device deletion (#29)
e7b48d1 add the mutex lock for create/delete/config/insert nat46 devices to fix nat46 module crash issues. (#28)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

* nat46: update to latest git HEAD

d9bc161 nat46-core: Fix typo since day one (#31)
840e235 Fix coverity issues observed so far (#30)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

* nat46: update to git HEAD

95ca1c3 nat46-core: ignore IPv4 options when translating packets
39778c2 add a module argument to ignore TOS translate for IPv4
9a36ee1 add a module argument to ignore TOS translate for IPv4
79190a8 add a module argument to ignore TOS translate for IPv4

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

* mwlwifi: fix 5.15 kernel support

Fix compilation and usage under kernel 5.15 for the mwlwifi driver.

For detailed description of changes, check individual patches.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>

* rtl8812au-ct: Fix compile

Replace the extern inline with a static inline. With extern inline the
compiler will generate the function in all compile units including this
file which breaks linking later.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Co-authored-by: Christian Lamparter <chunkeey@gmail.com>
Co-authored-by: Álvaro Fernández Rojas <noltari@gmail.com>
Co-authored-by: Rafał Miłecki <rafal@milecki.pl>
Co-authored-by: Hans Dedecker <dedeckeh@gmail.com>
Co-authored-by: Robert Marko <robert.marko@sartura.hr>
Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants