Sorry to ask a stupid question, but how/where do you run these commands?
Printable View
Sorry to ask a stupid question, but how/where do you run these commands?
you can run them from the terminal or through SSH.
iftop -pPnNB -i eth0
or eth1 etc
You can use filters like this
iftop -pPnNB -i eth1 -f 'port 25' to watch email coming in before it gets processed.
or -f 'host 10.20.30.40' or -f 'host hostname.to.watch'
Very similar to jnettop, but I like iftop, and it works on many firewall/utm distros.
Yeah both tools are very different. I like jnettop because I can switch interfaces without restarting the tool. But iftop's interface is easier to read certain things and see the relative consumption of individual network sessions.
Both are very powerful to have around. Neither have I needed since the session viewer was added.
Post-installation, using commands to troubleshoot/verify various interface/NIC properties or issues.
These are general Linux troubleshooting commands, so not really 100% on topic, but may help a fellow Untangler.
Q. Need to verify network cards duplex/speed - don't assume that autonegotiation always works.
1. mii-tool -v eth0
mii-tool is a bit old, won't work on Gigabit, but is still useful on older boxes.
2. ethtool eth0
Q. NIC card not visible/not identified by Untangle.
1. Check if it was discovered by the kernel in the kernel boot log
dmesg
2. Check if it's in the list of detected PCI devices
lspci
3. Check if the kernel has loaded the required module for your NIC
lsmod
Q. View the routing table, making sure all your networks are visible/accessible.
netstat -rn
I can't get into the GUI. Changed the password and went on vacation, now it's gone (out of my head). I have the root password from when I initially set the box up.
Open a support ticket, they can help you.
I'd like to find out more about the ucli commands available. It seems to be useful, but I can't find any documentation on it.Quote:
I'm wondering if there is a consolidated list of helpful UT troubleshooting commands somewhere. I've seen commands to check the database size, check disk space, check to see what applications are installed and/or running, etc. I've also seen and used top and jnettop. I still feel like I really don't know what to look for if I'm having a problem and I'd like to be a little more self-sufficient.
What other commands have you all found helpful?