Posts

New apps for TVPad4 and Android "Live TVB..."

Image
Found few new apps for TVPad4 and work for Android. 翻入中國.apk 360cjroot-7.0.7.apk Live TVB 星火new直播_1.8.0.apk https://mega.nz/#F!IAI2iLyJ!SCFgrpCfpzT4qOQAUrNWsg

Working with ESX(i) Log

 tail -f /var/log/vmkernel.log http://www.simongreaves.co.uk/working-with-esxi-log-files/?print=print Working with ESX(i) Log Files Working with ESX(i) log files is important when troubleshooting issues within the virtual environment. You can view and search log files in ESX(i) and in vCenter Server using a few different methods. Methods Using the vSphere client The direct console user interface (DCUI) A web browser A syslog or vMA appliance An SSH connection to the host PowerCLI using the Get-Log command When using SSH, use the following commands to view and search the log files. Use  more  to page through the log files one page at a time Use  tail  to view the end of the log files Use  grep  to search Use pipe  |  to link commands together Use pipe  |  to  grep  to search through files Use  cat  to concatenate & use  grep  to search Use  find | print | grep  filename ...

How to – use vmkping to verify Jumbo Frames

Image
How to – use vmkping to verify Jumbo Frames I found this information from the link below, take no credit. http://www.running-system.com/how-to-use-vmkping-to-verify-jumbo-frames/ How to use vmkping right when testing Jumbo Frames? Assuming you have configured everything right, you will now use vmkping to verify if everything is working as expected. But the vmkping command has some parameters you should know and use in this case: -s to set the payload size Syntax:  “vmkping -s size IP-address” With the parameter -s you can define the size of the  ICMP payload . If you have defined a MTU size from eg. 9000 bytes and use this size in your vmkping command, you may get a  “Message too long”  error. This happens because ICMP needs 8 bytes for its ICMP header and 20 bytes for its IP header: The size you need to use in your command will be: 9000 (MTU size) – 8 (ICMP header) – 20 (IP header) =  8972 bytes  for ICMP payload -d to disable IP ...

ESXi 5.1: Stuck on running usbarbitrator start

Boot took a very long time and was stucked on: running usbarbitrator start Looking for a solution I stepped into this KB:  Accessing USB storage and other USB devices from the service console https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1023976 Previous KB states that this issue is due to USB Arbitrator service which manages USB passthrough. This service does not support simultaneous usb connections both from usb devices and from usb service console.  After host booted up (it took almost half an hour) login to ESXi console and diasble usb arbitrator service autostart on next reboot chkconfig usbarbitrator off KB suggest to reboot the host, actually for me once booted up host it worked fine, so if you need to disable usb arbitrator service without rebooting service usbarbitrator stop To verify the run this command ~ # chkconfig --list | grep -i usb usbarbitrator  off http://hostilecodin...

Access Dell OpenManage Server Administrator without Password

AccessDell OpenManage Server Administrator Console without Password As a Dell partner, we at Advanced Legal Systems manage quite a few Dell servers and other Dell hardware.  Dell OpenManage Server Administrator (OMSA) is a very useful tool for troubleshooting hardware issues, configuring RAID, managing the embedded system management (ESM) log, for proactive system monitoring and much more.  There is one irritation that I have with the tool.  In most cases, you get the password prompt to access the console. Here’s how you can go directly to the information you need and boost your productivity.  Simply substitute the OMSA link with the one below. (If you are accessing the console from a different machine, replace “localhost” with the machine name.) https://localhost:1311/?authType=ntlm&application=omsa&locallogin=true I found this information from here, I take no credit. http://www.advancedlegal.com/blog/access-dell-openmanage-server-administrat...

Collecting diagnostic information for VMware ESX/ESXi

Image
Obtaining Diagnostic Information for ESXi 5.x and 6.0 hosts using the vSphere Client ESXi 5.x host diagnostic information can be gathered using the vSphere Client connected to the ESXi host or to vCenter Server. To gather diagnostic data using the VMware vSphere Client: Open the vSphere Client and connect to vCenter Server or directly to an ESXi 5.x host. Log in using an account with administrative privileges or with the  Global.Diagnostics  permission. Select an ESXi host, cluster, or datacenter in the inventory. Click the  File  >  Export  >  Export System Logs . If a group of ESXi hosts are available in the selected context, select the host or group of hosts from the Source list. Click  Next . In the System Logs pane, select the components for which the diagnostic information must be obtained. To collect diagnostic information for all the components, click  Select All .  Note : Confirm that  HungVM  is not...

Restarting the Management agents in ESXi

Restarting the Management agents in ESXi and Verifying that the Management Service is running Restart Management agents in ESXi Using Direct Console User Interface (DCUI) : Connect to the console of your ESXi host. Press  F2  to customize the system. Log in as  root . Use the Up/Down arrows to navigate to  Troubleshooting Options  >  Restart Management Agents . Press  Enter . Press  F11  to restart the services. When the service restarts, press  Enter . Press  Esc  to log out. Restart Management agents in ESXi Using  ESXi Shell or Secure Shell (SSH) : Log in to ESXi Shell or SSH as  root . For Enabling ESXi Shell or SSH, see  Using ESXi Shell in ESXi 5.x and 6.x (2004746) . Restart the ESXi host daemon and vCenter Agent services using these commands: /etc/init.d/hostd restart /etc/init.d/vpxa restart To restart all management agents on the host, run the command: services.sh restart...

Mapped drives not accessible until user opens network share in explorer

Mapped drives not accessible until user opens network share in explorer At startup, mapped network drives would not auto reconnect. Some windows 7 users were having issues with opening recent files directly from the associated application or when storing their AutoArchive PST on a mapped network share. The system could not find the file. When opening up Windows Explorer the mapped network drives had a red X as if they weren't available, upon double clicking to open the X disapeared and the mapped drive works as intended. Recent files stored on the mapped drive would work normally as well.     Click Start, type regedit in the Start Search box, and then press Enter.     Locate and then right-click the following registry subkey:     HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System     Point to New, and then click DWORD Value.     Type EnableLinkedConnections, and then press Enter. ...

power off the virtual machine in an ESXi host CLI

Using the ESXi esxcli command to power off a virtual machine The  esxcli  command can be used locally or remotely to power off a virtual machine running on ESXi 5.x or later. For more information, see the  esxcli vm Commands  section in the  vSphere Command-Line Interface Reference . Open a console session where the  esxcli  tool is available, either in the ESXi Shell, the vSphere Management Assistant (vMA), or the location where the vSphere Command-Line Interface (vCLI) is installed. Get a list of running virtual machines, identified by World ID, UUID, Display Name, and path to the  .vmx  configuration file by running this command: esxcli vm process list Power off the virtual machine from the list by running this command: esxcli vm process kill --type=  [soft,hard,force]  --world-id=  WorldNumber Notes :  Three power-off methods are available. Soft is the most graceful, hard performs an immediate shutdown, and for...

Symantec Endpoint Protection 14MP2 released

wget --header="Cookie: veritas_main" http://esdownload.symantec.com/akdlm/CD/MTV/Symantec_Endpoint_Protection_14.0.0_MP2_All_Clients_EN.zip wget --header="Cookie: veritas_main" http://esdownload.symantec.com/akdlm/CD/MTV/Symantec_Endpoint_Protection_14.0.0_MP2_Full_Installation_EN.exe wget --header="Cookie: veritas_main" http://esdownload.symantec.com/akdlm/CD/MTV/Symantec_Endpoint_Protection_14.0.0_MP2_SEPM_EN.exe wget --header="Cookie: veritas_main" http://esdownload.symantec.com/akdlm/CD/MTV/Symantec_Endpoint_Protection_14.0.0_MP2_SEPM_CS.exe Download script, download both files and run the batch file. https://mega.nz/#F!gchglBIY!SvW6tkmABK0dUS45szPjPg

Remove OEMDRV Drive from Dell Server

Remove OEMDRV Drive from Dell Server I recently installed a Dell Server by using the Lifecycle Controller. This system uses a wizard to help with the installation of the operating system. In this case, I was installing Windows Server 2008 R2 to replace an existing Exchange 2010 server. As part of the installation, an OEMDRV USB drive is created by the Lifecycle Controller that contains the drivers used during OS installation. OS installation went well, but I ran into an issue afterwards. The OEMDRV drive was using E:, which I needed for my Exchange data. When you go into computer management, OEMDRV shows as a removable drive. However, you cannot change the drive letter or eject OEMDRV. By default the Lifecycle controller removes this drive after 18 hours, but I didn't want to wait that long. To force OEMDRV to be removed earlier, restart the server and press F10 to enter the Lifecycle Controller configuration. Then exit the Lifecycle Controller and reboot again. You don'...

Unhide the SLIC table on DELL 13th Generation PowerEdge servers

Unhide the SLIC table on DELL 13th Generation PowerEdge servers 1. F2 (enter BIOS) -> System BIOS-> Miscellaneous Settings 2. Enter "PASS:12/34" in the Asset Tag field, then exit and save settings 3. System will reboot into BIOS MANUFACTURING MODE. Let it go through POST completely, then reboot again to exit BIOS MANUFACTURING MODE. *NOTE*: You may have to go back into the BIOS to reconfigure some settings, such as the boot order, etc.

Symantec Endpoint Protection 14 MP1 released

Symantec Endpoint Protection 14 Name Version Release date (General availability) 14 MP1 14.0.2332.0100 February 17, 2017 14 (14 RTM) 14.0.1904.0000 October 28, 2016 Guide to release terminology: RTM - Release To Manufacturing MR - Maintenance Release (replaced by RU) RU - Release Update MP - Maintenance Patch PP - Point Patch wget --header="Cookie: veritas_main" http://esdownload.symantec.com/akdlm/CD/MTV/Symantec_Endpoint_Protection_14.0.0_MP1_All_Clients_EN.zip wget --header="Cookie: veritas_main" http://esdownload.symantec.com/akdlm/CD/MTV/Symantec_Endpoint_Protection_14.0.0_MP1_SEPM_EN.exe wget --header="Cookie: veritas_main" http://esdownload.symantec.com/akdlm/CD/MTV/Symantec_Endpoint_Protection_14.0.0_MP1_Full_Installation_EN.exe

Uninstall tool for Office 2016, Office 2013, or Office 365

Uninstall tool for Office 2016, Office 2013, or Office 365 https://support.office.com/en-us/article/Uninstall-Office-2016-Office-2013-or-Office-365-from-a-PC-9dd49b83-264a-477a-8fcc-2fdf5dbf61d8?ui=en-US&rs=en-US&ad=US https://aka.ms/diag_officeuninstall

Allowing Anonymous Access to a file share on Windows Server 2012

Allowing Anonymous Access to a file share on Windows Server 2012 The following configuration must be defined: Enable the Guest Account Open up Local Group Policy Manager. Expand Computer Configuration Expand Windows Settings Expand Security Settings Expand Local Policies Select Security Options Change “Network access: Let Everyone permissions to apply to anonymous users” from Disabled to Enabled. Change “Network access: Restrict anonymous access to Named Pipes and Shares” from Enabled to Disabled. Enter in the share name for “Network access: Shares that can be accessed anonymously” - \\SERVERNAME\ShareName Set up the Share with Everybody permissions and you're set Thank you Snippets http://www.gibs.com/Support/KnowledgeBase/tabid/292/articleType/ArticleView/articleId/17675/Allowing-Anonymous-Access-to-a-file-share-on-Windows-Server-2012.aspx

Unifi AP CLI

Unifi AP CLI SSH Reset Via SSH, users can apply  syswrapper.sh restore-default.  The UAP should quickly reboot with factory default settings.  syswrapper.sh restore-default Login ssh with default username: ubnt and password: ubnt than type command below, after adopt the AP you have to send set-inform again. mca-cli set-inform  http://unifi-controller:8080/inform set-inform  http://unifi-controller:8080/inform Adoption request sent to 'http://unifi-controller:80880/inform'. 1. please adopt it on the controller 2. issue the set-inform command again 3. <inform_url> will be saved after device is successfully managed SSH Reset Via SSH, users can apply  syswrapper.sh restore-default.  The UAP should quickly reboot with factory default settings. 

vCenter Server Appliance: out of diskspace

vCenter Server 5 Appliance  Recovering from out of diskspace vCenter Virtual Appliance System Partition 100% disk usage / space / full Login with WinSCP Go into the /var/log Check the ldapmessage-date Remove the old log file Reboot the appliance

VBS Script - Recursively Delete all Files in a Folder

I found this post and it work for me. http://clintboessen.blogspot.com/2009/07/vbs-script-recursively-delete-all-files.html VBS Script - Recursively Delete all Files in a Folder This script deletes all files under a particular folder, in this example c:\test. set objFSO = createobject("Scripting.FileSystemObject") set objFolder = objFSO.GetFolder("C:\test") for each folder in objFolder.SubFolders objFSO.DeleteFolder folder.path, True next for each file in objFolder.Files objFSO.DeleteFile file.path, True next

Twilio SIP Registration call international

Using an SIP IP Phone With Twilio https://ertw.com/blog/2013/11/05/using-an-ip-phone-with-twilio/ I found Sean Walberg’s blog show how to connect SIP Phone to Twilio, I test it work for me. But the Voice URL app only work for local call not international, I modify and add international dialing. <?php   $called = preg_replace(   array('/sip:011?(.*?)@.*/', '/sip:1?(.*?)@.*/'),   array('{$1}', '{$1}'),   $_POST['Called']);   header("content-type: text/xml");   echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";   ob_start();   var_dump($called);   var_dump($_POST);   $contents = ob_get_contents();   ob_end_clean();   error_log($contents, 3, "/tmp/twilio.txt"); ?> <Response>   <Dial timeout="10" record="false" callerId="YOURTWILIONUMBER"><?= $called ?></Dial> </Response>

Dynamic DDNS Update Script for DNS Made Easy

Dynamic DNS Update Script  for  DNS Made Easy  https://dbly.com/dynamic-dns-update-script/ I found this Dynamic DNS Update Script for DNS Made Easy, very easy to use and free. Download link. https://dbly.com/wp-content/uploads/2016/08/ddns-1-0-3.zip Download and unzip it. run the script   Cscript ddns.vbs Cscript ddns.vbs /username:USERNAME Cscript ddns.vbs /password:PASSWORD Cscript ddns.vbs /recordid:REDORDID create a.bat file cscript //nologo ddns.vbs Create task schedule run the a.bat

ClearOS 7 install with HP DL360 G5P400 hardware raid

Image
ClearOS 7 install with old HP DL360 G5 with P400 hardware raid Due to CentOS stop support old HP hardware raid controller by default, you can't find the raid drive for installation, you can enable support manually, I tested it work for me. 1. Boot up and hit "F8" to setup hardware raid. 2. Boot with hpsa enable Boot with installation DVD, at the boot screen hit "Tab" on the button you will see the boot option, add "hpsa.hpsa_simple_mode=1 hpsa.hpsa_allow_any=1" at the end, and hit Enter to continue. 3. Install ClearOS 7 Start normal installation process, when finished you will need reboot the system to rescue boot. 4. Boot to Rescue mode Reboot the system at the boot screen hit "e" to edit boot option,  Find the line begin with linux16 /vmlinuz-3....... and add "rescue hpsa.hpsa_simple_mode=1 hpsa.hpsa_allow_any=1 at the end, Press Ctrl-x the boot. 5. Edit boot option enable hpsa Enter root password and ...

Resolve QuickBooks Desktop performance issues

Resolve QuickBooks Desktop performance issues: Manage your data file If you are having issues with the performance of your QuickBooks Desktop, your company file may be the root cause. You have options you can use to resolve such issues. Be sure that all QuickBooks installations, including the data manager on the host /server, are running the latest release of your current QuickBooks version. To update QuickBooks, from the menu bar, select Help and then choose Update QuickBooks . Your company data file size QuickBooks' performance decreases as the size of the company file increases. There are no actual limits on the size of your company data file, but performance may be hindered if your network is not capable of handling files that have: More than 500 MB in Pro or Premier. More than 1.5 GB in QuickBooks Enterprise Solutions. More than seven years of transaction history.   Reduce the size of the company file If yo...