12
08
2015
Trials and errors given me following list of ports to be open in guest wi-fi firewall in order for WhatsApp calls to work.
Until then it was giving error “Call couldn’t be placed due to wi-fi network that prevents WhatsApp calls”.
TCP: 4244,5222,5223,5228,5242
UDP: 3478,45395
Comments : No Comments »
Categories : networking
15
10
2014
Vmware Player is as simple as a pie, whether it’s good or bad.
What is definitely bad about it is it’s lack of management tools, but it’s how it was supposed to be, otherwise you wouldn’t pay for more advanced versions, right?
To ensure your virtual machine of choice is started together with Windows but not hanging in front of your eyes act as follows:
- Add pref.vmplayer.exit.vmAction = “disconnect” to the C:\Users\%USERNAME%\AppData\Roaming\VMware\preferences.ini – this step is not a must but will keep your VM alive if you decide to kill vmplayer.exe process later on.
- Schedule a task for it with trigger – “at startup” (Tick “Run with highest privileges” if you’re using raw device as I do). Action will be “Start a program”, Program/script – “C:\Program Files (x86)\VMware\VMware Player\vmplayer.exe” and “Add arguments (optional)” field must contain full path to your VM .vmx file (do not forget quotes if path contains spaces)
That’s it.
PS. Of course it all has sense if VM is reachable over IP in some manner.
Comments : No Comments »
Categories : virtualization
30
07
2013
Now, when 6.2 is available, those of us not having support subscription will have to install updates manually, it’s not that difficult, you just need to always start from pool master and never put it in maintenance mode prior to update.
- Get update from Citrix site and upload it to pool master using scp
- Connect to pool master via ssh or XenCenter console and upload update to pool database using following command:xe patch-upload filename=filename.xsupdate – it will show uuid of newly uploaded xotfix
- Apply update using following command: xe patch-apply uuid=<UUID of the hotfix> host-uuid=<UUID of the pool master> (you can copy pool master uuid from XenCenter or from output of xe host-list)
- Reboot pool master and continue with remaining servers in pool.
Comments : No Comments »
Categories : xen
24
09
2012
After SIP firmware update to version 9.3 on my Cisco 7945G and 7965G phones they all stopped to register with Asterisk. They did load config from tftp and then just stayed with “Registering” on screens forever.
What caused it is dropped UDP support in new version of SIP firmware and one required update to SEP{MAC}.xml config files, so, make following changes and may the force be with you:
sip.conf:
tcpenable=yes
SEP{MAC}.xml (in each <line button=”N”> section):
<proxy>USECALLMANAGER</proxy>
Comments : 2 Comments »
Categories : VoIP
12
08
2011
Configuring appropriate default calendar permissions globally in an Exchange environment can be accomplished for Exchange 2000, 2003 or 2007 with a handy tool called PFDAVadmin found here.
The Exchange 2007 commandlet Set-MailboxCalendarSettings only works for resource mailboxes and won’t accomplish what PFDAVadmin can for calendar client permissions. The only commandlet currently that mirrors this capability simply retrieves client permissions on public folders Get-PublicFolderClientPermission
With PFDAVadmin, you have two options:
Read the rest of this entry »
Comments : No Comments »
Categories : exchange
15
04
2011
My Citrix XenServer pool is powered through network enabled APC Smart-UPS (6000 RT)
There are at least two ways of monitoring UPS state in order to shutdown pool members and VMs running in the pool when juice is over:
– apcupsd (installation used to be somewhat tricky before XenServer 5.6 and included some unsupported movements)
– getting values from UPS via SNMP and acting accordingly to them – the way which I went, and you’re welcome to see detailed route description.
Read the rest of this entry »
Comments : 2 Comments »
Categories : networking, trickshots, virtualization, xen
19
12
2010
Until it’s in official repository let’s use one provided by Brian Mercer:
put these in sources.list
deb http://ppa.launchpad.net/brianmercer/php/ubuntu lucid main
deb-src http://ppa.launchpad.net/brianmercer/php/ubuntu lucid main
And at then run this:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8D0DC64F
sudo aptitude update
sudo aptitude install php5-fpm
done!
Comments : 3 Comments »
Categories : *nix
9
12
2009
Ever had problems trying to get two network cards directly connect via that standard crossover cable at 1000Mbit/s speed? If yes – it’s most likely because your cable was made using 100BaseT standard – only orange and green pairs were crossed. For gigabit it’s a bit more tricky.
1000BaseT Crossover cable pinout:
Pin |
Connector #1 |
Connector #2 |
1 |
white/orange |
white/green |
2 |
orange |
green |
3 |
white/green |
white/orange |
4 |
blue |
white/brown |
5 |
white/blue |
brown |
6 |
green |
orange |
7 |
white/brown |
blue |
8 |
brown |
white/blue |
Comments : No Comments »
Categories : Uncategorized
28
08
2009
This morning XenCenter started to disconnect from pool almost immediately after it was started. Short backtrack revealed that only recent time adjustment on pool members could cause that. To fix this bad behavior of XenCenter I had to issue xe-toolstack-restart command via ssh on pool master.
Comments : No Comments »
Categories : trickshots, xen
11
08
2009
#<transparent proxying>
#local squid
#iptables -t nat -A PREROUTING -i $INT_IFACE -s ! $PROXY_IP -p tcp –dport 80 -j REDIRECT –to $PROXY_PORT
#remote squid
#iptables -t mangle -A PREROUTING -j ACCEPT -p tcp –dport 80 -s $PROXY_IP
#iptables -t mangle -A PREROUTING -j MARK –set-mark 3 -p tcp –dport 80
#ip rule add fwmark 3 table 2
#ip route add default via $PROXY_IP dev $INT_IFACE table 2
###!!!! do not forget to add following line to proxy_server iptables:
#iptables -A PREROUTING -t nat -i $INT_IFACE -p tcp –dport 80 -j REDIRECT –to-port $PROXY_PORT
#</transparent proxying>
if you are running Squid on or behind you Linux gateway here’s HowTo transparently run all outgoing HTTP through it
Read the rest of this entry »
Comments : No Comments »
Categories : *nix, networking