mandag den 9. september 2013

LG Optimus 4X HD P880

I acquired a P880 last year as it was a top specced quad core phone as Samsung S and HTC Top models. There was quite a few updates until it stopped with 10h in December and android 4.0.3. The software update function in the phone even ceased to work, it was just hanging forever.
I also tried with LG Mobile Support Tool. Not really a stunning tool, but I checked every now and then for an update. Just recently I managed to catch  a new update and now my LG P880 runs android 4.1.2. It is a very nice update, everything seems nicer and smoother so far. However, the question is, where is android 4.2 or 4.3 for my device ? I hope they are coming......
With 4.1.2 the LG software version is P88020b-EUR.

The hint here is that if you want to update your LG P880 and you seems to be stuck with old android version in the built-in utility, try the LG Mobile Support Tool.

Enjoy :-)


torsdag den 8. august 2013

HP Comware port mirroring

Port mirroring is used for IPS or for wireshark sniffing.

Simply local port mirroring from one port to another
Here we take all the traffic from gig 2/0/45 and mirror it to gig 1/0/2
## CLI
# Mirroring
mirroring-group 1 local
mirroring-group 1 mirroring-port g2/0/45 both
mirroring-group 1 monitor-port g1/0/2
#Remove access vlan
int gig 1/0/2

  undo port access vlan

Advanced mirroring with filters
Here we want to sniff from 4 BAGG interfaces (LAG) consisting of 8x 10G interfaces.
We are only interested on to hosts, but we do not know on what interface the traffic will flow and 80G traffic will not be possible on our 1G wirehskark client machine.
We use filters to get only the traffic we want.
Wireshark on Gig 2/0/3
Interfaces to mirror from BAGG13-BAG16
XGE1/0/13-14, XGE3/0/13 -14, XGE1/0/15-16, XGE3/0/15-16

Clients: 172.1.120.221<=>172.1.120.217
(And heartbeat addresses just to make sure)

# CLI
acl number 3000 name mirrorVC
rule 0 permit ip source 172.1.126.109 0
rule 1 permit ip source 172.1.126.107 0
rule 2 permit ip source 172.1.120.221 0
rule 3 permit ip source 172.1.120.217 0
traffic classifier mirrorVC-class operator and
if-match acl name mirrorVC
#
traffic behavior mirrorVC-behavior
mirror-to interface GigabitEthernet2/0/3
#
qos policy mirrorVC-policy
classifier mirrorVC-class behavior mirrorVC-behavior
#
interface ten 1/0/13
qos apply policy mirrorVC-policy inbound
qos apply policy mirrorVC-policy outbound
interface ten 1/0/14
qos apply policy mirrorVC-policy inbound
qos apply policy mirrorVC-policy outbound
interface ten 3/0/13
qos apply policy mirrorVC-policy inbound
qos apply policy mirrorVC-policy outbound
interface ten 3/0/14
qos apply policy mirrorVC-policy inbound
qos apply policy mirrorVC-policy outbound
interface ten 1/0/15
qos apply policy mirrorVC-policy inbound
qos apply policy mirrorVC-policy outbound
interface ten 1/0/16
qos apply policy mirrorVC-policy inbound
qos apply policy mirrorVC-policy outbound
interface ten 3/0/15
qos apply policy mirrorVC-policy inbound
qos apply policy mirrorVC-policy outbound
interface ten 3/0/16
qos apply policy mirrorVC-policy inbound
qos apply policy mirrorVC-policy outbound

Microsoft Excel and unique column values (unique constraint)

How do you make sure your column values are unique when you enter a new value into a column.
Like the unique constraint for sql databases.

Excel 2010
Choose your column, Data > Data Validation > Data Validation > Custom.
For Column A use this formula:
=COUNTIF($A:$A;A1)<2

Hope you find this tip useful.