Openwrt modify host name

Source: Internet
Author: User
Openwrt: modify the default host name in OpenWrt source code: [plain] package/base-files/etc/config/system [openwrt @ rootconfig] $ vimsystem1configsystem2optionhostnameJack3optiontimezoneUT openwrt

Default host name: OpenWrt


Modify in source code: [plain]
Package/base-files/etc/config/system
[Openwrt @ root config] $ vim system
1 config system
2 option hostname Jack
3 option timezone UTC
4
5 config timeserver ntp
6 list server 0.openwrt.pool.ntp.org
7 list server 1.openwrt.pool.ntp.org
8 list server 2.openwrt.pool.ntp.org
9 list server 3.openwrt.pool.ntp.org
10 option enable_server 0
Then delete the original file system (staging_dir/target-i386_uClibc-0.9.33.2/root-x86 /),
Compile and flash the machine.


Page


On ssh

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.