issue181:q._et_r
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue181:q._et_r [2022/05/27 21:31] – créée d52fr | issue181:q._et_r [2022/06/03 18:08] (Version actuelle) – andre_domenech | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | Welcome back to another edition of Questions and Answers! In this section we will endeavour to answer your Ubuntu questions. Be sure to add details of the version of your operating system and your hardware. I will try to remove any personally identifiable strings from questions, but it is best not to include things like serial numbers, UUIDs, or IP addresses. If your question does not appear immediately, | + | **Welcome back to another edition of Questions and Answers! In this section we will endeavour to answer your Ubuntu questions. Be sure to add details of the version of your operating system and your hardware. I will try to remove any personally identifiable strings from questions, but it is best not to include things like serial numbers, UUIDs, or IP addresses. If your question does not appear immediately, |
+ | Bienvenue de retour dans un autre épisode de Q. ET R.! Dans cette rubrique, nous essayerons de répondre à vos questions sur Ubuntu. Assurez-vous d’ajouter les détails de la version de votre système d’exploitation et de votre matériel. J’essaierai d’enlever de vos questions toutes chaînes qui pourraient vous identifier personnellement, | ||
- | Repairing IP CCTV cameras, I fell from a wonky ladder and almost lost my life. At the time I was using a kiddie plastic chair to rest the camera on, as the cable was not easily removed and so it did not end up hanging from the cable out of the roof or lying on the floor where it could be stepped on. Now I’ll be up front, I do not do heights. Even after telling my bosses, I was still required to do so. Nature has a weird way of coping in ‘I’ll just flop over like a possum’. My brain does the ‘oh hell no’ -thing and switches off. Now instead of doing the right thing, and compensating me etc., they launched an “investigation”. According to the “investigation” I stood on the kiddie chair and fell off. This is unsafe work practice and I was the guilty party, end of story. The only problem with this: I weigh over 100kg being over 6ft, squatting 275lbs etc, you get the picture. The kiddie chair would not hold 50kg safely. (I’m being generous there.) The point of impact was a second level locker catch, about 1.6m from the floor. If I were to stand on the kiddie chair, my elbow would be level with the catch, meaning I could not fall onto it, only against it. The other problem was if I were to stand on the kiddie chair, I would not be able to reach the dome camera in the corner of the room, behind all the boxes, there is just no way, maybe at a stretch if it was directly above me and I hopped up and down. (There is nowhere to move the boxes to as the storeroom is too small, and filled with too many things.) I was told to accept it to keep my job. What could I do? This is the same with proprietary operating systems, you need to shut up and take it. This is why you and I use Linux? The only problem is, manufacturers still use proprietary firmware and drivers. (Hello Debian firmware repo!) What is to be the answer to this closed source mess? The EU had announced that all phones should have USB-C connectors, not a mish-mash of proprietary ones. Is legislation the answer? | + | **Repairing IP CCTV cameras, I fell from a wonky ladder and almost lost my life. At the time I was using a kiddie plastic chair to rest the camera on, as the cable was not easily removed and so it did not end up hanging from the cable out of the roof or lying on the floor where it could be stepped on. Now I’ll be up front, I do not do heights. Even after telling my bosses, I was still required to do so. Nature has a weird way of coping in ‘I’ll just flop over like a possum’. My brain does the ‘oh hell no’ -thing and switches off. Now instead of doing the right thing, and compensating me etc., they launched an “investigation”. According to the “investigation” I stood on the kiddie chair and fell off. This is unsafe work practice and I was the guilty party, end of story. The only problem with this: I weigh over 100kg being over 6ft, squatting 275lbs etc, you get the picture. The kiddie chair would not hold 50kg safely. (I’m being generous there.) The point of impact was a second level locker catch, about 1.6m from the floor. If I were to stand on the kiddie chair, my elbow would be level with the catch, meaning I could not fall onto it, only against it. The other problem was if I were to stand on the kiddie chair, I would not be able to reach the dome camera in the corner of the room, behind all the boxes, there is just no way, maybe at a stretch if it was directly above me and I hopped up and down. (There is nowhere to move the boxes to as the storeroom is too small, and filled with too many things.) I was told to accept it to keep my job. What could I do? This is the same with proprietary operating systems, you need to shut up and take it. This is why you and I use Linux? The only problem is, manufacturers still use proprietary firmware and drivers. (Hello Debian firmware repo!) What is to be the answer to this closed source mess? The EU had announced that all phones should have USB-C connectors, not a mish-mash of proprietary ones. Is legislation the answer? |
+ | En réparant des caméras CCTV IP, je suis tombé d’une échelle bizarre et j’ai failli mourir. À l’époque, | ||
- | Q: I have a page full of links I want to copy, but somehow all the forward slashes have been replaced. I tried “inspecting” the source to grab it there, but it is a hot mess. How do do that with Ubuntu? I would use total commander in Windows. Urls are here --> https:// | + | |
+ | **Q: I have a page full of links I want to copy, but somehow all the forward slashes have been replaced. I tried “inspecting” the source to grab it there, but it is a hot mess. How do do that with Ubuntu? I would use total commander in Windows. Urls are here --> https:// | ||
A: I am sure the Linux dual pane file managers like Double commander could, but why don’t you copy them as text and use ‘sed’ (Stream EDitor) to replace all the carats? I bet it would be a lot faster. If I replace all my slashes with carats, does that make it Welsh? | A: I am sure the Linux dual pane file managers like Double commander could, but why don’t you copy them as text and use ‘sed’ (Stream EDitor) to replace all the carats? I bet it would be a lot faster. If I replace all my slashes with carats, does that make it Welsh? | ||
Ligne 12: | Ligne 15: | ||
Q: Hi Guys, I have 2 PC’s - Dell Optiplex 3020, from our office sale. I set one up with Windows 10 20h2 and one with Ubuntu 20.04. My Libre Office is 7.0.4.2 and both have standard USB Dell keyboards. My ‘.’ - fullstop is a ‘,’ comma on the numpad. Windows forum talk about region settings, and keyboard settings, but mine is pain US keyboard. Windows users talk about Polish keyboard layouts with dot and comma they can choose, not that it helps me. This tells me the problem is related to my computers or keyboards. What do you suggest? | Q: Hi Guys, I have 2 PC’s - Dell Optiplex 3020, from our office sale. I set one up with Windows 10 20h2 and one with Ubuntu 20.04. My Libre Office is 7.0.4.2 and both have standard USB Dell keyboards. My ‘.’ - fullstop is a ‘,’ comma on the numpad. Windows forum talk about region settings, and keyboard settings, but mine is pain US keyboard. Windows users talk about Polish keyboard layouts with dot and comma they can choose, not that it helps me. This tells me the problem is related to my computers or keyboards. What do you suggest? | ||
- | A: There are “Language” settings in LibreOffice. Look under “settings” or “options”. | + | A: There are “Language” settings in LibreOffice. Look under “settings” or “options”. |
+ | Q : J’ai une page pleine de liens que je voudrais copier, mais d’une façon ou d’une autre toutes les barres obliques ont été remplacées. J’ai essayé d’« inspecter » la source pour la récupérer dedans, mais c’est dans une pagaille indescriptible. Comment faire sous Ubuntu ? J’utiliserais Total Commander sous Windows. Les url sont ici --> https:// | ||
- | Q: I recently got an old HP laptop from my Aunt. I have decided on Ubuntu as it is the prettiest. There is just one thing I can’t wrap my head around. I can access my router at 192.168.0.1 when I have a cable plugged in, but I cannot access it with wifi. The local PC guy suggested that I update my drivers, but so far I have been unsuccessful in loading any drivers for my laptop. I have no other issues with the wifi other than it being a bit weak. | + | R : Je suis certain que les gestionnaires de fichiers à double panneau sous Linux, comme Double commander, pourraient le faire, mais pourquoi pas les copier en tant que texte et utiliser « sed » (StreamEDitor) pour remplacer tous les barres obliques inversées ? |
+ | Q : Salut, les gars, j’ai deux PC Dell Optiplex 3020 venant d'une vente au bureau. J’en ai configuré un avec Windows 10 20h2 et l’autre avec Ubuntu 20.04. Mon LibreOffice est en 7.0.4.2 et les deux ont des claviers USB Dell standard. Sur le pavé numérique, mon « . » (point) est une « , » (virgule). Le forum de Windows parle des paramètres de région et du clavier, mais le mien est un clavier US vanille. Les utilisateurs de Windows parlent des dispositions de claviers en Pologne avec points et virgules qu’ils peuvent choisir, mais cela ne m’aide pas. Cela m’indique que le problème est associé à mes ordinateurs ou aux claviers. Que me suggérez-vous ? | ||
- | A: Let me address the last part first, on the older HP laptops, HP did the skimping thing and there is only one antenna attached to the WiFi card, if you REALLY want to you can attach another. As for the main issue, it is not Ubuntu’s fault, there are usually security settings within the router, that you can set, that prevent someone on WiFI from accessing the software. | + | R : Dans LibreOffice, il y a des paramètres de « Langue ». Regardez dans « paramètres » ou dans « options ». Vous voulez la « touche de séparateur de décimal ». Cochez ou décochez la case qui dit « la même que la localité ». |
+ | |||
+ | **Q: I recently got an old HP laptop from my Aunt. I have decided on Ubuntu as it is the prettiest. There is just one thing I can’t wrap my head around. I can access my router at 192.168.0.1 when I have a cable plugged in, but I cannot access it with wifi. The local PC guy suggested that I update my drivers, but so far I have been unsuccessful in loading any drivers for my laptop. I have no other issues with the wifi other than it being a bit weak. | ||
+ | |||
+ | A: Let me address the last part first, on the older HP laptops, HP did the skimping thing and there is only one antenna attached to the WiFi card, if you REALLY want to you can attach another. As for the main issue, it is not Ubuntu’s fault, there are usually security settings within the router, that you can set, that prevent someone on WiFI from accessing the software. | ||
Q: It has been a while since I have used Linux and I keep coming back to Ubuntu. I now have the jellyfish and I wanted to ssh into all my Raspberry PI’s. I went looking for PAC manager to find it had sadly died. Before you say anything, I don’t want to muck with w.i.n.e. Is there some way I can have this on Ubuntu? https:// | Q: It has been a while since I have used Linux and I keep coming back to Ubuntu. I now have the jellyfish and I wanted to ssh into all my Raspberry PI’s. I went looking for PAC manager to find it had sadly died. Before you say anything, I don’t want to muck with w.i.n.e. Is there some way I can have this on Ubuntu? https:// | ||
+ | A: I see your card and raise you this one: https:// | ||
- | A: I see your card and raise you this one: https://www.asbru-cm.net/ | + | Q : Récemment, ma tante m’a donné un vieux portable HP. J’ai décidé d’y mettre Ubuntu, car c’est le plus joli. Il y a juste une chose que je n’arrive pas à comprendre. Je peux accéder à mon routeur à 192.168.0.1 quand l’Ethernet est branché, mais je ne peux pas y accéder avec le WiFi. L’homme qui s’occupe des PC localement a suggéré que je mette à jour mes pilotes, mais, jusqu’ici, |
+ | R : Permettez-moi de répondre par la dernière partie en premier : sur des portables HP vieillissants, | ||
- | Q: How can I find out which executables need sudo and which ones don’t and is it possible to group them? | + | Q : Je n’utilise pas Linux depuis un certain temps et je reviens sans cesse à Ubuntu. J’ai maintenant Jellyfish et je voulais accéder à tous mes Raspberry PI via ssh. Quand j’ai cherché le gestionnaire du PAC, j’ai trouvé qu’il était mort tristement. Avant que vous ne disiez quelque chose, je vous préviens que je ne veux pas bricoler avec w.i.n.e. Y a-t-il une façon d’avoir ceci sur Ubuntu ? |
+ | R : Je vois votre carte et je relance celle-ci : https:// | ||
- | A: I am not sure I understand your question, but it is not the executables themselves, rather the permissions you set. You* set a file to be executable or not as well as the owner and group the file is in. You can group any files you like and edit their permissions to make them require sudo or not, eg 777. | ||
+ | **Q: How can I find out which executables need sudo and which ones don’t and is it possible to group them? | ||
+ | |||
+ | A: I am not sure I understand your question, but it is not the executables themselves, rather the permissions you set. You* set a file to be executable or not as well as the owner and group the file is in. You can group any files you like and edit their permissions to make them require sudo or not, eg 777. | ||
Q: I have a clean Ubuntu 20.04 install on my Lenovo laptop. I am unable to turn on the Bluetooth. It remains greyed out. I have tried everything I could find on the web, but it stays off. | Q: I have a clean Ubuntu 20.04 install on my Lenovo laptop. I am unable to turn on the Bluetooth. It remains greyed out. I have tried everything I could find on the web, but it stays off. | ||
- | A: There are a few possibilities; | + | A: There are a few possibilities; |
+ | Q : Comment connaître les exécutables qui ont besoin de sudo et ceux qui n’en ont pas besoin ? Aussi, peut-on les regrouper ? | ||
- | Q: I have a serial port card that we tested with and Ubuntu motherboard. I don’t have UFW running or any firewall set up. I know it works, I just can’t get it working in Ubuntu 20.04 on the PC. Here is the output and dmesg; <image removed> | + | R : Je ne suis pas certain de comprendre votre question, mais ce ne sont pas les exécutables eux-mêmes, mais plutôt les permissions que vous devez régler. C’est VOUS qui réglez un fichier pour qu’il soit exécutable ou pas, ainsi que le propriétaire du fichier et le groupe dans lequel le fichier se trouve. Vous pouvez grouper tous les fichiers que vous voulez et éditer leurs permissions pour qu’ils aient besoin de sudo ou pas, par exemple 777. |
+ | |||
+ | Q : J’ai une installation propre d’Ubuntu 20.04 sur mon portable Lenovo et je ne peux pas activer le Bluetooth. Il reste grisé. J’ai essayé tout ce que j’ai pu trouver sur le Web, mais il reste désactivé. | ||
+ | |||
+ | R : Il y a quelques possibilités : | ||
+ | |||
+ | |||
+ | **Q: I have a serial port card that we tested with and Ubuntu motherboard. I don’t have UFW running or any firewall set up. I know it works, I just can’t get it working in Ubuntu 20.04 on the PC. Here is the output and dmesg; <image removed> | ||
A: This reads funny, but I may have an idea what you mean. The short answer is that you are not using Ubuntu, you are using ubuntu flavoured WSL, which has windows drivers and shenanigans in between the OS and the card too, that need to be considered. | A: This reads funny, but I may have an idea what you mean. The short answer is that you are not using Ubuntu, you are using ubuntu flavoured WSL, which has windows drivers and shenanigans in between the OS and the card too, that need to be considered. | ||
Ligne 47: | Ligne 69: | ||
- | A: I have no experience in this field and though I have set up school labs before, the control software has always been proprietary. May I suggest Parental control software? Maybe this: https:// | + | A: I have no experience in this field and though I have set up school labs before, the control software has always been proprietary. May I suggest Parental control software? Maybe this: https:// |
+ | Q : J’ai un port série sur une carte qu’on a testé avec et une carte mère sous Ubuntu. Je ne lance pas UFW et je n’ai configuré aucun pare-feu. Je sais qu' | ||
- | Q: I try to use shared drive on Windows to copy files, no domain only workgroup. I follow the tutorial, it says: I run the following command: root@minecraftsvr:/# | + | R : Cela se lit un peu bizarrement, mais j’ai peut-être une idée de ce que vous voulez dire. La réponse courte est que vous n’utilisez pas Ubuntu, mais vous utilisez WSL avec la saveur d’Ubuntu, qui a des pilotes de Windows |
- | A: What happens when you leave off the version part? | + | Q : Salut. Y a t-il une façon de restreindre l' |
+ | R : Je n’ai aucune expérience dans ce domaine et, bien que j’aie déjà configuré des laboratoires d’école, le logiciel de contrôle a toujours été propriétaire. Puis-je suggérer un logiciel de contrôle parental ? Peut-être ceci : https:// | ||
+ | |||
+ | **Q: I try to use shared drive on Windows to copy files, no domain only workgroup. I follow the tutorial, it says: I run the following command: root@minecraftsvr:/# | ||
+ | |||
+ | A: What happens when you leave off the version part? | ||
Q: I have been hesitant to install a “certificate” | Q: I have been hesitant to install a “certificate” | ||
- | A: It is a very in-depth topic, too much for a QnA. The operating system will not make a difference as you are compromising the basic chain of trust. I would not, it would mean that you cannot do ANYTHING private on that computer on the internet again, EVER, like banking. I would explain to her, it’s like giving the mailman, the postman, the creepy neighbour all keys to your house and they come in and sniff her underwear whenever they like. (you can go nuclear and say they will come watch her on the loo or something) | + | A: It is a very in-depth topic, too much for a QnA. The operating system will not make a difference as you are compromising the basic chain of trust. I would not, it would mean that you cannot do ANYTHING private on that computer on the internet again, EVER, like banking. I would explain to her, it’s like giving the mailman, the postman, the creepy neighbour all keys to your house and they come in and sniff her underwear whenever they like. (you can go nuclear and say they will come watch her on the loo or something)** |
+ | Q : J’essaie d’utiliser un disque partagé sous Windows pour copier des fichiers, sans domaine, avec seulement un groupe de travail. Je suis le tutoriel qui dit de lancer la commande suivante : root@minecraftsvr:/# | ||
- | Q: I spent a lot of time gathering scripts over the last few years and finally set down to make one for my new Ubuntu 22.04 install. It turned out to be a disaster, as most of it failed, and with errors I have not come across before, using those scripts (singularly). I feel like a total newb, and maybe I am, but it just can’t be this difficult? < | + | R : Que se passe-t-il lorsque vous omettez la partie version ? |
+ | |||
+ | Q : J’hésite à installer un « certificat » pour utiliser le WiFi gratuit de notre ville ; quelles en sont les implications pour moi ? Est-ce que l’utilisation de la partition Ubuntu ou de la partition Windows fera une différence ? | ||
+ | |||
+ | R : Il s’agit d’un sujet en profondeur, qui est trop pour la rubrique Q. ET R. Le système d’exploitation ne fera aucune différence, | ||
+ | |||
+ | |||
+ | **Q: I spent a lot of time gathering scripts over the last few years and finally set down to make one for my new Ubuntu 22.04 install. It turned out to be a disaster, as most of it failed, and with errors I have not come across before, using those scripts (singularly). I feel like a total newb, and maybe I am, but it just can’t be this difficult? < | ||
A: It all comes down to the editing: https:// | A: It all comes down to the editing: https:// | ||
Ligne 71: | Ligne 107: | ||
A: Rather use: | A: Rather use: | ||
- | sudo apt install docker.io | + | sudo apt install docker.io |
+ | |||
+ | I got that advice the first time I installed docker and it simplified things hundred-fold. ** | ||
+ | |||
+ | Q : J’ai passé beaucoup de temps ces dernières années à rassembler des scripts et je me suis enfin assis pour en créer un pour ma nouvelle installation d’Ubuntu 22.04. Mais c’était un désastre, car l’échec était quasi complet et avec des erreurs que je n’avais pas vues auparavant, en utilisant (uniquement) ces scripts. J’ai l’impression d' | ||
+ | |||
+ | R : Tout se résume à l’édition : | ||
+ | |||
+ | |||
+ | Q : J’essayais : https:// | ||
+ | |||
+ | |||
+ | R : Utilisez plutôt : sudo apt install docker.io | ||
+ | |||
+ | On m’a donné ce conseil la première fois que j’ai installé docker et cela a beaucoup simplifié les choses. | ||
+ | |||
+ | |||
+ | **Q: I have installed a fresh [22.04]. Only issue I have is that my shut down is actually a restart and I can’t figure out a way to shut down my system. | ||
- | I got that advice the first time I installed docker and it simplified things hundred-fold. | ||
- | Q: I have installed | + | A: Remove all external devices and if you have a CD/ DVD ROM, disconnect it. 9/10 it is a device causing it. (including keyboards |
+ | Q : J’ai fait une nouvelle installation de la 22.04. Le seul problème que j’ai est que l’arrêt est en fait un redémarrage et je ne trouve pas comment arrêter mon système. Des gens m’ont suggéré d’utiliser la commande shutdown à partir de la ligne de commande, mais son comportement est le même. Pourriez-vous, | ||
- | A: Remove all external devices and if you have a CD/ DVD ROM, disconnect it. 9/10 it is a device causing it. (including keyboards and mice) Once it actually shuts down, it will do so from then onwards, regardless of the device. I don’t know why. I just know it is. I know it becomes more difficult on things like laptops, but make sure SD cards, PCMCIA | + | R : Enlevez tous les dispositifs externes et, si vous avez un lecteur de CD/ |
issue181/q._et_r.1653679861.txt.gz · Dernière modification : 2022/05/27 21:31 de d52fr