DHCP Leases, Interfaces, & ARP Table Tab Vendor MAC Change w/ 5-15 Snap
-
I didn't get it work … :(
I deleted /usr/local/www/diag_arp.php and copied there thge new on. I checked it with time and date.
I restarted the webcopnfigurator from the console but with no success.I have iperf, nmap and openvpn export utility installed.
I am using this snapshot:
2.0-RC2 (amd64) built on Sun May 15 04:20:20 EDT 2011 -
I am so stupid…
Your last post did it.Of course I have to edit all three .php files and not only just one....next time I will read the thread a second time ;-)
Thank you very much for your patience!!
Now it looks very well! -
Can't say I haven't done that before to myself. :P
Glad you like it :D
-
I don't like that it replaces the MAC column, often I want/need the MAC and not the vendor, but I also don't want another column.
I prefer the more subtle approach of putting the vendor in a tooltip when you hover over the MAC, or on a second line below the MAC in a smaller font.
Basically either flip the parameters in diag_arp.php:
if(isset($mac_man[$mac_hi])){ print "{$mac}"; }
Or replace these two lines:
if(isset($mac_man[$mac_hi])){ print "{$mac_man[$mac_hi]}"; } else{ print $mac; }
with
print $mac; if(isset($mac_man[$mac_hi])){ print " _{$mac_man[$mac_hi]}_"; }
-
I'll use that on a customer since he has a small screen and we don't have the widescreen installed on his. I think he'll like that change a lot. Thanks JimP!!
As for me personally, I have way too much white space with the widescreen and would like to fill it up with something useful instead of having 4 columns of info and the rest is white space between. Looks bad on the interfaces tab with 2/3 of the screen not being used. Looking into modifying that next.
-
I just checked in the two-line version:
https://github.com/bsdperimeter/pfsense/commit/701989fbe44f22fc7ea1848ac7c14f361178e5c2Myself and probably many others rely on having the MAC there to copy and paste as needed, so we don't want to lose that capability just because the nmap package is loaded.
-
That the whole reason I decided to edit it. I enjoy having all the information in one place. To not only see the mac, but verify it with the company, and the ip. Then I definitely know I have the correct device.
-
If there is a way to use the vencor and mac information without the nmap package I would prefer this way. ;)
-
not my call, but I like the tooltip idea. This way the page is clean and i just hover my mouse over to see the vendor info.. I did notice something tho. If a client online, it doesn't show me the vendor info.. i've attach a screenshot for you to see
-
~~I think it might work if you post the vendor mac table in the same place. Let me know if this works!
Uninstall nmap. Download attachment and remove the .txt. Un 7zip it. Drop attached file into /usr/local/share/nmap/~~
mkdir -p /usr/local/share/nmap/; fetch -o /usr/local/share/nmap/nmap-mac-prefixes http://nmap.org/svn/nmap-mac-prefixes
NOTE: This is the newest update from nmap for the mac prefex listing. It is not the one included into the nmap package. (had to manually update it)
@Cino - Like 192.168.0.10 :D
-
Just fixed the other display as well, should be consistent now for online/offline.
-
You could just do this also:
mkdir -p /usr/local/share/nmap/; fetch -o /usr/local/share/nmap/nmap-mac-prefixes http://nmap.org/svn/nmap-mac-prefixes
-
@LostInIgnorance
is working but I could not open your 7z file. Just downloaded mac-prefixes on the homepage. -
@Nachtfalke - Deleted 7zip file from post to get rid of confusion and reposted what JimP had put. I couldn't download it either for some odd reason.