Monthly Archives: September 2013

Email notifications don’t appear in Windows phone 7,7.8 in lock screen

I came up on this issue lately.

On my beloved windows phone I have a set up of 5 email accounts. 2 exchange, 2 pops and 1 imap. My second exchange account stopped notifying me on my lock screen for new emails after I removed the account and put it again.

I won’t describe how I came up to this solution, since its not the cause of this article but I will try to describe the outcome.

Apparently windows phone shows notifications for ONLY THE FIRST THREE (3) ACCOUNTS you have installed. This means that for accounts 4, 5 etc you will never get notified while phone is in lock screen state.

Therefore an easy solution is to remove accounts 3, 4 and 5 and put as third the account that has the disappeared notification issue.

In my case my second Exchange account has 5th. I removed all 3 and 4 and immediately my exchange account became 3. Tested mail sending and notifications appeared on lock screen. Afterwards I re-established the deleted imap and pop accounts.

Ok, nice…what about if I wanna get notifications on the rest of the accounts. The answer to this lies on the linked inbox feature of windows phone. Link the accounts 3,4,5 and you will have your desired notifications. It’s not the best solution, but it’s something comparing to nothing!

No more rabbits in my hat for now:)

www.creativepeople.gr

Advertisements

CISCO VPN not working from Home Wifi

Today a new customer of mine complainted about his inability to connect to his HQs through CISCO VPN connection, when he goes over his home wifi connection, or some public/other home places wifi hot spots.

Well my answer was rather fast…

The customers lan ip addresses are dhcp pooled by a CISCO 800 family router that spreads a network of 192.168.1.0 255.255.255.0

How common….come on!!!!

Most of home/soho routers use this particular range. The problem and its cause is almost obvious…

Let’s have an easy example:

External client connected through home wifi has local ip address 192.168.1.100 and 192.168.1.254 as a gateway.

The user fires up a vpn connection (cisco/microsoft/etc) in order to connect to a server inside his corporate network that has an ip of 192.168.1.200

The client will try to find the recipient (stated in the packet header) in his local lan and not on the other side. That’s easy to understand if you simply hit a route print command on your cmd.

IPv4 Route Table
===================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric

0.0.0.0 0.0.0.0 192.168.1.254 192.168.1.100 20

192.168.1.0 255.255.255.0 On-link 192.168.1.100 276

192.168.1.100 255.255.255.255 On-link 192.168.1.100 276

192.168.1.100 255.255.255.255 On-link 192.168.1.100 276

The first line says that for any destination ask your gateway

The second says that for any ip address in your family ip range ASK YOURSELF-NOT THE GATEWAY, eg. find the recipient server in your lan. Of course the second rule supersedes the first….

As you may understand any try to connect to the remote server will fail, even if the vpn is connected, since the packet will never leave the gateway and will never reach the other end.

The customer, has a complete AD inside his corporate lan and lot of remote sites going around. Personally I think it was quite stupid to use a commercial/home ip range for this type of network…. Now since I cannot change any of the ip ranges inside the corporate lan I have only 2 options

  1. Visit his house and change the ip range pooled by his home router. Pretent that problem is fixed and wait till he visits another network with the problematic range (a hotel or another hot spot). Sorry not my type….
  2. The second option is to chase my NPS (Network Philosophers Stone), using nats, other router pools and God help us what else….

Be very cautious on your network designs…Someone in the future may curse you!!!!

Creativepeople.gr

How to no www on website publish

The idea that users are bored to write the full address of the website they want to visit, on their browsers address led to another IT “headache”. Actually this is not too difficult to implement.

First step is to go on your DNS server, choose the zone you like (domain.com) and add a host (A) record, where you simplly LEAVE BLANK the “name (uses parent domain name if blank)”. Do not forget to add the ip address of your web server, cause inability to resolve will take place. This way you produce an A record of the simply “domain.com” with no text no front.

After doing this you should not forget to go on your webserver and edit your bindings. If you don’t have bindings enabled then you should add the “domain.com” plain with no www in front. V-hosts editing would simply do the same job on non MS web servers.

Same actions should be taken if you use publishing and routing on your firewall.

Till next time….bb

Creativepeople.gr

%d bloggers like this: