fragroute: libpcap interface errors
Lately I've been having some trouble with libpcap. When I try running programs such as lsrscan or fragroute it gives me an error such as:
lsrscan: pcap_lookupnet failed: wifi0: no IPv4 address assigned
fragroute: couldn't determine outgoing interface: Invalid argument
Now I know it's a problem with it figuring that my default interface is wifi0 when ath0 is the actual interface that I use. How can I go about fixing this little error?
Obviously wifi0 is the parent and ath0 is the VAP set into Managed mode.
Still can't figure out this issue although I don't think it's a pcap issue anymore. I'm assuming that in one of the source files that there isn't a definition for the ath0 interface which is why it says "Invalid argument." I'm going to see if I can attempt to find it in the source and fix it.
If anyone else runs into this error, try and give me a helping hand. It's a really nice tool, but its worthless if you can't use it :P