Things on Chromebook

I am pleased for the performance and design with my chromebook Acer C720.

I had installed crouton by following the procedure,

  • Enable develop mode -> esc + refresh + power button, then crtl + d.

  • Open crosh window by crtl + alt + t, type shell, run sudo sh -e ./crouton -t xfce the default system installed in your chroot will be ubuntu 12.04 precise. To see the usage of crouton, sh ./crouton -h or sh ./crouton -t list or sh ./crouton -r list

  • Do not use the argument -P which install crouton via proxy, since opengpg verification would be failed by proxy, then process will pause.

  • To enter into ubuntu, just type sudo enter-chroot or sudo startxfce4, switch system by crtl + alt + forward then refresh and crtl + alt + backward

  • Recommend to install crouton integration extension in chrome from web store in google

  • Update ubuntu, sudo sh ./crouton -u -t xiwi,extension,keyboard, target xiwi should be placed at first, then sudo startxfce4 -b, ubuntu will run in a chrome tab, that is amazing. An issue encounterred when install xiwi is missing the dependency xserver-xorg-core, sudo enter-chroot then sudo apt-get install xserver-xorg-core

  • Some things to do after installing ubuntu, such as sudo apt-get purge xcreensaver, install leafpad, VLC etc.

I would like to leverage usb tethering insteads of wifi tethering from my phone. At beginning, I had tried easytether wihch works perfectly with my dual systems, but the lite version only support http, not include https. I have to find another way to surf internet using usb tethering.

  • To run easytether, install easytether lite from google play, in ubuntu, run sudo apt-get install libusb-1.0.0 and sudo dpkg -i easytether_0.7.4-1_i386.deb, it will install the easytether package in your system, type easytether connect, allow the connection in your phone, a new net interface will appear by ip addr

  • Another way to usb tethering, install adb in ubuntu, socks proxy way to surf intenet. Add ppa repository as below,

<pre> sudo apt-get install software-properties-common sudo apt-get install python-software-properties # to add apt-add-repository utility sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install android-tools-adb sudo apt-get install android-tools-fastboot sudo apt-get install usbutils # to add lsusb command # Install tools to create a virtual interface to let chromeos can connet to an Ethen sudo apt-get install bridge-utils uml-utilities iptables #bridge-utils for brctl #uml-utilities for tunctl </pre>

Add following rule in file etc/udev/rules.d/99-android.rules SUBSYSTEM=="usb", ATTR{idVendor}=="0fce", ATTR{idProduct}=="61a9", MODE="0666", GROUP="plugdev"

Plug my phone to chromebook, type lsusb, my phone can be recognized as Bus 001 Device 005: ID 0fce:61a9 Sony Ericsson Mobile Communications AB.

  • Follow these steps to connect internet with usb tethering
    1. adb forward tcp:41927 tcp:41927 adb forward --list
    2. At mobile, run AzLink, at ubuntu run openvpn azilink.ovpn
    3. Add bridge interface by <pre> brctl addbr br0 ifconfig br0 192.168.56.3 netmask 255.255.255.0 up iptables -I FORWARD -i tun0 -o br0 -j ACCEPT iptables -I FORWARD -i br0 -o tun0 -j ACCEPT iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE echo "nameserver 8.8.8.8 8.8.4.4" > /etc/resolv.conf

</pre> 4. At this time, ubuntu can already connect to internet, but chromeos cannot. You need to setup internet connection at Setting Pannel, you just confirm the setting, nothing need to input, then you will see "Conneted to Ethernet", chromeos now can surf internet. If you find the "The Web page is not available" message suddenly, you may re-configure the file /etc/resolv.conf with `nameserver 8.8.8.8 8.8.4.4` or `nameserver 192.168.56.1`

  • Chinese display Check locales /usr/share/i18n/SUPPORTED, /usr/share/locale, /usr/lib/locale
    Add zh_CN.UTF-8 in /var/lib/locales/supported.d/local
    re-gen locale : sudo locale-gen sudo dpkg-reconfigure locales
    Add environment: add zh_CN.UTF-8 in /etc/environment
    change default language, just export LANG=en_US.UTF-8 or zh_CN.UTF-8
    Install zh_TW and zh_HK by sudo apt-get install language-support-fonts-zh-hant
    Install chinese fonts by sudo apt-get install xfonts-wqy
    Refer to http://www.davidpai.tw/ubuntu/2011/ubuntu-set-locale/

  • Fix issue of no sound in crouton Test sound chronos@localhost / $ sudo enter-chroot aplay /usr/share/sounds/alsa/Front_Center.wav
    Re-install pulseaudio and alsa-base

<pre> sudo apt-get install mplayer smplayer ubuntu-restricted-extras sudo apt-get remove --purge pulseaudio alsa-base sudo apt-get install pulseaudio alsa-base </pre>

  • Install latest version of git and golang

<pre> sudo add-apt-repository ppa:git-core/ppa sudo add-apt-repository ppa:bcandrea/backports sudo apt-get update sudo apt-get install git sudo apt-get install golang sudo go get github.com/djimenez/iconv-go // Install chinese encoding package </pre>

  • Connect to RPi with adafruit serial cable sudo screen /dev/ttyUSB0 115200

  • Install Android Runtime for Chrome and ARC Welder to launch Android app to play with .

  • Tor on ChromeOS 1 Install apps of Orbot and Proxy Server on android mobile
    2 Start Orbot, setup port forward on Proxy Server 127.0.0.1:8080 -> 127.0.0.1:8118 (Orbot service)
    3 In crosh, type adb forward tcp:8080 tcp:8080
    4 Ensure ChromeOS has a IP (assigned by wifi or bridged), configure the proxy as 127.0.0.1:8080 5 Now it is time to access following urls, http://check.torproject.org/ https://duckduckgo.com/
    https://www.tor2web.org/
    http://thehiddenwiki.org/
    6 Install tor-browser (it is firefox based) in ubuntu

    <pre>

sudo vi /etc/apt/apt.conf.d/10proxy (Acquire::http::Proxy "http://192.168.137.1:21/";) export http://192.168.137.1:21/ export http_proxy=http://192.168.137.1:21/ export https_proxy=http://192.168.137.1:21/ sudo -E add-apt-repository ppa:webupd8team/tor-browser sudo apt-get update sudo apt-get install tor-browser </pre> 7 If you do not want to surf internet with Tor, just stop Orbot and Proxy Server, start Proxoid 8 Reference: http://www.omgchrome.com/an-introduction-to-tor-on-chrome-os/
https://docs.google.com/document/d/1I1lBG1P2GOf3ooNhX-5pyrVF6RnxmpuEw62pi17Tb0I/edit
http://www.ubertechblog.com/2011/07/beginners-guide-to-deep-web-or-darknet.html

转载于:https://my.oschina.net/l1z2g9/blog/385993

内容概要:本文档《opencv高频面试题.docx》涵盖了OpenCV的基础概念、图像处理操作、特征提取与匹配、目标检测与机器学习、实际编程题、性能优化以及进阶问题。首先介绍了OpenCV作为开源计算机视觉库,支持图像/视频处理、目标检测、机器学习等领域,应用于安防、自动驾驶、医学影像、AR/VR等方面。接着详细讲述了图像的存储格式(如Mat类)、通道的概念及其转换方法。在图像处理部分,讲解了图像灰度化、二值化、边缘检测等技术。特征提取方面,对比了Harris和Shi-Tomasi角点检测算法,以及SIFT、SURF、ORB的特征提取原理和优缺点。目标检测部分介绍了Haar级联检测原理,并阐述了如何调用深度学习模型进行目标检测。文档还提供了几个实际编程题示例,如读取并显示图像、图像旋转、绘制矩形框并保存等。最后,探讨了性能优化的方法,如使用cv2.UMat(GPU加速)、减少循环等,以及相机标定、光流等进阶问题。 适合人群:对计算机视觉有一定兴趣,具备一定编程基础的学习者或从业者。 使用场景及目标:①帮助学习者掌握OpenCV的基本概念和技术;②为面试准备提供参考;③为实际项目开发提供技术指导。 阅读建议:由于内容涵盖广泛,建议读者根据自身需求有选择地深入学习相关章节,并结合实际编程练习加深理解。
### 如何安装或更新 Chromebook 的特定硬件驱动程序 对于Chromebook而言,其操作系统即Chrome OS由Google维护,并针对各种品牌的Chromebook进行了优化。通常情况下,用户不需要手动下载和安装额外的硬件驱动程序,因为这些驱动已经集成到了Chrome OS中[^1]。 然而,在某些特殊场景下,比如开发者模式或是为了支持一些外部设备,可能涉及到驱动的操作: #### 开发者模式下的驱动处理 如果处于开发人员模式,则可以访问更深层次的功能,但这可能会使保修失效并且存在安全风险。在这种状态下,可以通过命令行工具(如crosh)来获取有关当前系统的更多信息,包括已加载的模块列表等。不过需要注意的是,即使是在这种模式下,直接修改内核级驱动也不是推荐的做法[^2]。 #### 更新固件以获得最新驱动支持 保持系统及其底层组件——BIOS/UEFI固件是最新的非常重要。这不仅有助于提高性能,还可以确保兼容最新的外设连接标准和其他改进项。要执行此操作,只需确保您的Chromebook能够正常接收官方推送的OTA空中升级即可[^3]。 #### 使用第三方软件扩展功能 虽然不是传统意义上的“驱动”,但对于想要增强多媒体体验或其他方面能力的人来说,利用像Crostini这样的特性可以在不改变原有架构的前提下运行完整的Linux环境,从而间接实现了更多样化的外围设备的支持可能性[^4]。 ```bash # 启用Linux (Beta) settings -> Linux (Beta) -> Turn On... ```
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值