| Issue 15: | Error when start logging (not rooted -- solution: add root check) | |
| 2 people starred this issue and may be notified of changes. | Back to list |
Steps will reproduce the problem: Press the start logging button 3 errors are displayed and logging does not start. errors are: 1) Add rules error: No such file or directory 2) Check rules error: No such file or directory 3) Add rules error: No such file or directory My phone is N7000 with Android 4.0.3. (by the way, i had to change log path with addind /mnt before //sdcad to avoid error for creating the log) Steps will reproduce the problem: Press the start logging button 3 errors are displayed and logging does not start. errors are: 1) Add rules error: No such file or directory 2) Check rules error: No such file or directory 3) Add rules error: No such file or directory My phone is N7000 with Android 4.0.3. (by the way, i had to change log path with addind /mnt before /sdcad to avoid error for creating the log)
May 24, 2012
Hello! I attached the logs (logs when app starts, because it tries to start logs, and logs when i press the start logging button).
May 24, 2012
I added logs also using the browser. It seems it didn't add the email attachments to the previously comment (did you received the attachments by the email?)
May 24, 2012
(No comment was entered for this change.)
May 24, 2012
Thank you for those logs (I didn't get any e-mail attachments). It appears that either the app cannot execute the 'su' command or it cannot create/execute the script-file at the path /data/data/com.googlecode.networklog/files/networklog.sh. I have a couple of questions: Is your phone rooted? If so, are you allowing NetworkLog through SuperUser.apk? Does the /data/data/com.googlecode.networklog/files/ path exist? If so, what are its permissions? If not, what ROM are you using? Cyanogenmod? MIUI? Other? Thanks.
May 24, 2012
The app is installed in /data/app/com.googlecode.networklog-1.apk My phone is no longer rooted, and if I browse /data/ i see no files nor directories. I use the latest official release of ICS v. 4.0.3 for my Samsung Galaxy Note GT-N7000.
May 24, 2012
my system info is attached.
May 25, 2012
The Network Log app uses the Linux iptables infrastructure to log network connections. Unfortunately, this requires root/superuser access. Going forward, the app will now check for root/superuser access before attempting to invoke iptables -- and display an informative dialog if the device is not rooted.
Summary:
Error when start logging (not rooted -- solution: add root check)
Status: Started Labels: -Type-Defect -Priority-Medium Type-Other Priority-Critical Component-UI
May 25, 2012
Committed in https://code.google.com/p/iptableslog/source/detail?r=dfcda5cd890ecdc6715f2cc171e2618ba5816a8b Now shows a single error dialog instead of multiple dialogs when root/superuser access missing.
Status:
Done
May 25, 2012
Issue 13 has been merged into this issue.
May 25, 2012
Also fixed /sdcard issue in commit https://code.google.com/p/iptableslog/source/detail?r=64e6eab9c61cb99e3c9022c4f7a5e4dfc286163b
May 26, 2012
It is something strange regarding the /sdcard/. There are other app that uses /sdcard and i checked and indeed there is also a /sdcard directory (maybe a link to /mnt/sdcard ) ...
May 26, 2012
Now the app warns from the beginning that needs root acces. Sorry I missed this when I installed it first time. I didn't noticed it needs root. I tried this app because i was was looking foar an app that gives me a logfile for every connect and disconnect of the wifi, because when i installed ICS there are periods of time when wifi disconnects and then reconnects... Others experinced this too, and i wanted to see the pattern... Thanks for help and best regards! |
Owner: pragma78@gmail.com