Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| utilisateurs:hector [Le 19/04/2014, 11:42] – [Serveur DNS ✔] hector | utilisateurs:hector [Le 10/08/2026, 15:19] (Version actuelle) – https://forum.ubuntu-fr.org/viewtopic.php?id=2096127 krodelabestiole | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | |||
| ====== Hector ====== | ====== Hector ====== | ||
| - | |||
| - | J'ai découvert les logiciels libres par mozilla, puis firefox, puis thunderbird, | ||
| - | |||
| - | Je m' | ||
| - | |||
| - | Je m' | ||
| - | |||
| - | Mes contributions (parfois très mineures !) au wiki d' | ||
| - | * [[: | ||
| - | * [[: | ||
| - | * [[: | ||
| - | * [[:scilab]] | ||
| - | * [[:R]] | ||
| - | * [[: | ||
| - | * [[:ocr]] | ||
| - | * [[:latex]] | ||
| - | * [[: | ||
| - | |||
| - | ===== Mon réseau ===== | ||
| - | ==== Couche physique | ||
| - | Type d' | ||
| - | |||
| - | * lspci | grep Ethernet | ||
| - | * serveur : nuttcp -S | ||
| - | * client | ||
| - | |||
| - | ==== pratiques | ||
| - | transferts de (gros) fichier (réseau local) ==> netcat | ||
| - | * serveur : cat totot.txt | pv -b | nc -l 1337 | ||
| - | * client : nc 192.168.0.1 1337| pv -b > test3.txt | ||
| - | |||
| - | =====Mon serveur===== | ||
| - | ====Machine ✔==== | ||
| - | |||
| - | * boîtier lian li | ||
| - | * carte mère atom | ||
| - | * DD | ||
| - | * OS : ubuntu 12.04 | ||
| - | |||
| - | diminuer les ventilo ? | ||
| - | |||
| ====administration ✔==== | ====administration ✔==== | ||
| Ligne 74: | Ligne 32: | ||
| | | ||
| | | ||
| + | [[: | ||
| + | | ||
| + | iptables | ||
| + | | ||
| + | utilsateurs existants : | ||
| + | '' | ||
| | | ||
| - | ==== Serveur d' | ||
| - | * cups : https:// | ||
| - | |||
| - | ==== Serveur http ✘==== | ||
| - | |||
| - | (pas fait) | ||
| - | |||
| - | sudo apt-get install apache2 | ||
| - | ( sudo service apache2 restart | ||
| - | |||
| - | mkdir / | ||
| - | mkdir / | ||
| - | mkdir / | ||
| - | vim / | ||
| - | |||
| - | |||
| - | |||
| - | ==== Serveur courriel | ||
| - | Fichier : | ||
| - | * / | ||
| - | |||
| - | === mutt === | ||
| - | [[https:// | ||
| - | === postfix | ||
| - | * sudo apt-get install postfix | ||
| - | * / | ||
| - | === exim === | ||
| - | exim & postfix sont 2 concurrents. | ||
| - | exim4 (MTA/MDA) + lecteur (mail, mutt, ...) | ||
| - | |||
| - | sudo apt-get install exim4-base exim4-daemon-light | ||
| - | sudo dpkg-reconfigure exim4-config | ||
| - | * distrib directe par SMTP | ||
| - | * Nom de courriel du système : gugusse.info | ||
| - | * Liste d' | ||
| - | * Autres destinations dont le courriel doit être accepté : gugusse.info | ||
| - | * Domaines à relayer : vide | ||
| - | * Machines à relayer : vide | ||
| - | * Faut-il minimiser les requêtes DNS (connexions à la demande) ? non | ||
| - | * Méthode de distribution du courrier local : Format « mbox » dans /var/mail | ||
| - | * Faut-il séparer la configuration dans plusieurs fichiers ? oui | ||
| - | |||
| - | === config DNS === | ||
| - | www.ovh.com, | ||
| - | |||
| - | === config routeur === | ||
| - | |||
| - | === bilan (postfix) === | ||
| - | | trajet | ||
| - | | machine | ||
| - | | réseau local | | ||
| - | | internet | ||
| - | |||
| - | logs : cat / | ||
| - | |||
| - | ==== Serveur DHCP ✘ ==== | ||
| - | |||
| - | ==== Serveurs P2P ✔==== | ||
| - | === amule ✔=== | ||
| - | amulecmd | ||
| - | * http:// | ||
| - | * http:// | ||
| - | * http:// | ||
| - | |||
| - | |||
| - | * service amule-daemon restart | ||
| - | * amulecmd : | ||
| - | * search kad < | ||
| - | * results | ||
| - | * download <num> | ||
| - | * show dl | ||
| - | |||
| - | routeur : ouvrir 3 ports , correspondant à ceux mis dans amule.conf | ||
| - | |||
| - | ed2k : | ||
| - | * add ed2k:/ / | serverlist| http:// | ||
| - | * search | ||
| - | * results | ||
| - | * download | ||
| - | |||
| - | |||
| - | === bittorrent ✔ === | ||
| - | * deluged | ||
| - | * deluge-console | ||
| - | |||
| - | ==== Serveur DNS ✔ ==== | ||
| - | Pour le réseau local. | ||
| - | [[bind9]] | ||
| - | * sudo service bind restart | ||
| - | * tuto config réseau local : [[http:// | ||
| - | * répertoire clé : / | ||
| - | * fichier des résolutions : / | ||
| - | * / | ||
| - | <note important> | ||
| - | |||
| - | ==== Serveur SSH ✔ ==== | ||
| - | ===== LIRC ✘===== | ||
| - | ==== Ma config lirc ==== | ||
| - | Ayant galéré pendant des années à essayer de configurer ma télécommande avec [[lirc]], je note aussi ma config qui marche , matérielle, | ||
| - | (cf aussi la page de [[utilisateurs: | ||
| - | Note : depuis le noyau 2.36, rebelote , ça ne marche plus. il faut utiliser lirc.0.9 semble t'il. cf http:// | ||
| - | === matériel === | ||
| - | télécommande vendue avec carté télé Pinnacle PCTV pro | ||
| - | port série | ||
| - | |||
| - | === versions === | ||
| - | ==06/2012== | ||
| - | < | ||
| - | Linux LaGrosseBete 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux | ||
| - | hector@LaGrosseBete: | ||
| - | ir_lirc_codec | ||
| - | lirc_dev | ||
| - | rc_core | ||
| - | </ | ||
| - | après :sudo apt-get install lirc | ||
| - | < | ||
| - | lirc_serial | ||
| - | ir_lirc_codec | ||
| - | lirc_dev | ||
| - | rc_core | ||
| - | </ | ||
| - | ==précédentes tentatives== | ||
| - | < | ||
| - | Linux LaGrosseBete 3.0.0-13-generic #21-Ubuntu SMP Mon Oct 17 20:18:51 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux | ||
| - | hector@LaGrosseBete: | ||
| - | ir_lirc_codec | ||
| - | lirc_dev | ||
| - | rc_core | ||
| - | </ | ||
| - | === lancement === | ||
| - | < | ||
| - | hector@LaGrosseBete: | ||
| - | * Starting remote control daemon(s) : LIRC [ OK ] | ||
| - | </ | ||
| - | hector@LaGrosseBete: | ||
| - | hector | ||
| - | root | ||
| - | root | ||
| - | </ | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | ==== vieilles info ==== | ||
| - | |||
| - | === matériel === | ||
| - | télécommande vendue avec carté télé Pinnacle PCTV pro | ||
| - | port série | ||
| - | |||
| - | === versions === | ||
| - | |||
| - | < | ||
| - | Linux LaGrosseBete 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 02:41:37 UTC 2010 x86_64 GNU/Linux | ||
| - | hector@hector: | ||
| - | lirc_dev | ||
| - | </ | ||
| - | |||
| - | 2011 : | ||
| - | < | ||
| - | Linux LaGrosseBete 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux | ||
| - | hector@LaGrosseBete: | ||
| - | ir_lirc_codec | ||
| - | lirc_dev | ||
| - | rc_core | ||
| - | |||
| - | === lancement === | ||
| - | |||
| - | < | ||
| - | sudo lircd --driver=pinsys --nodaemon | ||
| - | irexec -d | ||
| - | irxevent -d | ||
| - | </ | ||
| - | < | ||
| - | hector@hector: | ||
| - | root 1502 0.0 0.0 26728 624 ? Ss | ||
| - | root 1510 0.0 0.0 28828 912 ? Ss | ||
| - | hector | ||
| - | </ | ||
| - | |||
| - | |||
| - | === | ||
| - | |||
| - | < | ||
| - | # | ||
| - | # contributed by Bart Alewijnse < | ||
| - | # | ||
| - | # brand: | ||
| - | # model: | ||
| - | # supported devices: there' | ||
| - | # | ||
| - | # Mail me if your remote is only partly supported, or if it has different | ||
| - | # buttons than listed below. | ||
| - | # | ||
| - | |||
| - | begin remote | ||
| - | |||
| - | name PinnacleSysPCTVRemote | ||
| - | bits 16 | ||
| - | eps 30 | ||
| - | aeps 100 | ||
| - | |||
| - | one 0 0 | ||
| - | zero | ||
| - | pre_data_bits | ||
| - | pre_data | ||
| - | gap | ||
| - | toggle_bit | ||
| - | |||
| - | begin codes | ||
| - | Mute | ||
| - | Power 0x2D2F | ||
| - | Chan+Play | ||
| - | Chan-Stop | ||
| - | Vol+FF | ||
| - | Vol-Rew | ||
| - | 1 0x9F31 | ||
| - | 2 0x3D32 | ||
| - | 3 0xEC33 | ||
| - | 4 0xA834 | ||
| - | 5 0x7935 | ||
| - | 6 0xDB36 | ||
| - | 7 0x0A37 | ||
| - | 8 0x5338 | ||
| - | 9 0x8239 | ||
| - | Fullscreen | ||
| - | 0/AV | ||
| - | Info | ||
| - | Preview | ||
| - | Record | ||
| - | Chan_Last | ||
| - | F_TV | ||
| - | F_TELETEXT | ||
| - | F_RADIO | ||
| - | |||
| - | # | ||
| - | # here are some extra buttons a new version of the remote seems to have | ||
| - | # | ||
| - | # contributed by Robbert Monna < | ||
| - | # | ||
| - | # brand: | ||
| - | # model: | ||
| - | # supported devices: dongle on serial port (from TV-Card) | ||
| - | # | ||
| - | L 0x631F | ||
| - | Zoom | ||
| - | vol+ | ||
| - | vol- | ||
| - | channel+ | ||
| - | channel- | ||
| - | middle | ||
| - | Menu | ||
| - | next | ||
| - | undo | ||
| - | pause 0x0D15 | ||
| - | redo | ||
| - | Rewind | ||
| - | Play | ||
| - | Stop | ||
| - | FForward | ||
| - | EPG 0x2718 | ||
| - | |||
| - | # here are some more buttons that seem to be mapped differently from | ||
| - | # the ones above | ||
| - | |||
| - | # contributed by InterCeptor ceptor_7@freemail.hu | ||
| - | # | ||
| - | # brand: | ||
| - | # model no. of remote control: (I can't find any numbers on it) | ||
| - | # supported devices: serial | ||
| - | # | ||
| - | |||
| - | 9 0x0000000000000082 | ||
| - | Zoom | ||
| - | middle | ||
| - | |||
| - | |||
| - | end codes | ||
| - | end remote | ||
| - | </ | ||
| - | < | ||
| - | hector@hector: | ||
| - | # / | ||
| - | # | ||
| - | #Chosen Remote Control | ||
| - | REMOTE=" | ||
| - | REMOTE_MODULES="" | ||
| - | REMOTE_DRIVER=" | ||
| - | REMOTE_DEVICE="" | ||
| - | REMOTE_SOCKET="" | ||
| - | REMOTE_LIRCD_CONF=" | ||
| - | REMOTE_LIRCD_ARGS="" | ||
| - | |||
| - | #Chosen IR Transmitter | ||
| - | TRANSMITTER=" | ||
| - | TRANSMITTER_MODULES=" | ||
| - | TRANSMITTER_DRIVER=" | ||
| - | TRANSMITTER_DEVICE="/ | ||
| - | TRANSMITTER_SOCKET="" | ||
| - | TRANSMITTER_LIRCD_CONF=" | ||
| - | TRANSMITTER_LIRCD_ARGS="" | ||
| - | |||
| - | #Enable lircd | ||
| - | START_LIRCD=" | ||
| - | |||
| - | #Don't start lircmd even if there seems to be a good config file | ||
| - | # | ||
| - | |||
| - | #Try to load appropriate kernel modules | ||
| - | LOAD_MODULES=" | ||
| - | |||
| - | # Default configuration files for your hardware if any | ||
| - | LIRCMD_CONF="" | ||
| - | |||
| - | #Forcing noninteractive reconfiguration | ||
| - | #If lirc is to be reconfigured by an external application | ||
| - | #that doesn' | ||
| - | #frontend can be invoked and set to parse REMOTE and TRANSMITTER | ||
| - | #It will then populate all other variables without any user input | ||
| - | #If you would like to configure lirc via standard methods, be sure | ||
| - | #to leave this set to " | ||
| - | FORCE_NONINTERACTIVE_RECONFIGURATION=" | ||
| - | START_LIRCMD="" | ||
| - | |||
| - | </ | ||
| - | |||
| - | < | ||
| - | cdurpp@LaGrosseBete: | ||
| - | # lircrc : fichier de configuration de lirc | ||
| - | # dernière modif : 26/10/2010 | ||
| - | # conçu pour les logiciels: | ||
| - | # nativement : vlc | ||
| - | # irxevent : dico de VLC, gthumb | ||
| - | # irexec : lancement de tvtime | ||
| - | |||
| - | ### lancement des programmes (irexec) ####################### | ||
| - | begin | ||
| - | prog = irexec | ||
| - | button = F_RADIO | ||
| - | config = / | ||
| - | mode = xmms | ||
| - | end | ||
| - | |||
| - | begin | ||
| - | prog = irexec | ||
| - | button = F_TV | ||
| - | config = vlc v4l2:/// | ||
| - | repeat = 0 | ||
| - | flags= once | ||
| - | end | ||
| - | |||
| - | begin | ||
| - | prog = irexec | ||
| - | button = F_TELETEXT | ||
| - | config = vlc | ||
| - | flags= once | ||
| - | end | ||
| - | |||
| - | #####Volume du son ######################## | ||
| - | begin | ||
| - | prog = irexec | ||
| - | button = vol+ | ||
| - | config = aumix -v +10 | ||
| - | flags= once | ||
| - | end | ||
| - | |||
| - | begin | ||
| - | prog = irexec | ||
| - | button = vol- | ||
| - | config = aumix -v -10 | ||
| - | flags= once | ||
| - | end | ||
| - | ######################################## | ||
| - | |||
| - | |||
| - | ## vlc #################### | ||
| - | begin vlc | ||
| - | begin | ||
| - | prog = vlc | ||
| - | button = Play | ||
| - | config = key-play-pause | ||
| - | end | ||
| - | begin | ||
| - | prog = vlc | ||
| - | button = pause | ||
| - | config = key-play-pause | ||
| - | end | ||
| - | begin | ||
| - | prog = vlc | ||
| - | button = Stop | ||
| - | config = key-stop | ||
| - | end | ||
| - | begin | ||
| - | prog = vlc | ||
| - | button = Power | ||
| - | config = key-quit | ||
| - | end | ||
| - | begin | ||
| - | prog = vlc | ||
| - | button = Fullscreen | ||
| - | config = key-fullscreen | ||
| - | end | ||
| - | #begin | ||
| - | # prog = vlc | ||
| - | # button = Vol-Rew | ||
| - | # config = key-vol-down | ||
| - | #end | ||
| - | #begin | ||
| - | # prog = vlc | ||
| - | # button = Vol+FF | ||
| - | # config = key-vol-up | ||
| - | #end | ||
| - | begin | ||
| - | prog = vlc | ||
| - | button = Mute | ||
| - | config = key-vol-mute | ||
| - | end | ||
| - | begin | ||
| - | prog = vlc | ||
| - | button = Chan-Stop | ||
| - | config = key-vol-down | ||
| - | end | ||
| - | begin | ||
| - | prog = vlc | ||
| - | button = Chan+Play | ||
| - | config = key-vol-up | ||
| - | end | ||
| - | begin | ||
| - | prog = vlc | ||
| - | button = middle | ||
| - | config = key-nav-activate | ||
| - | end | ||
| - | begin | ||
| - | prog = vlc | ||
| - | button = L | ||
| - | config = key-subtitle-track | ||
| - | end | ||
| - | begin | ||
| - | prog = vlc | ||
| - | button = P | ||
| - | config = key-audio-track | ||
| - | end | ||
| - | begin | ||
| - | prog = vlc | ||
| - | button = redo | ||
| - | config = key-jump+extrashort | ||
| - | end | ||
| - | |||
| - | begin | ||
| - | prog = vlc | ||
| - | button = undo | ||
| - | config = key-jump-extrashort | ||
| - | end | ||
| - | begin | ||
| - | prog = vlc | ||
| - | button = FForward | ||
| - | config = key-jump+short | ||
| - | end | ||
| - | |||
| - | begin | ||
| - | prog = vlc | ||
| - | button = REWIND | ||
| - | config = key-jump-short | ||
| - | end | ||
| - | |||
| - | begin | ||
| - | prog = vlc | ||
| - | button = Record | ||
| - | config = key-snapshot | ||
| - | end | ||
| - | |||
| - | end vlc | ||
| - | ###fin vlc ###################################### | ||
| - | |||
| - | |||
| - | ###irxevent daemon is needed for this section | ||
| - | |||
| - | begin | ||
| - | prog = irxevent | ||
| - | button = Vol+FF | ||
| - | config = Key Right CurrentWindow | ||
| - | end | ||
| - | |||
| - | begin | ||
| - | prog = irxevent | ||
| - | button = Vol-Rew | ||
| - | config = Key Left CurrentWindow | ||
| - | end | ||
| - | |||
| - | |||
| - | begin | ||
| - | prog = irxevent | ||
| - | button = channel+ | ||
| - | config = Key Up CurrentWindow | ||
| - | end | ||
| - | |||
| - | begin | ||
| - | prog = irxevent | ||
| - | button = channel- | ||
| - | config = Key Down CurrentWindow | ||
| - | end | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | ## audacious ###################################### | ||
| - | begin audacious | ||
| - | |||
| - | begin | ||
| - | prog = audacious | ||
| - | button = Power | ||
| - | config = QUIT | ||
| - | end | ||
| - | |||
| - | begin | ||
| - | prog = audacious | ||
| - | button = Play | ||
| - | config = PLAYPAUSE | ||
| - | end | ||
| - | |||
| - | begin | ||
| - | prog = audacious | ||
| - | button = Pause | ||
| - | config = PAUSE | ||
| - | end | ||
| - | |||
| - | begin | ||
| - | prog = audacious | ||
| - | button = Stop | ||
| - | config = STOP | ||
| - | end | ||
| - | |||
| - | begin | ||
| - | prog = audacious | ||
| - | button = Previous | ||
| - | config = PREV | ||
| - | end | ||
| - | |||
| - | begin | ||
| - | prog = audacious | ||
| - | button = Next | ||
| - | config = NEXT | ||
| - | end | ||
| - | |||
| - | begin | ||
| - | prog = audacious | ||
| - | button = Vol+ | ||
| - | config = VOL_UP | ||
| - | end | ||
| - | |||
| - | begin | ||
| - | prog = audacious | ||
| - | button = Vol- | ||
| - | config = VOL_DOWN | ||
| - | end | ||
| - | |||
| - | begin | ||
| - | prog = audacious | ||
| - | button = Mute | ||
| - | config = MUTE | ||
| - | end | ||
| - | |||
| - | end audacious | ||
| - | |||
| - | ######################################## | ||
| - | |||
| - | </ | ||
| - | |||
| - | |||
