Pages

Thursday, 21 May 2020

Retour sur experience avec le site ProgOnline


Je veux écrit cet article pour exprimer mon intérêt au site https://www.progonline.com qui me semble intéressant pour mon business et peut m'apporter des projets.
J'ai créé une page pour mon entreprise ça fait un bon moment https://www.progonline.com/freelance-ubuntu-progonline-tac-tic.html et j'ai essayé quelques crédit gratuits offerts par le site sous quelques conditions, et je pense qu'après avoir gagner mon 1er projet à travers cette plateforme (ou même avant) je pense acheter un abonnement payant.
Je vous invite à la tester.

Monday, 28 December 2015

Special offer: all books for just $5!


Hi everybody,

I'd like to let you know about this opportunity that from 17th December 2015 into the New Year, Packt Publishing is inviting the tech world to explore its extensive library of eBooks and Video courses for one amazing price. Every single eBook and Video course Packt has ever created will be available on packtpub.com for just $5!

Since my second title " Ubuntu Server Essentials" will be a part of this sale, it would be great if you could benefit from this offer and take it for $5. Here is a special link to my second book http://bit.ly/1Nr4UhO.


New Uuntu server book


Hi everybody,

After long months of work, I am glad to announce to you the publishing of my second book entitled "Ubuntu Server Essentials", an essential book that helps the reader in an easy way to handle and then master Ubuntu Server with the minimum needed requirements. It is suitable for beginners as well as advanced users. You can get more information, and of course command the book :) from this page:
https://www.packtpub.com/networking-and-servers/ubuntu-server-essentials

PS: just a reminder: my first book was "Learning Zimbra Server Essentials", it was focused on the famous Open Source mail server "Zimbra", hereafter the link: https://www.packtpub.com/networking-and-servers/learning-zimbra-server-essentials


 

Friday, 26 December 2014

Double connection: Wifi/Wired


Hello everybody,

You are welcome in the second article of the articles series related to tips raised within my work on my startup TAC-TIC.

www.tac-tic.net


In this article we will see how to connect at the same time on both wifi network and wired network, the wifi connection will be used for Internet traffic and the wired connection will be used for local addresses (Intranet).
I need this configuration when I was obliged to connect via RJ45 to a local equipment (management of a router or other equipment) or even to a LAN (so with private addresses), and at the same time I need Internet connection (for example to share the screen via teamviewer or anther tool).
To that let's start preparing the wired connection. I am using ubuntu 12.04 for this blog, and it is similar for other releases and distros.
  • Open the network manager and go to the wired tab.
  • Create a new wired connection, in my case I called it "DHCPJust4Inranet"
  • Go to the IPv4 tab and choose method "Automatic (DHCP)" as described in the following screenshot:


  • Then click on the "Routes..." button (in the right bottom of the window), you will get a new window in which you add as much LANs as you want to connect via this connection, and don't forget to check the option "Use this connection only for resources on its network", hereafter my choices:


  • Finally save this configuration and then connect using RJ45 cable and choose this wired connection "DHCPJust4Inranet".
  • Connect also on wifi connection as you do usually.
  • Now When you try to reach an IP address in the local networks the traffic will go throw the wired connection, and at the same time other traffic (i.e. Internet) will go throw wifi connection.

I hope that you enjoy this tip :) 

If you need any technical service either in terms of Networking or R&D you can visit our web site on TAC-TIC and submit a request, that's all ;)

www.tac-tic.net


Have a nice weekend :D

Monday, 22 December 2014

Internet Connection Sharing


Hi everybody,

Hereafter I will explain to you how to share Internet connection under ubuntu 12.04, I think it should be the same for other ubuntu releases and of course other Linux distros.
Why I need this connection sharing? In fact few months ago I was at a work mission to configure a specific service on a non connected desktop PC on customer site, and for this configuration I need to install some packages from Internet, but as I said this pc wasn't connected and it was a desktop pc so no way to connect it via wifi to my 3g hotspot (using smartphone). The good new is that I had at that time my laptop with me, so I use my smartphone as a wifi hotspot, and I connect my laptop on it via wifi then I connect the customer pc to my laptop using RJ45 cable. The configuration needed to share connection with the pc was the following:
  • Open Network Manager, go to Wired tab and create a new network, in my example  I called it "sharedToOthers", go to the "IPv4 Settings" tab and configure the method as "Shared to other computers" as shown in the following screenshot:
 

  • Configure your customer pc (the desktop pc in my case) to connect using DHCP method.
  • Then connect the customer  pc via RJ45 cable into your laptop, be sure that on the laptop side you are connected to the wired connection called "sharedToOthers", if it is another connection change it to "sharedToOthers".
  • Finally connect your laptop to internet using the wifi connection.
At this level you can enjoy Internet on your desktop pc using shared 3g internet connection via your laptop as intermediary :)

PS: This was my first blog about a technical tip I find during my work within my startup TAC-TIC I hope you enjoy it :D it is the first blog but not the last one, wait for coming ones ;)

www.tac-tic.net



Have a good start of week :)

Monday, 10 March 2014

Comment héberger chez Tunisia-WebHosting.net


Comment héberger chez Tunisia-WebHosting.net
C'est un vidéo qui montre step by step comment acheter un pack d'hébergement avec Tunisia-WebHosting.net

Wednesday, 18 May 2011

Réglage de mon webcam avec ubuntu :)


Assalemo alaykom,



Avant de commencer je dois remercier Mohamed Ikbel Boulabiar pour son aide au niveau du diagnostique et Ahmed Sghaier (aka Neo31) pour son aide au niveau de la solution..tout les deux de l'équipe ubuntu-tn :)

Mon webcam n'a pas marché sous natty (même avant elle n'a pas marché sur ubuntu, chaque fois que je veux utiliser skype pour les videos conf je doit basculer à windows! et mnt je veux la régler).
Ma config est:
Laptop Acer Extensa 5620
Système: ubuntu natty (11.04)
webcam: Crystal Eye
J'ai testé avec skype et guvcview et ça ne marche pas dans les deux cas!

En premier lieu j'ai commencé par vérifier que mon ubuntu détecte bien la webcam via les commande suivantes:
kouka@kouka-laptop:~$ lsmod|grep video
uvcvideo               66851  0 
videodev               75143  1 uvcvideo
video                  18951  1 i915

kouka@kouka-laptop:~$ dmesg | grep Crystal
[   28.850754] uvcvideo: Found UVC 1.00 device Acer Crystal Eye webcam (5986:0102)
[   28.951043] input: Acer Crystal Eye webcam as /devices/pci0000:00/0000:00:1a.7/usb1/1-1/1-1:1.0/input/input5
[ 2860.564237] uvcvideo: Found UVC 1.00 device Acer Crystal Eye webcam (5986:0102)
[ 2860.626883] input: Acer Crystal Eye webcam as /devices/pci0000:00/0000:00:1a.7/usb1/1-1/1-1:1.0/input/input8
[ 3379.284276] uvcvideo: Found UVC 1.00 device Acer Crystal Eye webcam (5986:0102)
[ 3379.347036] input: Acer Crystal Eye webcam as /devices/pci0000:00/0000:00:1a.7/usb1/1-1/1-1:1.0/input/input9
kouka@kouka-laptop:~$ lsusb
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 5986:0102 Acer, Inc Crystal Eye Webcam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
kouka@kouka-laptop:~$ sudo lsinput
.....
.....
/dev/input/event5
   bustype : BUS_USB
   vendor  : 0x5986
   product : 0x102
   version : 256
   name    : "Acer Crystal Eye webcam"
   phys    : "usb-0000:00:1a.7-1/button"
   bits ev : EV_SYN EV_KEY
.....
.....
kouka@kouka-laptop:~$ ls -l /dev/video0
crw-rw----+ 1 root video 81, 0 2011-05-12 19:28 /dev/video0

Et comme vous pouvez le constater la webcam est détecté avec succès!  
Le device est bien installé et créé. Ainsi j'ai essayé de l'ouvrir avec mplayer:
$ mplayer tv:// device=/dev/video0 et là le résultat a été aussi décevant:
kouka@kouka-laptop:~$ mplayer tv:// device=/dev/video0
MPlayer 1.0rc4-4.5.2 (C) 2000-2010 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing tv://.
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
 comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
Selected device: Acer Crystal Eye webcam
 Capabilites:  video capture  streaming
 supported norms:
 inputs: 0 = Camera 1;
 Current input: 0
 Current format: MJPEG
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Invalid argument
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: Permission denied.
[VO_3DFX] Unable to open /dev/3dfx.
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
==============================
============================================
Opening video decoder: [raw] RAW Uncompressed Video
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x480 => 640x480 Packed YUY2
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
Audio: no sound
Starting playback...
v4l2: select timeout
v4l2: select timeout ??% ??,?% 0 0
v4l2: select timeout ??% ??,?% 0 0
v4l2: select timeout ??% ??,?% 0 0
v4l2: select timeout ??% ??,?% 0 0
v4l2: select timeout ??% ??,?% 0 0
v4l2: select timeout ??% ??,?% 0 0
v4l2: select timeout ??% ??,?% 0 0
v4l2: select timeout ??% ??,?% 0 0
V:   0.0  17/ 17 ??% ??% ??,?% 0 0

MPlayer interrupted by signal 2 in module: video_read_frame
v4l2: select timeout
v4l2: select timeout ??% ??,?% 0 0
v4l2: ioctl set mute failed: Invalid argument
v4l2: 0 frames successfully processed, 1 frames dropped.

Exiting... (Quit)
En plus la sortie du mplayer a été une interface verte pas plus!

La solution est simplement de lancer le programme que je veux lancer (skype par exemple) en utilisant la commande suivante (après se rassurer de l'existence du package/library v4l1):
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype
Après avoir réussi ce teste je l'ai répété avec mplayer et  guvcview et mon webcam marche bien walhamdolilléh :)

Finalement j'ai configuré l’initialisation de cette variable d'environnement au niveau du démarrage d'une session ubuntu afin d'utiliser mes application d'une façon ordinaire sans recours à préfixer leur nom par "LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so", j'ai fait ceci en insérant cette ligne à la fin du fichier /etc/environment et puis, après le reboot, tout mes programme utilisant le webcam marchent bien :)

About you!

حمل كتاب أوبنتو ببساطة الآن!

حمل كتاب أوبنتو ببساطة الآن!