raspbian

Compiling Mono 3.x on Raspberry Pi

╄→尐↘猪︶ㄣ 提交于 2019-12-10 18:04:38
问题 To get rid of the soft float vs. hard float ABI problem I tried to install an up-to-date version of mono on my Raspberry Pi with git clone https://github.com/mono/mono.git cd mono git submodule init git submodule update ./autogen.sh --prefix=/usr/local make make install The make command fails. The errors are as follows: make[6]: gmcs: Command not found make[6]: *** [build/deps/basic-profile-check.exe] Error 127 *** The compiler 'gmcs' doesn't appear to be usable. *** You need Mono version 2.4

Automake - difficulty with installing version 'automake-1.14.1'

空扰寡人 提交于 2019-12-10 17:15:18
问题 I have problem with installing automake 1.14.1 on Rapbian (2014-09-09-wheezy-raspbian) distro. I wrote sh ./configure and then I wrote make then terminal wrote me that: $ make CDPATH="${ZSH_VERSION+.}:" && cd . && "/home/pi/LIBRARY/automake-1.14./twrap/aclocal-1.14" Can't locate /home/pi/LIBRARY/automake-1.14.1/bin/aclocal in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5usr /share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local

Using avconv to get a single frame from h264 video at set time

笑着哭i 提交于 2019-12-10 14:55:44
问题 I want to use avconv to get a single image at a specified time out of a video file. I've read just enough about libav to think I know what I'm doing, but not enough to actually know. I've tried: avconv -ss 00:00:01.786 -r 25 -i input_video.h264 -frames 1 output_image.jpg as well as using t to avoid the 'frames' parameter: avconv -ss 00:00:01.786 -r 25 -i input_video.h264 -t 0.01 output_image.jpg and passing in seconds rather than using the hh:mm:ss.xxx format: avconv -ss 1.786 -r 25 -i input

kubernetes pods stuck at containercreating

為{幸葍}努か 提交于 2019-12-10 14:53:08
问题 I have a raspberry pi cluster (one master , 3 nodes) My basic image is : raspbian stretch lite I already set up a basic kubernetes setup where a master can see all his nodes (kubectl get nodes) and they're all running. I used a weave network plugin for the network communication When everything is all setup i tried to run a nginx pod (first with some replica's but now just 1 pod) on my cluster as followed kubectl run my-nginx --image=nginx But somehow the pod get stuck in the status "Container

Executing a command using JSch

落爺英雄遲暮 提交于 2019-12-10 11:27:38
问题 I'm using JSch to automate remotely launching a python script from a background Java process. Modifying the Shell.java example included in the JSch package, I've successfully installed JSch, connected to my Pi, and even commented out the user/domain/password/host key checking prompt boxes in favor of storing these values directly in my Java code. After my java code logs into the remote Pi, I'd like it to send something like sudo nohup python2 myFoo.py & disown to the terminal. In the Shell

can't find snap7 library - linux

和自甴很熟 提交于 2019-12-10 10:47:12
问题 I'm running Rapbian on a Raspberry Pi Revision B. I downloaded the module python-snap7 as instructed on this webpage: Snap7 Installation I tried it twice: One time using pip and another doing it manually. However, I installed it then via setup.py build and then setup.py install . If i try to create a client, I get the following error: Python 2.7.3 (default, Mar 18 2014, 05:13:23) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import snap7 >>>

用树莓派 + USB 无线网卡做了一个蛋疼的 AP Client

陌路散爱 提交于 2019-12-10 02:40:04
  本文的重点是“蛋疼”,所以别告诉 UMU:“把 USB 无线网卡直接插在电脑上就可以了,做这个干什么?!”   解释一下 UMU 的困境吧!UMU 有个设备要上网,蛋疼的是这个设备特么的只有 RJ45 接口,而且它放置的位置离路由器很远,也不爱拉线……这不是最惨的!UMU 买了一个支持 AP Client 的无线路由器(TP-Link TL-WR800N )尼玛每次把这个 AP Client 断电时,提供网络的主路由器都会被这个 AP Client 搞死掉,原因未知……您知道 UMU 的痛苦了吧!   还没有树莓派的时候,哥用笔记本上的 Windows 的 ICS 功能给它提供网络,当然这方法很不好,于是有了现在的方案。   仔细查看了树莓派支持的 USB WiFi Adapters 列表,挑选了 TP-LINK TL-WN823N (RT8192CU 芯片),这个在 Raspbian 上是 Work out-of-box。   硬件准备好后,第一步,配置 Wifi,连上主路由器,假定,此步将 wlan0 的 IP 配置为 192.168.1.2,/etc/network/interfaces 的内容如下: auto lo iface lo inet loopback iface eth0 inet static address 192.168.24.51 netmask

raspberry pi无线网卡配置

非 Y 不嫁゛ 提交于 2019-12-10 02:01:50
raspberry pi的操作系统采用最新的raspbian操作系统,该操作系统是基于Debian 7.3,内核版本为3.10.25+。USB wifi适配器采用的是TP-LINK TL-WN725N。将TL-WN725N插入到raspberry pi的USB口后,在串口终端使用命令lsmod可以看到8192cu的内核模块被加载(说明该无线网卡驱动已经驱起来了),与此同时在串口终端使用命令ifconfig可以看到wlan0的相关信息。我们要做的就是修改/etc/network/interface文件,修改成功后保存,最后执行/etc/init.d/networking restart即可。下面是我的/etc/network/interface配置文件。 auto lo iface lo inet loopback iface eth0 inet dhcp auto wlan0 allow-hotplug wlan0 iface wlan0 inet dhcp wpa-ssid "myssid" wpa-psk "mypsk" 其中: auto wlan0 :说明系统启动时自动启动wlan0; allow-hotplug wlan0:允许热插拔wlan0; iface wlan0 inet dhcp:对wlan0网口使用dhcp方式获取IP地址; wpa-ssid "myssid"

Guide to compile Xuggler for Raspberry Pi

夙愿已清 提交于 2019-12-09 20:24:53
问题 Can someone post a detailed write up, on how to compile Xuggler for Raspberry Pi? 回答1: After working on for about 5 days , I am putting the following guide to compile xuggler for Raspberry Pi (Time required : 8 hrs): Prerequisites: Raspberry Pi Model B+ with 512 MB RAM (Any model less than this will not give you the compiled binaries and will stuck during compilation) Raspbian installed on an SD Card (more than 4GB SD card will do) Steps: Switch to 'root' user. From the Basic xuggler build

Raspberry Pi auto login without etc/inittab

限于喜欢 提交于 2019-12-08 16:41:31
问题 I would like to settup my Raspberry Pi to auto login in a specific user. I googled this and the solutions that i found were about editing the /etc/inittab file. My problem is now i dont have that file, it appears to be missing in my version of Raspbian. Is there another way to do this? 回答1: I assume you're using the latest Raspian-Image (jessie). This one is based on Debian 8 (jessie) where the init-system changed from sysvinit to systemd. I think that it could have something to do with your