I have found how to get NetworkManager (and systemd-resolved) working on Raspbian 9 (Stretch). NetworkManager is very useful when you need to manage multiple VPN connections with split DNS, wifi networks and other advanced network settings directly from the Pixel Desktop.
Here is how to do it:
Install the needed packages with the following command:
sudo apt ...
If look at the /etc/init.d/skeleton script, in the beginning of it there are two marks : ### BEGIN INIT INFO and ### END INIT INFO.
All the data inside those marks is the configuration for runtime dependences and you can look them up in the Debian Wiki.
Your script is missing these tags and configuration so insserv just uses some defaults.
This is just a ...
The Gammu documentation suggests (but doesn't go into any detail of) a workaround,
Edit: Atmel has an Application Note that nicely describes the enumeration process.
Enumeration changes because it happens in a conversation between host, hub and device, and response timing from each of these may vary, even if the setup is identical from one reboot to the ...
[Most of this answer is outdated and will not be useful with versions of Raspbian beyond the first one, "jessie".]
If all the ethernet lights are on when the cable is in, and you can connect a monitor and keyboard or a serial line as John suggests, you should be able to get the connection up.
First, just run ifconfig. Possibly eth is not up, and you will ...
You've partially answered your own question, but there is another way of doing it, especially for serial devices: the /dev/serial/* paths. I have a Prolific USB→RS232 interface on my Raspberry Pi which almost invariably shows up as /dev/ttyUSB0. But it also appears on the system as:
Whichy display are you using to display your graphics? I believe that display 0 is the HDMI output on the Pi.
You'll need to tell pygame to use the TFT:
os.environ["SDL_FBDEV"] = "/dev/fb1"
You can directly call pygame.init() after this. No need to deal with different drivers etc. etc.
Is there a command that I can run to clean up (uninstall) all non essential packages
No, since "non-essential" is hugely subjective. If you mean, the bare minimum to have a running system, then that wouldn't include things that make it a "server". If you mean, just the bare minimum plus whatever you need to make it a server, this begs the question, "What ...
Here is how I made it work.
Almost everything here needs to be done as super-user, so use 'sudo bash' or put sudo in front of everything (if not already shown).
The following basic steps are needed:
Arrange for the 'i2c' drivers to be present if not already;
there is an additional driver for rtc_ds1307
remove fake-hwclock. This is a subsystem which will ...
This page ranks quite highly in search results for people looking for networking help on Raspberry Pi. Unfortunately, the steps detailed here are out-of-date as of Feb 2020.
At that point in time, to get Network Manager handling wifi on current Pi OS:
sudo apt update
sudo apt install network-manager network-manager-gnome
Check /etc/network/interfaces - it ...
Did you try to keep a ping command running on the Raspberry (ping your router IP for example)? Does it stop after awhile? Or does it work but you can't connect to SSH somehow?
Disable WiFi power saving
Are you using power saving mode on the WiFi dongle? Check it:
$ iw wlan0 get power_save
Power save: on
If it is ON, perhaps try to ...
Not comming up with a complete answer but some thoughts on that matter.
Let's have a look at the hardware side: schematics unfortunately not helpful for the Pi B+ and not even available for the Pi2, so we are stuck with B Rev 2.1 here for now.
The audio output of the headphone jack is generated by PWM. Right from the BCM2835's GPIO pins 40 and 45 through a ...
It's not a problem for root. Because on ext filesystems 'root' user has extra %5 reserved space on filesystem while formatting. If that reserved space filled up you will not create file/dir on filesystem neither. Delete some files on your filesystem to get free space.
The 8GB is only the guideline size of a card. Because of the nature of flash memory and management of dead cells there are slight variations in actual usable space.
This usable space will also decrease as the card gets older and older. With SSD's and SD cards like this it is a good idea to leave a small amount of space that is unused. I would say about 1% ...
To run your program just add it to ~/.bashrc using sudo, as the pi user has sudoers permissions without password authentication already, this way the program will be started when you login.
What you can do instead to is create a service unit, is you are using arch on your pi just create a new systemd unit file in /etc/systemd/system and then enable it, the ...
For the sake of providing an answer specific to raspbian.
The background is set via /etc/alternatives/desktop-background so the background can be changed through two different ways:
sudo update-alternatives --config desktop-background and you will get a list to choose from. Those are background provided by packages.
manually overwrite the /etc/alternatives/...
You went about this the wrong way. If you had simply disabled the service (update-rc.d -f dphys-swapfile) instead, it would be much easier to fix.
You could also have just added:
Then I want you to read this, and if you then are not convinced that the unfounded and absurd concerns about wearing an SD ...
After plugging in the device, (or after boot if it's already plugged in), you should see in dmesg what the device has been registered as in /dev. The device registration will also trigger a udev call. You can create a custom rule to always assign it to a specific device.
For example, creating a /udev/rules.d/90serial file with this should work, and create /...
It outputs current at 800 ma/h
I think this measurement/units are wrong. Amps are defined as Coulombs/s. So your current cannot be 800 mA/h. Your output current is 800mA. You can give a measure of the energy hours stored in the battery using a unit like A*h. But I digress...
What matters here is the output current, I think as long as you're close to 1Amp ...
Ok, so I figured it out:
I needed to comment out one line in /etc/ld.so.preload file by adding # at the line beginning before starting Raspbian (problems with booting disappeared) and use:
qemu-system-armw.exe -M versatilepb -m 256 -cpu arm1176 -no-reboot -serial stdio -kernel kernel-qemu -hda rpi_disk.vmdk -append "root=/dev/sda2 panic=1"
command to ...
Problem solved. Actually I've made some local change in sources.list file according to local server.Now I've changed it and make it as original.
Use sudo apt-get update and sudo apt-get install libgtk-3-dev(for gtk-3) or sudo apt-get install libgtk2.0-dev(for gtk-2) Now its working.
Since Pi 2 has a ARM Cortex-A7 CPU it does not depend on the hard float modification anymore.
It never depended on it. The SoC has hardware floating point registers; not all ARM processors do, and those systems require libraries and executables compiled to perform equivalent operations using software. Hence the "soft" and "hard" -ware versions. You can ...
Raspbian jessie does have ssh enabled by default, I don't know if wheezy have ssh enabled by default. What I recommend doing is:
Go to the terminal
And type: sudo raspi-config
Go to advanced options
In the advanced options will be an option to enable/disable ssh.
There you can enable SSH
More information here: https://www.raspberrypi.org/documentation/...
There is no magic in the image file. It's simply a bit-for-bit copy of a chunk of the sd card. What you want to do is figure out exactly where the second partition ends, and copy from the device file representing the whole card (in this case: /dev/sdb.
Now, look at how your partitions are laid out: in your case, it's partition 1 followed by partition 2. ...
Had the same issue too.
This causes a "bug" which freezes the SoC Controller.
I've succesfully fixed this with the following options:
Add the following to /boot/cmdline.txt (which must remain as one line):
smsc95xx.turbo_mode=N dwc_otg.dma_enable=1 dwc_otg.dma_burst_size=256 elevator=deadline
view dwc_otg parameters and their description here