Linux User Group of Mauritius Promoting open source software in our beautiful island

31Aug/150

Quick fix for fast forward youtube

Posted by logan



Symptom

Youtube loads but there is no sound, and youtube seems to be playing in fast forward mode.

After digging around, I realised that the sound sub-system of Linux needs to be badly fixed. It tries to play through the audio HDMI port first. Youtube should also fix their sound output code on Linux. The trick is to disable the HDMI codec driver for the sound.

Add this line in modprobe.conf: blacklist snd_hda_codec_hdmi

I've seen huge threads about this problem on various forums. Maybe this will help a few people.

Tagged as: No Comments
29Aug/150

Linux meetup and the talk about protocols

Posted by Ish

Since several weeks Logan announced this Linux meetup about Open Protocols & Standards. He got inspired after attending the IETF 93 meeting that happened in Prague this year. Upon coming back to Mauritius, he thought it’d would be cool to share the experience with other like-minded folks..

Thanks to Ashmita & Nirvan, he happened to get a room for the meetup at the University of Mauritius. Thus everything was finalized for Saturday 29 August 2015, that is today. It’s been a long time since we had a Linux meetup; I could list a series of reasons but they would all be unjustified :-/ Never mind, this one was happening, I could not have missed it.

I reached the University of Mauritius at 12h30, found a parking lot, picked up my bag and went in search for room 2.12 which should be in Phase II (the building how it’s called at the university).

Logan was right outside the room talking to three girls. I just greeted him without interrupting his business. We were around 8 attendees while some were on the way. Logan started his prez at 12h45. He states there is a “problem” that dates back 20 years but very few people have considered it. He then started talking about a slow Internet situation. He explains about Bufferbloat (lag) under a network load.

Linux meetup by LUGM

Logan mentioned that when the bandwidth crosses the bar of 5Mbit/s it becomes insignificant. The real sluggishness of the internet is then due to high latency. He cited scenarios where several users in a household would suffer if they use Skype, upload documents and watch YouTube simultaneously.

Linux meetup, Linux User Group of Mauritius

Loganaden Velvindron

Logan told us about his experiment on a TP-Link router while replacing the latter’s firmware by OpenWRT. He was able to apply tweaks that would remedy his latency issues when several users on his home network would use the internet. The discussion continued on the TCP/IP standard and Logan shared some knowledge he acquired during the IETF 93 meeting.

Around 14h30 we had a break and we went to the university cafeteria.

After the break, the discussion went more technical and Logan explained about the fq_codel implementation in OpenWRT. CoDel aims to defeat bufferbloat, which refers to an excessive buffering of packets. The latter leads to high latency and finally we see the sluggishness in network-related applications as mentioned the beginning.

Logan has shared his presentation slides for those who’d like to have a look.

That was a cool meetup after a long time :)

The post Linux meetup and the talk about protocols appeared first on HACKLOG.

29Aug/150

Linux Meetup (29/08/2015)

Posted by logan




A Linux Meetup after a long time !

We held our first meetup after a very very long time :) I wasn't expecting 71 people, but we got around 13 people who showed up. Quite a few couldn't make it at the last minute. The usual suspects showed up with the addition of Ashvin, who made it this time :) 2 employees of Mauritius Telecom were also present.

group

Bufferbloat explained

I demo'ed and explained the bad latency that Internet Users experienced on the DSLresport website. I explained how, once you cross 5MB/s, your bandwidth isn't that important anymore. Now, we need to talk about latency . When, I showed how by implementing CoDEL we could solve the latency problem, the 2 employees of Mauritius Telecom understood the issue at hand. Unfortunately, none of Emtel, Canal+ or Bharat Telecom engineers were around, sadly.

I hope that ISP guys get the message concerning the need for low latency in Mauritius for us to be able to benefit from a good service for services like VOIP, gaming, teleconference, and IMs.

With Open Source software and Linux, we were able to show how we can still achieve low latency while saturating both our uplink and downlink on a Mauritius Telecom MyT/30 Mbit/s connection. Quite a few people, in particular, Ajay Ramjatan & Shaan Nobee asked a lot of questions regarding fq_coDEL and the theory behind AQM.

I sincerely hope to see University Students pick up on research related to bufferbloat and how to fix it. I hope that Wifi will be fixed, as well as possibly adjusting coDEL for Mauritius.

There were a few questions regarding the IETF, and the applicability of standards. I explained how participation in standards is crucial for emerging countries like ours. In particular, I emphasize on the importance of sending Networking and Systems Engineers to conferences like the IETF, through the budget for training, rather than sending marketting guys, who would never be able to sell anything to a knowledgeable engineer. Too many IT companies think that investing in training is too expensive, and do not realise how they can grow their portolio of services for their customers.

Overall, It was a fun meetup. I hope that we, Linux users, can work together with ISPs to fix the latency issues that 99% of customers are currently experiencing right now.

URL for my presentation: my presentation
Dave Taht's talk on Bufferbloat At Stanford:
Dave Taht talk at Stanford

--Logan
C-x-C-c

Tagged as: No Comments
12Aug/150

Ebene In 2020

Posted by logan

A Newspaper in 2020 ...

PORT LOUIS, Jul 2 2020 (slashslash) - Workers from Bangladesh have helped Mauritius to achieve the Knowledge Hub success and world market share that the Indian Ocean island state boasts about. But many live and work in conditions described as akin to “modern slavery”, apart from facing discrimination, the denial of labour rights and even violence.

The 32 year old Mohamed Amin* left his wife and two children in low-income Bangladesh 23 months ago to look for greener pastures in the ICT/BPO industry in Mauritius

He paid 150,000 takkas (about 2,200 dollars) to an agent in his country for a job as a Software Engineer upon the promise of earning 20,000 Mauritian rupees (about 665 dollars) a month.

"That (the promised 665 dollars) is big money in Bangladesh and I was prepared to make any sacrifice for it,” Amin told slashslash who visited him at Ebene, in northern Mauritius, where he lives in a container provided by his employer, SmartCities Inc.

But, today, the Bangladeshi worker earns little more than a quarter of that amount. “I have been cheated,” he said.

He is frustrated as, in about a year’s time, he will have to leave the island. Amin is yet to save any money to take home. His meagre earnings allow him to cover his living expenses and to send a limited amount of money to his family every three months.

Poverty, unemployment and the high cost of living are the factors that force Amin and his compatriots to leave their country and look for jobs abroad.

“The employers do not care for them; they live like animals. How can humans sleep in such places?” he asked. “There is no government office where they can complain — even when their passports are seized from them.”

“Some employers are still treating their workers as mere objects that will keep on producing until the end of their contracts,” he told slashslash.

“A migrant worker should enjoy the same terms and conditions of employment and the same prescribed salary than those granted to the locals, besides a free return air ticket, food allowance, lodging and accommodation in Mauritius,” the minister explained, referring to government regulations.

Carlos Charette, chairperson of the OTAM, admitted to slashslash that some IT employers are to blame for the poor living conditions. However, he insisted that the dormitories are in a good condition when the expatriates first arrive.

“These are checked by the relevant health and fire services before the expatriates land there. We should understand that these people come from poor and dirty countries where hygiene does not exist. They put the dormitories in such a state that one cannot go inside because of the bad smell,” he told slashslash, without flinching.

-- A satirical fiction written, based on current "suggested" measures!

Filed under: humour No Comments
8Aug/150

Danger for IT workers in Mauritius

Posted by logan



It starts with an article in Defi-media

I woke up today and found this article: defi-media . After reading it, I was shocked to discover the suggestions put forward by OTAM and some of the people who were interviewed, including the founder of MSCC !

Claim #1 : "proposes that firms be permitted to recruit freely"

What does that mean ? Well, to hire a skilled foreigner in IT, a company has to pay him a minimum salary of Rs 30,000. Previously, it was Rs 40,000. Many foreign workers skilled in IT are getting better salaries: I heard people earning up to Rs 90,000. If employers are allowed to hire freely as OTAM suggests: here is what is going to happen: Mauritius is going to be flooded with IT workers who will work for Rs 6,000/month. . In other words, if we remove the Rs 30,000 minimum salary, local IT companies can hire workers for Rs 6,000/month, from Countries like Bangladesh. OTAM uses the analogy of the Manufacturing sector to justify this. Now, Mauritians work for Rs 6,000 in Textile factories. Is this what we want for our co-workers, friends, and future children who we are grooming for a prestigious career in IT in Mauritius ? What is also shocking is that the MSCC does not show that it disagreed with OTAM's claim #1. This leads me to question the motivations of MSCC.

Claim #2: "Quality of graduates"

Quote from MSCC: "The notion of having a graduate per household led to a drop in the level of education, which translates through a lack of skills. It is thus detrimental to operators, who must train young people, which costs time and resources".

I am not convinced by claim #2. The quality of graduates from Mauritius is not that different from Countries like India, which are doing quite well in the area of ICT. I am myself a product of the so-called "one graduate per family". Can MSCC or OTAM point out how my skills are not as good as software engineers from the US or Germany ? I've been approached by Fortune 500 companies in the US, and offered engineering jobs in some of the world's most prestigious IT companies.

I think that OTAM is using the fact that the quality of IT education in Mauritius needs improvment as a scapegoat excuse to justify hiring people from outside, and pay them Rs 6000/month. The real goal of OTAM is to eliminate the Rs 30,000 minimum salary that the government imposes on foreign workers who want to work in Mauritius. Again, I am deeply disappointed in the stance that MSCC took on this matter.

THe real issue is that many of the local IT companies do not invest in training of their workers. One software engineer in the US can cost 4000 to 5000 Euros. That's almost Rs 144,000 . If you want to hire a junior developer in France, you would need to pay at least 1500 Euros. That's Rs 60,000. Knowing those facts: we know that a starting developer gets around Rs 20,000 here. So on each junior developer, an outsourcing company is saving up to Rs 40,000 ! Yeah, Rs 40,000 ! So the companies are putting that money in their pockets, instead of trying to invest into improving the skills of their employees. Now, they want junior developers who will work for Rs 6,000/month. THIS IS OUTRAGEOUS !

Claim #3: "Disloyalty"

Filed under: employment No Comments
8Aug/150

I’am officially a Google security supplier !

Posted by logan


google

Security Services

Last night, I got the confirmation that I am officially recognized as a Supplier of Security Services for Google, the Internet Search Giant :)

google_supplier

What does this mean for Internet Security

I will be working more closely on Internet Security by focusing on key Open Source projects, and this effort will be sponsored by Google. Needless to say, I'm very excited ! I look forward to building a more secure Internet, that benefits not only Google, but also Mauritius, as we are also heavy consumers of products that are based on Open Source Software: Android, gmail and quite a few others.

Collaborative efforts

By working together, as a team, we can strengthen the foundation of Today's Internet, so that we avoid another Heartbleed. I look forward to not only work on code, but also with different people spread across the globe and who speak different languages. There's something beautiful in Open Source: Despite our divergent opinions, we are able to work together. I believe that our strength comes from our ability to readjust ourselves to an increasingly hostile Internet.

Google Security Supplier, am excited for this new adventure! :)


--Logan

Filed under: security No Comments
5Aug/150

LibreOffice 5 installation on openSUSE, Fedora, CentOS etc…

Posted by Ish

Twitter’s flooding with LibreOffice 5’s arrival. Oh! Flooding? Well, only if you’re following the *nix geeks :)

LibreOffice 5 was released today. Those who are used to only hear about the Microsoft Suite, well there exist other productivity suites out in the wild. LibreOffice is among them. It was forked from OpenOffice in 2010. Since then several Linux distributions bundled the LibreOffice Suite in their default install. LibreOffice is written in C++, Java and Python, and is available in 114 languages.

The LibreOffice 5 official package should be rolled out for the stable distros in the coming weeks, if not months. As for the curious who’d like to get hands dirty, just follow the article for a LibreOffice 5 installation. One thing, I’ve kept in the title openSUSE, Fedora and CentOS but the installation would cater for any RPM-based distribution. I haven’t tested the DEB archive but I guess it should be somewhat similar.

LibreOffice 5 installation

The tarball can be either downloaded by visiting the download page at libreoffice.org or from this mirror. Torrent links are available too. Once you have obtained the package LibreOffice_5.0.0_Linux_x86-64_rpm.tar.gz you uncompress it as follows:

tar zxvf LibreOffice_5.0.0_Linux_x86-64_rpm.tar.gz

The extracted files & folders include an installation script licensed under MPL v2. You may peek into if you’d want to know what it does.

Enter the directory that contains the install script and launch the installation as follows:

./install RPMS .

The second dot implies that it should be installed at the current path. Hit enter and the progress will be shown.

####################################################################
#     Installation of the found packages                           #
####################################################################

Path to the database:        /home/ish/Downloads/LibreOffice_5.0.0.5_Linux_x86-64_rpm/.RPM_OFFICE_DATABASE
Path to the packages:        RPMS
Path to the installation:    .

Installing the RPMs
Preparing...                          ################################# [100%]
Updating / installing...
   1:libreoffice5.0-ure-5.0.0.5-5     ################################# [  2%]
   2:libobasis5.0-core-5.0.0.5-5      ################################# [  4%]
   3:libobasis5.0-en-US-5.0.0.5-5     ################################# [  7%]
   4:libobasis5.0-writer-5.0.0.5-5    ################################# [  9%]
   5:libobasis5.0-base-5.0.0.5-5      ################################# [ 11%]
   6:libobasis5.0-impress-5.0.0.5-5   ################################# [ 13%]
   7:libobasis5.0-en-US-calc-5.0.0.5-5################################# [ 16%]
   8:libobasis5.0-en-US-writer-5.0.0.5################################# [ 18%]
   9:libobasis5.0-en-US-res-5.0.0.5-5 ################################# [ 20%]
  10:libobasis5.0-en-US-math-5.0.0.5-5################################# [ 22%]
  11:libobasis5.0-en-US-base-5.0.0.5-5################################# [ 24%]
  12:libobasis5.0-images-5.0.0.5-5    ################################# [ 27%]
  13:libreoffice5.0-5.0.0.5-5         ################################# [ 29%]
  14:libobasis5.0-math-5.0.0.5-5      ################################# [ 31%]
  15:libobasis5.0-draw-5.0.0.5-5      ################################# [ 33%]
  16:libobasis5.0-calc-5.0.0.5-5      ################################# [ 36%]
  17:libobasis5.0-pyuno-5.0.0.5-5     ################################# [ 38%]
  18:libobasis5.0-librelogo-5.0.0.5-5 ################################# [ 40%]
  19:libreoffice5.0-calc-5.0.0.5-5    ################################# [ 42%]
  20:libreoffice5.0-draw-5.0.0.5-5    ################################# [ 44%]
  21:libreoffice5.0-math-5.0.0.5-5    ################################# [ 47%]
  22:libreoffice5.0-dict-en-5.0.0.5-5 ################################# [ 49%]
  23:libreoffice5.0-impress-5.0.0.5-5 ################################# [ 51%]
  24:libreoffice5.0-base-5.0.0.5-5    ################################# [ 53%]
  25:libreoffice5.0-en-US-5.0.0.5-5   ################################# [ 56%]
  26:libreoffice5.0-dict-es-5.0.0.5-5 ################################# [ 58%]
  27:libreoffice5.0-dict-fr-5.0.0.5-5 ################################# [ 60%]
  28:libreoffice5.0-writer-5.0.0.5-5  ################################# [ 62%]
  29:libobasis5.0-ogltrans-5.0.0.5-5  ################################# [ 64%]
  30:libobasis5.0-postgresql-sdbc-5.0.################################# [ 67%]
  31:libobasis5.0-onlineupdate-5.0.0.5################################# [ 69%]
  32:libobasis5.0-ooofonts-5.0.0.5-5  ################################# [ 71%]
  33:libobasis5.0-filter-data-5.0.0.5-################################# [ 73%]
  34:libobasis5.0-kde-integration-5.0.################################# [ 76%]
  35:libobasis5.0-extension-javascript################################# [ 78%]
  36:libobasis5.0-xsltfilter-5.0.0.5-5################################# [ 80%]
  37:libobasis5.0-python-script-provid################################# [ 82%]
  38:libobasis5.0-ooolinguistic-5.0.0.################################# [ 84%]
  39:libobasis5.0-extension-report-bui################################# [ 87%]
  40:libobasis5.0-graphicfilter-5.0.0.################################# [ 89%]
  41:libobasis5.0-extension-mediawiki-################################# [ 91%]
  42:libobasis5.0-extension-beanshell-################################# [ 93%]
  43:libobasis5.0-extension-nlpsolver-################################# [ 96%]
  44:libobasis5.0-extension-pdf-import################################# [ 98%]
  45:libobasis5.0-gnome-integration-5.################################# [100%]

Installation done ...

If no errors occurred you should find a folder named opt created. This makes it easy if you want to move your LibreOffice 5 instance to the traditional /opt path. However, from the current path you can launch LibreOffice Writer as follows:

./opt/libreoffice5.0/program/swriter

LibreOffice 5 installation

You will get LibreOffice Writer, Calc, Base, Draw, Math and Impress with the following commands:

./opt/libreoffice5.0/program/swriter
./opt/libreoffice5.0/program/scalc
./opt/libreoffice5.0/program/sbase
./opt/libreoffice5.0/program/sdraw
./opt/libreoffice5.0/program/smath
./opt/libreoffice5.0/program/simpress

Otherwise, just shoot ./opt/libreoffice5.0/program/soffice and you get the LibreOffice 5 welcome screen with shortcuts to each application.

LibreOffice 5 installation


To have a clean setup, you could move the libreoffice5.0 folder to /opt and have some sweet symlinks. Let’s do it; stay on the current path and shoot:

sudo mv opt/libreoffice5.0 /opt
ln -s /opt/libreoffice5.0/program/swriter /usr/local/bin/writer

You could do for the rest, right? Now, press Alt + F2, type writer and hit the return button. LibreOffice Writer shoots up!

To my fellow non-Linux friendly folks, the free software community makes LibreOffice available for Windows and Mac OS X as well and installation is painless :)

The post LibreOffice 5 installation on openSUSE, Fedora, CentOS etc… appeared first on HACKLOG.

Tagged as: No Comments