MAC address of DB or Client machine

Dear,
Can U please tell me how to get MAC address of Database or Client Machine via PL/SQL or routine used in PL/SQL envoirment.
Thanks
FAHAD AZIZ KHAN

To get the MAC the simplest way would be to issue a HOST or CLIENT_HOST command to run ipconfig /all, redirecting the result of that to a file and then use the relevant TEXT_IO to read the output and pull out the Physical Address line.
You'll just have to be careful on machines with multiple adaptors or virtual adaptors (such as VPN drivers) to pick the right one.

Similar Messages

  • Hi.  I'm trying to set-up the wireless access times in my Airport Utility.  I need to enter the "Description" and the "MAC Address" of each wireless client before I assign access times. What are these?  Thanks.

    Hi.  I'm trying to set-up the wireless access times in my Airport Utility.  I need to enter the "Description" and the "MAC Address" of each wireless client before I assign access times. What are these?  Thanks.

    Let's say that an iPhone is one of the wireless clients that you want to allow access to the network.
    The Description of this device is anything that you want to specify for easy identification purposes. For example, the Description might be something like......
    Rex's iPhone
    The MAC Address, also known as a Wi-Fi Address is  a unique indentifiction number that is assigned to every device. The number will always follow this form:
    xx : xx : xx : xx : xx : xx, where "x" could be a number or letter.
    To find the MAC Address or Wi-Fi Address of an iPhone or iPad.....
    On the Home screen.....
    Tap Settings
    Tap General
    Tap About
    Wi-Fi Address is the item that you want
    If you have a Mac computer......you can find the MAC Address or Wi-Fi Address as follows:
    Open System Preferences (gear icon on the dock)
    Open Network
    Click on Wi-Fi on the left
    Click Advanced at the lower right
    The Wi-Fi Address for the Mac is located at the bottom of the window
    Other wireless devices usually have the MAC Address or Wi-Fi Address on the label on the back or bottom of the device

  • Old Mac address neede to access Time Machine to restore

    Replaced HD, now don't remember old mac address to access Time machine. Where is the old address located?

    replacing a hard drive does not change the MAC address. if all you did was repalce a drive you can do [full system restore from TM|http://docs.info.apple.com/article.html?path=Mac/10.5/en/15216.html]. this will also allow you to continue using existing TM backups. alternatively, you can use Migration Assistant as already mentioned.

  • How to get MAC Address for maintaning unique client id at server side?

    Hi All,
    Can somebody tell how can i get MAC id for maintaing Unique client id at server.
    or is there any alternative way to do this?
    Thanks in advance..
    CK

    Usually people just use cookies for that.

  • Different AP MAC address shown on wireless client logs

    Hello Everyone,
    I am really a rookie on wireless networks.
    I am investigating an issue where people is unable to do wireless at 2 floors in a building. We are using LAPs.
    I asked a person onsite to send me some logs from his Intel Proset tools. The report he emailed me shows no IP Address is being assigned to his PC.
    I noticed that the AP MAC address on the logs he provided is lets say ##:##:##:2D:AC:61, I check on the WLC and the AP MAC address is actually
    ##:##:##:2D:AC:60
    Is that an expected behavour, a known issue or something like that?
    Your input will be appreciated.
    Thanks,
    David M.

    David,
    Yes, its the virtual mac. I actually blog in detail about this subject of the virtual mac. Read the below link and you will have your answer!
    http://www.my80211.com/home/2011/5/2/wlc-how-cisco-virtualizes-the-base-radio-mac-address-on-the.html
    If you find this helpful please kindly support the CSC rating system!
    btw -- Welcome to the world of WiFi!

  • How to read the MAC address of a connected client?

    Thx alot for any help.
    Jochen

    Hi,
    I tried this on my aix box. The interface is called en1. The MAC variable is in decimal format (base 10), but the output of lscfg is an hexadecimal address.
    If you can start with this...
    Do not even try to reply that you are using windows please !
    Regards
    Laurent
    PS: due to bug 3798918, it will not work with sqlplus 10.1.0.2.0
    SQL> var mac number
    SQL> host exit `lscfg -l ent1 -v | grep 'Network' | cut -c37,38 | sed 's,^,16i ,;s,$,p,' | dc
    SQL> exec :mac := &_rc;
    SQL> host exit `lscfg -l ent1 -v | grep 'Network' | cut -c39,40 | sed 's,^,16i ,;s,$,p,' | dc
    SQL> exec :mac := :mac * 256 + &_rc;
    SQL> host exit `lscfg -l ent1 -v | grep 'Network' | cut -c41,42 | sed 's,^,16i ,;s,$,p,' | dc
    SQL> exec :mac := :mac * 256 + &_rc;
    SQL> host exit `lscfg -l ent1 -v | grep 'Network' | cut -c43,44 | sed 's,^,16i ,;s,$,p,' | dc
    SQL> exec :mac := :mac * 256 + &_rc;
    SQL> host exit `lscfg -l ent1 -v | grep 'Network' | cut -c45,46 | sed 's,^,16i ,;s,$,p,' | dc
    SQL> exec :mac := :mac * 256 + &_rc;
    SQL> host exit `lscfg -l ent1 -v | grep 'Network' | cut -c47,48 | sed 's,^,16i ,;s,$,p,' | dc
    SQL> exec :mac := :mac * 256 + &_rc;
    SQL> col mac for 9999999999999999999999999
    SQL> print mac
                           MAC
                   10021178476

  • How to get MAC address from client machine ?

    Hi dear,
    We are implementing security measures for a banking system, so it is required that we track the MAC address of the registered clients along with other parameters. How do we get the MAC address from client machine using ADF or running scripts in client side?
    thanks all

    Hi,
    Welcome to OTN.
    Your question has nothing to do with ADF as such. Googling would give you plenty of such topics.
    -Arun

  • How to get the IP address of the Client machine???

    Hi All,
    I am trying to get the IP address of the Client machine and using the code
    SELECT SYS_CONTEXT('USERENV','IP_ADDRESS') FROM DUAL;
    but this query only return server ip address but i want Client machine IP .
    How can I get that. Please help.

    SowmyRaj wrote:
    Hi All,
    I am trying to get the IP address of the Client machine and using the code
    SELECT SYS_CONTEXT('USERENV','IP_ADDRESS') FROM DUAL;
    but this query only return server ip address but i want Client machine IP .
    How can I get that. Please help.Which client's IP addess?
    SYS_CONTEXT('USERENV','IP_ADDRESS') should give you the IP address of the machine from which the client is connected. So you are running sqlplus from Server?
    To check other session's information, you can check V$SESSION view.

  • WLC - How to block a single client MAC address?

    Hi Sir,
    On a WLC (software version 4.1.185.0), how to block a single client MAC address?
    I thought of using the SECURITY -> Disabled Clients. Is it right?
    There are currently 250 users connected to the WLC. MAC Filtering is not a scalable solution because as I understand it, we have to specify all the legitimate MAC addresses in the local database.
    Thank you.
    B.Rgds,
    Lim TS

    Hi Lim,
    As you have discovered, the Mac filtering on the WLC is an Allow (based on Mac address) rather than what you need which is a Deny (based on Mac address). I have not tried this feature but I think you are on the right track in using the Exclusion List (Blacklist) feature. Have a look;
    Use SECURITY > AAA > Disabled Client then click New or MONITOR > Clients then click Disable to navigate to this page.
    This page allows you to manually Exclusion List (blacklist) a client by MAC address.
    Add the MAC Address and an optional Client Description for the client to be disabled.
    Note When you enter a client MAC address to be disabled, the Operating System checks that the MAC address is not one of the known Local Net clients ( Local Net Users), Authorized clients ( MAC Filtering), or Local Management users ( Local Management Users) MAC addresses. If the entered MAC address is on one of these three lists, the Operating System does not allow the MAC address to be manually disabled.
    Hope this helps! Let us know.
    Rob

  • IP address of the client machine ???

    I want to know how to get the IP address of the user who has logged in from a client machine through Oracle forms. Does anyone how to get it from Oracle forms.
    In fact i tried Sys_context (function) which returned the IP address of the client machine through SQL plus.
    Select SYS_CONTEXT('USERENV','IP_ADDRESS') From Dual;
    For testing sake, created a custom server side function using sys_context. From Oracle forms called the sever side custom function. During run time (from client machine), i got the IP address of the server (application server/DB server/forms server all in one NT box),not the IP address of the client machine.
    Any ideas, welcome.
    Thanks in advance
    Sai
    [email protected]
    null

    SowmyRaj wrote:
    Hi All,
    I am trying to get the IP address of the Client machine and using the code
    SELECT SYS_CONTEXT('USERENV','IP_ADDRESS') FROM DUAL;
    but this query only return server ip address but i want Client machine IP .
    How can I get that. Please help.Which client's IP addess?
    SYS_CONTEXT('USERENV','IP_ADDRESS') should give you the IP address of the machine from which the client is connected. So you are running sqlplus from Server?
    To check other session's information, you can check V$SESSION view.

  • How to collect intranet user's MAC address from web part on document library

    I need the best solution for the following problem:
    Let's say for an intranet application just to do customization through a web part on a document library we need to collect MAC address of all user's machine who tries to access the particular document library. 
    main point to achieve is we want to give access only to few users to a particular document library. I think if we get unique mac address then also purpose can be solved. Is there any other way apart from mac?
    In SharePoint 2013 on premise application what is the best way to do this customization? early reply is highly appreciated.
    Thanks,

    Hi,
    Why do you need this?  SharePoint runs on top of ASP.NET so its limited to what ASP.NET can do.  A quick google returns results like:
    http://www.codeproject.com/Questions/303612/How-to-get-Mac-Address-of-Client-Machine-in-asp-ne
    It's highly unlikely you can achieve this, back to my first question - why?  Maybe you can achieve the requirement in a more supportable manner.  I'm assuming you want to track the user.
    Thanks
    Dave
    My SharePoint Blog - http://www.davehunter.co.uk Twitter -
    @davehunter

  • Lion Server not handing out DHCP addresses to Snow Leopard client

    I have been pulling my hair out over this.
    Here is the layout
    Lion Server running on the newest Mac Mini and doing mail, DNS, DHCP, Software update and has a valid, not self assigned, certificate
    3 clients running Lion Desktop (2 iMACs and a MBP pro (all no more that a year old and all woth the current updates)
    1 client running Snow Leopard Desktop (last years 13 inch MBA)
    The 3 Lion clients can get dhcp fro mthe Lion server without any issue
    The SL client cannot get a DHCP address from the Lion server
    A tcpdump shows the DHCP request coming from the MAC address of the SL client but no response from the Lion Server and nothing showing a deny in the logs for the DHCP server or any other system/kernel logs. The Lion clients all show the request and reply for them. All 4 clients currently have a static assignment in DHCP but even if I remove them all and do auto-assign for everything or even each one individually, the SL client will not get an address both on the Wifi and Ethernet (I have the USB ethernet adapter).
    I also have an Aiport Extreme and if I use that for the DHCP server then all clients get the addresses. I know the DHCP server in the extreme cannot be shut down but if you give the extreme a static address then assign dhcp on the extreme to only give out one address and that is the same one that is statically assigned then it "thinks" it is out of addresses and no longer tries to assign addresses
    At first I thought there was a conflict between the extreme and the Lion server but as I mentioned above, tcpdump clearly shows the requests going right to the Lion server
    I'm usually pretty good at this kind of thing but this one has me stumped. I'm thinking bug, anyone else run into this yet?

    Ryan jones,
    > Having trouble with our dhcp server handing out IP addresses through the
    > Wireless Lan Controller.
    Has it ever worked? Is the Wireless controller configured to forward DHCP
    requests to your DHCP server?
    Anders Gustafsson (NKP)
    The Aaland Islands (N60 E20)
    Have an idea for a product enhancement? Please visit:
    http://www.novell.com/rms

  • Capturing MAC Addresses from an Access Point AP1131 with SNMP

    Hi!
    I'm trying to use SNMP to track information as to whats connected to
    our access points. The purpose is basic security and auditing in case
    of a problem ( virus, technical problem, etc ). We're already able to
    capture what wired devices are connected, but not the MAC addresses of
    the wireless clients.
    We're employing Cisco Aironet APs 1131, and looking around the MIBs, I found
    one object that has what I want, but it's not accessible.
    cDot11ClientAddress OBJECT-TYPE
    SYNTAX MacAddress
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
    "The MAC address of the client."
    ::= { cDot11ClientConfigInfoEntry 1 }
    Does any one know another way to get this information via SNMP?
    Thanks U by advance!
    Khay

    Up...anybody?... :(

  • How many MAC-Address entries can an access-list (AIR1200) handle

    Hi all
    I got a couple of accesspoint AP1231G with a MAC-Filter configured.
    Now I'm curios if the access-list has a maximal mac-address limitation.
    At the moment there are about 130 MAC-address and couple of clients have sometimes trouble to get connected.
    Any hints?
    Thanks,
    Norbert

    I was referring to the autonomous AP database size.
    The default size of the database for the controller is different depending on verion.

  • Simple : Which src MAC address when WLC bridges 802.11to 802.3 ?

    When a WLC bridges 802.11 to 802.3, after extracting the original 802.11 frame from LWAPP, does it put the 802.11 senders
    MAC address as the source addr in the new 802.3 frame ?
    Or does it put the WLC's AP manager interface ? (Or the WLC's Management Interface) ?
    If you refer to :-
    http://www.cisco.com/en/US/docs/wireless/technology/controller/deployment/guide/dep.html#wp1050985
    One of the bullet points reads :-
    After processing the 802.11 MAC header, the WLC extracts the payload (the IP packet from Host A), encapsulates it into an Ethernet frame, and then forwards the frame onto the appropriate wired network, typically adding an 802.1Q VLAN tag.
    Should it include :-
    and adds the MAC address of the Wireless client as the SOURCE MAC ADDRESS to the outgoing Ethernet Frame??
    Also, will an ARP for a wireless client yeild the mac address of the WLC or the AP ???
    Thanks

    It looks like the src address of the original 802.11 client goes to the 802.3 frame as the source.
    So am I correct in thinking that (in a flat topology, no L3 routing) the WLC will appear as to an attached switchport as trunk
    (not necessarly 802.1q, but usually) with  multiple mac address learned from it.
    Any host on the LAN will send a packet for DEST MAC, which will eventually be SWITCHED (via L2 switching), upto the WLC.
    The WLC will then send it over lwapp to the AP, and the AP will send it to the client.
    But as far as the mac-address-table is concerned of any switch directly attached to the WLC, it will see
    all client MAC address for ALL wireless stations for ALL AP's... Correct ?
    Thanks

Maybe you are looking for