03-14-2011
Hi,
Thanks for the advice.
I'm going to see if I can get it done, otherwise I'll have to go onsite and see if I can find its "neighbors".
I actually know nmap but it didn't cross my mind before you reminded me, so I will give it a shot first! ;-)
Thanks!
/b
9 More Discussions You Might Find Interesting
1. Programming
:(
Hi
I am trying to get Mac address of of my Sun server from my C program running on the host machine.
Any suggestions . (1 Reply)
Discussion started by: ss_hpov
1 Replies
2. UNIX for Dummies Questions & Answers
Hi
Can some one help me How do find out Mac address in Tru64 Unix
Thank you (1 Reply)
Discussion started by: Syed_45
1 Replies
3. IP Networking
Hi sir,
i want to make such programe which takes MAC(Ethernet) address of any host & give me its IP address.......
but i'm nt getting that how i can pass the MAC address to Frame........
Please give me an idea for making such program...
Thanks & regards
Krishna (3 Replies)
Discussion started by: krishnacins
3 Replies
4. UNIX for Advanced & Expert Users
Hi, I am wondering how I can find the network address under following situation.
Things available:
1. An active network drop without knowing any details about the network.
2. I have windows, Linux, and Solaris machine available to use.
Things to achieve:
1. Find out the... (5 Replies)
Discussion started by: jiashi2
5 Replies
5. Solaris
I have following message in my messages file on solaris 10
WARNING: e1000g3712000:3 has duplicate address 010.022.196.011 (in use by 00:50:56:85:25:ef); disabled
Now is there any way i can find which server has 00:50:56:85:25:ef mac address either IP or Hostname ? (6 Replies)
Discussion started by: fugitive
6 Replies
6. SCO
hi every one please help
i want to change mac address in sco unix 5.0.6
how can i do this (3 Replies)
Discussion started by: kaydream
3 Replies
7. IP Networking
Hi there
I lost connectivity to one of our remote systems and when I checked the messages log I found the following:
Aug 10 23:42:34 host xntpd: time reset (step) 1.681729 s
Aug 16 13:20:51 host ip: WARNING: node "mac address" is using our IP address x.x.x.x on aggr1
Aug 16 13:20:51 host... (9 Replies)
Discussion started by: notreallyhere
9 Replies
8. Solaris
Hi folks,
I found out the following:
provadm@BKP_LIV_NPPGW_02:home/provadm%/usr/sbin/arp -a
Net to Media Table: IPv4
Device IP Address Mask Flags Phys Addr
------ -------------------- --------------- -------- --------------------
ce5 BKP_OnM_NPPGW_02 255.255.255.255 SPLA 00:14:4f:44:e0:86... (1 Reply)
Discussion started by: kimurayuki
1 Replies
9. IP Networking
four interfaces with ifconfig
all interfaces have the same mac. If is not set for unique.
but it still works.
what difference does it make to have all macs the same or different? (4 Replies)
Discussion started by: rrodgers
4 Replies
STRRIPOS(3) 1 STRRIPOS(3)
strripos - Find the position of the last occurrence of a case-insensitive substring in a string
SYNOPSIS
int strripos (string $haystack, string $needle, [int $offset])
DESCRIPTION
Find the numeric position of the last occurrence of $needle in the $haystack string.
Unlike the strrpos(3), strripos(3) is case-insensitive.
PARAMETERS
o $haystack
- The string to search in.
o $needle
- If $needle is not a string, it is converted to an integer and applied as the ordinal value of a character.
o $offset
- If specified, search will start this number of characters counted from the beginning of the string. If the value is negative,
search will instead start from that many characters from the end of the string, searching backwards.
RETURN VALUES
Returns the position where the needle exists relative to the beginnning of the $haystack string (independent of search direction or off-
set). Also note that string positions start at 0, and not 1.
Returns FALSE if the needle was not found.
Warning
This function may return Boolean FALSE, but may also return a non-Boolean value which evaluates to FALSE. Please read the section on
Booleans for more information. Use the === operator for testing the return value of this function.
EXAMPLES
Example #1
A simple strripos(3) example
<?php
$haystack = 'ababcd';
$needle = 'aB';
$pos = strripos($haystack, $needle);
if ($pos === false) {
echo "Sorry, we did not find ($needle) in ($haystack)";
} else {
echo "Congratulations!
";
echo "We found the last ($needle) in ($haystack) at position ($pos)";
}
?>
The above example will output:
Congratulations!
We found the last (aB) in (ababcd) at position (2)
SEE ALSO
strpos(3), stripos(3), strrpos(3), strrchr(3), stristr(3), substr(3).
PHP Documentation Group STRRIPOS(3)