tag:blogger.com,1999:blog-30379729069761547722024-02-21T00:45:29.302+01:00Virtualize Your LifeTechnology Blog about:
Citrix/Exchange/Server/Desktop/Office/Mac/Outlook/Apple/Network/LAN/WAN/Security/Firewall/Mobility/Android/IOS/Cisco/ISP/Watchguard$3t4*$0uj1r0http://www.blogger.com/profile/03655492844803310891noreply@blogger.comBlogger31125tag:blogger.com,1999:blog-3037972906976154772.post-66670466116435635632013-06-12T17:24:00.001+02:002013-06-12T17:24:45.562+02:00Changing extensions length 3CXToday I'll show you how to change the digit length of your extensions in 3CX once installed.<br />
Please note that this is not recommended and should be tested and of course take a backup of your database first!.<br />
<br />
To change the extension length go to "settings" --> Advanced --> choose the "custom parameter tab" and look for the value called : "ENL" , change the value field to the desired length and you're done!$3t4*$0uj1r0http://www.blogger.com/profile/03655492844803310891noreply@blogger.com1tag:blogger.com,1999:blog-3037972906976154772.post-74498501455721602362013-06-12T16:50:00.002+02:002013-06-13T09:59:01.841+02:00Yealink T38 OpenVPN configuration<div style="text-align: justify;">
Well it's been a long time since I posted another tutorial, but here is a nice one.</div>
<div style="text-align: justify;">
I needed to configure a Yealink T38 to connect over VPN to a remote location. As you may or may not know, the T38 comes with openVPN support. However as always with yealink , the documentation on how to do it is poor to say the least...</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
There are other tutorials; but none are complete imho.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
This tutorial will show you how to setup an openVPN server on Ubuntu, and how to configure the Yealink to use VPN. </div>
<div style="text-align: justify;">
Please note the following:</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
*I'm using a TUNNEL(routed) connection for the OpenVPN , so if you need a bridged one, DON'T follow this guide (for the OpenVPN setup that is)</div>
<div style="text-align: justify;">
*This has been done with a Yealink T38 running FW 38.70.23.9 (although others should work too)</div>
<div style="text-align: justify;">
*The procedure to do this with a Yealink T26/T28 is the same, except for the location of the certificates; more on that later on.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
So let's start with the Ubuntu & Openvpn setup.</div>
<div style="text-align: justify;">
<i><br /></i>1)Let's make sure everything is up-to-date</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<pre><u><b><code>apt-get update && apt-get upgrade</code></b></u></pre>
</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
2)Download the packages for OpenVPN</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<pre><u><b><code>apt-get install openvpn udev</code></b></u></pre>
</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
3)Copy everything to another location to make sure they don't get overwritten by updates</div>
<div style="text-align: justify;">
<u><b><br /></b></u>
</div>
<div style="text-align: justify;">
<pre><code><u><b>cp -R /usr/share/doc/openvpn/examples/easy-rsa/ /etc/openvpn</b></u></code></pre>
<pre><code></code></pre>
<pre><code>4)Configure the vars file to include all the info to generate certficates.
Edit the following lines to match you country etc...</code><u><b>
</b></u><code><u><b><code>export KEY_COUNTRY="COUNTRY"
export KEY_PROVINCE="STATE"
export KEY_CITY="CITY"
export KEY_ORG="ORGANIZATION NAME"
export KEY_EMAIL="YOUR EMAIL"</code></b></u>
</code>5)Now we need to load the vars , clean up and build the CA.
cd into /etc/openvpn/easy-rsa/2.0</pre>
<pre>Run:
<b><code>. /etc/openvpn/easy-rsa/2.0/vars</code></b></pre>
<pre><code>
(NOTE: In case you get an error about openssl.conf being the wrong version;
issue the following: <u><b>cp openssl.1.0.0.conf openssl.conf</b></u>
Now to clean up run:
</code><code><b><code>. /etc/openvpn/easy-rsa/2.0/clean-all</code></b></code></pre>
</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Now we need to build the CA, run:</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<pre><b><code>. /etc/openvpn/easy-rsa/2.0/build-ca
</code></b><code>It will ask you for some settings,but they should already be correctly taken
from the vars file.</code>So just Enter to continue. When done it will ask you to build </pre>
<pre>and write, so enter Y to confirm.</pre>
</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
6) Now we need to build the certificate and key for the server itself. So run:</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<pre><b><code>. /etc/openvpn/easy-rsa/2.0/build-key-server <YOUR SERVER NAME></code></b></pre>
</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Again the settings should match the ones you entered before. but note the server name should be the one you chose for your server.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
7) Now we need to generate the client certificate & key file. So run:</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<pre><b><code>. /etc/openvpn/easy-rsa/2.0/build-key <YOUR CLIENT></code></b></pre>
</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Again note the client name should be the same as the one entered in the above command.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
8) Now generate the DH file for the key exchanges.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<pre><b><code>. /etc/openvpn/easy-rsa/2.0/build-dh </code></b></pre>
<pre><b><code>
</code></b></pre>
<pre><b><code>9</code></b><code>)Now that we have the required files , let's put them somewhere safe for further </code></pre>
<pre><code>adjustment.
To copy the client files, make a dir somewhere. </code></pre>
<pre><code>f.e: <b>mkdir /tmp/yealink</b>now go to the dir with the client files:
<b>cd /etc/openvpn/easy-rsa/2.0/keys</b></code></pre>
<pre><code>Copy the files to the new dir:
<b>cp ca.crt <clientname>.crt <clientname>.key </b></code></pre>
<pre><code><b> </b></code></pre>
<pre><code>10)Now we need to move the certificates for the server to a location where the </code></pre>
<pre><code> openvpn service can find them. So change back to the dir with the certs=</code></pre>
<pre><code><code><b> </b></code></code></pre>
<pre><code><code><b>cd /etc/openvpn/easy-rsa/2.0/keys</b></code></code>
copy the certs
<b><code>cp ca.crt ca.key dh1024.pem <YOURSERVERNAME>.crt <YOURSERVERNAME>.key /etc/openvpn</code></b></pre>
<pre><code></code><b><code> </code></b></pre>
<pre><code></code><code>11)Now this is done we need to modify the server config file to match our needs. </code></pre>
<pre><code> There are examples provided with openvpn docs, so should make life easy.</code></pre>
<pre><code>
</code>
<b><code>cd /usr/share/doc/openvpn/examples/sample-config-files</code><code> </code></b></pre>
<pre><b><code><code>gunzip -d server.conf.gz</code></code></b></pre>
<pre><b><code><code><code>mv server.conf /etc/openvpn/>YOURSERVERNAME<.conf</code></code></code></b></pre>
<pre><b><code><code><code> </code></code></code></b></pre>
<pre><code><code><code> Edit the file using your fav. editor. I'll use nano:</code></code></code></pre>
<pre><code><code><code><b>nano /etc/openvpn/>YOURSERVERNAME.conf<</b>Uncomment following : </code></code></code>
<b><code>push "redirect-gateway def1"</code></b></pre>
<pre><b><code><code>push "dhcp-option DNS 10.8.0.1"</code></code><code><code><code></code></code></code></b></pre>
<pre><b><code><code><code></code></code></code></b></pre>
<pre><code><code><code> (Here you can also specify your port & protocol etc...)
</code></code></code><code><code> </code></code></pre>
<pre><code><code>12)Now we need to setup the server to forward the VPN traffic</code></code></pre>
<pre><code><code> Edit the sysctl.conf file ( <b>nano /etc/sysctl.conf</b> )
Uncomment the following line:</code></code>
<b><code> </code></b></pre>
<pre><b><code>net.ipv4.ip_forward=1</code></b></pre>
<pre><code><code>
12)Now punch a hole in IPtables to allow for traffic:</code></code><b>
<code> </code></b></pre>
<pre><b><code>iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -s 10.8.0.0/24 -j ACCEPT</code><code><code> </code></code></b></pre>
<pre><b><code><code> </code> </code></b></pre>
<pre><code>13)That's it, you're done for the server side, now let's move to the client side.</code></pre>
<pre><code> cd to the folder where you dropped the client files (see step 9)
Here you need to create a config file for the yealink , for your convenience </code></pre>
<pre><code> i've made one you can copy paste and adjust some lines.</code></pre>
<pre><code> </code><code><b>You need to save this file as vpn.cnf</b><i> <b>and (DON'T COPY THE -------)</b></i></code></pre>
<pre><code><i> </i></code></pre>
<pre><code><i>-------------------------------------------------------------------
<b>client
;dev tap
dev tun
;dev-node MyTap
;proto tcp
proto udp
remote >YOURSERVERWANIP OR HOSTNAME< >YOURPORT<
;remote-random
resolv-retry infinite
nobind
;user nobody
;group nogroup
.
persist-key
persist-tun
;http-proxy-retry # retry on connection failures
;http-proxy [proxy server] [proxy port #]
;mute-replay-warnings
ca /phone/config/openvpn/keys/ca.crt
cert /phone/config/openvpn/keys/client.crt
key /phone/config/openvpn/keys/client.key
ns-cert-type server
</b></i></code></pre>
<pre><b><code><i>;cipher x
comp-lzo
verb 6
;mute 20</i></code><code> </code></b></pre>
<pre><b><code>----------------------------------------------------------------------</code></b></pre>
<pre><b><code> </code></b></pre>
<pre><code>14)Now if you're still with me you should have the following in your dir: </code></pre>
<pre><code> ca.crt + client.crt + client.key + vpn.cnf</code></pre>
<pre><code> If so, then let's continue.
Make a new dir named keys (<b>mkdir keys</b>) </code><b><code> </code></b><code>And move the certs & keys there , </code></pre>
<pre><code> but not the .cfn file.</code></pre>
<pre><code></code></pre>
<pre><code> </code></pre>
<pre><code>15)Almost there, now we need to make a tar that the yealink can use. </code></pre>
<pre><code> Yealink expects a very strange folderstructure, with the topfolder being named </code></pre>
<pre><code> "."
Now the way I found to do this is as follows: while in the directory where the </code></pre>
<pre><code> .cfn file and the "keys"folder is located issue:
<b> </b></code></pre>
<pre><code><b>"tar -cf client.tar ."</b></code></pre>
<pre><code> </code></pre>
<pre><code> If all goes well you should have a tar named 'client' now.
If that is the case, you now need to move this tar file to a pc where you can </code></pre>
<pre><code> access the Yealink webinterface.</code></pre>
<pre><code><b> </b></code></pre>
<pre><code>16)Log into the Yealink phone, and move to the NETWORK tab, then click ADVANCED in </code></pre>
<pre><code> the left side pane.</code></pre>
<pre><code><b> </b></code></pre>
<pre><code>17)Now there is an option VPN , which is disabled by default. But first you need </code></pre>
<pre><code> to upload your client tar file. Click browse and upload the file.
Once this is done you can enable the VPN functionality, the phone will reboot.</code></pre>
<pre><code><b> </b></code></pre>
<pre><code>18)If all went well , you should now have a working VPN to the openvpn server. </code></pre>
<pre><code> This is shown by a small V icon on the T38.</code></pre>
<pre><code><b> </b></code></pre>
<pre><code>Now you can connect to the remote PBX and all should be well. </code></pre>
<pre><code>Just note that you might need to add routes to the VPN subnet (10.8.0.0/24) </code></pre>
<pre><code><b> </b>
As a side note: in the config file above you will see the certificate locations are</code></pre>
<pre><code>: <b>/phone/config...</b></code></pre>
<pre><code>This is only correct for Yealink T3x, if you are using a T2X , you should use : </code></pre>
<pre><b><code>/yealink/config...</code></b></pre>
<pre><code>All the other steps should remain the same.</code></pre>
<pre><code>
In case you still don't get it to work , drop me a message.</code><b><code>
</code></b></pre>
</div>
$3t4*$0uj1r0http://www.blogger.com/profile/03655492844803310891noreply@blogger.com3tag:blogger.com,1999:blog-3037972906976154772.post-27129971469269616382012-02-09T13:28:00.002+01:002012-02-09T13:28:43.100+01:00Kayako installer hangs at 'troubleshooterstep'When I was installing the Kayako supportsystem on an Ubuntu server it would hang at the "templates" screen , more precisely at:<b><span style="font-family: 'tahoma';"><span style="font-size: x-small;">troubleshooterstep</span></span></b><br /><br />To fix this you need to allow more memory to be used by scripts in the PHP.ini file <br />located in /etc/php5/conf.d<br /><br />Set the allowed memory to 512M and you'll be fine ;-)<span style="font-family: 'tahoma';"><span style="font-size: x-small;"><br /><br /></span></span>$3t4*$0uj1r0http://www.blogger.com/profile/03655492844803310891noreply@blogger.com0tag:blogger.com,1999:blog-3037972906976154772.post-61550815660670061282012-02-07T21:26:00.001+01:002012-02-07T21:28:47.261+01:00WSUS broken after SP2 update on SBS 2008The title says it all.<br />
As it turns out i'm not the only one and google is scattered with people having the same issue.<br />
<br />
I had a client who had upgraded his WSUS sp1 on a SBS 2008 box to SP2, without reading the preresuisites (found here: http://www.microsoft.com/download/en/details.aspx?id=5216)<br />
<br />
So it messed up WSUS beyond repair.<br />
<br />
I first tried the basics, uninstalling WSUS sp2 , delete all the files in the WSUS directory etc and then reinstall the original WSUS from the 2nd DVD of SBS 2008.<br />
<br />
The install completed successfully however WSUS was still broken, and would throw erros like:<br />
<br />
<i><b>The SimpleAuth Webservice is not working </b></i><br />
<i><b>The ClientWebservice is not working </b></i><i><b></b></i><br />
<br />
<i><b>WSUS administration console was unable to connect to the server using the remote API</b></i><br />
<br />
<b><i>System.IO.IOException -- De handshake is mislukt als gevolg van een onverwachte pakketgrootte.<br />
Source<br />
System<br />
Stack Trace:<br />
bij System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)<br />
bij System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)<br />
Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.OnExpandFromLoad(SyncStatus status)</i></b><br />
<i> </i><b> </b><br />
<b>Last one is in dutch because I'm too lazy to translate and the client installed the SBS in dutch O_O</b><br />
<br />
<br />
<br />
As I said I tried uninstall and reinstall, but didn't do the trick. Then I noticed that the WSUS administration console site would not get removed from IIS sites, even though WSUS was uninstalled. So:<br />
<br />
<br />
1 Uninstall WSUS , go to control panel --> Programs and Features --> Windows updates services --> remove --> check all the boxes to remove all of the files.<br />
<br />
2 Delete the contents of the WSUS folder , usually located under c: , don't delete the folder itself.<br />
<br />
3 Delete the WSUS administration Site under IIS --> Administrative Tools --> IIS Manager --> In the left pane there should be a site called 'WSUS ADMINISTRATION' --> right click --> Delete<br />
<u><b>(ONLY DO THIS WHEN HAVING SAME PROBLEM AS ME, AND ONLY THIS SITE, NOTHING ELSE!!!)</b></u><br />
<br />
4 Install the report viewer as specified in the requirements mentioned earlier (if not done so already)<br />
<br />
5 Download the WSUS SP2 Installer from the link specified earlier.<br />
<br />
6 Right click installer and run as admin.<br />
<br />
7 Now WSUS should work as before and you'll be running SP2 , but unfortunately you'll need to configure WSUS from scratch.<br />
<br />
<br />
<i></i><br />
<br />$3t4*$0uj1r0http://www.blogger.com/profile/03655492844803310891noreply@blogger.com0tag:blogger.com,1999:blog-3037972906976154772.post-52925110550745477522011-12-14T20:37:00.001+01:002011-12-14T20:37:44.031+01:00Out Of Office BLF with Snom & 3CX<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNzaa8rZv8IRK7z_URc0FTd3nzabK1MRwsvWbeLYDOTSkhbV_EGLmkUfKjWq162ZS1IvWCPZPrzZ9rLqaLXxv53ZdEfYkoMaHD5uMvoy9N0B4rX_d-C3oNIiHvnFYN3n29AQkQRog9GSE/s1600/DIAL+CODES.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div>
Today I had someone asking me to configure some way to manually set the
PBX to "in the office" or "out of office" and have the phone have lit
LEDs to show the "out of office" being enabled. <br />
To be honest I've never been asked to do so since most people are happy
using the automatic "office hours" routing provided by 3CX.<br />
<br />
So to configure this I had to get a little creative. I used the 3CX emergency dial code and the Snom Action URL<br /><br />
What you'll need:<br />
<br />
<b>-3CX commercial edition</b> (since the dial code needed to enable/disable out of office is only included in the commercial version.)<br />
-<b>SNOM Phone</b> (3xx/8xx) with version 8 Firmware<br />
<br />
<u><b>Step 1 : Configure the "EMERGENY DIAL CODE" in 3CX</b></u><br />
<br />
Log into the 3CX Management console, and go to settings in the left pane.<br />
Click advanced and then click the "dial codes" tab.<br />
At the bottom you will see the "Emergency dial code" this field is empty
and you must enter a value there, I used *123. (note that to enable out
of office you need to dial *123<b>2</b> , to disable *123<b>1</b>)<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNzaa8rZv8IRK7z_URc0FTd3nzabK1MRwsvWbeLYDOTSkhbV_EGLmkUfKjWq162ZS1IvWCPZPrzZ9rLqaLXxv53ZdEfYkoMaHD5uMvoy9N0B4rX_d-C3oNIiHvnFYN3n29AQkQRog9GSE/s1600/DIAL+CODES.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="252" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNzaa8rZv8IRK7z_URc0FTd3nzabK1MRwsvWbeLYDOTSkhbV_EGLmkUfKjWq162ZS1IvWCPZPrzZ9rLqaLXxv53ZdEfYkoMaHD5uMvoy9N0B4rX_d-C3oNIiHvnFYN3n29AQkQRog9GSE/s400/DIAL+CODES.png" width="400" /></a></div>
<br />
<br />
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />Step 2: making the XML files needed by the Snom phones<br /><br />We need to make 2 files, 1 to enable out of office and light up the LEDs on the phone, and one to disable out of office and the LEDs.<br /><br />The config i used to enable the leds and out of office:<br /><br /><i><span style="color: #999999;"><?xml version="1.0" encoding="UTF-8"?></span><br style="color: #999999;" /><span style="color: #999999;"><SnomIPPhoneText></span><br style="color: #999999;" /><span style="color: #999999;"><Title>LED Control Feature</Title></span><br style="color: #999999;" /><span style="color: #999999;"><Prompt>Prompt Text</Prompt></span><br style="color: #999999;" /><span style="color: #999999;"><Text>Your message here</Text></span><br style="color: #999999;" /><span style="color: #999999;"><Led number="1">Blink</Led></span><br style="color: #999999;" /><span style="color: #999999;"><Led number="2"></span></i><i><span style="color: #999999;">Blink</span></i><i><span style="color: #999999;"></Led></span><br style="color: #999999;" /><span style="color: #999999;"><Led number="3"></span></i><i><span style="color: #999999;">Blink</span></i><i><span style="color: #999999;"></Led></span><br style="color: #999999;" /><span style="color: #999999;"><Led number="4"></span></i><i><span style="color: #999999;">Blink</span></i><i><span style="color: #999999;"></Led></span><br style="color: #999999;" /><span style="color: #999999;"><Led number="5"></span></i><i><span style="color: #999999;">Blink</span></i><i><span style="color: #999999;"></Led></span><br style="color: #999999;" /><span style="color: #999999;"><Led number="6"></span></i><i><span style="color: #999999;">Blink</span></i><i><span style="color: #999999;"></Led></span><br style="color: #999999;" /><span style="color: #999999;"><Led number="7"></span></i><i><span style="color: #999999;">Blink</span></i><i><span style="color: #999999;"></Led></span><br style="color: #999999;" /><span style="color: #999999;"><SoftKeyItem></span><br style="color: #999999;" /><span style="color: #999999;"><Name>#(or another key you like)</Name></span><br style="color: #999999;" /><span style="color: #999999;"><URL>http://127.0.0.1/command.htm?number=<b>*1232</b>&outgoing_uri=IP OF 3CX</URL></span><br style="color: #999999;" /><span style="color: #999999;"></SoftKeyItem></span><br style="color: #999999;" /><span style="color: #999999;"></SnomIPPhoneText></span></i><br /><br />And to disable the LEDs and out of office:<br /><br /><i><span style="color: #999999;"><?xml version="1.0" encoding="UTF-8"?></span><br style="color: #999999;" />
<span style="color: #999999;"><SnomIPPhoneText></span><br style="color: #999999;" />
<span style="color: #999999;"><Title>your title</Title></span><br style="color: #999999;" />
<span style="color: #999999;"><Prompt>Prompt Text</Prompt> </span><br style="color: #999999;" />
<span style="color: #999999;"><Text>Your message</Text> </span><br style="color: #999999;" />
<span style="color: #999999;"><Led number="1">Off</Led> </span><br style="color: #999999;" />
<span style="color: #999999;"><Led number="2"></span></i><i><span style="color: #999999;">Off</span></i><i><span style="color: #999999;"></Led></span><br style="color: #999999;" />
<span style="color: #999999;"><Led number="3"></span></i><i><span style="color: #999999;">Off</span></i><i><span style="color: #999999;"></Led></span><br style="color: #999999;" />
<span style="color: #999999;"><Led number="4"></span></i><i><span style="color: #999999;">Off</span></i><i><span style="color: #999999;"></Led></span><br style="color: #999999;" />
<span style="color: #999999;"><Led number="5"></span></i><i><span style="color: #999999;">Off</span></i><i><span style="color: #999999;"></Led></span><br style="color: #999999;" />
<span style="color: #999999;"><Led number="6"></span></i><i><span style="color: #999999;">Off</span></i><i><span style="color: #999999;"></Led></span><br style="color: #999999;" />
<span style="color: #999999;"><Led number="7"></span></i><i><span style="color: #999999;">Off</span></i><i><span style="color: #999999;"></Led></span><br style="color: #999999;" />
<span style="color: #999999;"><SoftKeyItem></span><br style="color: #999999;" />
<span style="color: #999999;"><Name>#(or another key you like)</Name></span><br style="color: #999999;" />
<span style="color: #999999;"><URL>http://127.0.0.1/command.htm?number=<b>*1231</b>&outgoing_uri=IP OF 3CX</URL></span><br style="color: #999999;" />
<span style="color: #999999;"></SoftKeyItem></span><br style="color: #999999;" />
<span style="color: #999999;"></SnomIPPhoneText></span></i><br /><br />These XMLs are used by the Snom "minibrowser" and will be read by configuring an URL in the snom (more of that later)<br /><i><span style="color: #999999;"><Text>Your message</Text> </span></i><span style="color: black;">this will be displayed when using the XML on the phone's lcd.<br />I used something like "to enable/disable out of office press # , then press X)</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEhSXLpesYbCVdxRJB_ZemLvkEG3RKl5a9GPdJlzBlOqTRRq1qGQvZ0Adksb3ua69KmKv7rZhjKZ24yUM-qUJEJXtRjgqFlloyDOmps2xGWG0YORO6hyN_J6rSjXggcfVc8aK-sCzNyuo/s1600/actionurl.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><br /></a></div>
<i><span style="color: #999999;"><Led number="1">Off</Led></span></i>this is used to define the LED's state, you can set it to On/Off/Blink<br /><i><span style="color: #999999;"><SoftKeyItem></span><br style="color: #999999;" />
<span style="color: #999999;"><Name>#(or another key you like)</Name></span></i>Here we define a "softkey to the phone (in my case #) that will be used
to send a command to the phone to actually call the *1232 or whatever
dial code you defined in 3CX.<i><span style="color: #999999;"></span><br style="color: #999999;" />
<span style="color: #999999;"><URL>http://127.0.0.1/command.htm?number=<b>*1231</b>&outgoing_uri=IP OF 3CX</URL></span><br style="color: #999999;" />
<span style="color: #999999;"></SoftKeyItem></span></i> This is used to enter the command being sent to the phone , number=the emergency code you defined, and outgoing_uri is your 3CX IP.<br /><br />Save both files as a .XML file and upload them to the 3CX provisioning folder (or another webserver)<br />You can find the provisioning folder under :<br /><b>C:\docs&sett\allusers\application data\3CX\Data\http\interface\provsioning </b>or<b> C:\programdata\3CX\Data\http\interface\provsioning </b><br /><br /><u>Step 3: Configuring the Snom to use your XML in an Action URL</u><br /><br />First make sure your snom is atleast version 8.<br />Then log on to the phone's webconsole and in the left pane select "function keys" then choose the buttons you would like to use. I used the two bottom ones.<br /><br />From the drop down menu select "Action URL" and in the value field enter the url to the XML.<br />In case you used the 3CX provisioning folder: <br />http://YOURPBX:5000/provisioning/ENABLEOUTOFOFFICE.xml <br /><br />and in the other button:<br />http://YOURPBX:5000/provisioning/DISABLEOUTOFOFFICE.xml<br /><br /><br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEhSXLpesYbCVdxRJB_ZemLvkEG3RKl5a9GPdJlzBlOqTRRq1qGQvZ0Adksb3ua69KmKv7rZhjKZ24yUM-qUJEJXtRjgqFlloyDOmps2xGWG0YORO6hyN_J6rSjXggcfVc8aK-sCzNyuo/s1600/actionurl.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="189" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEhSXLpesYbCVdxRJB_ZemLvkEG3RKl5a9GPdJlzBlOqTRRq1qGQvZ0Adksb3ua69KmKv7rZhjKZ24yUM-qUJEJXtRjgqFlloyDOmps2xGWG0YORO6hyN_J6rSjXggcfVc8aK-sCzNyuo/s320/actionurl.png" width="320" /></a><br /><br /><br />Then click save and you're done. Now a user can press the configured button to enable/disbale the leds and complete by pressing the commandbound button to send a phonecall to the the PBX enabling/disbaling the out of office$3t4*$0uj1r0http://www.blogger.com/profile/03655492844803310891noreply@blogger.com3tag:blogger.com,1999:blog-3037972906976154772.post-31575449372042261372011-12-02T20:58:00.001+01:002011-12-02T21:03:16.869+01:00repairing a waterdamaged blackberrySo for some reason someone felt the need to spill a glass of applejuice on my blackberry.<br />
At first all seemed well and I dried it off a little and it was still OK.<br />
<br />
The morning after my phone was still doing what it should until I tried to check my mails. I got the little clock symbol and then it shut down. I opened the phone and saw that the waterindicators were red...<br />
The phone wouldn't boot and show a constant red led. When connected to AC power it would show a "battery missing" on the display.<br />
<br />
So I took the phone and put it in a box of dried rice for 3 days, not expecting anything of it. Since I didn't remove the battery right after it got wet, nor did I clean the phone with rubbing alcohol...<br />
But sure enough after 3 days the phone booted and was working the same a before :)<br />
<br />$3t4*$0uj1r0http://www.blogger.com/profile/03655492844803310891noreply@blogger.com0tag:blogger.com,1999:blog-3037972906976154772.post-75326133637314088402011-12-02T20:54:00.001+01:002011-12-02T21:02:46.606+01:00How to backup VPN connections in Windows 7I'm sure more of you have wondered wether it's possible to backup your VPN connections stored in your windows 7 pc, after some exploring I found the file where they are stored.<br />
Actually it's called a "phonebook" in windows and is located at:<br />
C:\Users\YOURUSERNAME\AppData\Roaming\Microsoft\Network\Connections\Pbk<br />
<br />
If you double click the PBK file it will show you all connections. So as you can see the VPN connections are stored there and can be easily exported.<br />
<br />$3t4*$0uj1r0http://www.blogger.com/profile/03655492844803310891noreply@blogger.com2tag:blogger.com,1999:blog-3037972906976154772.post-87731480338961187342011-10-10T11:36:00.000+02:002011-10-10T11:37:42.116+02:00Android 2.x and 3.x syncing random subfolders from exchangeI had a problem which took me quite some time to find out.
<br />I had a 2.x android phone and a 3.x Tablet. Both of them connected fine to my exchange 2010 server.
But upon syncing I saw that it would seem to sync the subfolders randomly. By that I mean that not all subfolders were showing on my device.
<br />After some troubleshooting I deleted one of the subfolders and recreated it. After doing that the subfolder would sync to the devices without problem.
<br />So knowing this I remembered that these problemfolders were imported from a PST and NOT created in outlook/OWA by myself.
After some investigating on this it turns out that exchange gives different 'types' to subfolders when created.
<br />So then I had to go and create a new subfolder, move the mail and delete the old one. Then renamed the subfolder to it's predecessor and it started syncing without problems.
$3t4*$0uj1r0http://www.blogger.com/profile/03655492844803310891noreply@blogger.com0tag:blogger.com,1999:blog-3037972906976154772.post-72254069956904786392011-10-10T11:30:00.000+02:002011-10-10T11:38:42.144+02:00How to reset Blackberry calendarHere's an easy way to reset a corrupt blackberry calendar:<br />
-Open the calendar on the device
<br />
-Press the "Menu" button
-Choose options
<br />
-Then type "RSET" , you don't have a text field, just type it in the option screen
<br />-Confirm you want to reset the calendar and have it resync
$3t4*$0uj1r0http://www.blogger.com/profile/03655492844803310891noreply@blogger.com0tag:blogger.com,1999:blog-3037972906976154772.post-74208977273647146322011-07-29T22:26:00.001+02:002011-08-10T13:15:39.975+02:00HP DL 165 G7 and P800 RAID ControllerI'm actually quite happy to be able to post this success :)<br />
I have a client where they have an MSA 60(HP Storage works) in combination with the P800 Array Controller, All worked fine in an old ML350.<br />
<br />
But now I had to try and make it work with the new HP DL 165 G7 Server they bought for running ESX.<br />
<br />
I've encountered various problems, but I'll spare the most of them. Also I didn't note all the steps taken in detail, so just bear with me.<br />
<br />
Problem 1:<br />
<br />
The server comes with a p410 controller built-in, to be able to use the P800 (which is HUGE) you need to lose that controller. The P800's PCI connection is much smaller then the one on the mobo, but don't mind that and shove it in.<br />
But then you cannot use the internal disks the server has. The workaround is to order a special SAS cable from amazon or something, to connect the disks to the P800's internal SAS Connector<br />
<br />
<br />
Problem 2:<br />
<br />
The BIOS does NOT give any note of the controller during the POST so there is no way to configure it. You need to download the "Offline Array Configuration Utility" from HP. You need to use the HP Usb creator, or burn it to a bootable CD.<br />
Now you are able to use the ACU to configure the disks/volumes.<br />
ESX DOES NOT SUPPORT LUNS OVER 2TB -512 Bytes<br />
<br />
<br />
Actually, those were the 2 major problems...<br />
After that , I was able to install ESX on the MSA and boot from it as well...<br />
One thing to note: You can install the ACU and HP Management agents on the server, IF you install ESX , if you install ESXi there is no way to do this!!!$3t4*$0uj1r0http://www.blogger.com/profile/03655492844803310891noreply@blogger.com0tag:blogger.com,1999:blog-3037972906976154772.post-22963121490649945102011-07-29T22:13:00.000+02:002011-07-29T22:13:53.449+02:00V-79-57344-34108 - An unexpected error occurred when cleaning up snapshot volumes. Confirm that all snapped volumes are correctly resynchronized with the original volumes.Last week I had another interesting issue with backup exec.<br />
As you can see from the title the job ended with a :<br />
<br />
<b>V-79-57344-34108 - An unexpected error occurred when cleaning up snapshot volumes. Confirm that all snapped volumes are correctly resynchronized with the original volumes.</b><br />
<br />
and another :<br />
<br />
<b>V-79-57344-65033 - Directory not found. Cannot backup directory D:\HOMEDIRS\BLA\Desktop and its subdirectories.</b><br />
<br />
Needless to say that the directory ofcourse was available and backup ran fine like forever until then...<br />
<br />
But first a little scenario of the problem:<br />
<br />
-ESX 4 Host<br />
-Windows 2008 R2 SP1 with shares on drive "D:"<br />
-Backup of C: has no problem what so ever<br />
-VSS errors filling up event log during backup of D:<br />
<br />
<br />
So to isolate the problem I had checked every goddamn Symantec KB, every MS KB... But all to no avail. <br />
When checking out the VCenter , nothing unusual!<br />
<br />
But then when I went clueless, and just for the fun of it connected directly to the ESX Host instead of Vcenter, I saw a Snapshot task of the said VM running and hung at 95% for like 1 week already!!(from the backup exec VMWare backup)<br />
<br />
So I cancelled this snapshot, but still not any luck with my D: Disk.<br />
<br />
Then my collegue spotted something I didn't see, for some reason we had 2 VSS providers:<br />
-Backup Exec VSS Provider<br />
-BEVSS Provider<br />
<br />
As it turns out, when making backups of whole VMs, Backup exec generates an extra VSS Provider (BEVSS Provider) in the services console of windows, and when backups are complete removes it again. But because the snapshot hung, the service didn't get removed and somehow backupexec messed up!<br />
<br />
Now to solve this:<br />
<br />
There is a script that get's called after a VM Backup Job ( Post-Thawte-script.bat)<br />
located in "c:\windows"<br />
<br />
Run this script manually and reboot, this should fix the issue and remove the extra VSS Provider!!<br />
<br />
more info here: http://www.symantec.com/connect/forums/backupexec-2010-bevss-provider-installs-inself$3t4*$0uj1r0http://www.blogger.com/profile/03655492844803310891noreply@blogger.com5tag:blogger.com,1999:blog-3037972906976154772.post-82329849272129576222011-07-20T14:55:00.000+02:002011-07-20T14:55:39.903+02:00Reset HP ILO PasswordHere's how to easily reset the HP Integrated Lights Out password without needing to access the console.(tested only with ILO2!!)<br />
Please note this will only work if the server is online and if the hp management tools are installed in the OS. If they are not then refer to this:<br />
<br />
1. Install SNMP on the windows server (neede by HP Insight Management Agents.)<br />
2. Ddowloaded and install the <a href="http://h18007.www1.hp.com/support/files/server/us/download/23368.html"> HP Insight Management Agents</a>.<br />
3. Download and install <a href="http://h18000.www1.hp.com/support/files/server/us/download/20863.html">HP Lights-Out Online Configuration Utility</a>.<br />
<br />
Ok now that everything is in place, open a notepad file and enter the following :<br />
<br />
<code><i><ribcl VERSION="2.0"><br />
<login USER_LOGIN="Administrator" PASSWORD="<b>somerandompassword</b>"><br />
<user_INFO MODE="write"><br />
<mod_USER USER_LOGIN="Administrator"><br />
<password value="<b>yournewpassword</b>"/><br />
</mod_USER><br />
</user_INFO><br />
</login><br />
</ribcl></i><br />
</code>Now save the file as <b>yourfile.XML</b> , and copy it to your hp\hponcfg directory (normally under prog. files)<br />
When done that open a command prompt , navigate to c:\program files\hp\hponcfg directory and issue the following command:<br />
<br />
<div class="dirtycodenoclick"><i><b><code>HPONCFG.exe /f yourfile.xml <br />
</code></b></i>Now it should successfully reset the password, but please note that the min. password length is 8 characters. <br />
<i><b><code><br />
</code></b></i></div><code><br />
</code>$3t4*$0uj1r0http://www.blogger.com/profile/03655492844803310891noreply@blogger.com2tag:blogger.com,1999:blog-3037972906976154772.post-68815463098642843512011-07-14T15:50:00.001+02:002011-07-19T16:39:15.111+02:00Blackberry Administration Service keeps stopping with event ID 7031I just had a BES Server where the Administration service - Application service would keep starting and then stopping.<br />
Turns out that the service was competing with M$ DNS Server for the ports. <br />
To fix this open the registry editor and navigate to:<br />
<b><b>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic<wbr></wbr>es\Tcpip\Parameters </b></b><br />
<b><br />
-Right-click <b>ReservedPorts</b>, and then click <b>Modify</b>.</b><br />
<b>Paste these ports in the list:</b><br />
<u><i><b>48855-48858<br />
45588-45588<br />
49955-49955<br />
45599-45599</b></i></u>$3t4*$0uj1r0http://www.blogger.com/profile/03655492844803310891noreply@blogger.com0tag:blogger.com,1999:blog-3037972906976154772.post-58783448905013556532011-07-14T11:55:00.003+02:002011-07-20T16:37:29.598+02:00BES Express Server stops working after installing outlookLast I came across an issue which looking back at it was obvious enough, but not at the time:<br />
I needed to export some mailboxes to pst files on exchange 2010 NOT SP1 using the EMS (Shell), so as you might (not) know you need Outlook x64 installed on the server where you want to do the export from.<br />
<br />
No problem, I just installed outlook and proceeded with my exports. But then it turbed out that my BES Express which was on the same server stopped working. The BES Services wouldn't start anymore.<br />
So after some digging in the event logs it turns out that outlook overwrites the mapi32.dll file that you installed as a BES Prerequisite (MAPI CDO 1.2.1 pack).<br />
<br />
The solution: <br />
<br />
<b>-Uninstall outlook , then reboot the server.<br />
-Then go to control panel --> Add/Remove programs --> select the MAPI/CDO pack from the list and remove it.<br />
-Download the pack again from <a href="http://www.microsoft.com/download/en/details.aspx?id=1004">here</a><br />
-Reinstall the pack<br />
-That's it, the BES Services should start now and you should be up and running again.</b>$3t4*$0uj1r0http://www.blogger.com/profile/03655492844803310891noreply@blogger.com1tag:blogger.com,1999:blog-3037972906976154772.post-64819726124921343562011-06-29T13:33:00.006+02:002012-01-23T15:19:32.356+01:00Convert Cisco Lightweight AP to standalone APToday I'll be showing you a step by step on converting a Cisco Lightweight Access Point<br />
to a standalone version. In this tutorial I'll be using a "LAP-1041N-E-K9" but other devices will work as well and in the same way. <br />
<br />
The LAP is designed to work with a Wireless Controller Unit, and therefor cannot be managed from a webinterface as others can. But luckily you can convert this pretty easy!<br />
<br />
This is the 1141n I'll be working with:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_RxZboLoIiYXUbZp-JENhTpWPfY_2eLPq6oiMOEo58BhEtGJQ0M9n2IE98JdhfiWpbXJrEOczPNouLqTlbInNUC9yCkWaBfeuXdmhkeHxQyepFL5WeNBqvC_9Zvh8B3C8JbhxbDlse8s/s1600/IMG00046-20110629-1300.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_RxZboLoIiYXUbZp-JENhTpWPfY_2eLPq6oiMOEo58BhEtGJQ0M9n2IE98JdhfiWpbXJrEOczPNouLqTlbInNUC9yCkWaBfeuXdmhkeHxQyepFL5WeNBqvC_9Zvh8B3C8JbhxbDlse8s/s320/IMG00046-20110629-1300.jpg" width="320" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZ-YEthUTOAY5tZPWpX5ruNc79azpmrgqcU8cTOdXXgEHbnSjVXSesH_rdc3mbuubQvaT2D_S-SKXH9aLS-M_UwpngvUEzYOVuH_64DNQiEOKO4pMoL2tiXWtTaFuD1AOwOrdEIBm7H5U/s1600/IMG00047-20110629-1301.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZ-YEthUTOAY5tZPWpX5ruNc79azpmrgqcU8cTOdXXgEHbnSjVXSesH_rdc3mbuubQvaT2D_S-SKXH9aLS-M_UwpngvUEzYOVuH_64DNQiEOKO4pMoL2tiXWtTaFuD1AOwOrdEIBm7H5U/s320/IMG00047-20110629-1301.jpg" width="320" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
What you need to perform the upgrade:<br />
-A cisco (L)AP<br />
-A Console canle for the AP(optional)<br />
-A Cat5 ethernet Cable<br />
-A pc/laptop with serial and ethernet port(serial is optional)<br />
-The firmware to convert the AP(get it from cisco site <a href="http://www.cisco.com/cisco/software/release.html?mdfid=283445229&catid=278875243&softwareid=280805680&release=12.4.25d-JA&relind=AVAILABLE&rellifecycle=ED&reltype=latest&i=rp">here</a>) <br /> <u><b>[NO I can't provide the firmware , sorry!]</b></u><br />
-A TFTP Server (I recommend <a href="http://www.solarwinds.com/register/MoreSoftware.aspx?External=true&Program=52&c=70150000000CcH2&INTCMP=DLIndexA_FreeTools_freeTFTPserver">Solwarwinds</a>)<br />
<br />
To get started install the tftp server on your pc/laptop and disable ALL firewalls.<br />
Place the downloaded firmware (c1140-k9w7-tar.124-25d.JA.tar) in my case in the root of the tftp server. In case of Solarwinds this would be : "<b>C:\TFTP-Root</b>"<br />
<br />
Rename the FW file to "<b>c1140-k9w7-tar.default</b>" obviously keep the correct name for your product. This filename is STRICTLY for the 1140 series.<br />
<br />
Now make sure the TFTP Server is started and running. <br />
<br />
Setup your pc with a static ip on the Ethernet connection "10.0.0.2" (restart the tftp server if needed)<br />
The AP will assign itself with 10.0.0.1 in safe/debug mode.<br />
<br />
Connect the AP directly to the pc using ethernet cable.<br />
<br />
Now disconnect the power and press the mode button, keep pressed while reconnecting power/POE. The LED will start flashing blue first and then go to red/amber after 20-30 seconds. Now release the mode button.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_5RZ49JyxWr_-MjgerVLYioiNO0IHFE4z5p8slc9VYcztZkAwucIqXk1MuJ2KIPFARF0wVXWNvX_nCUltJ9HxNQwausZfD5S3GccTdcDzxt4wM7CGmS7KtFrH1HCchx-yw14JhLzm1xQ/s1600/IMG00048-20110629-1303.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_5RZ49JyxWr_-MjgerVLYioiNO0IHFE4z5p8slc9VYcztZkAwucIqXk1MuJ2KIPFARF0wVXWNvX_nCUltJ9HxNQwausZfD5S3GccTdcDzxt4wM7CGmS7KtFrH1HCchx-yw14JhLzm1xQ/s320/IMG00048-20110629-1303.jpg" width="320" /></a></div>
<i>(I messed up in this picture, the ethernet should be connected to the Ethernet, not console but i'm too lazy to redo the picture :) )</i><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjE9-QOxzxEyEDlb8YiMfFCfcUfCrk9PuR9D3f-B2o_L95yT_xroVZO17vN6HWONFqT1LSPHrQlI_Duhyphenhyphen8Cn1_1wJe1I_DLEmapubBGy1MWBHvD5O68nWwA3XLj0PSw_n7qU6MFTB1yCL4/s1600/IMG00049-20110629-1303.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjE9-QOxzxEyEDlb8YiMfFCfcUfCrk9PuR9D3f-B2o_L95yT_xroVZO17vN6HWONFqT1LSPHrQlI_Duhyphenhyphen8Cn1_1wJe1I_DLEmapubBGy1MWBHvD5O68nWwA3XLj0PSw_n7qU6MFTB1yCL4/s320/IMG00049-20110629-1303.jpg" width="320" /></a></div>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7-_ibegGP-ZJYoCwmPjyun5645OVsrHfYwg1ntWU5xCBXaQV3R3NuXCtg7SofnnKYmWYHVLhItr_EZ2Nhqw1ff11O2N-cGYHvnjkqkG7JngTliyFBO8u6oz2nB1DrIK9P8MT-fPmNjRA/s1600/IMG00050-20110629-1303.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7-_ibegGP-ZJYoCwmPjyun5645OVsrHfYwg1ntWU5xCBXaQV3R3NuXCtg7SofnnKYmWYHVLhItr_EZ2Nhqw1ff11O2N-cGYHvnjkqkG7JngTliyFBO8u6oz2nB1DrIK9P8MT-fPmNjRA/s320/IMG00050-20110629-1303.jpg" width="320" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Now go and check your TFTP Server, you will see a connection from 10.0.0.1 downloading the firmware. During this the LED will keep blinking green.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhd8qiK1jRUptaRVILDDuKD7aKaUdNViFcuhHENG_GK3SCfjTtxUZgCjilJx-eij-wK3IIhjcdal4D95F5To8sHMmkcLrf_sdD5r78DVRDadlBuPJmpXyULRyrCWwCkhEDz3pDwQwz88H4/s1600/tftp+download+cisco.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="143" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhd8qiK1jRUptaRVILDDuKD7aKaUdNViFcuhHENG_GK3SCfjTtxUZgCjilJx-eij-wK3IIhjcdal4D95F5To8sHMmkcLrf_sdD5r78DVRDadlBuPJmpXyULRyrCWwCkhEDz3pDwQwz88H4/s320/tftp+download+cisco.png" width="320" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
After the upgrade is complete the LED will stay solid green. Now you can reconnect the AP to your Lan and it will receive a DHCP address, use your prefered scanner to find the AP. <br />
You could also connect the AP to a pc using serial/console and configure it this way if you're feeling adventerous.(set the transfer rate to 9400)<br />
<br />
You can now succesfully login to the webconsole. You now have a standalone AP !$3t4*$0uj1r0http://www.blogger.com/profile/03655492844803310891noreply@blogger.com36tag:blogger.com,1999:blog-3037972906976154772.post-88414622526339412772011-06-16T17:47:00.005+02:002011-07-19T16:40:07.488+02:00Configuring Topex Mobilink with 3CXToday i'm going to show you how to successfully configure the Topex Mobilink with a 3cx PBX.<br />
The Mobilink is an inexpensive and robust GSM/UMTS Gateway, but onfortunately there is almost no information regarding it's setup. And as always with these devices, configurtion can be a pain. So i'll provide you a step-by-step with screenshots.<br />
This is the Mobilink, complete with Antenna with a long cord, so you can place it where needed.<br />
<br />
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjN3Z8CuQP67y4bW9qkPYOEH4sNtK8YXtk2LkEgsU6UiB9_U9yq2pgZhi-Wc4vtUHLWtSNgtMfCBtp8y19__3vxZD0o_cBudDkEaag-X96U0M1ENQZZAOujLYjvGU2g85yUC2eUd99mXho/s1600/IMG00043-20110616-1539.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjN3Z8CuQP67y4bW9qkPYOEH4sNtK8YXtk2LkEgsU6UiB9_U9yq2pgZhi-Wc4vtUHLWtSNgtMfCBtp8y19__3vxZD0o_cBudDkEaag-X96U0M1ENQZZAOujLYjvGU2g85yUC2eUd99mXho/s320/IMG00043-20110616-1539.jpg" width="320" /></a><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
First off, insert a simcard in the mobilink.<br />
You can open the simtray by pressing the small yellow button with a pen.<br />
<br />
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmkLxlMrMoiO5TefsuU3TJiNJbrJX6Rm-YqRu49nF7GCLiEsoOfokmj-vt8bXrV8rydNFUyxfYCIB9ysIu97T2QQNtRdu2evSD4Id57JMZkVqmFaCx0E1sRfH5xagteuk0cxYT6Aj_2mo/s1600/IMG00044-20110616-1539.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmkLxlMrMoiO5TefsuU3TJiNJbrJX6Rm-YqRu49nF7GCLiEsoOfokmj-vt8bXrV8rydNFUyxfYCIB9ysIu97T2QQNtRdu2evSD4Id57JMZkVqmFaCx0E1sRfH5xagteuk0cxYT6Aj_2mo/s320/IMG00044-20110616-1539.jpg" width="320" /></a><br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4jQp80Ctd84wxQj_1Zb9J6WCMxVby1f5x2Tde2YqZa5LBFZjMOhPaTmqn64SeVdPcPzvRZMLOJPBSbN6JmhRnRQEEX-85i9PYUCsVoi-2XHC-MRn2EViOv7LhvoWubdatK9vegujY4-w/s1600/IMG00045-20110616-1540.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4jQp80Ctd84wxQj_1Zb9J6WCMxVby1f5x2Tde2YqZa5LBFZjMOhPaTmqn64SeVdPcPzvRZMLOJPBSbN6JmhRnRQEEX-85i9PYUCsVoi-2XHC-MRn2EViOv7LhvoWubdatK9vegujY4-w/s320/IMG00045-20110616-1540.jpg" width="320" /></a><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Then connect it to your network, the default IP address is: https://192.168.173.1<br />
Click on administration in the left pane, you'll be prompted to log in.<br />
<b><br />
Default username: admin<br />
Default Password: 99admin11</b><br />
<br />
When you login to the webpage, you'll see that the WI is not too intuitive, but hey, the device costs less then a smartphone... What do you expect:)<br />
<br />
If you have a pincode on the sim, you need to enter that in the Mobilink.<br />
<b>click mobile in the left pane --> settings --> more</b> <br />
here you can enter the pin. <br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRTeYR-FA9XHmH1EwpoQj74jQLGooOZK-T2r0e1aL9sdQ0K5Lo1SEpXr_feo0JHCNMdPNie3Z-PlNcwKW4BD9f8hXG93chuRSp7qYzgOS0kn1AzVvIxgSoop8OTRLGsfnFpn2TWd0Nqas/s1600/mobilinksettingsmobile.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRTeYR-FA9XHmH1EwpoQj74jQLGooOZK-T2r0e1aL9sdQ0K5Lo1SEpXr_feo0JHCNMdPNie3Z-PlNcwKW4BD9f8hXG93chuRSp7qYzgOS0kn1AzVvIxgSoop8OTRLGsfnFpn2TWd0Nqas/s320/mobilinksettingsmobile.png" width="320" /></a></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbUcKjxTvuqL-HTcJK6eyqbbTyyIZ9bLBcsxs3au65MjIEE_S5yNr9tHas-0hN1wTf_O_Aj49_CedZmHNbtDXdaTl4ulY0QDJl0ekSwm1sOFwBJs4Z1_jdVxEw7DfL7dLUghWO9_eEXik/s1600/Moremobilesettings.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbUcKjxTvuqL-HTcJK6eyqbbTyyIZ9bLBcsxs3au65MjIEE_S5yNr9tHas-0hN1wTf_O_Aj49_CedZmHNbtDXdaTl4ulY0QDJl0ekSwm1sOFwBJs4Z1_jdVxEw7DfL7dLUghWO9_eEXik/s320/Moremobilesettings.png" width="320" /></a></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6ubBmWaywJH4W9gPrK_bCvas9Oeo-ylat7xxgHZ-AGhLhN5k6HrpSfKgDaSsuqNLV_DEe8UNUjpQ5Gx73E8sXad_iiK34sLNN7BSWCwyHoBCvnJyXKXd_ZPDdUP0NS38YHrIrJovyZPY/s1600/PinCodeMobile.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6ubBmWaywJH4W9gPrK_bCvas9Oeo-ylat7xxgHZ-AGhLhN5k6HrpSfKgDaSsuqNLV_DEe8UNUjpQ5Gx73E8sXad_iiK34sLNN7BSWCwyHoBCvnJyXKXd_ZPDdUP0NS38YHrIrJovyZPY/s320/PinCodeMobile.png" width="320" /></a></div><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Next we best change the network settings to fit your needs.<br />
<b>Click network in the left pane --> IP Settings --> correct them and save.</b><br />
<br />
Now click the "commit" button on the left and let the device reboot.<br />
You can now access the device on the entered IP address.<br />
<br />
It's best to see if there's mobile connection now <br />
<b>Mobile --> status</b><br />
<br />
Next you need to configure the incoming calls.<br />
<b>Go to Call controll --> Access IN --> enter your pbx IP here.</b><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho-ob6LtT03Qlhy9_-_wCosS6aukpv_prw0J4UTtUTbQbmFvLn5Dit_WR9L6hAEWGZs9_ZzKnmRxsVB2h-z4D7aPcWWwyhkT_WuGcuB8TQt6i0OFPDAsJtfjNOyeVBE8Py69PFseDu4O0/s1600/enableaccessin.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho-ob6LtT03Qlhy9_-_wCosS6aukpv_prw0J4UTtUTbQbmFvLn5Dit_WR9L6hAEWGZs9_ZzKnmRxsVB2h-z4D7aPcWWwyhkT_WuGcuB8TQt6i0OFPDAsJtfjNOyeVBE8Py69PFseDu4O0/s320/enableaccessin.png" width="320" /></a></div><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Now for Incoming mobile calls:<br />
<b>Call control --> Incoming Calls --> Edit --> More --> make sure mode is set to "trunk" and you are using "target" mode. Enter the local PBX extension where incoming calls should be connected to in the "target" field.</b><br />
Leave all the rest default.<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic-7y-8USOe9pqMLzHfBkIt3vi7zQrsNMKtZ3P39eb4gFuUyBSxWUQoz3IBCllLZMLvIKhSGM_IyOJxtfV1_k8l_WGLeLtLI38YBbQgPpW66MimGiPD86ns8650EFucASSHLTtTf7k8OQ/s1600/Incomingcalls.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic-7y-8USOe9pqMLzHfBkIt3vi7zQrsNMKtZ3P39eb4gFuUyBSxWUQoz3IBCllLZMLvIKhSGM_IyOJxtfV1_k8l_WGLeLtLI38YBbQgPpW66MimGiPD86ns8650EFucASSHLTtTf7k8OQ/s320/Incomingcalls.png" width="320" /></a></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuIbrpoMo2dhns2UQSG_LGCgevteJb57KP59Jt9Drlmk4VuifuJfx80UJHnTx4dsZ92z3XtJ_bWZ9V0UOPAxMjX05RhvooTXHEYIhZ-BHZIfpj1L_laonSKCljQ7pcfzK6Cwzpzzqw6D0/s1600/Trunk-Target.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuIbrpoMo2dhns2UQSG_LGCgevteJb57KP59Jt9Drlmk4VuifuJfx80UJHnTx4dsZ92z3XtJ_bWZ9V0UOPAxMjX05RhvooTXHEYIhZ-BHZIfpj1L_laonSKCljQ7pcfzK6Cwzpzzqw6D0/s320/Trunk-Target.png" width="320" /></a></div><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Now configure outgoing calls:<br />
Call control --> Outgoing Calls --> Enable (that's all for defaults)<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8rlcAG3IrWPGHWRdjV6sJ4229foABsFza3HvjKKKS-MBOAMUgSHW7PCxFQ2miWxrI3L_Ol9u37Cl8IvI2iRBMRwviDmF22tUcCuDyB00FzzLpCTQ_M3_1qKtO5OMUbF-Sa5ohXTAGeUc/s1600/outgoing.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8rlcAG3IrWPGHWRdjV6sJ4229foABsFza3HvjKKKS-MBOAMUgSHW7PCxFQ2miWxrI3L_Ol9u37Cl8IvI2iRBMRwviDmF22tUcCuDyB00FzzLpCTQ_M3_1qKtO5OMUbF-Sa5ohXTAGeUc/s320/outgoing.png" width="320" /></a></div><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Next you need to tell the Mobilink where your PBX is:<br />
<b>Call Controll --> Settings --> here you can enter the PBX IP</b><br />
<br />
Now click Commit to save everything and reboot the device.<br />
That's it, the Mobilink is ready for action. Now for the PBX.<br />
<br />
First off, we need to configure the Mobilink as PSTN Gateway, so NOT as trunk for outgoing.<br />
<br />
In the 3cx management console go to <b>pstn devices --> add gateway --> choose generic --> enter the name for the gateway --> Next</b><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRHxvSJpPMHjUqMaY6IHNBgoSlWn0BUTeC6NdhjtoU2Rb0ZDwSrg1dXAcaA_W1GpLlF_qYveJpmfFlQoyZBFcyqxBf4FX1mJ6E529uStbX0RwgiunuTpST6iZjHqIcoX2fWOFf3HwmX9o/s1600/GenericPSTN.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="194" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRHxvSJpPMHjUqMaY6IHNBgoSlWn0BUTeC6NdhjtoU2Rb0ZDwSrg1dXAcaA_W1GpLlF_qYveJpmfFlQoyZBFcyqxBf4FX1mJ6E529uStbX0RwgiunuTpST6iZjHqIcoX2fWOFf3HwmX9o/s320/GenericPSTN.png" width="320" /></a></div><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<b>Enter the IP of the Mobilink and keep the rest as shown in the screen. --> Next</b><br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgH0PxvIkcefXhzRy8-2yiftoodMBIV3i4W0oPEooT3jA267ufL0NfPMZfpDboohAsrHIf7xQHQAhzR2EkVO2QIwyURpbtjx_qPLWcu5tUMpTLOUIkr24x3QmXMVHe_Jba9ALHw_H7qjd4/s1600/PSTNIP-3cx.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="194" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgH0PxvIkcefXhzRy8-2yiftoodMBIV3i4W0oPEooT3jA267ufL0NfPMZfpDboohAsrHIf7xQHQAhzR2EkVO2QIwyURpbtjx_qPLWcu5tUMpTLOUIkr24x3QmXMVHe_Jba9ALHw_H7qjd4/s320/PSTNIP-3cx.png" width="320" /></a></div><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<b>In the overview choose which inbound extensions will be called when there is an incoming call... but this doens't matter, because the Mobilink invites the target you specify. --> Next</b><br />
<br />
Now you have the outgoing PSTN device ready.<br />
<br />
Create an outbound rule stating that phonecalls starting with the celular prefix of your country should be routed to the pstn gateway(mobilink)<br />
<br />
Now we need to configure incoming calls from the Mobilink to the 3CX PBX.<br />
<b><br />
Open the Voip providers tab in 3CX Managament console --> Add voip provider --> Generic Sip Trunk --> Next</b><br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh46scbm7THtM1KTVYarzejqeyCJr2NhrPRUveC9xxFmmZSiTJOAJAtmgNRtAdCBxRmPVBFyjFNf5dw0AW5lgMwbhTKfM7zv651fnyy8w0XzQz0hso05sLH1lceXztVlRu_vnpfE3AqJsw/s1600/Generictrunk.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="194" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh46scbm7THtM1KTVYarzejqeyCJr2NhrPRUveC9xxFmmZSiTJOAJAtmgNRtAdCBxRmPVBFyjFNf5dw0AW5lgMwbhTKfM7zv651fnyy8w0XzQz0hso05sLH1lceXztVlRu_vnpfE3AqJsw/s320/Generictrunk.png" width="320" /></a></div><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<b>Enter the IP of the Mobilink--> Next</b><br />
<br />
<b>In the next screen you'll need to enter the external number (doesn't matter what you enter here) and an auth. ID, doesn't matter either. --> Next</b><br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtDyLgja0i7hnRecOb3PntIhAVZRGmPamDjlwGWXA1BvzhrKS8aDivAeIiypgXAf2fsqfwtGrbaZeaHB8dNAhH48UgYfV6QnKiA6G7kG-IRee8KmJZByKJBiGWb9kxWj-lkwB6jcW8Y44/s1600/siptrunkauth.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="194" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtDyLgja0i7hnRecOb3PntIhAVZRGmPamDjlwGWXA1BvzhrKS8aDivAeIiypgXAf2fsqfwtGrbaZeaHB8dNAhH48UgYfV6QnKiA6G7kG-IRee8KmJZByKJBiGWb9kxWj-lkwB6jcW8Y44/s320/siptrunkauth.png" width="320" /></a></div><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<b>Skip the incoming and outgoing rules and finish the config.</b><br />
<br />
<b>Now open the Voip provider(Mobilink) you just made by double clicking it and go to the "Source ID" tab. --> Check the thick that says "Source identification by DID"<br />
--> click "Add Mask" --> enter * as mask --> Apply.<br />
</b><br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXNu0xb5zzLbMtdGNW3PdIyiNWGq1OBbN4li5VbkCl_mpmb2sUhQYsV7LGk5rUjgvIFgQjWEbkHUsBNCYLVL-Lika8qz_qpoL48kWPWkTLvu0uYDeOPnJCRlqWQhH8JKxDeeHSqNjjTiQ/s1600/Advancedtrunk.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="194" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXNu0xb5zzLbMtdGNW3PdIyiNWGq1OBbN4li5VbkCl_mpmb2sUhQYsV7LGk5rUjgvIFgQjWEbkHUsBNCYLVL-Lika8qz_qpoL48kWPWkTLvu0uYDeOPnJCRlqWQhH8JKxDeeHSqNjjTiQ/s320/Advancedtrunk.png" width="320" /></a></div><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Ok, we're done, you should be ready to make phonecalls in and out using the Mobilink GSM Gateway with 3cx. If not leave a message and I'll see if I can help you.$3t4*$0uj1r0http://www.blogger.com/profile/03655492844803310891noreply@blogger.com0tag:blogger.com,1999:blog-3037972906976154772.post-7948083417768401042011-06-14T08:24:00.000+02:002011-06-14T08:33:28.323+02:00Recovering PHANTOM vmsOk this will be a post about something that had me baffled for 3 days...<br />
We had an esxi server with 2 live vm's which were a windows 2008 DC and a 2008 Exchange 2010 server. <br />
Someone at work somehow managed to remove both the vm's vmdk,vmx and snapshots.<br />
So you would think this was a genuine eipc fail. The vms were no longer listed in vsphere, and in the datastore there were only Flat.vmdks(luckily!) and some delta files.<br />
<br />
However upon investigation it turned out that the vms were still running???!!!<br />
They were phantom vm's. the domain was still functioning and so was exchange, but there was nothing to see in esxi.<br />
<br />
You don't need to be a rocketscientist to realize that this is both good and bad , if the vm is restarted for any reason then the vm and domain is toast. But it did give me the chance to think of the best recovery option. Cloning was not an option since it wasn't listed in vsphere, nor was VeeAm or anything else.Also there were about 4 snapshots per machine, which were also deleted as a result so was the snapshot chain.<br />
<br />
So here's how i did it.<br />
I've tested 2 options and both were successfull. <br />
<br />
Option 1 = Take backup with backup exec, recreate vmdk(descriptor file) and recreate vm , then restore the backup taken with BE. (Did this with the 2008 DC)<br />
<br />
Option 2 = do a V2V conversion of the VM resulting in a new vm, with all your settings saved. (Did this with the Exchange Server 2010)<br />
<br />
<br />
<b>Option 1:</b><br />
<br />
TAKE A BACKUP FIRST OF ALL YOUR NEEDED FILES!!! there is no guarantee that you will have a working vm after this!!<br />
<br />
-Log into the ESX using ssh/console<br />
-CD into the right folder (/vmfs/volumes/yourdatastore/yourphantomVM)<br />
-to recreate a vmdk( disk descriptor file):<br />
first you need to have the size of the FLAT file in bytes. You can check this by issueing: "du <youflatfile.vmdk>" this will output the size in bytes.<br />
-then enter this command to create the files:<br />
<b>vmkfstools -c -youramountofbytes- -a lsilogic -d thin temp.vmdk</b><br />
This will create a TEMP.vmdk disk , with an lsilogic controller (this is the default one, but in your case could be buslogic or anything else, please check.)<br />
And it will mark the disk as thin to save space. if your FLAT.vmdk is thick provisioned, then you will need to change this later.<br />
-Now we have the needed .vmdk file (temp.vmdk) so now we can remove the temp-flat.vmdk since we don't need it:<br />
<b>rm temp-flat.vmdk</b><br />
-Next we need to rename the new temp.vmdk to the same name as your FLAT file.<br />
to do so issue: "<b>mv temp.vmdk -yourfilenamereflectingtheFLATfile-.vmdk</b>"<br />
-Now we need to edit the descriptor file to point to the right disk.<br />
"<b>vi yourfile.vmdk</b>"<br />
-In case you're not familiar with vi editor, you need to press the "insert" button to be able to edit the file and escape to exit edit mode. to save your chanes enter "<b>:w</b>" to exit VI enter "<b>:q</b>".<br />
-Now edit the file so it resembles:<br />
<br />
<b># Disk DescriptorFile<br />
version=1<br />
CID=fb183c20<br />
parentCID=ffffffff<br />
createType="vmfs"<br />
<br />
# Extent description<br />
RW 8388608 VMFS "<i>YOUR FLAT FILE</i>.vmdk" <br />
<br />
# The Disk Data Base<br />
#DDB<br />
<br />
ddb.virtualHWVersion = "4"<br />
ddb.geometry.cylinders = "522"<br />
ddb.geometry.heads = "255"<br />
ddb.geometry.sectors = "63"<br />
ddb.adapterType = "lsilogic"<br />
ddb.thinProvisioned = "1"</b><br />
<br />
<i>-NOTE THE ddb.thinProvisioned = "1" LINE, IF THE DISK WAS THICK PROVISIONED, THEN CHANGE THIS TO 0!!</i><br />
<br />
-Now we have our new disk descriptor file, we can recreate the VM.<br />
-Knowing you have a backup of the phantom, you can power it down.<br />
-Log into vsphere/vcenter and create a new vm, before completion choose to edit the hardware.<br />
-Remove the disk attached to the vm and click "add" add a new hard disk and browse to the new .vmdk you made. <br />
-Hopefully this will boot your vm without any problems and all is well.<br />
-If you have the same issue I had , which was you realize you could only recover the Base disk and see that the VM is in a state it was before any snapshot made. This is because the snapshots are toast as well. Therefor I hope you listened and made a backup using Backup Exec or something so you can restore the AD/system state etc.<br />
-Now you only need to clean up a bit, because now you will have a new VM with disks residing in another folder etc, so move them to the new folder (carefully!)<br />
<br />
<br />
<b>Option 2:</b><br />
<br />
<b><i>AGAIN, TAKE A FULL BACKUP !!!!!</i></b><br />
<br />
-Remote desktop to the vm, or use another pc for the conversion<br />
-Download and install <a href="http://www.vmware.com/products/converter/">VMware converter stand anlone client</a>.<br />
-Follow the wizard, choose "<b>convert this powered on machine</b>"<br />
-Choose your ESX as destination<br />
-Select the apropriate options for the VM to be created (default is fine normal), only check the disks, and mark them as "Thin" if needed.<br />
-Then run the converter.<br />
-When it is done, log into your esx and you will see a fresh VM.<br />
edit the vm's settings and disconnect the network adapter(to prevent conflicts)<br />
-Boot the VM, and check everything using the Vsphere console. When all looks swell, you can power off your Phantom VM and start using the new one! <br />
-Don't forget to reconnect the network adapter.$3t4*$0uj1r0http://www.blogger.com/profile/03655492844803310891noreply@blogger.com0tag:blogger.com,1999:blog-3037972906976154772.post-83089089504133649222011-06-02T15:43:00.000+02:002011-06-02T15:49:54.315+02:00Browser Autopwning with MetasploitI was toying around with metasploit's Browser autopwn and was baffled on how weak IE 8 was, I already am a steady firefox user (however, it did fall in my test as well but not as easy as IE) <br />
This IE is fully patched/updated as well is the java install on the pc <br />
system is a windows 7 x64 ultimate. I must admit that I needed to disable MS Security Essenstials, since it picked up the exploits right away and blocked them. But nevertheless I don't need to tell you how many pc's aren't patched/secured at all.<br />
Another interesting conclusion is that Trend Micro's Officescan 10.5 did not even react at all... Sure it picked up the infected .jar file etc, but that was after the Meterpreter session was built and it did not see the session, nor react to the meterpreter payload being dropped and come on, this is antique, not postmodern exploiting... ftw.<br />
<br />
check it here:<br />
<br />
<iframe width="500" height="372" src="http://www.youtube.com/embed/2LP3nn4j_Fk" frameborder="0" allowfullscreen></iframe><br />
<br />
Want to know more about <a href="http://www.nologin.org/Downloads/Papers/meterpreter.pdf">Meterpreter</a>?<br />
Want to play with the Metasploit Framework yourself? Get it <a href="http://www.metasploit.com/download/">here</a><br />
<br />
There is a Windows version too, but I don't recommend it since your av will remove half of the software unless you exclude it from the scans...$3t4*$0uj1r0http://www.blogger.com/profile/03655492844803310891noreply@blogger.com0tag:blogger.com,1999:blog-3037972906976154772.post-35678282917785513572011-06-02T15:25:00.000+02:002011-06-02T15:25:30.215+02:00How to resize VMDK disks in ESX/ESXiHow can you expand or shrink an existing Virtual disk (vmdk) in esxi/esx.<br />
Since I see that a lot of people wonder how to do this, I thought I'd share with you.<br />
Let me begin with saying that if the disk in question is already "Thin Provisioned", then you don't have to do anything else then shut down the VM and edit the hard disk properties to shrink/expand it.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://farm3.static.flickr.com/2618/3804887865_bdc23c36c2.jpg" imageanchor="1" style="clear:left; float:left;margin-right:1em; margin-bottom:1em"><img border="0" height="372" width="500" src="http://farm3.static.flickr.com/2618/3804887865_bdc23c36c2.jpg" /></a></div><br />
<br />
<br />
But sometimes you come across a Thick disk , either you didn't notice it while creating, or whatever... But there is still hope to achieve a thin disk.<br />
<br />
There are 2 options to do this (that I know of)<br />
<br />
<b><i>SHUT DOWN THE VM BEFORE DOING ANY OF THE TWO OPTIONS!!!</i></b><br />
<br />
<b>Option 1</b> <br />
Clone the thick disk to a thin and then disconnect the original thick disk, then you just add the newly created thin disk to the machine and specify the required size. (this is the easiest/fastest and best way imo)<br />
<br />
1 Log in to the ESX host using the local console or SSH.<br />
2 Change directories to the target vm (normally: /volumes/<yourdatastore>/<yourvm> )<br />
3 Now issue the following :<br />
<b>vmkfstools -i <yourthickdisk.vmdk> -d thin <yourthindisk.vmdk> </b><br />
4: This will take some time, depending on the size.<br />
5: Now when this is done, open vcenter/the esx host console and edit the vm hardware, disconnect the old disk and add a new disk. Choose the "existing disk" option and select the new thin disk. (also edit the size while you're at it)<br />
6: Boot the vm, if all seems well you can go ahead and delete the OLD vmdk+vmdk-flat.<br />
<br />
<br />
<b>Option 2</b><br />
Use vmware converter to do a V2V convert and while doing so specifying the new disk space. So this is also a way to do this, but the machine must also be shut down+it will take longer and is just overall sluggisher imo...<br />
<br />
1: Download the vmware converter <br />
2: Follow the steps in the wizard (choose Virtual 2 Virtual)<br />
3: Choose the right disk format to copy (you can choose the whole disk or a percentage) also mark them as THIN<br />
4: perform the V2V convert and then boot and test the vm, if all is well you can just delete the old vm.$3t4*$0uj1r0http://www.blogger.com/profile/03655492844803310891noreply@blogger.com1tag:blogger.com,1999:blog-3037972906976154772.post-53090632111796356082011-05-27T11:22:00.000+02:002011-06-02T09:40:14.872+02:00Backtrack 5 Released!!!<iframe src="http://player.vimeo.com/video/23347352?title=0&byline=0&portrait=0&color=ff9933" width="400" height="225" frameborder="0"></iframe><p><a href="http://vimeo.com/23347352">BackTrack 5 - Penetration Testing Distribution</a></p><br />
Get it <a href="ftp://ftp.belnet.be">Here</a> (mirrors-->backtrack 5)<br />
<br />
So the new Bactrack is released and brings us many new features.<br />
New scripts/programs added and to me it seems more intuitive and nice all together...<br />
It now allows stresstesting for SIP/VOIP which has been a real desire to see in any of these projects...<br />
<br />
One setback is that in the vmware edition (at least for now) there is only a Gnome version of BT5<br />
<br />
But anyway it seems to run very smooth in VMware workstation with 512 RAM and 700 mhz CPU.<br />
And just so you know, the default password for the VMware image is :<br />
root (user)<br />
toor (password)$3t4*$0uj1r0http://www.blogger.com/profile/03655492844803310891noreply@blogger.com0tag:blogger.com,1999:blog-3037972906976154772.post-6475218859510507102011-05-26T14:17:00.000+02:002011-05-26T14:18:37.164+02:00Switch full screen of Terminal server client in ubuntu on VMWare Workstation/Player/serverA stupid thing but could be frustrating:<br />
When you want to switch out of fullscreen in ubuntu's terminal server client you have to enter:<br />
<b>CTRL-ALT-ENTER<br />
</b><br />
but doing this in an ubuntu VM will result in full screen switching of vmware(the vm) and thus not the terminal server client running in the ubuntu vm.<br />
<br />
to solve this enter <br />
<b>CTRL-ALT-SPACE</b> this will passthrough all key combinations to the vm instead of applying them to vmware ws/server/player.<br />
<br />
after this you can enter <b>ctrl-alt-enter</b> to switch full screen in TS client.$3t4*$0uj1r0http://www.blogger.com/profile/03655492844803310891noreply@blogger.com0tag:blogger.com,1999:blog-3037972906976154772.post-14000596613220053022011-05-23T17:09:00.000+02:002011-05-24T18:49:44.409+02:00Bootmgr is missing - Server 2008r2When you come across the error "<b>Bootmgr is missing</b>" in windows 7/Server 2008.<br />
the answer is:<br />
Load a windows cd(7/2008) for the apropriate OS and boot it, then choose "reapair my computer" , then choose command promt.(in case of HW raid, load the proper drivers first)<br />
Type: <b>cd recovery</b> <br />
Then type: <b>startrep.exe</b> <br />
If you're lucky this will solve your problems automaticaly.<br />
<br />
In my case it didn't so i had to do it manually, first of all when in the commandpromt enter:<br />
<b>bootrec /fixmbr</b><br />
if this doesn't resolve it, make sure the right partition/disk is set as "Active".<br />
it has to be the small partition that goes before your main drive(C:)<br />
<br />
go back to the command prompt and enter <b>diskpart</b><br />
now enter <b>list volume</b><br />
look for the said volume (it's about 100mb) <br />
<b>select volume <number></b><br />
type: <b>Active</b><br />
<br />
then make sure none of the others are marked active, select them by using <br />
"<b>select volume <number></b>".<br />
Then type: <b>Inactive<br />
</b><br />
now you shoud be able to boot without problems.$3t4*$0uj1r0http://www.blogger.com/profile/03655492844803310891noreply@blogger.com1tag:blogger.com,1999:blog-3037972906976154772.post-37314591891476420812011-05-23T16:34:00.000+02:002011-05-23T16:51:51.899+02:00Sony pays for defying the h4x0r communitySony's PSN is back online, after a long month of downtime most of the services seem to be restored.<br />
People can play again and get free gifts from the "welcome back" program...Which is a cheap way for saying : Sorry we messed up, we lost your CreditCard data & all your personal info, but here have some free games...LOL!!<br />
<br />
But at least they'll have some financial hole of aprox. 24.5 billion dollar.<br />
To see how it's estimated, follow the chart below. (Actually it's a nice map to extreme fail)<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://s3.amazonaws.com/promotionalcodes.ae/sony-pns-network-cost.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="640" src="https://s3.amazonaws.com/promotionalcodes.ae/sony-pns-network-cost.jpg" width="400" /></a></div>$3t4*$0uj1r0http://www.blogger.com/profile/03655492844803310891noreply@blogger.com0tag:blogger.com,1999:blog-3037972906976154772.post-23321720491706929832011-05-19T14:22:00.000+02:002011-05-19T14:46:04.695+02:00Outlook certificate error on hosted exchangeWhen you want to deploy hosted Exchange, there are several things to take in consideration.<br />
One of the things is certificates. To be honest the only thing needed is that your certificate is valid for YOUR domain, so not the client's. When that is the case the client will be able to connect using outlook anywhere(rpc over http) however , for the clients to be able to use the "out of office assistant" and other funtions. You need to set up an autodiscover record for THEIR domain on their dns servers.<br />
You'd think that you'll just create an A record of Cname pointing autodiscover.clientmaildomain.com to your mailserver, no it's not that easy.<br />
<br />
If you do this, then autodiscover will work, as well as all the OOOF functions etc... But your clients will receive an annoying certificate mismatch popup everytime they start outlook!<br />
<br />
This can't be helped, since the client will lookup autodiscover.clientmaildomain.com but will be retargeted to autodiscover.YOURdomain.com , this is why there is a certificate mismatch.<br />
Installing the certificate won't help and nothing else will.<br />
<br />
The only VALID solution to this, is to make an SRV record on the client's dns as follows:<br />
<br />
<b><i>Service: _autodiscover</i></b><br />
<b><i>Protocol: _tcp</i></b><br />
<b><i>Name: @</i></b><br />
<b><i>Priority: 0</i></b><br />
<b><i>Weight: 0</i></b><br />
<b><i>Port: 443</i></b><br />
<b><i>Target: autodiscover.YOURDOMAIN.com</i></b><br />
<br />
Then remove all the A and CNAME records for autodiscover!$3t4*$0uj1r0http://www.blogger.com/profile/03655492844803310891noreply@blogger.com0tag:blogger.com,1999:blog-3037972906976154772.post-35555371434870443912011-05-18T14:07:00.000+02:002011-05-18T15:24:44.334+02:003CX Tunneling with 3CX-SoftphoneFor those of you who don't know yet, 3cx is a software based PBX. It is installed on windows systems and very easy to use/configure and so on...<br />
And it's rather cheap ;-) <a href="http://3cx.com/">http://3cx.com</a><br />
<br />
So I wanted to test out their tunneling protocol to overcome the natural issues of SIP (Firewalls/nat/portfiltering by isp/etc...)<br />
And it turns out that for once the setup is really easy!! <br />
<br />
<a href="http://www.softsia.com/screenshots/3CX-Phone-FREE-VoIP-Phone_n94t.gif" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="320" src="http://www.softsia.com/screenshots/3CX-Phone-FREE-VoIP-Phone_n94t.gif" width="171" /></a>Step 1:<br />
Configure the 3CX pbx to accept tunnels<br />
in the management console click on general-->then select the tunnel tab-->choose a STRONG password<br />
and the ip to listen on. Then restart the sip service in the console.<br />
<br />
Step 2: configure nat/portforward for port 5090 tcp to the pbx on your firewall/router.<br />
<br />
Step 3: configuring your 3cx softphone<br />
Click on the "iphone" menubutton, select accounts-->enter your PUBLIC ip in the "i am out of office field" then select tunnel and enter the LAN ip of the pbx in that field.<br />
<br />
Now you're set to go and all VOIP traffic will go over one port!!<br />
Download the 3CX Phone <a href="http://www.3cx.com/downloads/3CXPhone6.msi">here</a>!!$3t4*$0uj1r0http://www.blogger.com/profile/03655492844803310891noreply@blogger.com0