using wireshark with Gargoyle
Moderator: Moderators
Re: using wireshark with Gargoyle
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: using wireshark with Gargoyle
Improvement but:
Could this be because I am using adblock? Is it taking up all the space? If so could I just delete the adblock url list temporarily? Last time I ran out of space the device locked itself and I had to upgrade which wasn't a massive problem but I prefer that didn't happen again.
I can update to 1.10.x if that has tcpdump installed?
Code: Select all
ERROR: Not enough space in destination root to install specified packages:
tcpdump, libpcap
Code: Select all
root@Gargoyle:/etc# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 768 552 216 72% /
/dev/root 6144 6144 0 100% /rom
tmpfs 63040 644 62396 1% /tmp
/dev/mtdblock3 768 552 216 72% /overlay
overlayfs:/overlay 768 552 216 72% /
tmpfs 512 0 512 0% /dev
root@Gargoyle:/etc#
Re: using wireshark with Gargoyle
No it doesn’t have it included.
Check the size of each of those
gpkg info packagename
Then you’ll know how much to free up
Check the size of each of those
gpkg info packagename
Then you’ll know how much to free up
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: using wireshark with Gargoyle
Thanks Lantis. The combined installed size of both is 351453
Currently the adblock block.hosts file is 369407!
So unless there is something else somewhere that I can delete I am not sure I can install this and have adblock running as well?
Currently the adblock block.hosts file is 369407!
So unless there is something else somewhere that I can delete I am not sure I can install this and have adblock running as well?
Re: using wireshark with Gargoyle
Doesn’t look like it.
You could add an external storage device?
You could add an external storage device?
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: using wireshark with Gargoyle
OK I did that and changed the plugin root. Refreshed. Uninstalled adblock. Reinstalled adblock. Rebooted. BUT...
I have no idea why the freespace only went up by 100k? Anything else I can try?
Code: Select all
root@Gargoyle:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 768 456 312 59% /
/dev/root 6144 6144 0 100% /rom
tmpfs 63040 108 62932 0% /tmp
/dev/mtdblock3 768 456 312 59% /overlay
overlayfs:/overlay 768 456 312 59% /
tmpfs 512 0 512 0% /dev
/dev/sda1 3902400 1400 3901000 0% /tmp/usb_mount/7a94e0c6-01
root@Gargoyle:~#
Re: using wireshark with Gargoyle
OK I have now setup extroot and I can install tcpdump BUT all the plugins now report insufficient disk space and I can't install adblock. Is this a known bug?
EDIT: I have manually added Teffalump's original adblock script and all appears to be well but if I could have done this better then please let me know.
EDIT: I have manually added Teffalump's original adblock script and all appears to be well but if I could have done this better then please let me know.
Re: using wireshark with Gargoyle
OK for future readers I have this working. What you need to do is:
1. Follow the instructions here EXCEPT for the capturing section: https://medium.com/openwrt-iot/lede-ope ... de3e020cbb
2. Install Wireshark on your Windows PC. Note the install path for the fourth step
3. Download and put somewhere easily accessible (like c:\temp) the command line program plink from here: https://www.chiark.greenend.org.uk/~sgt ... atest.html
4. Open a command line window on your windows machine and change directory to where you put plink. Then modify this line and run it and wireshark will launch.
You need to change the above to reflect your Gargoyle password.
Change 192.168.1.254 to the ip address of your Gargoyle router.
Change 192.168.1.168 to the ip address of the device you want to monitor.
Change the path to Wireshark as necessary.
1. Follow the instructions here EXCEPT for the capturing section: https://medium.com/openwrt-iot/lede-ope ... de3e020cbb
2. Install Wireshark on your Windows PC. Note the install path for the fourth step
3. Download and put somewhere easily accessible (like c:\temp) the command line program plink from here: https://www.chiark.greenend.org.uk/~sgt ... atest.html
4. Open a command line window on your windows machine and change directory to where you put plink. Then modify this line and run it and wireshark will launch.
Code: Select all
plink.exe -ssh -pw yourGargoylePassword root@192.168.1.254 "tcpdump -i br-lan -U -s0 -w - host 192.168.1.168" | "F:\Program Files\Wireshark\Wireshark.exe" -k -i -
Change 192.168.1.254 to the ip address of your Gargoyle router.
Change 192.168.1.168 to the ip address of the device you want to monitor.
Change the path to Wireshark as necessary.
-
- Posts: 32
- Joined: Mon Nov 27, 2017 6:10 am
- Location: Penang, Malaysia
- Contact:
Re: using wireshark with Gargoyle
Is there a possibility you ran into the same issue I did in which case viewtopic.php?f=8&t=11375&p=47977#p47977 might helpHercules wrote:OK I have now setup extroot and I can install tcpdump BUT all the plugins now report insufficient disk space and I can't install adblock. Is this a known bug?
EDIT: I have manually added Teffalump's original adblock script and all appears to be well but if I could have done this better then please let me know.
Re: using wireshark with Gargoyle
Yep thanks Ian that fixed it!