Configure odroid Ubunutu static IP and let the PC use Ccproxy to do the proxy Internet

Source: Internet
Author: User

1. Configure the Odroid board card

vi/etc/network/interfaces Configuring static IP

#source-directory/etc/network/static192.168. 1.11  192.168. 1.0  255.255. 255.0  192.168. 0.0  192.168. 0.255

2. On PC boot Ccproxy, set PC IP to 192.168.1.10, Ccproxy proxy port defaults to 808

3. Set up the agent on the Odroid board card

Export http_proxy=192.168.1.10:808

Export https_proxy=192.168.1.10:808

General Agent Test wget www.baidu.com

Configure APT Proxy

VI  /etc/apt/apt.conf
" http://192.168.1.10:808 ";

Test Apt-get Update

4. The sudo command ignores the system Agent environment variable by default and can be added as parameter-E

SUDO-E ROSDEP Init

Configure odroid Ubunutu static IP and let the PC use Ccproxy to do the proxy Internet

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.