I am quite pissed off with Eir Ireland right now…

So the story goes like this…

2.5 years ago 3 of us (my fiancée, my colleague and myself) decided to move in together to save up on rent and bills. Plan was great and worked fantastic. I was paying the rent and rubbish (we shared the price of coz) from my bank account. Flatmate was paying for the eircom internet bill from his account. My fiancée didn’t have any bills in her name coming to the house. 2 years+ later due to many factors flatmate decided to move to a bigger city where he works now and we have decided that this is a great idea as we are planning to get married soonish. Everything worked out fantastic. 2 weeks before we were to get married flatmate moved out. No fuss. No arguing. No BS. 3 adults were going separate way. He is still our good friend and we have many great memories gathered over the period of 2.5 year. Peachy…

Not so much. Why? Well – since flatmate was moving out and broadband from eircom was in his name I thought that its a good idea to move the broadband bill onto my fiancé’s name. I did my research and found out that in the past the current account holder had to actually close down the account for the address and 24 hours later a new account could be added with this address. You then had to wait for the eircom’s router which was sent to you via An-Post – whole operation took more less 2 weeks. 2 weeks of no internet? That’s a long long time… I’ve decided to check if something changed in that matter and while at work I got one of the eircom’s bills and found a contact number. It was 1890 something or 1850 something. I called the number and super extremely polite girl told me that I have reached eircom for business customers service and that I need to get eircom’s personal account customer service but in the same time she said that this way of “transferring” the account is a thing of the past. All I have to do is call the 1901 number from landline or mobile and then press 3 when asked. I will then reach one of the personal customer service departments and they will transfer the account from my flatmate’s name / bank details to my fiancé’s name and bank details. Both – current account holder and the future account holder have to be present. It will take maximum 24 hours for the details to change. I will continue to pay the bills from my bank account where I would have set up a direct debit. Bills will kept coming to the house but with my fiancé’s name on them. Account would continue to exist. No internet interruptions would have to appear. Fantastic… right?

Wrong. Today flatmate came in to deal with few final things and drop off a key. One of these final things was to transfer the eircom’s account as planned. I was sure it will take 3 mins tops. I did my reasearch. Right? Wrong…

We called the 1901 number and we got the helpline. First person that we spoke to was a weird young girl who didn’t seemed to care. I told her what the story is. She told us we cannot transfer the account to another name because she can only change the first name and not the last name on the account. I was also told that its impossible to transfer account to someone who is not a member of the immediate family. Wait! What?! I told her that I’ve spoke to the Eir representative sometime ago and they said its done in 3 – 5 minutes and the transfer of ownership takes 24 hours top. She said “she must ask someone” and left me on hold. After she came back online she was even less pleasant. Ok… I have gotten very much annoyed and asked to be transfered to the girls manager. Instead I landed in the “Cancellation” department after hanging on hold for a minute or two.

This time I got a professional customer service representative. Stewart. Very polite. Excellent phone manners. I felt like he tried to help me… but at the end I’ve heard the same story. “I am sorry but…“. Yes I know. They are always sorry. They are a customer service representatives. They are not really responsible for the issues I am having. I know that and this is why I am trying not to be rude to them. Its like being rude to a waiter after you’ve received a non-edible food. Chef prepared it. Waitress only delivered it. Waitress has nothing to do with food quality. Waitress can only pass my messages to the chef but she cannot really influence the food making process. He / she is a face behind the food and they are responsible for the way the food (message) reaches you but beside this – they are just messengers really. Do not shoot the messengers. I told Stewart the truth. The fact that he is sorry is in no way going to make me feel better when I am waiting for approximately two weeks for my new eircom account to be activated and for my router / internet password to be delivered. Even if its not 2 weeks but just 6 days. It’s still a very long time to stay offline. He offered me to transfer my call to the “Billing” department. I said fine.

Another person listened to our story and was sorry but… I was offered to be transfered to the “Loyalty” department. I said fine – go ahead.

At this point my flatmate and my fiancée started to laugh because they were sick and tired of me trying to explain the situation to another customer service representative.

I spoke to Amy in the “Loyalty” department. I must say that Eir does hires a phone pros in their helplines. Most of the time they (I spoke to 5 different people and 75% of that) were making a fantastic job as customer service. Really. No its not a sarcasm. Like I said – just because Eir has stupid policies and a broken database / computer system where the customer service representative is faced with grayed out “Last name” box which he / she cannot edit it does not mean that I cannot appreciate that their representatives are doing great job trying to “soften the blow” and keeping me on as a customer. Amy works in “Loyalty” department. Loyalty for me means – a mutual respect. I am a loyal customer. I was paying my half of the Eir bill for the last 2.5 years. All I need is for them to help me transfer the account to my Fiancé’s name / banking details and to provide me with uninterrupted internet connection. I asked Amy if leaving me hanging for almost (or even over) 2 weeks with no internet is their definition of loyalty and what stops me from closing the account today and opening another one with Vodafone 5 minutes later. Her reply was… precious and actually quite brilliant. “Early cancellation fee – €150”. Turns out that even tho we have signed up 2 years contract with Eir when the 2 years have passed and we didn’t canceled our contract was extended for another year. I am not saying its a bad thing. They didn’t just disconnected us from the internet – they have extended our contract for a year. IF we want to cancel the broadband flatmate has to call Eir customer service 30 days prior to 19th of February 2016 year and let them know that I want to cancel. IF we decide to cancel today – we have to pay the early cancellation fee. IF however flatmate was to move the account (Eir broadband) from current address to the new address Amy would make a note in the file to not to charge us extra for cancellation because he wasn’t canceling but moving the account to the new address. First of all – flatmate is planning to go with UPC (Virgin) broadband in his new apartment so Eir account will be needed there like a saddle on a pig. Second thing is – if he moved the account I am (again) in the position where I have no internet for approximately 14 days so its of NO help to me whatsoever. Amy said that she was sorry… but that’s how things work.

I thanked Amy very much, wished her a good day and disconnected the call. 43 minutes. 4 people. 1 company. And we were not happy.

Do you see how they narrowed the options for us?

– Cannot change the last name
– Cannot transfer account if the person is not family
– Cannot close the account without paying €150 cancellation fees
– There is no simple way to transfer ownership so that the service / payments continue without at least few days of interruptions

After all this we have decided to keep the Eir account in my flatmate’s name. He will keep paying for it till the February 2016 and then he will cancel it to avoid the cancellation fee. I will send him the money each month via online banking. €53. So basically I will be paying for the internet connection from his account. Yes – I know. RIDICULOUS. And this brings me to the second part of the conclusions we have came up with. We are not sure if we are going to sign up for Eir e-fibre broadband in the February 2016. They might be the best option in this God forsaken town – yes. But I will wait and see. Maybe UPC (Virgin) will be available here by then, maybe I will go with Vodafone broadband. I will do my research and find out. I will do a better research then when I was checking for “how easy it is to transfer ownership of the Eir broadband”. And even if they are the best option – I might not want to give them my business after the left me hanging for 14 days with no internet connection because of a stupid policies / broken database system. We are sorry but… loyalty means something to us. We are paying customers. When we want something – the last thing we want to hear is “I am sorry but…”.

That’s all. Rant mode off.

Cheers.

Andrzej

[SOLVED] Enable word wrap (and soft word wrap) in nano text editor…

Hi all.

I have noticed this ages ago and it annoyed the BeeGeeses out of me. When You enter a long line of text in nano editor it “wraps” the lines. It “wraps” them like other text editors do – fine. The problem occurs when You try to save the file… all of the sudden long line of text becomes 3 or 4 lines of text… Now imagine using nano on Your /boot/grub/grub.cfg file. Edit the line – even just change the vga=xxx mode and when You reboot Your grub is going into “YOU MESSED UP DUDE!” mode.

By now – most of the distro’s devs have implemented this solution by default but just in case they didn’t – here is what needs to be done.

Run this command from the terminal:

su -c "sed -i 's/# set nowrap/set nowrap/' /etc/nanorc"

and give it a root password when asked for it.

This will turn off the word wrap completely.

However if You are like me and You like the word wrap option BUT You want to keep one line as one line You may want to use this command as well:

su -c "sed -i 's/# set softwrap/set softwrap/' /etc/nanorc"

This will cause the nano editor to softly wrap the lines and when You will save the file – the lines won’t break. In other words if You will type a long line it will be shown as many rows of text BUT when You will save the file it will still be a one long line. Both commands have to be used in order for the soft wrap to work.

Nano_text_editor_enable_word_wrap_and_soft_word_wrap

Cheers.

Andrzej

[SOLVED] Since 1.6.0-2 the conf.d file is no longer in use. We have enabled systemd support and providing upstream systemd units. You will need to use the systemd way (overriding in /etc/systemd/system/dnscrypt-proxy.{service,socket}.d) to apply your customization.

Edit 01: I’ve filed a bug report… FS#45970 - dnscrypt-proxy 1.6.0-2 sometimes it starts sometimes it fails + weird boot messages…

Edit 02: Its a fully functional HOW-TO now again ;)… Thanks FerikD!

Edit 03: Since Cisco now owns OpenDNS I moved away from it. Thanks for the config / idea MrRee!

I chose opennic.

ExecStart=/usr/bin/dnscrypt-proxy
--provider-name=2.dnscrypt-cert.resolver2.dnscrypt.eu
--resolver-address=77.66.84.233:443
--provider-key=3748:5585:E3B9:D088:FD25:AD36:B037:01F5:520C:D648:9E9A:DD52:1457:4955:9F0A:9955
--user=nobody

Reason?

[…] Opennic has a “round-robin dns server randomizer” in beta testing, which actually spits your dns lookups securely between 19 different dns servers […]

So…

After the latest upgrade dnscrypt-proxy no longer plays nice… I saw this message when after the upgrade:

Since 1.6.0-2 the conf.d file is no longer in use. We have enabled systemd support and providing upstream systemd units.
You will need to use the systemd way (overriding in /etc/systemd/system/dnscrypt-proxy.{service,socket}.d) to apply your customization

Here is how to fix it:

Stop dnscrypt-proxy

systemctl stop dnscrypt-proxy

Warning: Stopping dnscrypt-proxy.service, but it can still be activated by:
dnscrypt-proxy.socket

systemctl stop dnscrypt-proxy.socket

Disable dnscrypt-proxy

systemctl disable dnscrypt-proxy

Removed symlink /etc/systemd/system/multi-user.target.wants/dnscrypt-proxy.service.
Removed symlink /etc/systemd/system/sockets.target.wants/dnscrypt-proxy.socket.

systemctl disable dnscrypt-proxy.socket

Find the socket file:

updatedb

IF this fails:

pacman -S mlocate

and re-run updatedb command…

locate dnscrypt-proxy.socket

/usr/lib/systemd/system/dnscrypt-proxy.socket

Check its content:

cat /usr/lib/systemd/system/dnscrypt-proxy.socket

[Unit]
Description=dnscrypt-proxy listening socket

[Socket]
ListenStream=127.0.0.1:53
ListenDatagram=127.0.0.1:53

[Install]
WantedBy=sockets.target

Edit the socket file:

mcedit /usr/lib/systemd/system/dnscrypt-proxy.socket

by replacing:

After=network.target

with:

Before=network.target

It should now look like this:

cat /usr/lib/systemd/system/dnscrypt-proxy.socket

[Unit]
Description=dnscrypt-proxy listening socket
Before=network.target

[Socket]
ListenStream=127.0.0.1:53
ListenDatagram=127.0.0.1:53

[Install]
WantedBy=sockets.target

Find the service file:

locate dnscrypt-proxy.service

/usr/lib/systemd/system/dnscrypt-proxy.service

Edit the service file using your DNS provider details:

mcedit /usr/lib/systemd/system/dnscrypt-proxy.service

Here is what *my service file* looks like:

cat /usr/lib/systemd/system/dnscrypt-proxy.service

[Unit]
Description=DNSCrypt client proxy
Requires=dnscrypt-proxy.socket

[Install]
Also=dnscrypt-proxy.socket
WantedBy=multi-user.target

[Service]
Type=simple
NonBlocking=true
ExecStart=/usr/bin/dnscrypt-proxy
--provider-name=2.dnscrypt-cert.opendns.com
--resolver-address=208.67.220.220:443
--provider-key=B735:1140:206F:225D:3E2B:D822:D7FD:691E:A1C3:3CC8:D666:8D0C:BE04:BFAB:CA43:FB79
--user=nobody

To avoid service file being overwritten by upgrades copy /usr/lib/systemd/system/dnscrypt-proxy.service to the /etc/systemd/system/ as explained here at MrRee’s blog:

cp /usr/lib/systemd/system/dnscrypt-proxy.service /etc/systemd/system/

Enable, restart service file and check if DNSCrypt is working:

systemctl enable dnscrypt-proxy

Created symlink from /etc/systemd/system/multi-user.target.wants/dnscrypt-proxy.service to /etc/systemd/system/dnscrypt-proxy.service.
Created symlink from /etc/systemd/system/sockets.target.wants/dnscrypt-proxy.socket to /usr/lib/systemd/system/dnscrypt-proxy.socket.

systemctl daemon-reload && systemctl restart dnscrypt-proxy && systemctl status -l dnscrypt-proxy && nslookup -type=txt debug.opendns.com && dig debug.opendns.com txt

Status:

● dnscrypt-proxy.service - DNSCrypt client proxy
Loaded: loaded (/usr/lib/systemd/system/dnscrypt-proxy.service; disabled; vendor preset: disabled)
Active: active (running) since Wed 2015-08-12 19:09:07 IST; 386ms ago
Main PID: 1589 (dnscrypt-proxy)
CGroup: /system.slice/dnscrypt-proxy.service
└─1589 /usr/bin/dnscrypt-proxy --provider-name=2.dnscrypt-cert.opendns.com --resolver-address=208.67.220.220:443 --provider-key=B735:1140:206F:225D:3E2B:D822:D7FD:691E:A1C3:3CC8:D666:8D0C:BE04:BFAB:CA43:FB79 --user=nobody

Aug 12 19:09:07 wishmasdell.loc systemd[1]: Started DNSCrypt client proxy.
Aug 12 19:09:08 wishmasdell.loc dnscrypt-proxy[1589]: [NOTICE] Starting dnscrypt-proxy 1.6.0
Aug 12 19:09:08 wishmasdell.loc dnscrypt-proxy[1589]: [INFO] Generating a new session key pair
Aug 12 19:09:08 wishmasdell.loc dnscrypt-proxy[1589]: [INFO] Done
Aug 12 19:09:08 wishmasdell.loc dnscrypt-proxy[1589]: [INFO] Server certificate #1435874751 received
Aug 12 19:09:08 wishmasdell.loc dnscrypt-proxy[1589]: [INFO] This certificate looks valid
Aug 12 19:09:08 wishmasdell.loc dnscrypt-proxy[1589]: [INFO] Chosen certificate #1435874751 is valid from [2015-07-03] to [2016-07-02]
Aug 12 19:09:08 wishmasdell.loc dnscrypt-proxy[1589]: [INFO] Server key fingerprint is ED19:BFBA:FAFC:9257:DFDC:68C7:69BF:AC24:94CD:743F:3C1D:4966:134D:FE2C:4BDC:F315
Aug 12 19:09:08 wishmasdell.loc dnscrypt-proxy[1589]: [NOTICE] Proxying from 127.0.0.1:53 to 208.67.220.220:443

nslookup test:

Server: 127.0.0.1
Address: 127.0.0.1#53

Non-authoritative answer:
debug.opendns.com text = “server 3.lon”
debug.opendns.com text = “flags 20 0 70 5950800000000000000”
debug.opendns.com text = “originid 0”
debug.opendns.com text = “actype 0”
debug.opendns.com text = “source 86.44.169.14:55427”
debug.opendns.com text = “dnscrypt enabled (717744506545635A)”

Authoritative answers can be found from:

dig test:

; <<>> DiG 9.10.2-P3 <<>> debug.opendns.com txt
;; global options: +cmd
;; Got answer:
;; ->>HEADER< ;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;debug.opendns.com. IN TXT

;; ANSWER SECTION:
debug.opendns.com. 0 IN TXT “server 3.lon”
debug.opendns.com. 0 IN TXT “flags 20 0 70 5950800000000000000”
debug.opendns.com. 0 IN TXT “originid 0”
debug.opendns.com. 0 IN TXT “actype 0”
debug.opendns.com. 0 IN TXT “source 86.44.169.14:55427”
debug.opendns.com. 0 IN TXT “dnscrypt enabled (717744506545635A)”

;; Query time: 41 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Aug 12 19:09:08 IST 2015
;; MSG SIZE rcvd: 247

OR if you chose to use opennic:

systemctl daemon-reload && systemctl restart dnscrypt-proxy && systemctl status -l dnscrypt-proxy && nslookup -type=txt 2.dnscrypt-cert.resolver2.dnscrypt.eu && dig 2.dnscrypt-cert.resolver2.dnscrypt.eu txt

Cheers.

Andrzej

P.S. *OpenDNS is only one of many available options…* Hint:

cat /usr/share/dnscrypt-proxy/dnscrypt-resolvers.csv

Adding ‘Play content of this folder as DVD video in SMPlayer.’ entry to the right click menu in Thunar.

Hi folks.

I assume You have a fully upgraded system.

Run this:

su

Now give it root’s password.

Now run this:

pacman -S smplayer libdvdcss libdvdnav libdvdread

and agree to install all the packages and their dependencies.

Now run this:

mcedit /etc/udev/rules.d/82-cdrom.rules

and paste this as a content:

SUBSYSTEM=="block", KERNEL=="sr0", SYMLINK+="cdrom cdrw dvd dvdrw"

Big thank You to sudokode for helping me with the udev rule.

Now save the file and close editor

F2

to save,

F10

to exit. You can use any other text editor like vi, nano etc.

I have a bunch of folders on my hard drive containing a DVD videos. Family videos from Christmas, Weddings, Baptisms and other occasions recorded with my Camcorder in DVD format and then backed up to my HDD. I could rip them into .avi files just to make it easier to play them but then I am risking loosing the quality. It would be pointless really – recording in DVD quality just to encode it to avi… If not the waste of quality then definitely a waste of time and cpu power / electric energy.

Anyway as You probably know DVD video content is a whole structure. It’s not just one file so it’s not as easy as going into the file’s folder and clicking on it to make it playable. There are .vob files inside that could be played one after another… sure but it’s a waste of time again plus each DVD has at least 2 – 4 of those .vob files you would have to click on each of them to watch the entire video and sometimes the rewinding or fast forwarding won’t work when You do that… Nah… That won’t work for me.

When You right click on something in Thunar You get right click menu. I have decided to add ‘Play content of this folder as DVD video in SMPlayer.’ entry to this menu in my Arch Linux. It took me a while but I have succeeded. Here is how:

Open terminal and run:

mkdir -p ~/.bin

mcedit ~/.bin/Play_Folder_As_DVD_In_Smplayer.sh

Now paste this as a content

#!/bin/bash
MYPWD1=`pwd`
#mplayer dvd:// -dvd-device "$MYPWD1"
smplayer "dvd://1//$MYPWD1"

Adding Play content of this folder as DVD video in SMPlayer entry to the right click menu in Thunar 001

Now save the file and close editor

F2

to save,

F10

to exit. You can use any other text editor like vi, nano etc.

Now run:

chmod 700 ~/.bin/Play_Folder_As_DVD_In_Smplayer.sh

Adding Play content of this folder as DVD video in SMPlayer entry to the right click menu in Thunar 002

You can close the terminal.

Now open Thunar, click on Edit > Configure custom actions…

Adding Play content of this folder as DVD video in SMPlayer entry to the right click menu in Thunar 003

Now click on the green + button to add custom rule.

Adding Play content of this folder as DVD video in SMPlayer entry to the right click menu in Thunar 004

Adding Play content of this folder as DVD video in SMPlayer entry to the right click menu in Thunar 005

Use those details:

Name:

Play content of this folder as DVD video in SMPlayer

Description:

Play content of this folder as DVD video in SMPlayer

Command:

cd %n && ~/.bin/Play_Folder_As_DVD_In_Smplayer.sh

Adding Play content of this folder as DVD video in SMPlayer entry to the right click menu in Thunar 006

Now click on the “No icon” button and choose the SMPlayer icon from the “Application icons” set.

Adding Play content of this folder as DVD video in SMPlayer entry to the right click menu in Thunar 007

Adding Play content of this folder as DVD video in SMPlayer entry to the right click menu in Thunar 008

Now click on the “Appearance Conditions” tab. Un-tick the “Text files” box and tick the “Directories” box.

Adding Play content of this folder as DVD video in SMPlayer entry to the right click menu in Thunar 009

Adding Play content of this folder as DVD video in SMPlayer entry to the right click menu in Thunar 010

You can now “OK” this window.

Adding Play content of this folder as DVD video in SMPlayer entry to the right click menu in Thunar 011

and “Close” the “Custom actions” window.

Reboot Your machine for the udev rule to kick in.

Right click on any folder containing DVD structure and choose Play content of this folder as DVD video in SMPlayer from the menu. Smplayer will start and will start playing DVD from the folder that You have chosen.

Adding Play content of this folder as DVD video in SMPlayer entry to the right click menu in Thunar 012

Hope someone will find it useful.

Regards.

Andrzej

[SOLVED] Converting any video to the Nokia N73 playable container. Setting up / fixing WinFF presets.

Hi there.

In the past when I wanted to convert video so that it plays in my Nokia N73 I would use WinFF. The command that it would use looked like this:

For full screen videos in 4:3 aspect:

/usr/bin/ffmpeg -y -i "./video.avi" -loglevel info -f mp4 -r 15 -vcodec mpeg4 -vf scale=320:240 -b 320k -aspect 4:3 -acodec libfaac -ab 160k -ar 44100 -ac 2 "./video.mp4"

For widescreen videos in 16:9 aspect:

/usr/bin/ffmpeg -y -i "./video.avi" -loglevel info -f mp4 -r 15 -vcodec mpeg4 -vf scale=320:240 -b 320k -aspect 16:9 -acodec libfaac -ab 160k -ar 44100 -ac 2 "./video.mp4"

For quite a while now however it did not worked. I would receive this error.

Unknown encoder ‘libfaac’

I tried to google it and find out what is wrong and I’ve found out that libfaac is not a part of ffmpeg package by default due to some license problems. IT IS however possible to replace libfaac with aac and that it would work. It didn’t work for me because the command I’ve found was slightly borked. I’ve visited #ffmpeg IRC channel where user c_14 sorted me out in no time. Thank You very much.

The commands I am using now are:

For full screen videos in 4:3 aspect:

/usr/bin/ffmpeg -y -i "./video.avi" -loglevel info -f mp4 -r 15 -vcodec mpeg4 -vf scale=320:240 -b 320k -aspect 4:3 -acodec aac -strict -2 -ab 160k -ar 44100 -ac 2 "./video.mp4"

For widescreen videos in 16:9 aspect:

/usr/bin/ffmpeg -y -i "./video.avi" -loglevel info -f mp4 -r 15 -vcodec mpeg4 -vf scale=320:240 -b 320k -aspect 16:9 -acodec aac -strict -2 -ab 160k -ar 44100 -ac 2 "./video.mp4"

I have decided to fix my WinFF presets too. So I’ve edited this file:

/home/andrzejl/.winff/presets.xml

and amended this for full screen videos in 4:3 aspect:

<NokiaN73N81N95FS>
<label>Nokia Nxx Video FullScreen</label>
<params>-loglevel info -f mp4 -r 15 -vcodec mpeg4 -vf scale=320:240 -b 320k -aspect 4:3 -acodec libfaac -ab 96k -ar 44100 -ac 2</params>
<extension>mp4</extension>
<category>Nokia</category>
</NokiaN73N81N95FS>

so now it looks like this:

<NokiaN73N81N95FS>
<label>Nokia Nxx Video FullScreen</label>
<params>-loglevel info -f mp4 -r 15 -vcodec mpeg4 -vf scale=320:240 -b 320k -aspect 4:3 -acodec aac -strict -2 -ab 160k -ar 44100 -ac 2</params>
<extension>mp4</extension>
<category>Nokia</category>
</NokiaN73N81N95FS>

and amended this for widescreen videos in 16:9 aspect:

<NokiaN73N81N95WS>
<label>Nokia Nxx Video WideScreen</label>
<params>-loglevel info -f mp4 -r 15 -vcodec mpeg4 -vf scale=320:240 -b 320k -aspect 16:9 -acodec libfaac -ab 96k -ar 44100 -ac 2</params>
<extension>mp4</extension>
<category>Nokia</category>
</NokiaN73N81N95WS>

so now it looks like this:

<NokiaN73N81N95WS>
<label>Nokia Nxx Video WideScreen</label>
<params>-loglevel info -f mp4 -r 15 -vcodec mpeg4 -vf scale=320:240 -b 320k -aspect 16:9 -acodec aac -strict -2 -ab 160k -ar 44100 -ac 2</params>
<extension>mp4</extension>
<category>Nokia</category>
</NokiaN73N81N95WS>

[SOLVED] Finding network hosts / devices from Microsoft Windows CMD line.

Hi there.

So You are trying to find all the “active” devices / hosts in Your lan and the only thing You have accessible is a MS Windows command line?

Well…

Click on Menu Start > Run (or press [Windows_key] + [R] combo on Your keyboard. Type in:

cmd

and press [Enter].

IF You have set up the IP statically and / or You know the IP range of the network You are using You can skip this step.

Type in:

ipconfig

and press [Enter]. From here You will find out what IP has been assigned to Your machine by DHCP…

So lets say Your IP is 192.168.0.10. This means that _PROBABLY_ the rest of the devices in Your network will have 192.168.0.xxx IP addresses.

Knowing this use this command:

for /L %I in (1,1,254) DO ping -w 30 -n 1 192.168.0.%I | find "Reply"

IF Your IP range looks like 192.168.1.xxx

for /L %I in (1,1,254) DO ping -w 30 -n 1 192.168.1.%I | find "Reply"

and so on…

Unless the devices are set to drop ICMP requests You should be able to see ping replies from the active hosts.

Cheers.

Andrzej

[SOLVED] Roundcube says “Sending message” constantly and in the same time message has been delivered ages ago.

Hi there.

I have noticed this super weird behaviour of my webmail installation. I was composing message and clicking send. The message was constantly displayed on the screen, webmail kept displaying “Sending message” info in the bottom right hand corner of the UI and it wasn’t really a mail server’s issue because e-mails were delivered to the recipient few seconds after I’ve clicked send…

It looked like something was “blocking” roundcubemail from “moving forward” after the message was sent.

Thanks to dx I’ve stopped concentrating on roundcube logs and I’ve looked into browser’s error console just to find this:

Timestamp: 15/03/15 09:51:30
Error: Load denied by X-Frame-Options: https://andrzejl.eu:30303/mail/?_task=mail&_unlock=loading1426413090689&_lang=en_US&_framed=1 does not permit framing.

and after few seconds I’ve found this link: http://lists.roundcube.net/pipermail/users/2013-August/009990.html

After #ing out this line:

add_header X-Frame-Options DENY;

in my nginx config and restarting nginx I was back in bees knees.

Cheers.

Andrzej