我尝试了一些命令示例来开始,但是没有一个可以帮助我添加连接和连接。
# nmcli dev
DEVICE TYPE STATE
wlan0 802-11-wireless disconnected <====
usb0 802-3-ethernet unmanaged
eth0 802-3-ethernet connected
Run Code Online (Sandbox Code Playgroud)
我有几个
nmcli con
NAME UUID TYPE TIMESTAMP-REAL
Wired connection 1 00000000-4a11-43d1-9252-4b92de0e75c3 802-3-ethernet Thu Oct 23 05:46:02 2014
WLAN-A69E22 29eeb2f6-cf80-0000-0000-d23733e97eb4 802-11-wireless Thu Oct 30 16:06:14 2014
Wireless connection 1 bfaa9524-a1d9-0000-8279-71a56720c06c 802-11-wireless Wed Feb 24 02:33:55 2015
Wireless connection 2 00000000-d5cc-411b-a62e-000000000000 802-11-wireless Wed Oct 22 23:31:24 2014
Run Code Online (Sandbox Code Playgroud)
nmcli dev wifi …Run Code Online (Sandbox Code Playgroud) 我需要在mini210s运行Linux 3.0.8 armv7l 的FriendlyARM上安装 Chromium
depot_tools按照这些指南安装获取代码和
Linux Chromium ARM得到后depot_tools:
vagrant@vagrant:~/depot_tools$ fetch chromium
Run Code Online (Sandbox Code Playgroud)
export GYP_CROSSCOMPILE=1
export GYP_DEFINES="target_arch=arm arm_float_abi=hard"
Run Code Online (Sandbox Code Playgroud)
vagrant@vagrant:~/depot_tools/src$ ./chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py --arch=arm
Installing Debian Wheezy arm root image: /home/vagrant/depot_tools/src/chrome/installer/linux/debian_wheezy_arm-sysroot
Downloading http://storage.googleapis.com/chrome-linux-sysroot/toolchain/285950/debian_wheezy_arm_sysroot.tgz
build/install-build-deps.sh --arm
build/install-build-deps-android.sh
gclient sync
Run Code Online (Sandbox Code Playgroud)
build/gyp_chromium -Goutput_dir=out_arm
ninja -C out_arm/Debug chrome
Run Code Online (Sandbox Code Playgroud)
vagrant@vagrant:~/depot_tools/src$ ninja -C out_arm/Debug chrome
ninja: Entering directory `out_arm/Debug'
[222/18316] CXX obj/third_party/webrtc/modules/audio_coding/codecs/audio_encoder_interface.audio_encoder.o
FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF …Run Code Online (Sandbox Code Playgroud) 我想将 Chromium 浏览器从 docker 容器打开到我的 Mac 桌面。
docker run -i -t ubuntu:16.04 /bin/bash
apt-get update
apt-get install alsa-base chromium-browser xauth
adduser myuser
Run Code Online (Sandbox Code Playgroud)
docker commit 2862a7bfcc2f acme/mycontainer:0.1
Run Code Online (Sandbox Code Playgroud)
myuser从容器运行 Chrome 浏览器失败docker run --user myuser -i -t acme/mycontainer:0.1 /usr/bin/chromium-browser
Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted
Run Code Online (Sandbox Code Playgroud)
我敢打赌还有更多
任何指针?
--privileged删除错误See thread on …
dhclient.我在这篇文章中找到了一个用于在 Linux 上调试 DHCP 的便利工具, 但那是在 Linux 上(dhcping、dhcpdump),而且我的 FreeBSD 上没有这些工具,我将无法安装它们。
更新 #2$ tcpdump -lenx -i eth0 -s 1500 port bootps
Run Code Online (Sandbox Code Playgroud) 为Raspberry Pi 2创建了我自己的 Yocto Linux 发行版(请参阅此处的 Embarcados 教程),添加了meta-browser配方chromium。构建的图像效果很好,我可以运行Chromium,但是......
...当我这样做时,尽管应用程序弹出,但我收到以下错误消息。
raspberrypi2:~$ /usr/bin/chromium/chrome --enable-logging --v=1 --no-sandbox
[1796:1796:0625/011716:ERROR:browser_main_loop.cc(164)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[1819:1819:0625/011717:ERROR:gl_implementation_osmesa.cc(22)] Failed to load libGL.so.1: libGL.so.1: cannot open shared object file: No such file or directory
[1819:1819:0625/011717:ERROR:gpu_child_thread.cc(145)] Exiting GPU process due to errors during initialization
[1831:1831:0625/011717:ERROR:renderer_main.cc(211)] Running without renderer sandbox
[1837:1837:0625/011717:ERROR:renderer_main.cc(211)] Running without renderer sandbox
Run Code Online (Sandbox Code Playgroud)
当我寻找图书馆时libGL,我得到了这个
root@raspberrypi2:/usr/lib/chromium# find …Run Code Online (Sandbox Code Playgroud) 在 Mac 上运行docker
docker pull ubuntu:14.04
docker run -i -t ubuntu:14.04 /bin/bash
Run Code Online (Sandbox Code Playgroud)
Linux 标准库
root@d112db1e835e:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
Run Code Online (Sandbox Code Playgroud)
我的目标是退役我用来构建一些好的旧 C 代码的专用笔记本电脑,并改用 docker 容器。
为了编译我的代码,我Makefile正在寻找运行
Makefile: /usr/bin/make -C /lib/modules/$(shell uname -r)/build M=$(PWD)/linux/$* modules
Run Code Online (Sandbox Code Playgroud)
不幸的是modules文件夹是空的
mysuer@d112db1e835e:~/robot$ ls -al /lib/modules/
ls: cannot access /lib/modules/: No such file or directory
Run Code Online (Sandbox Code Playgroud)
在我的 linux 机器上,我可以找到模块
$ ls -al /lib/modules/
total 28
drwxr-xr-x 7 root root 4096 …Run Code Online (Sandbox Code Playgroud) 尝试更新我的基于 Apt 的系统(Ubuntu 8.04.2 LTS(hardy)),我收到此错误
有什么建议吗?
# apt-get update
Err http://packages.cloudkick.com intrepid Release.gpg
Could not resolve 'packages.cloudkick.com'
Hit http://agentrepo.drivesrvr.com serveragent Release.gpg
Hit http://apt.newrelic.com newrelic Release.gpg
Run Code Online (Sandbox Code Playgroud)
和
Err http://security.ubuntu.com hardy-security/main Packages
404 Not Found [IP: 91.189.91.14 80]
Ign http://archive.ubuntu.com hardy Release
Err http://security.ubuntu.com hardy-security/restricted Packages
404 Not Found [IP: 91.189.91.14 80]
Err http://security.ubuntu.com hardy-security/universe Packages
404 Not Found [IP: 91.189.91.14 80]
Err http://security.ubuntu.com hardy-security/main Sources
404 Not Found [IP: 91.189.91.14 80]
Err http://security.ubuntu.com hardy-security/restricted Sources
404 Not Found [IP: 91.189.91.14 80] …Run Code Online (Sandbox Code Playgroud)