lateautumn233 / Linuxdeploy-Pro

Install and run GNU/Linux on Android
GNU General Public License v3.0
199 stars 44 forks source link

增加了相应的group以后还是无网络连接 #38

Closed mio-19 closed 11 months ago

mio-19 commented 1 year ago

设备Samsung S21 Ultra OneUI 5 Android 13

user@localhost ~> sudo ping 124.70.129.64
PING 124.70.129.64 (124.70.129.64) 56(84) bytes of data.
64 bytes from 124.70.129.64: icmp_seq=1 ttl=43 time=22.1 ms
^C
--- 124.70.129.64 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 22.074/22.074/22.074/0.000 ms
user@localhost ~> ping 124.70.129.64
PING 124.70.129.64 (124.70.129.64) 56(84) bytes of data.
^C
--- 124.70.129.64 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

user@localhost ~ [1]> id
uid=60000(user) gid=60000(user) groups=60000(user),1003(aid_graphics),1015(aid_sdcard_rw),1023(aid_media_rw),3003(aid_inet),9997(aid_everybody)
Hiyase commented 1 year ago

把你用户的uid和 gid 改为4000 - 10000的范围,你可以直接用4000的id,开发者原来设置的60000太大,所以会出现奇怪的问题

lateautumn233 commented 1 year ago

有能力可以提pr

mio-19 commented 7 months ago

需要发新release,遇到uid太大导致手机卡死必须硬重启

mio-19 commented 7 months ago

需要发新release,遇到uid太大导致手机卡死必须硬重启

改了uid和gid,应该是其他的问题导致手机卡死