32

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 ...


25

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 ...


18

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 ...


16

I'm sure there are lots of differences but none which would make you choose wheezy over jessie. jessie is the more up to date and will be better supported. You should be using jessie.


9

[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 ...


9

Try using wicd: sudo apt-get install wicd Wicd is a network manager application (wireless and wired), it a good alternative to Network Manager


9

As far as I am aware collabora is still using wheezy based software, it has not been upgraded to jessie. If you want to use that repository change its entry back to wheezy from jessie.


8

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: /dev/serial/by-path/platform-bcm2708_usb-usb-0:1.3:1.0-port0 /dev/serial/by-...


8

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.


8

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 ...


8

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 ...


7

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 ...


7

Clarifications first 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 ...


7

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 ...


6

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.


6

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% ...


5

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 ...


5

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/...


5

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: swapoff --all dphys-swapfile swapoff To /etc/rc.local. Then I want you to read this, and if you then are not convinced that the unfounded and absurd concerns about wearing an SD ...


5

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 /...


5

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 ...


5

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 ...


5

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.


5

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 ...


5

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/...


5

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. ...


4

In C# Mono I'm doing this: private string GetRpiSerial() { CommandSync("cat /proc/cpuinfo | grep Serial | cut -d ':' -f 2 > /home/pi/serial.txt"); using (var sr = new StreamReader("/home/pi/serial.txt")) { return sr.ReadLine().Trim(); } } public static void CommandSync(string cmd, string args) { var info = new ...


4

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 smsc95xx....


4

You may find luck with this command: echo 0x0 > /sys/devices/platform/bcm2708_usb/buspower This seems to disable the USB ports. I haven't tested it though.


4

It was probably the pi user; the only two login accounts initially are pi and root. pi is user and raspberry is password initially. UN = pi PW = raspberry


Only top voted, non community-wiki answers of a minimum length are eligible