文档章节

Things on Chromebook

querychinesesto
 querychinesesto
发布于 2015/03/12 08:22
字数 916
阅读 94
收藏 0

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

© 著作权归作者所有

querychinesesto
粉丝 7
博文 122
码字总数 37779
作品 0
广州
程序员
私信 提问
Fuchsia 操作系统将支持运行 Linux 应用程序

近日,谷歌已经为其新兴开源的 Fuchsia OS 添加了一个 Guest App,以使 Linux 应用程序能够在 Fuchsia 中作为虚拟机(VM)运行。这个 Guest App 使用了一个叫作 Machina 的库,相比传统的模拟...

达尔文
2018/06/27
4.9K
18
Linux 应用程序入住Fuchsia 操作系统

近日,谷歌已经为其新兴开源的 Fuchsia OS 添加了一个 Guest App,以使 Linux 应用程序能够在 Fuchsia 中作为虚拟机(VM)运行。这个 Guest App 使用了一个叫作 Machina 的库,相比传统的模拟...

linux-tao
2018/07/06
113
0
Linux应用程序将支持18款Chromebook

导读 Google即将发布基于Linux的Chrome OS操作系统,计划将很快将对Linux应用程序的支持扩展到大量的Chromebook。 谷歌几个月前宣布,它将支持在Chrome OS Chromebook操作系统上运行集装箱式...

问题终结者
2018/07/08
87
0
又有18款Chromebook即将支持Linux应用

数月前,Google宣布运行Chrome OS的Chromebook上支持运行容器化的Linux应用程序,而自家的Pixelbook成为首款获得支持的设备。随后数周,三星的Chromebook Plus也宣布加入支持阵营。现在看起来...

稿源:
2018/06/29
0
0
Chrome OS beta 38.0.2125.49 发布

Chrome OS beta 38.0.2125.49 发布,平台版本:6158.21.0,支持除了 Lenovo ThinkPad 11e Chromebook, Quanta Education Chromebook, HP Chromebook 14, HP Pavilion Chromebook, Toshiba C......

oschina
2014/09/09
369
0

没有更多内容

加载失败,请刷新页面

加载更多

SSH安全加强两步走

从 OpenSSH 6.2 开始已经支持 SSH 多因素认证,本文就来讲讲如何在 OpenSSH 下启用该特性。 OpenSSH 6.2 以后的版本多了一个配置项 AuthenticationMethods。该配置项可以让 OpenSSH 同时指定...

xiangyunyan
29分钟前
4
0
C或C++不是C/C++

http://www.voidcn.com/article/p-mucdruqa-ws.html

shzwork
今天
6
0
OSChina 周六乱弹 —— 如何将梳子卖给和尚

Osc乱弹歌单(2019)请戳(这里) 【今日歌曲】 @for_ :划水五分钟,专注两小时。分享Various Artists的单曲《贝多芬第8号钢琴奏鸣曲悲伤的第三乐章》: 《贝多芬第8号钢琴奏鸣曲悲伤的第三乐...

小小编辑
今天
179
8
ES5

什么是ES5:比普通js运行要求更加严格的模式 为什么:js语言本身有很多广受诟病的缺陷 如何:在当前作用域的顶部添加:"use strict" 要求: 1、禁止给未声明的变量赋值 2、静默失败升级为错误...

wytao1995
今天
7
0
c++ 内联函数调用快的原因

见图片分析

天王盖地虎626
今天
4
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部