Linux Tutorial: Build Your Own Custom Linux Distro with Yocto |
- Tutorial: Build Your Own Custom Linux Distro with Yocto
- Put PC in hibernation, turned it on, got grub rescue.
- Which distro is the least pain in the ass for gaming?
- Geoip and whitelisting just one country - How?!
- I am about to give PCLinuxOS a try. Anyone have tips, tricks, or gotchas to look out for?
- Adding non-official repo. How to determine whether to trust it or not?
- Videos : My most used Linux commands
- sudoers file help?
- Ubuntu Derivitives Only. How I fixed or improved my Display Port, Audio, ThunderBolt, Graphics, GamePad issues and more on my newish Laptop.
- Can I open word docs on LibreOffice??
- Which files to backup before reinstalling?
- Use the phone as microphone for Discord
- How can I turn my laptop into a "Wi-Fi router" under Linux?
- Immediate shutdown on battery low, dconf not working on mint?
- Installed Lubuntu - cannot install/run VLC in English. It always installs and opens in "Greek". Help?
- How to hide unwanted drives
- How to turn "echo on" during grub boot?
- Is there a way to log into an existing session with ssh?
- Creating a live windows partition/installing windows on a usb
- Using i3 and wallpaper changes back to stock after log out.
- I'm NEW to linux
- Best screen-recording software for linux?
- How can we ensure that FOSS projects are not hijacked?
- packet tracer
- Absolute Torrent Beginner: Do You have to open any ports on your linux machine or router to be able to torrent? What about using a VPN with very strict iptables/ufw rules (only allowing internet traffic through tun0/UDP/Port 1194?
Tutorial: Build Your Own Custom Linux Distro with Yocto Posted: 29 Sep 2019 12:23 PM PDT The learning curve for any embedded development tool can be tough. Most people who use complex, powerful tools like this have been through college and spent several years mastering them in day to day life. Yocto is no exception to the list, but the potential to create a robust, custom Linux distribution that meets your needs is game changing. Especially considering where the technical market has been driving the past couple decades. It's now easier than ever to host a whole operating system on a small embedded system for a low cost. At DornerWorks, we believe in simplifying innovation and openly helping you achieve your goals. This blog will help you build your own Linux image with Yocto, providing helpful tips for those who are just getting started. Hardware and OS RequirementsThe computer that you are building on should have at least 8GB of RAM and 120GB of hard drive space. It can be done with less, but Yocto can be resource-intensive, depending on what your end goal is. The build host should also be running a supported Linux distribution. I recommend Ubuntu. It's simple to use, has a modern look, and is well maintained. You can also use:
If you're using Windows or Mac, checkout VirtualBox which will allow you to run a virtual Linux machine inside your computer. DependenciesLet's start off by making sure you have the correct dependencies installed on your Ubuntu machine. If you are using a distribution other than Ubuntu, visit The Build Host Packages section of the Yocto Project Quick Start guide.
Clone Yocto PokyYou can download the latest version of Yocto from the Yocto Project website. It's probably best to clone the repo with git. This makes it easier to update later and saves time in setup. Currently the command to clone the repo is as follows, which automatically checks out the latest release (the "sumo" branch).
You can put this directory anywhere you'd like to. I'd recommend cloning the repo into something like InitializingIn order to build anything in Yocto, you need to initialize the environment. Execute the following commands to navigate into the repo that you cloned and initialize the build environment.
This is an easy step but a couple things happen here. Mainly, the You don't need to source the ConfiguringThe configuration file is located in the
Replace the value "X" in the lines with twice the number of processors/CPUs you have for you computer. For example if there are 4 processors, the lines would look like this Build imageTo build the image, enter the command ConclusionWhile Yocto can be a difficult tool to master, getting started in the right direction is essential. Pretty soon you'll be running your own custom Linux distribution on the hardware of your choice! For further help in developing your product see some of our other Yocto resources and grab our free development series (walkthroughs, tips & tricks, and more) here: https://dornerworks.com/custom/software/yocto-development-series [link] [comments] |
Put PC in hibernation, turned it on, got grub rescue. Posted: 29 Sep 2019 09:07 AM PDT |
Which distro is the least pain in the ass for gaming? Posted: 28 Sep 2019 09:37 PM PDT I did it. I broke my 3 month old mint install. I have a laptop with an integrated intel card. Edit: and an Nvidia gpu [link] [comments] |
Geoip and whitelisting just one country - How?! Posted: 29 Sep 2019 11:18 AM PDT Hey guys, I think I got the idea down, but I'm having a tremendous amount of difficulty in implementing this. Long story short, I want to have my ubuntu server (18.04) firewall blocking all outside contact attempst to be rejected by default, if it comes from a country that is not my own. So let's say that I'm from Ireland, the server has no business in allowing connections coming from china. Simple. In practice? I'm pulling my hairs. I've read about GeoIp, I haven't found an updated manual since the company Max stopped updating the IP lists in the IPtable format. Can anyone help me in achivieing this? [link] [comments] |
I am about to give PCLinuxOS a try. Anyone have tips, tricks, or gotchas to look out for? Posted: 29 Sep 2019 06:46 AM PDT |
Adding non-official repo. How to determine whether to trust it or not? Posted: 29 Sep 2019 08:06 AM PDT Want to add this repo to use Qomui, a GUI for connecting to VPN with killswitch implemented https://software.opensuse.org//download.html?project=home%3Acorrad1nho&package=qomui During the install, I'm presented the key fingerprints and am asked whether to reject or trust the key. So for non-official repos in general, how do you determine whether or not to trust it? And if you trust and import the key, is the purpose of that to check if the key still matches when there's an update to the repo? [link] [comments] |
Videos : My most used Linux commands Posted: 29 Sep 2019 02:02 AM PDT Hi all. I'm making a new serie of videos about my most used Linux commands. Greetings, NicoD [link] [comments] |
Posted: 29 Sep 2019 11:51 AM PDT in default sudoers file it says:
[link] [comments] |
Posted: 29 Sep 2019 09:03 AM PDT The Big Fix --- Ubuntu Derivatives only. For NEWISH LAPTOP Display Port, GamePad,Thunderbolt, Audio issue, System freeze and more Fixes in new Kernel Install this PPA and update. This PPA is canonical STABLE dont be scared by the wording. Its post Ubuntu Mainline. In 6 years Ive never had an issue. ever. Its how FOSS works. gems hiding in plain site. sudo add-apt-repository ppa:canonical-kernel-team/proposed sudo apt-get update # Then prep. A. [ sudo apt update && sudo apt full-upgrade ] B [sudo apt --fix-broken install && sudo apt --fix-missing install ] C. [ sudo apt autoclean && sudo apt autoremove && sudo update-grub ] IMPORTANT NOTE BELOW! Follow order exactly is using terminal Depends on your OS type, download and install the packages in turns when using CLI. # Install with Synaptic Package Manager. [ sudo apt update] [ sudo apt install --reinstall --install-recommends synaptic ] [ sudo apt install --reinstall --install-recommends dkms ] # Refresh repo. then search [ kernel ] # now in the version column click the top of column to manipulate the order from Highest to descending # install these packages with version. 5.3.0-12.13~18.04.2. Backup Kernel
5.3.0-12.13~18.04.2 Installed and running Kernel
_________________________________________________________________________________________________________________________ #Exit Synaptic # # Open Terminal [ sudo update-grub && sudo update-initramfs -c -k all ] [ sudo shutdown ] Extra Sys. Mon. Capabilities. Essential. from Ubuntu Main repo [ sudo apt update ] [ sudo apt install --reinstall --install-recommends thermald ] [ sudo apt install --reinstall --install-recommends lm-sensors ] [ sudo apt install --reinstall --install-recommends libsensors4-dev ] [ sudo apt install --reinstall --install-recommends mrtgutils-sensors ] [ sudo apt install --reinstall --install-recommends fancontrol ] [ sudo apt install --reinstall --install-recommends read-edid ] [ sudo apt install --reinstall --install-recommends i2c-tools ] [ sudo apt install --reinstall --install-recommends intel-microcode ] [ sudo apt install --reinstall --install-recommends amd64-microcode ] [ sudo apt install --reinstall --install-recommends fwupd fwupdate ] # # Open Terminal [ sudo apt update && sudo apt upgrade && sudo apt dist-upgrade && sudo apt full-upgrade ] # Usually just [ sudo apt update && sudo apt full-upgrade ] # Check packages and dependencies installed correctly [ sudo apt update && sudo dpkg --configure -a && sudo apt -f install && sudo apt --fix-missing install ] # remove old packages [ sudo apt autoclean && sudo sudo apt autoremove ] [ sudo update-grub && sudo update-initramfs -c -k all ] [ sudo shutdown ] # reboot tool install packages the update system firmware #Normally, fwupd should already be installed on your Linux system. # If not, install it using the package manager of your distribution. #Open a terminal and update your system first (commands applicable for Debian and Ubuntu-based distributions): #After that you can use the following commands one by one to start the daemon, refresh the list of available firmware updates and install the firmware updates. #Once the daemon is running, check if there are any firmware updates available. #The output should look like this: Fetching metadata https://cdn.fwupd.org/downloads/firmware.xml.gzDownloading… [****************************]Fetching signature https://cdn.fwupd.org/downloads/firmware.xml.gz.asc #After this, run the firmware update: #The output of the firmware update could be similar to this: EXAMPLE OF OUTPUT #No upgrades for XPS 13 9360 TPM 2.0, current is 1.3.1.0: 1.3.1.0=same#No upgrades for XPS 13 9360 System Firmware, current is 0.2.8.1: 0.2.8.1=same, 0.2.7.1=older, 0.2.6.2=older, 0.2.5.1=older, 0.2.4.2=older, 0.2.3.1=older, 0.2.2.1=older, #0.2.1.0=older, 0.1.3.7=older, 0.1.3.5=older, 0.1.3.2=older, 0.1.2.3=older#Downloading 21.00 for XPS13 9360 Thunderbolt Controller…#Updating 21.00 on XPS13 9360 Thunderbolt Controller…#Decompressing… [***********]#Authenticating… [***********] #Restarting device… [***********] #This should handle the firmware update. # Reboot to install firmware. # Check any changes / fixes / workarounds have be been overwritten to default. # If in your BIOS you have an audio codec choice AC97 / HD-Audio choose HD-Audio. # Upgrade Bios to latest Version. Flash x3 times to ensure it sticks correctly. "Speaker and Headphone Output One of the most frequent (and obvious) bugs with HD-audio is the silent output from either or both of a built-in speaker and a headphone jack. In general, you should try a headphone output at first. A speaker output often requires more additional controls like the external amplifier bits. Thus a headphone output has a slightly better chance. Before making a bug report, double-check whether the mixer is set up correctly. The recent version of snd-hda-intel driver provides mostly "Master" volume control as well as "Front" volume (where Front indicates the front-channels). In addition, there can be individual "Headphone" and "Speaker" controls" USERNAME_MURPHY [link] [comments] |
Can I open word docs on LibreOffice?? Posted: 29 Sep 2019 01:59 PM PDT |
Which files to backup before reinstalling? Posted: 29 Sep 2019 08:36 AM PDT I am running Pi for Desktop on an older PC for the sole purpose of running Home Assistant.Being new, I've mucked up some things and I would rather just start fresh, but I *really* don't want to have to set up the NFS, Samba, and user permissions I've already set up. I want to be sure I back up the correct files so I can open them and copy/paste anything. I just kind of grabbed what I thought I may need (I do have my Hassio backups saved, too) but would love if someone can point out something I may want to grab. https://i.redd.it/4qdxcmswyjp31.jpg Thank you in advance! [link] [comments] |
Use the phone as microphone for Discord Posted: 29 Sep 2019 06:05 AM PDT On windows I used WoMic (it's a client+virtualmic-driver* on the PC and a server on the phone) that creates a virtual mic. (\ So I can't use it on Wine, at least I never managed to install drivers on it)* I followed the WoMic instructions for Linux without any success (it just makes a quiet audio file). There are other solutions? I need it to use wireless (local wifi, like womic) - all the solutions that I found are involved on using an audio jack (phone's jack output = phone mic input). I'm on EndeavourOS (arch btw) with Pulseaudio (if it make any difference). [link] [comments] |
How can I turn my laptop into a "Wi-Fi router" under Linux? Posted: 29 Sep 2019 11:51 AM PDT In other words, I want to find a way to share my laptop's internet connection over Wi-Fi to other devices, namely game consoles and a Windows desktop PC. EDIT: I know that Ubuntu has a "Use as Hotspot" option under Network Settings. This method doesn't allow me to go online through Wi-Fi on the laptop when it's enabled, unfortunately. Is this possible? If so, what's your recommended method to make it happen? Thanks, all. [link] [comments] |
Immediate shutdown on battery low, dconf not working on mint? Posted: 29 Sep 2019 11:43 AM PDT Hi, I tried this before on /r/linuxmint but to no avail. Ever since I got my computer set up I've had a problem with the computer shutting down immediately without warning. From research it seems that the warnings not appearing is a problem where they do not show in fullscreen. And the immediate shutdown should be changeable with using dconf editor. However It seems to me that none of the settings i change using dconf have any effect. For example altering the power button function or lid close action. The only other alternative i have found is using Battery Applet with Monitoring and Shutdown, BAMS. However that caused horrible stuttering for me. Anybody have any ideas? [link] [comments] |
Posted: 29 Sep 2019 05:37 AM PDT I've installed Lubuntu on an older laptop. It runs great, except this one thing: Whenever I install VLC either through the Synaptic Package Manager or LX Terminal, it installs it in Greek. I have no idea why, since all my system is set to U.S. English. There are no settings to change the interface language in the Linux version of VLC that I can see. I've tried Googling my problem and I came accross a recomendation to launch it with the "LANGUAGE=en" added parameter. However, all this does is give me an error in Greek upon launch (that I can't understand) and does nothing to change the interface language. Any solution? PS: Yes I've tried reinstalling it and rebooting many times. PPS: Learning Greek is also not an option for me. Thanks! Edit 1: Looks like it launches in the correct language when I launch it from another account I just created, but still not in the correct language in my main account. Edit 2: Also, VLC is struggling to play 30 fps videos, playing only 1 frame per second with JPEG artifacts. No idea why - the same videos play smoothly in MPV Media Player. Can this also be fixed? Edit 3: Language issue fixed by emptying the .config folder. I don't know which config file was screwing it up, because it wasn't the VLC config folder. But anyways, issue is resolved. [link] [comments] |
Posted: 29 Sep 2019 11:33 AM PDT So i dual booted Ubuntu and Win10 but when i explore ubuntu i keep finding the separate drive that win10 is in. Is there a way to hide it from Linux so i don't accidentally do something to it ? [link] [comments] |
How to turn "echo on" during grub boot? Posted: 29 Sep 2019 10:44 AM PDT When I boot off of my Manjaro USB stick, I see all sorts of cool I tried editing grub, but it's unsuccessful (you can see the old version commented out on the bits I thought would solve this. I omitted some lines which are obviously not involved, but if you think they're important let me know):
[link] [comments] |
Is there a way to log into an existing session with ssh? Posted: 29 Sep 2019 10:40 AM PDT For example, open up a terminal on my laptop and run some programs, then I move over to my desktop. Can I ssh in to that terminal window on my laptop to access those running programs? If not, is there any way of doing this? [link] [comments] |
Creating a live windows partition/installing windows on a usb Posted: 29 Sep 2019 10:16 AM PDT I know I know, windows bad. But I need to use windows and I've tried just about everything. I put it on the (external) hdd I wanted it installed on but windows can only be installed on NTFS file systems (but you can only boot windows from FAT). So then I moved the windows booter into a separate usb and formatted my hdd to NTFS. But you can't install windows from usb to usb. Then I created a third partition on my hdd which was in FAT and another partition in NTFS, but windows can't install onto a usb (from boot) at all. Then I tried to find software that creates a live windows partition but they don't work on WINE. The only open source software (woeusb) gives me an error saying my hdd is mounted even though it isn't. I would use virtualbox but it's so slow, I can't get past the installation. Also, I kind of need the performance. At this point, I'm thinking about resizing and creating a new partition in my main ssd but I don't really want to back everything up. Does anyone know any other way? Thanks for your time. I'm running Ubuntu LTS 1.8.0.4 [link] [comments] |
Using i3 and wallpaper changes back to stock after log out. Posted: 29 Sep 2019 10:15 AM PDT Okay, so I switched to manjaro i3 and I have changed the config file to include: Now when I log out and log back in it has the wallpaper that I want for a second then it switches back to the default. However, when I restart i3 the correct wallpaper comes up. I think there is some other desktop management software installed that is doing this, but I can't seem to find anything. Any help would be greatly appreciated. [link] [comments] |
Posted: 29 Sep 2019 10:11 AM PDT What would you recommend me to download? (Already have chrome) [link] [comments] |
Best screen-recording software for linux? Posted: 29 Sep 2019 09:35 AM PDT I use pop!os by the way so bonus points if it's on the pop!shop [link] [comments] |
How can we ensure that FOSS projects are not hijacked? Posted: 29 Sep 2019 09:24 AM PDT Hi, potentially stupid question, but still. How can we ensure a given FOSS project is not hijacked? For example, there's a hypothetical project, published on github under GPLv2 license. Then someone comes into the home of the developer while he's logged into github, kills the developer, and then changes the license to something super proprietary? What prevents something like this happening to FOSS projects? I'm more concerned about the vitally important projects, like GNU or linux kernel... [link] [comments] |
Posted: 29 Sep 2019 05:36 AM PDT I have been trying to install packet tracer since couple of hours and this error has been bugging me.I am not being able to figure this out. [link] [comments] |
Posted: 29 Sep 2019 03:18 AM PDT |
You are subscribed to email updates from Linux 101 stuff. Questions are encouraged, noobs are welcome!. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment