Questions tagged [linux]

Linux is a high-profile computer operating system. The Raspberry Pi can run one of a number of Linux distributions, the most pupular being Raspbian (Debian-based) and Arch Linux.

2
votes
2answers
3k views

open a win32diskimager-imported file on Windows

I have a raspberry pi. I did a backup by importing an image with win32diskimager. Is there any way to open this imported image and explore the filesystem in it? I'm on Windows 8, but Windows can't ...
-2
votes
1answer
72 views

Help with Shell Scripts, creating a list of options for users [closed]

I am trying to teach myself to write Shell Scripts on my Raspberry Pi, but I am struggling to make a menu where a user can choose from these different options: display a list of current users display ...
0
votes
0answers
566 views

WiPi not going into monitor mode

Ok so on my raspberry pi using the WiPi I am trying to set it to monitor mode using. Sudo ifconfig wlan0 down Sudo iwconfig wlan0 mode monitor But it says SET failed on device wlan0; Device or ...
1
vote
1answer
138 views

Auto Connect to Public Network and then “Accept TOS”

I have a video installation in a Museum for this summer. Currently there is a USB drive in the Pi that has an auto-login / bash.rc file to automatically play *.mp4 files in Omxplayer in order then ...
1
vote
1answer
10k views

OpenVPN as a background process [closed]

i would like to run the OpenVPN service in the background. I have a script like this, that basically starts the Netherlands VPN of privateinternetaccess. vpn.sh sudo openvpn --config /etc/openvpn/...
1
vote
1answer
467 views

Configure a Raspberry Pi for wifi from an access point by USB wifi dongle

I'd like to be able to configure a Raspberry Pi to work as a wifi access point that loads an interface where users can choose the WiFi network to connect to. I've read the guides on how to make an ...
6
votes
1answer
2k views

Raspbian kernel module segmentation fault

My Raspberry Pi currently runs 3.6.11+ #538 (obtained from uname -a), which may be the source of my issues. I'm starting to write a kernel module using the following "Hello World" code: #include <...
0
votes
1answer
61 views

Fresh Raspberry Pi with Ethernet only. How To?

I'm already spent a 2 hours for such How-To. I'm looking for instruction how to setup anything, actually Linux(Ubuntu/Debian) from my Host(Ubuntu) to my Fresh Raspberry Pi. I've bought it just a ...
2
votes
1answer
184 views

How much normal Linux can I do with OpenELEC?

I was thinking of using my RaspPI Rev B with some server type things, not too much CPU. It's the one computer in my house which is always on (everything else I have is a laptop or aggressively sleeps)....
1
vote
1answer
1k views

Raspberry Pi Executables and Redirection

I have an executable that I am running on the Raspberry Pi. When the program is run, output is displayed on the terminal, but when I use the redirect operator >, I get nothing in the text file. ./...
2
votes
1answer
5k views

print a character in the usb-serial port

Hello everybody and thank you for all the answers that you give me to solve this problems. Someone said me: This code print a word that I choose in the screen, but How to send or print an ASCII ...
0
votes
1answer
82 views

Setting up Raspberry Pi and want to install Linux OS

I just recently discovered Raspberry Pi. I just want to know, if I want to install Linux on the Raspberry Pi, do I need to download and extract the NOOBS file from a Linux PC? Or Can I just use ...
0
votes
1answer
5k views

apt-get “cannot locate the package”

I was following a tutorial online so I can install a USB DisplayLink monitor, and it told me to type: sudo apt-get install git-core gcc-4.6-arm-linux-gnueabi I tried that, and it says it "cannot ...
1
vote
1answer
213 views

Transition to Embedded Linux like Pi from Microcontrollers [closed]

I am currently familiar with design/programming custom embedded systems using PIC Micro-controllers with various peripherals like I2C, SPI Flash, UART,ADC,etc with some additional analog processing ...
1
vote
0answers
3k views

How do I detect if a usb input device is plugged in?

I am using xboxdrv for my MAME controls, however I also want to use my arcade controls via the GPIO also. To do this, on boot up if a xbox controller is detected, I want to load the xboxdrv program, ...
1
vote
1answer
175 views

LFS on ARM with Blink

I am interested in creating a LFS (Linux From Scratch distro) on ARM with a HTML5 rendering layer, like how Mozilla's Firefox OS has. However, I want to use the new Blink rendering engine powering ...
3
votes
2answers
9k views

How do I restart a python program on my pi when it crashes? [closed]

I have a python program named endless.py. I want to restart it whenever it crashes, and write the time that it restarted, to a file named restartlog.txt. Here is my python code so far: import time, ...
3
votes
2answers
917 views

Does “/dev/null” writes data to SD Card before discarding?

I want to maximize my sd card lifespan and Im wondering if redirecting output to /dev/null will reduce my sd card life.
0
votes
1answer
62 views

How can I know if a network is secure before connecting to it? [closed]

before connecting to a network i want to know if it needs a password or not like in the network manager. The security of every network any commands will be welcomed
1
vote
1answer
1k views

how can we know and detect that we are disconnected from network? [duplicate]

after connecting to a network via wpa_supplicant I need a way to know if we are disconnected so we can connect again automatically.
0
votes
1answer
3k views

Openssl + Raspberry Pi

if I code a program with openssl on a Ubuntu laptop will it work when it is compiled on the Raspberry Pi or are the libraries are different? does the command sudo apt-get install openssl work on ...
3
votes
1answer
94 views

Migrating part of existing system into a pendrive

I've had a 2GB SD card containing a Arch Linux installation running for a while now, and decided to buy a 16GB pendrive to extend its space. I've formatted it to ext4 to match the filesystem on the ...
0
votes
1answer
364 views

QEMU on Raspberry Pi

I'm trying to eventually run a Debian image within Raspian, but for now I'm just trying to run Slitaz. I'm able to get the boot process going, but it hangs while loading 'rootfs(N).gz, where (N) is 1-...
0
votes
1answer
463 views

What is the best wifi adaptor available that's compatible with Kali Linux?

I've got Kali Linux up, but I'm thinking I don't have a compatible card. What is the most optimal setup regarding range, etc? What troubleshooting steps can I take to fix my incompatibility issues if ...
2
votes
2answers
9k views

Get USB address

I have a FTDI USB-Serial (UART) IC connected to my Raspberry Pi. When I type lsusb I can see all my USB buses: Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID ...
0
votes
1answer
551 views

Folder structure of Wheezy help

I'm running Wheezy and connecting via SSH, and would like pointing in the direction of a document / tutorial to understand the folder structure; eg where the sys logs are etc.
3
votes
3answers
6k views

How to use Pi for standalone automation?

I want to use the Pi for standalone home automation. As such, the Pi must boot up automatically and run a Java program. I am running Debian Wheezy hardfloat. I have little Linux experience, what ...
1
vote
0answers
143 views

Communication between Raspberry Pi over Wifi [duplicate]

I want to interface some sensors with my raspberry pi via GPIO UART serial communication and then transmit the data to another raspberry pi via wifi. I am not a pro. Any good tutotial or technique?
1
vote
1answer
2k views

Gather data from a PLC to a Raspberry Pi running Debian and then broadcast it on internet

I have an Unitronics V570 PLC which takes temperature readings. An Ethernet card enabled PLC is really expensive so I plan to connect the PLC to a Raspeberry PI. How can I use Python functions that ...
1
vote
1answer
376 views

RPi used as wakeup-light, bashscript+CEC+Raspbmc

I've a vision about using my RPi as a wake up light device along with my TV. The way it "should" work in my head is that I have it constantly on, checking the time. At a certain time it sends a CEC ...
1
vote
0answers
1k views

Kernel panic Attempted to kill init! - Android kernel on raspberry pi

I compiled an Android Linux kernel for raspberry pi. The board seems to boot with that kernel but I get the following error when it tries to run /init process. Kernel panic - not syncing: Attempted ...
3
votes
1answer
4k views

Installing OpenCV on Raspberry Pi: can't find packages

I'm trying to install OpenCV 2.4.7 on Raspberry Pi (Model B, OS: Raspbian). The guides I'm referring to are: 1. RASPBERRY PI + SIMPLECV + OPENCV + RASPICAM CSI CAMERA 2. Raspberry Pi + OpenCV 3. ... ...
1
vote
2answers
617 views

Linux - Windows 8 - Samba - Can see dir and contents but not create [closed]

I have the following setup Raspberry pi with samba installed and running Windows 8 machine that can see the samba share, access the proper DIR, see all contents In the smb.conf file, at the base of ...
3
votes
2answers
2k views

How do I boot directly to a VNC or RDP session on a Raspberry Pi?

Is there a way to boot a Raspberry Pi directly to an RDP or VNC session? I don't want to boot to a full OS with a display manager and THEN RDP or VNC. I'd like to have the Pi boot and only do ...
2
votes
2answers
495 views

Lightweight and/or legacy distro for FOTRAN hackery?

My grandfather was a programmer back in the day, and lately he's been hearing about the RPi in the news and he's expressed a desire to try one out. He can remember computers filling whole rooms and ...
5
votes
2answers
9k views

Software for displaying animated gifs? [closed]

I've been searching for days but have yet to find an application that can play scaled up animated gifs without getting choppy. The basic requirements are: Scaled to full screen (1080x1920) No window ...
0
votes
1answer
3k views

How can Raspberry Pi output a HD stream? How is graphic processing handled in Linux and Raspberry Pi 's hardware? [closed]

Raspberry Pi has something less than decent hardware and is still able to output an HD stream (that's what I have read, correct me if I am wrong). A 700 MHz ARM processor, a not-so-great GPU, but ...
1
vote
1answer
1k views

Raspberry Pi camera feed is slow

I managed yesterday to hook my "LifeCam VX-800" to my Raspberry Pi. It works just fine, but it's very very slow. I tried adjusting that by decreasing the sleep duration in the code, but that didn't ...
18
votes
2answers
12k views

What is Raspbian?

Being new to Linux, maybe this is a stupid question! I don't quite understand how this distro thing all works, is Raspbian just compiled packages with source code taken from the individual ...
3
votes
0answers
1k views

Audio/Video out of sync with PCM2704 USB key. How should I proceed? [closed]

I recently bought a PCM2704 USB sound card, which is purported to work out-of-the-box with raspbmc. I've enabled the experimental audio drivers, but now I get pretty bad A/V sync issues. Of course, ...
1
vote
1answer
792 views

How to make cross compile development enviroment that can use shared libraries from Pi?

I was able to install toolchain and compile programs that use basic c libs. But that is not really useful when compiling big programs. I've learned that, when cross compiling, compiler will look for ...
-2
votes
1answer
132 views

How to set up the Raspberry Pi [closed]

I have just gotten my Raspberry Pi. I am a beginner in Linux. Can someone please explain how I should go about starting up my computer?
2
votes
3answers
188 views

Special OS for a special device

Why does the RPi need a 'special' kind of Linux ? Why can't it run any distribution ?
4
votes
0answers
1k views

How can I read and write data to a Character Device File in Linux with PHP? [closed]

I'm trying to read and write to modules on the I2C bus on a Raspberry Pi using PHP. I'm using fopen() and fskeek(). Below is the code I've been trying to use to read data coming in from the physical ...
1
vote
0answers
1k views

Raspberry Pi Air Display [closed]

recently I've discovered air display for various configurations (mac+pc, pc+pc, etc.). I've been thinking about doing the same with raspberry pi connected to my tv. Although air display isn't ...
3
votes
1answer
1k views

Schedule periodical processes

I have a project that I´ll be using RaspBerry Pi to make a controller for process control. To do that I need to schedule processes periodically. Does anyone know how I could do that? So I have to ...
6
votes
0answers
2k views

Any CANopen adapters supported on the PI? [closed]

Does anyone know if there are any CANopen protocol converters supported on the Pi, or if ones that work under Linux could be ported to it?
3
votes
1answer
433 views

XBMC and unclean shutdown

So, I have my Pi, and based on some posts here, am installing Raspbmc. I have a nice powerstrip that senses current through the "main" outlet (my TV), and will switch off some of the outlet if there ...
0
votes
2answers
230 views

What are the kinds of (useful) things could I do on a raspberry PI? [closed]

I'm probably going to buy one, but I'm not sure what I will do with it. I have a lot of linux experience but not a lot of hardware experience. So what things can I do on it that would be useful and ...
8
votes
1answer
2k views

SSH not landing default user directory

I have recently installed Raspbian onto a Raspberry Pi. As part of the installation process I changed the user name and group from the default (pi) to my own (let's call it user) using usermod and ...