Tag: raspberrypi

Ubuntu Mate安装会破坏SD卡吗?

尝试将Ubuntu Mate安装到SD卡上。 我首先下载了图像并执行了校验和: ole@$: sha256sum ubuntu-mate-16.04.2-desktop-armhf-raspberry-pi.img.xz dc3afcad68a5de3ba683dc30d2093a3b5b3cd6b2c16c0b5de8d50fede78f75c2 ubuntu-mate-16.04.2-desktop-armhf-raspberry-pi.img.xz 然后我将它刻录到SD卡上,如下所示: ole@$: sudo ddrescue -D –force ubuntu-mate-16.04.2-desktop-armhf-raspberry-pi.img /dev/mmcblk0p1 GNU ddrescue 1.21 Press Ctrl-C to interrupt ipos: 4999 MB, non-trimmed: 0 B, current rate: 6550 kB/s opos: 4999 MB, non-scraped: 0 B, average rate: 13192 kB/s non-tried: 0 B, errsize: 0 B, run time: 6m 19s rescued: 5000 […]

如何在VS2017 VC ++ for Linux项目中链接libgattlib.so

我尝试使用驻留在Raspberry Pi 3板中的libgattlib.so静态库在VS2017(来自我的PC)中构建VC ++ for Linux(Raspbian)项目。 编译没有错误。 我可以使用例如\\ usr \ include可靠地包含在项目.h文件中。 我还需要一个libgattlib.so库文件的引用。 它位于Raspberry Pi 3上的/ usr / lib中,并且在VS2017 项目 – >配置属性 – > VC ++目录 – >库目录中设置了正确的链接( \\ usr \ lib ),并在项目 – >配置属性中设置了-lgattlib- > Linker-> Input-> Library Dependencies但链接器报告错误: 目标链接: 1> Linking objects 1> Invoking ‘ld’ 1> g++ -o “/home/pi/projects/Id2Monitor_For_Linux/bin/ARM/Debug/Id2Monitor_For_Linux.out” -Wl,–no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack /home/pi/projects/Id2Monitor_For_Linux/obj/ARM/Debug/main.o […]

在Raspberry Pi 2 Model B上安装Ubuntu

我在普通PC上使用Windows 7。 我试图在Raspberry Pi 2 Model B上安装Ubuntu但它没有用。 我下载了Win32DiskImager实用程序和ubuntu-16.04-preinstalled-server-armhf + raspi2,写在SD卡上,然后我得到了附加的屏幕,我不知道如何继续。 按CTRL + ALT + F2后 我用用户和密码找到的指南..

重新格式化损坏的SD卡会修复吗?

我今天尝试在新的SD卡上创建Ubuntu Mate安装。 Raspberry Pi无法启动(只有红色LED亮起)所以我检查了SD卡: ole:$ sudo fsck -y -b 163840 -B 4096 /dev/mmcblk0p1 fsck from util-linux 2.29 e2fsck 1.43.4 (21-Nov-2017) fsck.ext2: Bad magic number in super-block while trying to open /dev/mmcblk0p1 The superblock could not be read or does not describe a valid ext2/ext3/ext4 filesystem. If the device is valid and it really contains an […]

如何在ownCloud中使用HTTPS和DHCP?

系统:Ubuntu 14.04服务器,Apache 2.4,ownCloud 8.2.5,测试环境Raspbian Jessie on Raspberry Pi 3 b。 访问https://192.168.1.107和https://192.168.1.107时,服务器的Internet浏览器中有关HTTPS的错误 Error performing TLS handshake: An unexpected TLS packet was received. 调试 命令telnet 192.168.1.107 80只是挂起来用于HTTP,类似于telnet 192.168.1.107 443用于HTTPS。 在互联网浏览器中访问http://192.168.1.107和http://192.168.1.107/owncloud时访问HTTP,但不像以前那样通过telnet 日志/var/log/apache2/error.log没有最近的错误。 /var/log/apache2/access.log没有错误,而没有/var/log/apache2/other_vhosts_access.log 。 sudo apache2ctl -M |sort的输出是 access_compat_module (shared) alias_module (shared) auth_basic_module (shared) authn_core_module (shared) authn_file_module (shared) authz_core_module (shared) authz_host_module (shared) authz_user_module (shared) autoindex_module (shared) core_module (static) […]

目标’vmlinux’的配方失败了吗?

我正在尝试为QEMU构建一个内核来模拟一个覆盆子: http : //xecdesign.com/compiling-a-kernel/ https://www.raspberrypi.org/documentation/linux/kernel/building.md 但是,运行命令:make ARCH = arm 它很好地编译了很长时间,但是当它得到这个消息时就停止了: kevin@kevin-laptop:~/linux$ make ARCH=arm CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h make[1]: ‘include/generated/mach-types.h’ is up to date. CALL scripts/checksyscalls.sh CHK include/generated/compile.h CHK kernel/config_data.h LINK vmlinux LD vmlinux.o MODPOST vmlinux.o GEN .version CHK include/generated/compile.h UPD include/generated/compile.h CC init/version.o LD init/built-in.o drivers/built-in.o: In function `mmc_fixup_device’: of_iommu.c:(.text+0xb9674): undefined reference to […]

Raspberry Pi 2型号B Ubuntu Trusty 14.04

我遇到了Raspberry Pi 2型号B Ubuntu Trusty 14.04安装的问题。 我已经从Ryan Finnie上传了Ubunty Trusty 14.04版本。 我有Windows 10.然后我使用SD格式化程序清理microSD,然后使用Win32Imager来制作bootload闪存卡,如raspberry教程中所述。 事实certificate,我附加的显示器只显示彩色屏幕。 电路板LED就像电路板一样试图启动,但它不能,所以它一次又一次地启动。 也许有人解决了这些问题。

在Raspberry Pi上登录Ubuntu Core的SSH需要密码

我为我的Raspberry-3创建了一个Ubuntu核心SD并启动了它。 然后从我的IPad使用应用程序我尝试SSH到它。 据我所知,我不应该要求任何密码登录。 但我被问到一个密码: root@Ubuntu-1:~# ssh rpi@192.168.1.7 The authenticity of host ‘192.168.1.7 (192.168.1.7)’ can’t be established. ECDSA key fingerprint is SHA256:yfOBN1/EPQ8v6b1+n6QFCAj/+tyruioord Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added ‘192.168.1.7’ (ECDSA) to the list of known hosts. Rpi@192.168.1.7’s password: Permission denied, please try again. 如果我可以访问RPi,我可以为本地访问设置密码,但我不能,因为我不知道密码是什么。 如何解决这个难题并访问我新创建的运行RPi的Ubuntu?

Raspberry Pi 2上的Snappy无法启动

我刚买了全新的Raspberry Pi 2型号B,并尝试在全新的三星EVO 16 GB micro SD卡上安装Snappy Ubuntu Core alpha-02 。 当我启动Pi时,我看不到它出现在网络上(检查我在路由器上的DHCP分配)。 Pi的以太网LED都打开,我检查了电缆。 当我启动连接到HDMI屏幕的Pi时,屏幕左上方有一个带有4个Rapberry徽标的黑屏,它会永远保持这种状态。 什么可能出错?

网络 – 与其他计算机共享 – 如何查找客户端的IP地址?

硬件是这样的: 通过WiFi上网的笔记本电脑。 路由器几乎无法访问。 Headless Banana / Raspberry / Your-Favorite-Flavor Pi需要SD图像和一些额外的包装。 因此,我在Pi和笔记本电脑之间获得了一条临时交叉电缆,将笔记本电脑的以太网端口设置为“共享到其他计算机”(*),对SD卡进行映像,然后启动Pi。 现在,Pi有什么地址,所以我可以通过SSH进入它? 我没有强迫一个特定的地址, 就像这个问题想要的那样 。 我只是想知道它是什么。 (*)网络通知– >编辑连接… – >有线连接1 – >编辑按钮– > IPv4设置选项卡– >方法=共享给其他计算机