On-board device configuration instructions

Source: Internet
Author: User
I. Ubuntu ut system installation: 1. Image Creation: Ubuntu 11.10 live CD image creation 2. Installation Process: Enter bios and change to USB boot PS: cocould not find kernel image: during Linux boot formatting, use the formatting tool on USB boot to format the hard disk that has already been installed on the system before installing the system again to avoid affecting the system installation speed, use Disk utility in Linux to format the disk. 1. Change the biso time to the current time. 2. Select the English version for installation. 3. Hard Disk Partition: partition capacity format root directory:/8g (8200) ext4 swap partition: swap 1g (1024) ext4 content partition:/www remaining capacity ext44, time zone set to any city in China 5, the system common account name is set: set the ADFI password to DA... 1... 56. set to automatically log on to your account. 3. Installation notes: 1. Do not connect to the Internet (network cable and SIM card) during installation ), to prevent the installation process from automatically downloading updates and affecting the speed 2. It is best to format the hard disk that has already been installed on the system before installing the system again to prevent affecting the system installation speed 2. Ubuntu System Configuration: 1. Basic configuration: open a terminal and perform the following operations: CD/adfipro/sudo sh adfi_setup.shadfi_setup.sh script content :#! /Bin/sh echo "Modify the root passwd! Please "sudo passwd root # Set the root password echo" Please input the divice ID then enter: "Read device_id_temp # set the device number echo $ device_id_temp> device_idecho" the device ID is 'cat device_id '"MV-F grub. CFG/boot/GRUB/# copy grub. cfg file to the/boot/GRUB/directory echo "Move grub. CFG compelete! "RM-F adfi_setup.sh # Delete the configuration script adfi_setup.sh. The script function is: a) set the root password B) set the device number C) Copy grub. cfg file to the/boot/GRUB/Directory D) Delete the configuration script adfi_setup.sh (this script is useless after configuration) The Script Execution Process is: ADFI @ ADFI-desktop: /$ CD adfipro/ADFI @ ADFI-desktop:/adfipro $ sudo sh adfi_setup.sh [Sudo] password for ADFI: # enter the ADFI account password: Da... 1... 5 modify the root passwd! Pleaseenter new Unix Password: # enter the root password: Da... Retype new Unix Password: Enter the root password again: Da... Passwd: Password updated successfullyplease input the divice ID then enter: 0022 # enter the device number, for example, 0022the device ID is 0022 move grub. cfg compelete! ADFI @ ADFI-desktop:/adfipro $ PS: boot fails after installation. The prompt is similar to 604688ce-279f-408e-a470-d0d96e697a42grub.cfg, which is the system boot file generated by the system based on the motherboard, it is for this type of motherboard and cannot use grub of other motherboard at will. cfg file to replace. Currently, grub is saved in the image file. the cfg file is for the top45 motherboard. If it is installed on another motherboard, such as the top915 motherboard, do not copy this file. Otherwise, it will not start after the system restarts. If it is another motherboard, You need to manually modify grub. cfg file parameter, set all timeouts in this file to 0, both timeout = 02, web page system update: a) create a folder in the system disk, name the folder name as a pre-designed version number (different from the last update of the device) B. Copy the prepared web page CP-RP to the folder, modify the permissions of all files and folders to 755c) and then modify the Verson file in the system disk to make the content consistent with the name of the new folder. Note: The standard version number format is: ADFI-JY-001-20121111-SYS; where: JY-delivery, 001 station code, 20121111 represents the date, sys is the system disk suffix (DAT is the content suffix, full is the mother disk suffix) 3. Media Content update: a) create a folder in the system disk and name the folder name as a pre-designed version number (different from the last updated version number of the device) B) copy the content and MySQL under WWW on the device to the folder, and do not modify the permission c) then modify the content in the Verson file on the system disk so that the content is the same as the name of the new folder. Note: The standard version number format is: ADFI-JY-001-20121111-DAT; where: JY-delivery, 001 station code, 20121111 represents the date, dat is the content suffix (sys is the system disk suffix, full is the mother disk suffix) iii. Ubuntu system debugging: 1. Check the WiFi NIC: Enter ifconfigra0 link encap: Ethernet hwaddr 7c: DD: 90: 30: 0e: AC Inet ADDR: 192.168.1.1 bcast: 192.168.255.255 mask: 255.255.0.0 inet6 ADDR: fe80: 7edd: 90ff: fe30: EAC/64 scope: link up broadcast running Multicast MTU: 1500 Metric: 1 RX packets: 0 errors: 0 dropped: 0 overruns: 0 frame: 0 TX pack ETS: 0 errors: 0 dropped: 0 overruns: 0 carrier: 0 Collisions: 0 txqueuelen: 1000 RX Bytes: 1581760 (1.5 MB) TX Bytes: 8957130 (8.9 MB) enter iwconfigra0 rtwifi softap Essid: "ADFI" nickname: "" Mode: managed channel = 11 Access Point: 7c: DD: 90: 30: 0e: AC Bit Rate = 150 Mb/s if the above information indicates that the WiFi Nic has been started 2. Check 3G Nic ppp0: Enter ifconfigroot @ ADFI-desktop at the terminal :~ # Ifconfigppp0 link encap: Point-to-Point Protocol Inet ADDR: 172.26.86.61 p-t-P: 10.64.64.64 mask: Adjust bandwidth limit 255 up pointopoint running noarp multicast MTU: 1500 Metric: 1 RX packets: 1564 errors: 0 dropped: 0 overruns: 0 frame: 0 TX packets: 2841 errors: 0 dropped: 0 overruns: 0 carrier: 0 Collisions: 0 txqueuelen: 3 RX Bytes: 1113915 (1.1 MB) TX Bytes: 343800 (343.8 KB) if the above information indicates that 3G has been dialed on the terminal and input: Ping 8.8.8.8.8-C 3 Root @ ADFI-desktop :~ # Ping 8.8.8.8-C 3 Ping 8.8.8.8.8 (8.8.8.8) 56 (84) bytes of data.64 bytes from 8.8.8.8.8: icmp_req = 1 TTL = 44 time = 162 ms64 bytes from 8.8.8.8.8: icmp_req = 2 TTL = 44 time = 120 ms64 bytes from 8.8.8.8: icmp_req = 3 TTL = 44 time = 119 MS --- 8.8.8.8 Ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003 msrtt min/AVG/max/mdev = 119.017/134.138/162.524/20.086 Ms the above information indicates that the 3G network is unblocked. 3. Test the mobile terminal connection device: 1. Open the mobile phone WiFi, link the searched ADFI and link 2. Open a terminal and enter the link; CAT/var/log/DHCPD. logjan 25 17:22:04 ADFI-desktop DHCPD: dhcpdiscover from F8: DB: 7f: 23: 4C: 73 (available) via eth2jan 25 17:22:04 ADFI-desktop DHCPD: dhcpoffer on 192.168.252.64 to F8: DB: 7f: 23: 4C: 73 (android_e95a62c0525bc56) via eth2jan 25 17:22:05 ADFI-desktop DHCPD: dhcprequest for 192.168.252.64 (192.168.1.1) from F8: DB: 7f: 23: 4C: 73 (android_e95a62c0525bc56) via eth2jan 25 17:22:05 ADFI-desktop DHCPD: dhcpack on 192.168.252.64 to F8: DB: 7f: 23: 4C: 73 (android_e95a62c0525bc56) the information above via eth2 indicates that the device has successfully allocated an IP address for the connected terminal. The assigned IP address is: F8: DB: 7f: 23: 4C: For the MAC address of the terminal 192.168.252.64: 73 the terminal ID is android_e95a62c0525bc564. During the check, all content on the device can be normally accessed.

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.