gurcanozturk
  • Member for 8 years, 8 months
  • Last seen more than 4 years ago
Raspberry Pi not reachable via its hostname in LAN
77 votes

You have to use avahi-daemon (zeroconf) if you want to connect via a hostname instead of an IP address. From the Raspberry Pi documentation on RPi Advanced Setup: Install avahi with the following ...

View answer
tightvncserver - show the same screen on hdmi and vncclient
Accepted answer
40 votes

You should install x11vnc and configure it to get same screen on HDMI and also vnc client. apt-get install x11vnc then run x11vnc command with parameters. x11vnc -display :0 -usepw -listen ...

View answer
What's the difference between `wpa-roam` and `wpa-conf` in the /etc/network/interfaces file?
Accepted answer
31 votes

wpa-roaming is a method with which you can browse and connect to wireless networks. The result of the following setup is that if an ethernet cable is not attached, wlan0 takes precedence and connects ...

View answer
Raspberry Pi onboard temp sensors in Raspbian(Wheezy)?
Accepted answer
15 votes

I found an answer at http://www.raspberrypi.org forums. You can read the CPU temp via bash script. Save this script as getTemp.sh in /usr/local/bin folder and give execute permission with chmod +x /...

View answer
Is there a way to automatically activate a script when a USB device connects?
13 votes

Use udev rules. find your device information. udevadm -a -p /dev/path/device/ KERNELS=="1-3" SUBSYSTEMS=="usb" DRIVERS=="usb" ... ATTRS{quirks}=="0x0" ATTRS{authorized}=="1" ATTRS{manufacturer}=="...

View answer
How do I reset a USB device using a script?
11 votes

You can reset USB bus via this C program. https://gist.github.com/x2q/5124616 Download C code from github wget -c --no-check-certificate https://gist.githubusercontent.com/x2q/5124616/raw/...

View answer
How can I get back to the initial load screen of Raspbian?
Accepted answer
8 votes

You can get initial config menu by running sudo raspi-config. Many settings changes will require a reboot.

View answer
Edit read-only file (in /etc/init.d) or override settings file from /storage directory
Accepted answer
7 votes

I guess your image is OpenELEC as @Lawrence said that. OpenELEC uses squashfs compressed image filesystem so you can't edit without uncompressing. To uncompress it, convert your sd-card content ...

View answer
Auto-Execute a program on power up
Accepted answer
6 votes

Put your command into the /etc/rc.local file. You don't have to use sudo because this file is run by init at boot time. If you encounter problems doing this, see: Log output of background or boot ...

View answer
How can I reset a USB device using command line utilities?
Accepted answer
6 votes

You don't have to use grep for this issue. lsusb can output with -d parameter to get information about given usb vendor:id number. (lsusb -d ) So your command should like this. $(lsusb -d 12d1:...

View answer
Cannot mkdir unless sudo is used
Accepted answer
6 votes

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

View answer
Raspberry pi remote access active session
5 votes

You need to install x11vnc daemon on the linux distro with runs on Pi. Then run that command; x11vnc -display :0 -usepw -noxdamage -ncache 10 -ncache_cr -listen IP_of_pi -allow allowed_ip_address ...

View answer
How to make Raspberry shutdown when I unplug the ethernet cable
Accepted answer
5 votes

post-down script; Write a script to call 'reboot' as /path/to/script.sh Edit your /etc/network/interfaces file and add a line just below your eth0 config. auto eth0 iface eth0 inet static name "...

View answer
What do I need to setup in order to push a video stream to the web
Accepted answer
5 votes

To stream to services like UStream you can use ffmpeg: ffmpeg -f video4linux2 -i /dev/video0 -qscale 1 -r 25 -vcodec libx264 -b 636k -aspect 4:3 -s 640x480 -ar 44100 -ab 64k -async 1 -g 6 -threads 2 -...

View answer
what does -append field work in QEMU
Accepted answer
3 votes

The append line adds extra options to the kernel command line in UNIX derivatives. You can add many extra options such as root device (/dev/sda2 in your example) initrd file debugging options such ...

View answer
Raspberry Pi will not boot or display activity of any kind
3 votes

From the R-Pi Troubleshooting: Red power LED is on, green LED does not flash, nothing on display Note: A faintly glowing steady green LED means no boot code has ever been executed, as almost the ...

View answer
How to encode DVDs using the Raspberry Pi
Accepted answer
3 votes

First of all its not efficient to rip a DVD on Raspberry Pi. I doubt Raspberry CPU/GPU can handle this without hardware acceleration. But you can give a shot for Handbrake. To use handbrake on ...

View answer
How to choose system to boot up without monitor?
Accepted answer
3 votes

Use Berryboot[1]. It's a bootloader that can install more than one OS into an USB flash disk. Berryboot has a feature like VNC to boot screen this could be what you want. You can connect through VNC ...

View answer
Is there a console-only (no GUI included) distro under 1 gb?
3 votes

I am using Moebius[1] on my raspberry pi. It's a Debian derived minimal distro. Because i am using raspberry pi as a headless server i don't need GUI like you. [1] http://moebiuslinux.sourceforge.net

View answer
Raspberry Pi setup
Accepted answer
3 votes

1a) If you bought SD card w/ OS installed inside, maybe you don't have to use cable or monitor. Just connect Pi to your router via ethernet cable, then find what ip address assigned to Pi, then ...

View answer
How can I connect to my RPi NFS server using version 4?
3 votes

NFS uses IP/Hostname based security so that means you should give permission on NFS server to clients. Permissions should be defined at /etc/exports file. Example /etc/exports file: # Path ...

View answer
Location of berryboot's config.txt
3 votes

First of all 'Raspberry Pi' is not an operating system so you have to tell the name which linux distribution you're using. I'm using BerryBoot to boot my 4 linux distribution which are installed on ...

View answer
Make a portable device based on Raspberry Pi
3 votes

For monitor/screen information please read this : http://elinux.org/RPi_Screens You can find information which screen devices are supported. For example this guy uses 1.8" TFT LCD screen. http://www....

View answer
Setting a static eth0 ip
Accepted answer
3 votes

After "ifup" or "networking restart" command, you have to check your network interfaces with "ifconfig" or "ip addr" command. Also checking routes of device may be useful. Sample "ifconfig eth0" ...

View answer
Remember sudo password in Xbian
2 votes

The default password timeout is 15 minutes. So if you use sudo twice in 15 minutes (900 seconds), you will not be asked to type the user’s password again. The timestamp_timeout: The ...

View answer
Want to stream just captured audio using VLC media player as HTTP or RTSP
2 votes

You don't need to use v4l2 to capture sound through PulseAudio. First of all, find the correct device for pulseAudio. If you're using PulseAudio as a daemon, run this command at the command line: ...

View answer
Raspberry Pi Camera Module, Time Lapse Photography
2 votes

I am using a Python script and Dropbox to put pictures which taken by my RPi server to my dropbox account. So when RPi takes picture Dropbox sync it to my computer automatically. Also i am using a ...

View answer
A Shortcut For Checking Temps?
2 votes

You can use Conky1 for temperature and other monitoring issues. With Conky, you can get temperature, disk usage, memory consumption, bandwidth etc also it works always on your desktop so you don't ...

View answer
How to check whether a Webserver is Installed in Pi or not?
2 votes

You can find which HTTP server running on your Pi with in different ways. Because we interest with HTTP server, we looking for port 80. It's default port for web services but it can be change by ...

View answer
New Added Files Has Been Setted Chmod 600 via FTP
2 votes

You have to set file_open_mode value in /etc/vsftpd.conf file. Config file may not contain that key=value pair in default. Add as you want. But to enable this function you have to set chmod_enable ...

View answer