Unable to read MAC address of router at login

I'm using the following bash function to get the MAC address of the current router when logging in. The script works when I run it after logging in but doesn't work from my login hook (running as root). The script fails even after sleeping for 30 seconds prior to running. I know the interface is up because my mail client is finished checking mail by the time the script pings the router runs the arp command. I could run it as a cron job, but I'd like to understand why it fails during login.
<pre style="border: 1px solid #ddd; padding-left: .75ex; padding-top: .25em; padding-bottom: .25em; margin-top: .5em; margin-bottom: .5em; margin-left: 1ex; max-width: 80ex; overflow: auto; font-size: 10px; font-family: Monaco, 'Courier New', Courier, monospace; color: #444; background: #eee; line-height: normal">get_route_mac() {
ip=$(netstat -nrfinet | awk '/^default/{print $2; exit}')
[[ "$ip" = *.*.*.* ]] || return 1
[ ${1:-0} -gt 0 ] && ping -nc$1 $ip 2>&1 >/dev/null
arp -n $ip | sed -n 's/.* at \(.*:.*:.*:.*:.*:.*\) on .*/\1/p'
</pre>
The idea is to do certain things when joining different networks. Especially when connected to an unknown network (stolen laptop recovery). I would like to support 10.3.9, so I'm avoiding launchd for now.

PWD=/
SHLVL=1
SECURITYSESSIONID=ceb19270
_=/usr/bin/printenv
uid=0(root) gid=0(wheel) groups=0(wheel)
The script works much better when it can find the required programs. :0)
which netstat awk ping arp sed
/usr/sbin/netstat
/usr/local/bin/awk
/sbin/ping
/usr/sbin/arp
/usr/bin/sed
<pre style="border: 1px solid #ddd; padding-left: .75ex; padding-top: .25em; padding-bottom: .25em; margin-top: .5em; margin-bottom: .5em; margin-left: 1ex; max-width: 80ex; overflow: auto; font-size: 10px; font-family: Monaco, 'Courier New', Courier, monospace; color: #444; background: #eee; line-height: normal">get_route_mac() {
ip=$(/usr/sbin/netstat -nrfinet | /usr/local/bin/awk '/^default/{print $2; exit}')
[[ "$ip" = *.*.*.* ]] || return 1
[ ${1:-0} -gt 0 ] && /sbin/ping -nc$1 $ip 2>&1 >/dev/null
/usr/sbin/arp -n $ip | /usr/bin/sed -n 's/.* at (.*:.*:.*:.*:.*:.*) on .*/ /p'
}</pre>
Thanks for your help, Bob!

Similar Messages

  • Need to add MAC address to router

    Any ideas on when you get an error message and how I remove the ACL (access control list)
    Try to setup the extender on the same room where the router is installed.
    - If MAC Access list of MAC Filtering is enabled on the router, make sure to add the MAC address of the extender.
    - Try to turn off and turn on all of your devices to refresh the network.
    Need to add MAC address to router somehow 
    I am tryign to follow Netgears's kb
    http://kb.netgear.com/app/answers/detail/a_id/22034

    What model Fios router do you have?
    If it's an Actiontec I belive you cannot do what you are attempting to do as it's not supported on that router
    See
    https://forums.verizon.com/t5/Home-Networking/Actiontec-router-does-not-support-wireless-range-exten...

  • Cannot read MAC address when Installing the Java workplace

    Hi All,
         While installing the Java Workplace for 2004s, following error happened:
    ERROR 2008-03-25 11:50:53
    CJS-30059  Java EE Engine configuration error.<br>DIAGNOSIS: Error when configuring J2EE Engine. See output of logfile umconfigurator.log: 'Mar 25, 2008 11:50:49... Info: UME configurator (com.sap.security.tools.UMConfiguratorLoad) called for action "setup"PerfTimes : loadNativeLayer: loading jperflib failed. no jperflib in java.library.pathjava.text.ParseException: cannot read MAC address from [
    Windows IP Configuration
            Host Name . . . . . . . . . . . . : IDSMYN
            Primary Dns Suffix  . . . . . . . :
            Node Type . . . . . . . . . . . . : Hybrid
            IP Routing Enabled. . . . . . . . : No
            WINS Proxy Enabled. . . . . . . . : No
    Ethernet adapter ] using ipconfig /all     at com.sap.bc.krn.perf.PerfTimes.windowsParseMacAddress(PerfTimes.java:1173)     at com.sap.bc.krn.perf.PerfTimes.getMacAddress(PerfTimes.java:289)     at com.sap.bc.krn.perf.PerfTimes.getMacAddress(PerfTimes.java:260)     at com.sap.tc.logging.UID.getnodeaddress(UID.java:303)     at com.sap.tc.logging.UID.<clinit>(UID.java:59)     at com.sap.tc.logging.GUId.toString(GUId.java:46)     at java.lang.String.valueOf(String.java:2131)     at java.lang.StringBuffer.append(StringBuffer.java:370)     at com.sap.tc.logging.ListFormatter.format(ListFormatter.java:215)     at com.sap.tc.logging.Log.writeInt(Log.java:864)     at com.sap.tc.logging.Log.writeInternalByAPI(Log.java:930)     at com.sap.tc.logging.LogController.writeToLogs(LogController.java:3160)     at com.sap.tc.logging.LogController.messageInternal(LogController.java:2280)     at com.sap.tc.logging.LogController.logInt(LogController.java:2477)     at com.sap.tc.logging.LogController.logInt(LogController.java:2432)     at com.sap.tc.logging.LogController.logIntByAPI(LogController.java:2231)     at com.sap.tc.logging.APILogger.instrumentIntByAPI(APILogger.java:59)     at com.sap.tc.logging.LogController.addLog(LogController.java:1320)     at com.sap.tc.logging.PropertiesConfigurator.configure(PropertiesConfigurator.java:1119)     at com.sap.engine.core.configuration.impl.Logging.<init>(Logging.java:54)     at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:176)     at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:60)     at com.sap.security.tools.UMConfigModel.<init>(UMConfigModel.java:79)     at com.sap.security.tools.UMConfiguratorLoad.main(UMConfiguratorLoad.java:179)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)     at java.lang.reflect.Method.invoke(Method.java:324)     at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)***************************************************************                                                         **** getMacAddress() failed                                  ****                                                         **** trying to get mac address from                          **** file C:\Program Files\sapinst_instdir\NW04S\SYSTEM\DEVWP\MAXDB\MAC_ADDRESS**                                                         **************************************************************Exception : CreateProcess: cat MAC_ADDRESS error=2**************************************************************                                                         **** getMacAddress() failed                                  ****                                                         **** failed to get mac address with Runtime.getRuntime().exec( cat MAC_ADDRESS )**                                                         **************************************************************java.text.ParseException: cannot read MAC address for IDSMYN from [] using cat MAC_ADDRESS     at com.sap.bc.krn.perf.PerfTimes.voidParseMacAddress(PerfTimes.java:1326)     at com.sap.bc.krn.perf.PerfTimes.getMacAddress(PerfTimes.java:571)     at com.sap.bc.krn.perf.PerfTimes.getMacAddress(PerfTimes.java:260)     at com.sap.tc.logging.UID.getnodeaddress(UID.java:303)     at com.sap.tc.logging.UID.<clinit>(UID.java:59)     at com.sap.tc.logging.GUId.toString(GUId.java:46)     at java.lang.String.valueOf(String.java:2131)     at java.lang.StringBuffer.append(StringBuffer.java:370)     at com.sap.tc.logging.ListFormatter.format(ListFormatter.java:215)     at com.sap.tc.logging.Log.writeInt(Log.java:864)     at com.sap.tc.logging.Log.writeInternalByAPI(Log.java:930)     at com.sap.tc.logging.LogController.writeToLogs(LogController.java:3160)     at com.sap.tc.logging.LogController.messageInternal(LogController.java:2280)     at com.sap.tc.logging.LogController.logInt(LogController.java:2477)     at com.sap.tc.logging.LogController.logInt(LogController.java:2432)     at com.sap.tc.logging.LogController.logIntByAPI(LogController.java:2231)     at com.sap.tc.logging.APILogger.instrumentIntByAPI(APILogger.java:59)     at com.sap.tc.logging.LogController.addLog(LogController.java:1320)     at com.sap.tc.logging.PropertiesConfigurator.configure(PropertiesConfigurator.java:1119)     at com.sap.engine.core.configuration.impl.Logging.<init>(Logging.java:54)     at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:176)     at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:60)     at com.sap.security.tools.UMConfigModel.<init>(UMConfigModel.java:79)     at com.sap.security.tools.UMConfiguratorLoad.main(UMConfiguratorLoad.java:179)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)     at java.lang.reflect.Method.invoke(Method.java:324)     at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)**************************************************************                                                         **** Suggested workaround:                                   ****                                                         **** create file C:\Program Files\sapinst_instdir\NW04S\SYSTEM\DEVWP\MAXDB\MAC_ADDRESS** with hostname and mac address in the following format:  **** IDSMYN xx:xx:xx:xx:xx:xx**                                                         ***************************************************************java.text.ParseException: cannot read MAC address from [
    Windows IP Configuration
            Host Name . . . . . . . . . . . . : IDSMYN
            Primary Dns Suffix  . . . . . . . :
            Node Type . . . . . . . . . . . . : Hybrid
            IP Routing Enabled. . . . . . . . : No
            WINS Proxy Enabled. . . . . . . . : No
    Ethernet adapter ] using ipconfig /all     at com.sap.bc.krn.perf.PerfTimes.windowsParseMacAddress(PerfTimes.java:1173)     at com.sap.bc.krn.perf.PerfTimes.getMacAddress(PerfTimes.java:289)     at com.sap.bc.krn.perf.PerfTimes.getMacAddress(PerfTimes.java:260)     at com.sap.tc.logging.UID.getnodeaddress(UID.java:303)     at com.sap.tc.logging.UID.<clinit>(UID.java:59)     at com.sap.tc.logging.GUId.toString(GUId.java:46)     at java.lang.String.valueOf(String.java:2131)     at java.lang.StringBuffer.append(StringBuffer.java:370)     at com.sap.tc.logging.ListFormatter.format(ListFormatter.java:215)     at com.sap.tc.logging.Log.writeInt(Log.java:864)     at com.sap.tc.logging.Log.writeInternalByAPI(Log.java:930)     at com.sap.tc.logging.LogController.writeToLogs(LogController.java:3160)     at com.sap.tc.logging.LogController.messageInternal(LogController.java:2280)     at com.sap.tc.logging.LogController.logInt(LogController.java:2477)     at com.sap.tc.logging.LogController.logInt(LogController.java:2432)     at com.sap.tc.logging.LogController.logIntByAPI(LogController.java:2231)     at com.sap.tc.logging.APILogger.instrumentIntByAPI(APILogger.java:59)     at com.sap.tc.logging.LogController.addLog(LogController.java:1320)     at com.sap.tc.logging.PropertiesConfigurator.configure(PropertiesConfigurator.java:1119)     at com.sap.engine.core.configuration.impl.Logging.<init>(Logging.java:54)     at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:176)     at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:60)     at com.sap.security.tools.UMConfigModel.<init>(UMConfigModel.java:79)     at com.sap.security.tools.UMConfiguratorLoad.main(UMConfiguratorLoad.java:179)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)     at java.lang.reflect.Method.invoke(Method.java:324)     at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)Mar 25, 2008 11:50:53... Info: Using SID "J11" for secure storageMar 25, 2008 11:50:53... Info: Created group entry in secure storage: Group "Administrators", roles "Administrator"Mar 25, 2008 11:50:53... Info: Created group entry in secure storage: Group "Guests", roles ""Mar 25, 2008 11:50:53... Info: Created user entry in secure storage: User "Administrator", password set, parent groups "Administrators", locked "false", roles ""Mar 25, 2008 11:50:53... Info: Created user entry in secure storage: User "Guest", password not set, parent groups "Guests", locked "true", roles ""Mar 25, 2008 11:50:53... Info: Inserted administrator user data into secure storage: "Administrator"Mar 25, 2008 11:50:53... Info: Setting UME property "ume.login.guest_user.uniqueids" to "Guest"Mar 25, 2008 11:50:53... Info: Setting UME property "ume.persistence.data_source_configuration" to "dataSourceConfiguration_database_only.xml"Mar 25, 2008 11:50:53... Warning: UME property "ume.authenticationFactory" shall be set, but does not existMar 25, 2008 11:50:53... Info: Setting UME property "ume.logonAuthenticationFactory" to "com.sap.security.core.logon.imp.SAPJ2EEAuthenticator"Mar 25, 2008 11:50:53... Info: Setting UME property "ume.login.context" to "ticket"Mar 25, 2008 11:50:53... Info: Setting UME property "ume.login.context.default" to "ticket"Mar 25, 2008 11:50:53... Info: Setting UME property "login.ticket_keyalias" to "SAPLogonTicketKeypair"Mar 25, 2008 11:50:53... Info: Setting UME property "login.ticket_keystore" to "TicketKeystore"Mar 25, 2008 11:50:53... Info: Setting UME property "login.ticket_lifetime" to "8"Mar 25, 2008 11:50:53... Info: Setting UME property "ume.superadmin.activated" to "FALSE"Mar 25, 2008 11:50:53... Info: Set role references for jndi_all_operations in path "security/configurations/service.naming/security/roles/UME User Store/jndi_all_operations"Mar 25, 2008 11:50:53... Info: Set role references for jndi_get_initial_context in path "security/configurations/service.naming/security/roles/UME User Store/jndi_get_initial_context"Mar 25, 2008 11:50:53... Info: Set role references for telnet in path "security/configurations/service.telnet/security/roles/UME User Store/telnet_login"Mar 25, 2008 11:50:53... Info: Added group "Administrators" to path "security/roles/UME User Store/administrators/groups"Mar 25, 2008 11:50:53... Info: Added group "Guests" to path "security/roles/UME User Store/guests/groups"Mar 25, 2008 11:50:53... Info: Added group "Everyone" to path "security/roles/UME User Store/all/groups"Mar 25, 2008 11:50:53... Info: Changing JMS username in path "jms_provider/DEFAULT/default/conn_factories/XATopicConnectionFactory" to "Administrator"Mar 25, 2008 11:50:53... Info: Changing JMS username in path "jms_provider/DEFAULT/default/conn_factories/QueueConnectionFactory" to "Administrator"Mar 25, 2008 11:50:53... Info: Changing JMS username in path "jms_provider/DEFAULT/default/conn_factories/TopicConnectionFactory" to "Administrator"Mar 25, 2008 11:50:53... Info: Changing JMS username in path "jms_provider/DEFAULT/default/conn_factories/XAQueueConnectionFactory" to "Administrator"Mar 25, 2008 11:50:53... Info: Operation executed successfullyMar 25, 2008 11:50:53... Info: Committed changes to configuration managerMar 25, 2008 11:50:53... Info: Leaving with return code 0'.
    Anyone knows how to solve it?
    Thanks in advance.
    YiNing

    Posting this in the Netweaver Administrator section may yield better results.

  • Finding OLD MAC address through Router.

    Sir, 
    I lost my laptop (Dell Inspiron 5521 15r) and only have its box which contains serial number 6CRC9W1 , order number 920181961 and etc but dont have MAC address. I asked dell about that but they are not helping me to get mac. Please tell me if there is any
    way to get old mac addresses through router to which my laptop was connected. Thanks.

    You can't. There is no way to know what the MAC was.
    The MAC is tied to the network adapter, not the Laptop, and hence not the Service Tag.  Since the Laptop probably had a wired adapter and a wireless adapter,...there would have been two different MACs.
    What good would it be even if you knew what it was?

  • Can we do MAC Address based routing in ASA5540

    I have a network setup where two servers from inside need to communicate with a remote network via 2 VPN gateways. The destinations are same.
    However, the chalange is each server need to follow it's own VPN gateway. Since i can't configure PBR (policy based routing) in ASA, can i configure something like MAC Address based routing. I can't use destination based routing since the remote network are reachable from the both VPN Gateways.
    Advise needed.
    Thanks in advance.
    Regards,
    R.Siva
    Network Security Engineer.

    Hi
    I am not shure i follow you correct here.
    You want 2 servers to speak to the same network but over two different vpn units ?
    If this is so then this could work
    Just set the route to the other network on server 1 to the vpn gate 1
    and route the other network from server 2 to the vpngate 2.
    in windows the command is route add.
    good luck
    hth

  • Unable to import Mac address book

    I am unable to import my Mac Address Book into Thunderbird.
    In thunderbird, I have gone to tools>import>address book>text file . Address Book is not highlighted, so I am not able to choose it.
    I have also tried to export it from Address Book. In Address Book I have also gone to file>export>export Group vCard, and it's the same porblem, Address Book is not highlighted, so I am not able to choose it.
    What am I missing? Can someone please help?

    I just installed MFFAB 0.7 in a test profile of TB 31.1.1 with no problems, but on Win 7. Perhaps there is an issue installing it on the Mac OS, in which case I would contact the add-on author. Almost all add-ons can be installed on Win, OSX or Linux.
    Otherwise, what happens if you open TB Address Book, Tools/Import, select Address Books, then vCard file, then select the .vcf file created from Mail app?

  • Ping problem in the neighborhood and Msan can see the mac address of router

    Hi everyone
     i have a router 1941/K9 with card EHWIC-4SHDSL-EA ,i have configure this card in my router , the problem is I can not ping the ip @ Neighbourhood and the MSAN can't also  see the mac-address of the router  do you notice that the interface in the MSAN and in the router is UP  / UP
    anybody help me

    Hi,
    An ethernet interface will be always up/up and it goes down only if there is problem between the given port and the connected one. The issue can be anywhere else in the middle.

  • MAC address and router access control

    My iPhone 3GS can only access the network (through my Netgear KWGR614 wireless router) when the router's MAC address access control is off. When I turn it on the phone is blocked. The MAC address I use is taken from the iPhone settings. It begins with 64. All other MAC addresses I have ever seen begins with 00. Is this MAC address correct? If it is right, could it be that the router can't handle this address?

    The first 3 bytes of the mac address identifies the manufacturer. For example, mine starts with 04:1e:64 which is Apple
    04-1E-64 (hex) Apple, Inc
    041E64 (base 16) Apple, Inc
    1 Infinite Loop
    Cupertino CA 95014
    UNITED STATES
    . if it starts with 64 then it belongs to
    64-4F-74 (hex) LENUS Co., Ltd.
    644F74 (base 16) LENUS Co., Ltd.
    18-5 Gwacheon-Dong
    Gwacheon Gyeonggi-Do 427-060
    KOREA, REPUBLIC OF
    check this list : http://standards.ieee.org/regauth/oui/index.shtml
    enter your first 3 numbers (first 3 pairs) from your wifi (settings/general/about) (don't use colons in the search)
    Not sure about the router as I never tried mac filtering. Each router will behave differently.
    Hope this helps.

  • Attendant Console unable to change MAC address

    Hi there,
    I'm having a problem with attendant Console that's rather annoying and i'm unable to get it to work!
    When I attempt to connect using the software the sw returns the error "Not a valid device. Specify another device", and I find that I don't get an option to select anything other than the Person_DeviceProfile rather than the MAC address of the phone they are logged on to. I also found that in the xml file under the data folder in Windows gets populated with Person_DeviceProfile too - but overwriting this with the MAC address of the phone has no effect.
    Interestingly enough is that if I were to log out of EM, and use the extension number of the logged out phone in Attendant Console, it works fine and as expected. It's as if the Device Profile has no concept of access to the phone.
    So far I have made sure that all devices are associated with the ac user; I have associated the physical phone with the End user (as well as the device profile obviously), and also done the usual uninstall/install of sw and restart of services.
    Version is CallManager 6.
    Any other suggestions? Much appreciated!

    We soon discovered two other bugs that were supposedly fixed in previous versions of CUCM.
    We found the following bugs other than the one described here, in version 6.0.1.3000-7:
    - Adding a new device profile to CUCM causes ccm.exe to hang. Symptoms include phones refusing to register correctly when logging in/out of EM, and CFWD all not responding.
    - Device profile Service URL is being overwritten by the actual devices' SURL. The symptom presents itself as the service URL that was being shown on the phone when the phone is EM logged out can still be seen when the phone has been logged into EM.
    All three bugs were fixed when Cisco TAC provided us with patch UCOS_ES_6.0.1.3103-1

  • MAC Addresses in routed datagrams

    Hi,
    I am due to teach some pupils the basics of MAC Addresses/IP Addresses and routing soon and I have a (hopefully) quick question which I am hoping someone here can help me with.
    When a frame is placed out onto a public network is has a destination MAC Address. Is this address the MAC address of the next hop or the address of the final destination. If it is the next hop then am I right in assuming that the once the frame reaches the next router, the frame is unpacked to obtain the IP address from the layer 3 headers, and a new layer 2 frame is assembled with the MAC address of the next router to which the frame is to be sent. 

    Hello robertfl00k
    When a frame is placed out onto a public network it will be having destination Mac Address of the next hop. When that frame will be received by the router, then it will remove the layer 2 information and check its routing table for the destination ip address. If destination will be available there in the routing table then it will attach new layer 2 information and forward that data to next hop.
    Regards,
    Mukesh Kumar
    Network Engineer
    Spooster IT Services

  • Unable to import Mac address book into Thunderbird

    I have Address Book on my Mac and am trying to import it into Thunderbird. I have gone to Tools>Import>address books>text file. But when I try to choose Address Book in applications, it is not highlighted , so it is not an option to choose.
    I have also tried to export it into Thunderbird: In Address Book file>export>Export group vCard and again, when I go to choose Address Book in applications, it is not highlighted so it is not an option to choose.
    I'm not sure what I am doing wrong. Help please.

    Close your Thunderbird completely and reopen it, still doesn't work
    To diagnose problems with Thunderbird, try one of the following:
    *Restart Thunderbird with add-ons disabled (Thunderbird Safe Mode). On the Help menu, click on "Restart with Add-ons Disabled". If Thunderbird works like normal, there is an Add-on or Theme interfering with normal operations. You will need to re-enable add-ons one at a time until you locate the offender.
    *Restart the operating system in '''[http://en.wikipedia.org/wiki/Safe_mode safe mode with Networking]'''. This loads only the very basics needed to start your computer while enabling an Internet connection. Click on your operating system for instructions on how to start in safe mode: [http://windows.microsoft.com/en-us/windows-8/windows-startup-settings-including-safe-mode Windows 8], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-7 Windows 7], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-vista Windows Vista], [http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/boot_failsafe.mspx?mfr=true" Windows XP], [http://support.apple.com/kb/ht1564 OSX]
    ; If safe mode for the operating system fixes the issue, there's other software in your computer that's causing problems. Possibilities include but not limited to: AV scanning, virus/malware, background downloads such as program updates.

  • Mac address in Adobe AIR2

    HI
    I am facing problem with mac address reading. I am able to read mac address from NIC card when it is connected to network via wired or wire less.
    I want to read mac address from NIC without wired or wire less,  how can i read this.
    Thanks in advance to all.
    Regards
    sss

    Hi Mihnea Ovidenie,
    Thanks for your reply.
    I am using the below code to read network interfaces
    var results:Vector.<NetworkInterface> = NetworkInfo.networkInfo.findInterfaces();
    I am using results[i].hardwareAddress to read MAC address from results vector. When i connected my NIC to  network using wired or wireless, the above code was working fine. But when i am not connected to network, i am unable to read MAC address from NIC cards.
    Is it possible to read MAC from address i.e.., hardware address from NIC(Network Interface Cards)  cards when it is not connected to a network?
    Environment:
    Operating System: Windows XP professional
    Adobe AIR vrsion:2.0
    Adobe flex Builder:3.5

  • 'Mail app' + .Mac + address book

    Is there a way to add an e-mail address to the .Mac mail address book without adding my entire address book as it would if I did a sync?

    When I go to .Mac>address book> I get a page with a the address book icon & the double round arrow that reads ".Mac Address Book Synchronize Contacts". Below that is an OK button.
    I don't even get the Preferences for the Address Book that you're speaking of. Might be that this is a new .Mac account and the addresss has never been used?
    Are you talking about adding a contact button that might pop up when you receive and e-mail? As does Gmail & Yahoo when you're opening mail? There is a button that allows you to add that contact to your address book.
    Why I asked was that it appears I'm not getting messages from friends or family to the new .Mac account that I did in the old account. In Gmail & Yahoo mail you can add a contact one by one without importing your entire address book. I wanted their addresses there so that the new .Mac mail account wouldn't mistake their addresses as Spam.
    Guess maybe what I'm trying to do isn't possible?

  • Router cannot see Hyper-V Guest MAC address

    Greeting,
    I have been trying to build a server on Hyper-V, on a host running Windows Server 2012 R2, and a wireless adapter is used.
    A virtual switch was created as external, connected to the host's wireless adapter.
    The guest OS is Debian 7, and the problem is it's unable to use DHCP to connect to the internet.
    I have to manually specific an IP address and the subnet mask in order to access the internet in the Guest OS, say 192.168.0.50. And I set port forward to this IP for external connection to the guest, but then sometimes I cannot connect; without doing anything
    it restores the connection after a while. At the same time I am keeping the MSRDP connection to tthe host so the host has not lost connecting to the internet.
    When the server on Guest is not accessible from the web, I can still connect to the server within the host machine by typing the lan IP of the guest: 192.168.0.50
    On checking the router, I found that two IP address 192.168.0.50 (Guest OS) and 192.168.0.15 (Host) are sharing the same MAC address (of the wireless card). It means the MAC address of the Guest OS is not seen by the router, and I suppose this is the root
    for the instability.
    Would you have any ideas about the situation, and suggested solution?
    Thank you.

    An update to my issue:
    Just realized the possible cause: the (freaking) router is dropping inactive machine.
    Basically the DHCP issue is not solved, but it doesn't seem to be a cause after all, as long as I manually assign the IP it works, even having the  2 IPs with the same MAC on the ARP table on router. (Host connection drop has to be further investigated).
    As I found that the loss of connection actually happens after a while I don't touch the web server on VM, the longer I leave it idle the more likely I cannot connect to it again. The situation is like a prolonged loading when trying to access a website,
    where sometimes you can connect after a while, or you never.
    What's weird is, if I somehow manage to connect to the idle VM server by multiple attempts, and that after I have restored the connection, I can reconnect to the server from another computer very quickly without any significant loading time.
    On some quick searches, I found someone using Linksys router is suffering from a similar situation as I do:
    http://serverfault.com/questions/522448/application-request-routing-on-a-hyper-v-guest-intermittently-stops
    So what I can try are basically 3 ways 
    -Change the router, not viable as I don't own it.
    -Insert a wireless bridge in between
    -Do something with Debian, making it periodically generate network request to the internet to keep the connection alive
    Any ideas about my observation, and maybe possible solutions?
    Thank you for reading.

  • HT1695 how to add mac address to wi fi router

    I am unable to access internet through wi fi although the Wi Fi icon comes on the screen.

    What make, model, and version WiFi router do you have?
    Do you have any user documentation for your router?
    Do you actually have MAC address filtering turned on?
    Despite the WiFi icon you may not really be connected to your WiFi network.
    Your router may not have given your iPad a valid IP address. Go to Settings > Wifi > your network name and touch the ">" to the right to see the network details. If the IP address starts with 169 or is blank then your router didn't provide an IP address and you won't be able to access the Internet.
    Sometimes the fix can be as simple as restarting your router (remove power for 30 seconds and restart). Next, reset network settings on your iPad (Settings > General > Reset > Reset network settings) and then attempt to connect. In other cases it might be necessary to update the router's firmware with the latest from the manufacturer's support web pages.

Maybe you are looking for

  • JNDI contexts

    All, As I understand it weblogic has an internal naming service that manages the deployed enterprise beans and this is what JNDI uses when requesting initial contexts and home references. Presumably you can choose to use a different naming service an

  • ITSmobile

    Hi, is there any best practice document for ITSmobile or any simple example how to create own transaction? thx mario

  • Recommended os block size for redo log

    Hi Platform AIX Oracle 10.2.0.4 Is there any recommended filesystem blocksize where redo log should be placed? We have tested with 512 bytes and 4096 bytes. We got better performance on 512 bytes in terms of avg wait on log file sync. Is there oracle

  • How do I create a new layer that is only visible in the current animation frame?

    Normally when you create a new layer it's automatically visible in all animation frames. I want to set it so that the new layer is only visible within the frame it was created.

  • Internal Order Budget check while asset procurement through PR or PO

    Hello Experts ,                         Hope this is the correct place to post my issue!! I have created the IO- KO01 Assign Budget         - KO22 Activated tolerance limit and availability control and released the IO status of IO is- REL AUC AVAC BU