หน้าแรก การบันทึก>

เอกสารเก่าของระเบียน

สร้างใหม่ kernel [KuroBox]

เมื่อต้องการสร้างเคอร์เนล 2.6.25.20Linux จาก (ไม่มีเครื่องหมาย) สามารถใช้ใน KuroBox ก่อน U-Boot
ก่อนติดตั้งโปรแกรมที่จำเป็นในการคอมไพล์

KURO-BOX:/usr/src# aptitude install patch KURO-BOX:/usr/src# aptitude install libncurses-dev KURO-BOX:/usr/src# aptitude install bzip2 KURO-BOX:/usr/src# aptitude install module-init-tools 

ถัดไปดาวน์โหลดมา, แกะ

 KURO-BOX:/usr/src# wget http://www.genbako.com/kurobox-sources-2.6.25.patch KURO-BOX:/usr/src# wget http://www.genbako.com/kurobox-section-mismatch2625.patch KURO-BOX:/usr/src# wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.25.20.tar.bz2 KURO-BOX:/usr/src# tar -jxpvf linux-2.6.25.20.tar.bz2 

ถัดไปให้ใช้แพทช์

 KURO-BOX:/usr/src# cd linux-2.6.25.20 KURO-BOX:/usr/src/linux-2.6.25.20# patch -Np1 < ../kurobox-section-mismatch2625.patch KURO-BOX:/usr/src/linux-2.6.25.20# patch -Np1 < ../kurobox-sources-2.6.25.patch 

ถัดไปการเตรียม

 KURO-BOX:/usr/src/linux-2.6.25.20# export ARCH=ppc KURO-BOX:/usr/src/linux-2.6.25.20# cp config_kurobox .config KURO-BOX:/usr/src/linux-2.6.25.20# make oldconfig 

ที่สำคัญที่นี่เพื่อกำหนดค่าเคอร์เนล

 KURO-BOX:/usr/src/linux-2.6.25.20# make menuconfig 
 Networking > Networking options <*> Packet socket [*] Packet socket: mmapped IO <*> Unix domain sockets < > Transformation user configuration interface [ ] Transformation sub policy support (EXPERIMENTAL) [ ] Transformation migrate database (EXPERIMENTAL) [ ] Transformation statistics (EXPERIMENTAL) <M> PF_KEY sockets [ ] PF_KEY MIGRATE (EXPERIMENTAL) (NEW) [*] TCP/IP networking [*] IP: multicasting [*] IP: advanced router Choose IP: FIB lookup algorithm (choose FIB_HASH if unsurx x [*] IP: policy routing [ ] IP: equal cost multipath (NEW) [ ] IP: verbose route monitoring (NEW) [ ] IP: kernel level autoconfiguration <M> IP: tunneling <M> IP: GRE tunnels over IP [*] IP: broadcast GRE over IP [*] IP: multicast routing [*] IP: PIM-SM version 1 support [*] IP: PIM-SM version 2 support [ ] IP: ARP daemon support (EXPERIMENTAL) [ ] IP: TCP syncookie support (disabled per default) <M> IP: AH transformation <M> IP: ESP transformation <M> IP: IPComp transformation <*> IP: IPsec transport mode <*> IP: IPsec tunnel mode <*> IP: IPsec BEET mode < > Large Receive Offload (ipv4/tcp) <*> INET: socket monitoring interface [ ] TCP: advanced congestion control ---> [*] TCP: MD5 Signature Option support (RFC2385) (EXPERIMENTAL) < > IP virtual server support (EXPERIMENTAL) (NEW) ---> < > The IPv6 protocol [ ] Security Marking [*] Network packet filtering framework (Netfilter) ---> [*] Network packet filtering debugging [*] Advanced netfilter configuration (NEW) [*] Bridged IP/ARP packets filtering (NEW) Core Netfilter Configuration ---> <M> Netfilter NFQUEUE over NFNETLINK interface <M> Netfilter LOG over NFNETLINK interface <M> Netfilter connection tracking support -*- Connection tracking flow accounting -*- Connection mark tracking support [*] Connection tracking events <M> SCTP protocol connection tracking support (EXPERIMENTAL) <M> UDP-Lite protocol connection tracking support <M> Amanda backup protocol support <M> FTP protocol support <M> H.323 protocol support <M> IRC protocol support <M> NetBIOS name service protocol support <M> PPtP protocol support <M> SANE protocol support (EXPERIMENTAL) <M> SIP protocol support <M> TFTP protocol support <M> Connection tracking netlink interface {M} Netfilter Xtables support (required for ip_tables) <M> "CLASSIFY" target support <M> "CONNMARK" target support <M> "DSCP" and "TOS" target support <M> "MARK" target support <M> "NFQUEUE" target Support <M> "NFLOG" target support <M> "NOTRACK" target support -M- "RATEEST" target support <M> "TRACE" target support <M> "TCPMSS" target support <M> "TCPOPTSTRIP" target support (EXPERIMENTAL) <M> "comment" match support <M> "connbytes" per-connection counter match support <M> "connlimit" match support" <M> "connmark" connection mark match support <M> "conntrack" connection tracking match support <M> "dccp" protocol match support <M> "dscp" and "tos" match support <M> "esp" match support <M> "helper" match support <M> "iprange" address range match support <M> "length" match support <M> "limit" match support <M> "mac" address match support <M> "mark" match support <M> "owner" match support <M> IPsec "policy" match support <M> "multiport" Multiple port match support <M> "physdev" match support <M> "pkttype" packet type match support <M> "quota" match support <M> "rateest" match support <M> "realm" match support <M> "sctp" protocol match support (EXPERIMENTAL) <M> "state" match support <M> "statistic" match support <M> "string" match support <M> "tcpmss" match support <M> "time" match support <M> "u32" match support <M> "hashlimit" match support IP: Netfilter Configuration ---> <M> IPv4 connection tracking support (required for NAT) [*] proc/sysctl compatibility with old connection tracking (NEW) <M> IP Userspace queueing via NETLINK (OBSOLETE) <M> IP tables support (required for filtering/masq/NAT) <M> "recent" match support <M> "ecn" match support <M> "ah" match support <M> "ttl" match support <M> "addrtype" address type match support <M> Packet filtering <M> REJECT target support <M> LOG target support <M> ULOG target support <M> Full NAT <M> MASQUERADE target support <M> REDIRECT target support <M> NETMAP target support <M> Basic SNMP-ALG support <M> Packet mangling <M> ECN target support <M> TTL target support <M> CLUSTERIP target support (EXPERIMENTAL) <M> raw table support (required for NOTRACK/TRACE) <M> ARP tables support <M> ARP packet filtering <M> ARP payload mangling Bridge: Netfilter Configuration ---> <M> Ethernet Bridge tables (ebtables) support <M> ebt: broute table support <M> ebt: filter table support <M> ebt: nat table support <M> ebt: 802.3 filter support <M> ebt: among filter support <M> ebt: ARP filter support <M> ebt: IP filter support <M> ebt: limit match support <M> ebt: mark filter support <M> ebt: packet type filter support <M> ebt: STP filter support <M> ebt: 802.1Q VLAN filter support <M> ebt: arp reply target support <M> ebt: dnat target support <M> ebt: mark target support <M> ebt: redirect target support <M> ebt: snat target support <M> ebt: log support <M> ebt: ulog support (OBSOLETE) < > The DCCP Protocol (EXPERIMENTAL) ---> < > The SCTP Protocol (EXPERIMENTAL) ---> < > The TIPC Protocol (EXPERIMENTAL) ---> < > Asynchronous Transfer Mode (ATM) <M> 802.1d Ethernet Bridging <M> 802.1Q VLAN Support < > DECnet Support < > ANSI/IEEE 802.2 LLC type 2 Support < > The IPX protocol < > Appletalk protocol support < > CCITT X.25 Packet Layer (EXPERIMENTAL) < > LAPB Data Link Driver (EXPERIMENTAL) < > Acorn Econet/AUN protocols (EXPERIMENTAL) < > WAN router [ ] QoS and/or fair queueing ---> Network testing ---> 
 Networking > Wireless {*} Improved wireless configuration API [*] nl80211 new netlink interface support (NEW) -*- Wireless extensions <M> Generic IEEE 802.11 Networking Stack (mac80211) Rate control algorithm selection ---> [ ] Enable packet alignment debugging (NEW) [ ] Enable debugging output (NEW) {M} Generic IEEE 802.11 Networking Stack (DEPRECATED) [ ] Enable full debugging output (NEW) -M- IEEE 802.11 WEP encryption (802.1x) < > IEEE 802.11i CCMP support (NEW) < > IEEE 802.11i TKIP encryption (NEW) < > Software MAC add-on to the IEEE 802.11 networking stack (NEW) 
 Device Drivers > Networking device support [ ] Netdevice multiple hardware queue support <M> Dummy net driver support < > Bonding driver support < > MAC-VLAN support (EXPERIMENTAL) < > EQL (serial line load balancing) support <M> Universal TUN/TAP device driver support < > Virtual ethernet pair device < > ARCnet support ---> < > PHY Device support and infrastructure ---> [*] Ethernet (10 or 100Mbit) ---> [*] Ethernet (1000 Mbit) ---> [ ] Ethernet (10000 Mbit) ---> [ ] Token Ring driver support ---> Wireless LAN ---> [ ] Wireless LAN (pre-802.11) [*] Wireless LAN (IEEE 802.11) < > Intel PRO/Wireless 2100 Network Connection (NEW) < > Intel PRO/Wireless 2200BG and 2915ABG Network Connection (NEW) < > Marvell 8xxx Libertas WLAN driver support (NEW) < > Cisco/Aironet 34X/35X/4500/4800 ISA and PCI cards (NEW) <M> Hermes chipset 802.11b support (Orinoco/Prism2/Symbol) < > Hermes in PLX9052 based PCI adaptor support (Netgear MA30 < > Hermes in TMD7160 based PCI adaptor support (NEW) < > Nortel emobility PCI adaptor support (NEW) < > Prism 2.5 PCI 802.11b adaptor support (NEW) < > Atmel at76c50x chipset 802.11b support (NEW) < > Intersil Prism GT/Duette/Indigo PCI/Cardbus (NEW) <M> USB ZD1201 based Wireless device support < > Wireless RNDIS USB support (NEW) < > Realtek 8180/8185 PCI support (NEW) <M> Realtek 8187 USB support < > ADMtek ADM8211 support (NEW) < > Softmac Prism54 support (NEW) < > Atheros 5xxx wireless cards support (NEW) < > Intel Wireless WiFi 4965AGN (NEW) < > Intel PRO/Wireless 3945ABG/BG Network Connection (NEW) <M> IEEE 802.11 for Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP) [*] Support downloading firmware images with Host AP driver [*] Support for non-volatile firmware download < > Host AP driver for Prism2/2.5/3 in PLX9052 PCI adaptors < > Host AP driver for Prism2.5 PCI adaptors (NEW) < > Broadcom 43xx wireless support (mac80211 stack) (NEW) < > Broadcom 43xx-legacy wireless support (mac80211 stack) (NEW) <M> ZyDAS ZD1211/ZD1211B USB-wireless support [*] ZyDAS ZD1211 debugging < > Ralink driver support (NEW) USB Network Adapters ---> < > USB CATC NetMate-based Ethernet device support (EXPERIMENTAL) < > USB KLSI KL5USB101-based ethernet device support < > USB Pegasus/Pegasus-II based ethernet device support <M> USB RTL8150 based ethernet device support (EXPERIMENTAL) < > Multi-purpose USB Networking Framework [ ] Wan interfaces support ---> [ ] FDDI driver support [ ] HIPPI driver support (EXPERIMENTAL) < > PPP (point-to-point protocol) support < > SLIP (serial line) support [ ] Fibre Channel driver support < > Network console logging support (EXPERIMENTAL) 

Anyway, บันทึกการตั้งค่าของคุณเพื่อเปิดการใช้งานบางส่วนของ LAN ไร้สาย USB iptable, IPSec, multicast, อุโมงค์ IPIP / GRE, อินเตอร์เฟซ Dummy, แก้และ 802.1Q VLAN
และในที่สุดก็รวบรวม เมื่อต้องการสร้าง uImage ที่นี่

 KURO-BOX:/usr/src/linux-2.6.25.20# make uImage scripts/kconfig/conf -s arch/ppc/Kconfig CHK include/linux/version.h UPD include/linux/version.h CHK include/linux/utsrelease.h UPD include/linux/utsrelease.h SYMLINK include/asm -> include/asm-ppc CC arch/ppc/kernel/asm-offsets.s ~省略~ LD .tmp_vmlinux2 KSYM .tmp_kallsyms2.S AS .tmp_kallsyms2.o LD vmlinux SYSMAP System.map SYSMAP .tmp_System.map OBJCOPY arch/ppc/boot/images/vmlinux.bin GZIP arch/ppc/boot/images/vmlinux.gz UIMAGE arch/ppc/boot/images/uImage Image Name: Linux-2.6.25.20-kurobox Created: Sat Jul 2 21:40:24 2011 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 1460604 Bytes = 1426.37 kB = 1.39 MB Load Address: 0x00000000 Entry Point: 0x00000000 Image: arch/ppc/boot/images/uImage is ready 

ดำเนินการต่อได้อย่างปลอดภัยเพื่อที่คุณจะได้สร้าง uImage ให้และติดตั้งโมดูล

 KURO-BOX:/usr/src/linux-2.6.25.20# make modules KURO-BOX:/usr/src/linux-2.6.25.20# make modules_install 

การสำรองที่มีอยู่เพื่อสร้าง uImage ในการจัดเก็บ

 KURO-BOX:/usr/src/linux-2.6.25.20# cd /boot KURO-BOX:/boot# ls -la drwxr-xr-x 3 root root 4096 2011-06-26 22:35 . drwxr-xr-x 21 root root 4096 2011-04-10 05:23 .. -rw-r--r-- 1 tmp-kun tmp-kun 31064 2008-05-04 22:18 .config -rw-r--r-- 1 root root 718574 2011-06-26 18:20 System.map -rw-r--r-- 1 root root 1465831 2011-06-26 22:01 uImage lrwxrwxrwx 1 tmp-kun tmp-kun 6 2011-04-10 05:25 vmlinux.UBoot -> uImage -rwxr-xr-x 1 tmp-kun tmp-kun 3063942 2008-05-04 22:18 vmlinux.bin KURO-BOX:/boot# mv System.map System.map.org KURO-BOX:/boot# mv uImage uImage.org 

UImage และสำเนาที่คุณสร้างขึ้น

 KURO-BOX:/boot# cp -p /usr/src/linux-2.6.25.20/arch/ppc/boot/images/uImage /boot KURO-BOX:/boot# cp -p /usr/src/linux-2.6.25.20/System.map /boot 

ในที่สุดเช่นนี้

 KURO-BOX:/boot# ls -la drwxr-xr-x 3 root root 4096 2011-06-26 22:35 . drwxr-xr-x 21 root root 4096 2011-04-10 05:23 .. -rw-r--r-- 1 tmp-kun tmp-kun 31064 2008-05-04 22:18 .config -rw-r--r-- 1 root root 718574 2011-06-26 18:20 System.map -rw-r--r-- 1 tmp-kun tmp-kun 694437 2008-05-04 22:18 System.map.org -rw-r--r-- 1 root root 1465831 2011-06-26 22:01 uImage -rw-r--r-- 1 tmp-kun tmp-kun 1432414 2008-05-04 22:18 uImage.org lrwxrwxrwx 1 tmp-kun tmp-kun 6 2011-04-10 05:25 vmlinux.UBoot -> uImage -rwxr-xr-x 1 tmp-kun tmp-kun 3063942 2008-05-04 22:18 vmlinux.bin 

นี้หลังจากการรีสตาร์ท, กาเริ่มต้น

 KURO-BOX:~# uname -a Linux KURO-BOX 2.6.25.20-kurobox #3 Sun Jun 26 21:59:59 JST 2011 ppc GNU/Linux 

เมื่อต้องการตรวจสอบว่ารุ่นของเคอร์เนลได้รับการปรับปรุง

สร้าง mkimage [KuroBox]

เพื่อรวบรวม mkimage เพื่อสร้างเคอร์เนลในรูปแบบของ U-Boot สามารถนำมาใช้ใน

KuroBox จะถูกสร้างขึ้นจากแหล่งที่ 1.1.4 เนื่องจากพวกเขามีในปัจจุบัน U-Boot1.1.4
ขั้นแรกให้ดาวน์โหลดมา, แกะ

 KURO-BOX:~# cd /usr/src/ KURO-BOX:/usr/src# wget http://prdownloads.sourceforge.net/u-boot/u-boot-1.1.4.tar.bz2 KURO-BOX:/usr/src# tar -xjvf u-boot-1.1.4.tar.bz2 KURO-BOX:/usr/src# cd u-boot-1.1.4 

เมื่อต้องการเก็บเส้นทางปัจจุบันเพราะดูเหมือนว่าบางครั้งทำให้การอ้างอิงถึง $ TOPDIR แล้ว

 KURO-BOX:/usr/src/u-boot-1.1.4# export TOPDIR=`pwd` KURO-BOX:/usr/src/u-boot-1.1.4# echo $TOPDIR /usr/src/u-boot-1.1.4 

ฉันต้องใช้เวลานี้เพื่อให้เครื่องมือเฉพาะเพื่อ mkimage ไดเรกทอรี

 KURO-BOX:/usr/src/u-boot-1.1.4# cd tools KURO-BOX:/usr/src/u-boot-1.1.4/tools# make mkimage ln -s ../common/environment.c environment.c ln -s ../lib_generic/crc32.c crc32.c gcc -M -Wall -pedantic -idirafter ../include -DTEXT_BASE= -DUSE_HOSTCC environment.c img2srec.c mkimage.c crc32.c envcrc.c gen_eth_addr.c bmp_logo.c > .depend environment.c:28:20: error: config.h: No such file or directory envcrc.c:32:20: error: config.h: No such file or directory gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE= -DUSE_HOSTCC -O -c mkimage.c gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE= -DUSE_HOSTCC -O -c crc32.c gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE= -DUSE_HOSTCC -O -o mkimage mkimage.o crc32.o strip mkimage 

เคอร์เนล U-Boot ที่เปิดใช้งานจะถูกสร้างขึ้นคุณสามารถเริ่มต้นได้โดยไม่มีปัญหาใด ๆ ที่ผิดพลาดนี้ก็คือว่ามัน mkimage

 KURO-BOX:/usr/src/u-boot-1.1.4/tools# cp -p mkimage /usr/local/bin KURO-BOX:/usr/src/u-boot-1.1.4/tools# which mkimage /usr/local/bin/mkimage 

Mkimage ถูกสร้างขึ้นคัดลอกแล้วไปสถานที่และดำเนินการเส้นทางของคุณเช่น / usr / local / bin

การติดตั้ง GCC [KuroBox]

มีการติดตั้ง GCC และระบบเริ่มต้นติดตั้งสองรุ่น 3.4 (4.3 ระบบ)

 KURO-BOX:~# aptitude install gcc gcc-3.4 

·อย่างไรก็ตามกำหนดไว้ในการปรับปรุงทางเลือกเพื่อสลับไปเมื่อคุณเสร็จสิ้นการติดตั้งผมตรวจสอบได้ด้วยคำสั่ง:

 KURO-BOX:~# update-alternatives --display gcc No alternatives for gcc. 

ไม่ชอบ พยายามที่จะกำหนดทุกอย่างที่สามารถตั้งค่าด้วยคำสั่งต่อไปนี้และอาจมีอยู่แล้วภายใต้ชื่อที่แตกต่างกัน

 KURO-BOX:~# update-alternatives --all 

Yappari ไม่ชอบ
ดังนั้น, (". gcc" และชื่อกลุ่มว่า) ด้วยตนเองเพิ่ม

 KURO-BOX:~# update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-3.4 34 --slave /usr/bin/cpp cpp /usr/bin/cpp-3.4 --slave /usr/bin/gcov gcov /usr/bin/gcov-3.4 KURO-BOX:~# update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.3 43 --slave /usr/bin/cpp cpp /usr/bin/cpp-4.3 --slave /usr/bin/gcov gcov /usr/bin/gcov-4.3 

กำหนดค่าการใช้ gcc-3.4 โดยค่าเริ่มต้น

 KURO-BOX:~# update-alternatives --config gcc There are 2 alternatives which provide `gcc'. Selection Alternative ----------------------------------------------- * 1 /usr/bin/gcc-3.4 + 2 /usr/bin/gcc-4.3 Press enter to keep the default[*], or type selection number: 1 Using '/usr/bin/gcc-3.4' to provide 'gcc'. 

เริ่มต้น KuroBox [KuroBox]

หมายเหตุเมื่อผมไปติดตั้งและจัดรูปแบบฮาร์ดดิสก์หลังจากที่กลายเป็น U Boot-(เครื่องหมายไม่มี) เพราะเดิมเขาถูกทิ้ง KuroBox

  1. รูปแบบของฮาร์ดดิสก์นี้ <br /> จงใจถอด HDD ได้ดำเนินการลบพาร์ทิชันกับ Windows7
    KuroBox กลับไปที่รูปแบบเสร็จสมบูรณ์ประกอบ
  2. U-Boot โหมดคำสั่งเพื่อยืนยันสถานการณ์และเริ่มต้นใน nc
    เริ่มต้นที่ Windows PC อร์ทแคโรไลนา , ภาพถ่าย (สำหรับสายตรงผ่านสวิทช์และด้านหลัง) กับครอสโอเวอร์สายเคเบิลกล่องเชื่อมต่อและพลเอก
    198.168.11.149 ตั้งอยู่ IP ของคอมพิวเตอร์ที่ใช้ Windows นำทางไปยังโฟลเดอร์ของ NC จากคำสั่งให้เรียกใช้คำสั่งต่อไปนี้เพื่อเริ่มต้น

     nc -v -v -n -u -s 192.168.11.149 -p 6666 192.168.11.150 6666 

    ควรจะแสดงดังรูปข้างล่างเพื่อชมรัฐเพื่อ 192.168.11.150 ตอนนี้เมื่อคุณเริ่มต้น KuroBox

     U-Boot 1.1.4 LiSt 2.1.0 (Sep 21 2006 - 00:22:56) LinkStation / KuroBox CPU: MPC8245 Revision 1.4 at 196.608 MHz: 16 kB I-Cache 16 kB D-Cache DRAM: 64 MB FLASH: 4 MB ~省略~ Boot in 10 seconds ('s' to stop)... 

    ป้อน [S] ที่นี่เข้าสู่โหมดคำสั่งของ U-Boot

     Boot in 7 seconds ('s' to stop)... s => 
  3. EM โหมด
     => run writeng Un-Protected 1 sectors Flash erase: first = 55 @ 0xfff70000 last = 55 @ 0xfff70000 Flash erase: Done Erased 1 sectors Copy to Flash... done => run emboot ## Booting image at ffc00000 ... ******* Product Information ******* [#k0621bb4] ---------------------------------- Product Name: KURO-BOX(IETSUNA) VER: 1.02 Date: 2004/4/16 11:46:41 ---------------------------------- Verifying checksum... OK Uncompressing kernel...done. Loading Ramdisk at 0x03C67000, end 0x03E6E647 ... OK Booting the kernel ~省略~ 

    ดังนั้นควรจะยืนขึ้นในโหมด EM ในนี้เอาสายเคเบิลแบบไขว้เพื่อเชื่อมต่อกับระบบ LAN, DHCP ทำงาน

  4. ตรวจสอบที่อยู่ IP ที่ได้รับใน KuroBox DHCP ไม่เข้าสู่ระบบใน Telnet

     Kroutoshikou KURO-BOX (IETSUNA) kernel 2.4.17_kuro-box on ppc KURO-BOX login: root Password: kuro 
  5. สร้างพาร์ทิชัน
    ลบ HDD ภูมิภาคท​​ั่ว

     root@KURO-BOX:~# /sbin/mfdisk -e /dev/hda delete partition 1 delete partition 2 delete partition 3 delete partition 4 create partitions... deleate all partitions. The partition table has been altered! Syncing disks. 

    (: 4GB, SWAP สำหรับภูมิภาคท​​ี่สอง: 256MB, ภูมิภาคท​​ี่สาม: พื้นที่ส่วนที่เหลือก่อน) ตามด้วยการแบ่ง

     root@KURO-BOX:~# /sbin/mfdisk -c /dev/hda Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-15798, default 1): [enter] Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-15798, default 15798): +4000M Command (m for help): n Command action  e extended  p primary partition (1-4) p Partition number (1-4): 2 First cylinder (8128-15798, default 8128): [enter] Using default value 8128 Last cylinder or +size or +sizeM or +sizeK (8128-15798, default 15798): +256M Command (m for help): n Command action  e extended  p primary partition (1-4) p Partition number (1-4): 3 First cylinder (8649-15798, default 8649): [enter] Using default value 8649 Last cylinder or +size or +sizeM or +sizeK (8649-15798, default 15798): [enter] Using default value 15798 Command (m for help): t Partition number (1-4): 2 Hex code (type L to list codes): 82 Changed system type of partition 2 to 82 (Linux swap) Command (m for help): p Disk /dev/hda: 16 heads, 63 sectors, 15798 cylinders Units = cylinders of 1008 * 512 bytes Device Boot Start  End  Blocks Id System /dev/hda1     1  8127 4095976+ 83 Linux /dev/hda2    8128  8648  262584 82 Linux swap /dev/hda3   8649 15798 3603600 83 Linux Command (m for help): w The partition table has been altered! Syncing disks. 
  6. <br /> รูปแบบครั้งแรกในภูมิภาคที่แรก (LinuxOS) พื้นที่ถูกสร้างขึ้น

     root@KURO-BOX:~# /sbin/mke2fs -j /dev/hda1 mke2fs 1.22, 22-Jun-2001 for EXT2 FS 0.5b, 95/08/09 Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 512000 inodes, 1023994 blocks 51199 blocks (5.00%) reserved for the super user First data block=0 32 block groups 32768 blocks per group, 32768 fragments per group 16000 inodes per group Superblock backups stored on blocks:    32768, 98304, 163840, 229376, 294912, 819200, 884736 Writing inode tables: done Creating journal (8192 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 21 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. 

    แล้วภาคที่สอง (Swap)

     root@KURO-BOX:~# /sbin/mkswap /dev/hda2 Setting up swapspace version 1, size = 268881920 bytes 

    ในที่สุดภาคที่สาม (Data)

     root@KURO-BOX:~# /sbin/mke2fs -j -m 0 /dev/hda3 mke2fs 1.22, 22-Jun-2001 for EXT2 FS 0.5b, 95/08/09 Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 450688 inodes, 900900 blocks 0 blocks (0.00%) reserved for the super user First data block=0 28 block groups 32768 blocks per group, 32768 fragments per group 16096 inodes per group Superblock backups stored on blocks:    32768, 98304, 163840, 229376, 294912, 819200, 884736 Writing inode tables: done Creating journal (8192 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 28 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. 
  7. เมาพื้นที่ที่ถูกสร้างขึ้น
     root@KURO-BOX:~# mount -t ext3 /dev/hda1 /mnt root@KURO-BOX:~# mount -t ext3 /dev/hda3 /mnt2 root@KURO-BOX:~# df -h Filesystem Size  Used Available Use% Mounted on /dev/ram0  9.5M  5.0M    4.5M  53% / /dev/hda1  3.8G 32.1M    3.6G  1% /mnt /dev/hda3  3.4G 32.1M    3.4G  1% /mnt2 
  8. การถ่ายโอนข้อมูลที่ OS
    FTP (FileZilla เพื่อบันทึกสามของดังต่อไปนี้เพื่อสร้างโฟลเดอร์ใน u-boot (/ dev/hda3) / mnt2 ไฟล์ต่อไปนี้ ฯลฯ )

    หลังจากที่ผมตรวจสอบการโอนเงิน

     root@KURO-BOX:~# ls /mnt2/u-boot debian-lenny-kuroBOX-20090317.tgz kernelimage-2.6.20-kuroBOX-uImage.tgz modules-2.6.20-kuroBOX.tgz 
  9. การติดตั้ง OS
    ขยายไป (/ mnt) / dev/hda1 (Lenny) Debian5.0

     root@KURO-BOX:~# cd /mnt root@KURO-BOX:~# pwd /mnt root@KURO-BOX:~# tar xvzf /mnt2/u-boot/debian-lenny-kuroBOX-20090317.tgz ~省略~ 

    การตรวจสอบ / (/ mnt) dev/hda1

     root@KURO-BOX:~# ls /mnt bin home mnt sbin tmp boot lib opt selinux usr dev lost+found proc srv var etc media root sys 

    ขยายไป (/ mnt / boot) / dev/hda1/boot ภาพ kernel (2.6.20)

     root@KURO-BOX:~# tar xvfz /mnt2/u-boot/kernelimage-2.6.20-kuroBOX-uImage.tgz .config System.map vmlinux.UBoot uImage 

    / ตรวจสอบเนื้อหาของการบูต

     root@KURO-BOX:~# ls /mnt/boot System.map uImage vmlinux.UBoot 

    ขยายไป (/ mnt / lib / modules) / dev/hda1/lib/modules เคอร์เนลโมดูล (2.6.20)

     root@KURO-BOX:~# cd /mnt/lib/modules root@KURO-BOX:~# pwd /mnt/lib/modules root@KURO-BOX:~# tar xvzf /mnt2/u-boot/modules-2.6.20-kuroBOX.tgz ~省略~ 

    / ตรวจสอบให้แน่ใจว่าคุณมีคือ lib/modules/2.6.20-kurobox

     root@KURO-BOX:~# ls 2.6.20-kurobox root@KURO-BOX:~# ls 2.6.20-kurobox build modules.dep modules.pcimap kernel modules.ieee1394map modules.symbols modules.alias modules.inputmap modules.usbmap modules.ccwmap modules.isapnpmap source 
  10. คุณได้ตั้งค่าเครือข่ายก่อนที่จะเริ่มต้นใหม่ตั้งค่าเครือข่าย <br /> Lenny ให้ที่อยู่ถาวรในกรณี

     root@KURO-BOX:~# vi /mnt/etc/network/interfaces iface eth0 inet static address 192.168.0.100 network 192.168.0.0 netmask 255.255.255.0 broadcast 192.168.0.255 gateway 192.168.0.1 iface lo inet loopback auto eth0 lo 
     root@KURO-BOX:~# vi /mnt/etc/hosts 127.0.0.1 localhost 192.168.0.100 KURO-BOX 
     root@KURO-BOX:~# vi /mnt/etc/hosts.allow #ALL: 192.168.0.0/255.255.0.0 #ALL: 127.0.0.1 ALL : ALL : ALLOW 
     root@KURO-BOX:~# vi /mnt/etc/resolv.conf search nameserver 192.168.0.1 
  11. แก้ไขการตั้งค่า fstab เพื่อสภาพแวดล้อมของคุณ

     root@KURO-BOX:~# vi /mnt/etc/fstab # /etc/fstab: static file system information. # # proc /proc proc defaults 0 0 /dev/hda2 none swap sw 0 0 /dev/ hda1 / ext3 defaults,noatime,errors=remount-ro 0 0 /dev/ hda3 /mnt ext3 defaults,noatime 0 0   root@KURO-BOX:~# vi /mnt/etc/fstab # /etc/fstab: static file system information. # # proc /proc proc defaults 0 0 /dev/hda2 none swap sw 0 0 /dev/ hda1 / ext3 defaults,noatime,errors=remount-ro 0 0 /dev/ hda3 /mnt ext3 defaults,noatime 0 0  root@KURO-BOX:~# vi /mnt/etc/fstab # /etc/fstab: static file system information. # # proc /proc proc defaults 0 0 /dev/hda2 none swap sw 0 0 /dev/ hda1 / ext3 defaults,noatime,errors=remount-ro 0 0 /dev/ hda3 /mnt ext3 defaults,noatime 0 0  root@KURO-BOX:~# vi /mnt/etc/fstab # /etc/fstab: static file system information. # # proc /proc proc defaults 0 0 /dev/hda2 none swap sw 0 0 /dev/ hda1 / ext3 defaults,noatime,errors=remount-ro 0 0 /dev/ hda3 /mnt ext3 defaults,noatime 0 0 
  12. เริ่มต้นใหม่ผ่าน EM
    เขียนออกคำสั่งโหมด EM

     root@KURO-BOX:~# echo -n "OKOK" > /dev/fl3 

    ตรวจสอบว่าคำสั่งที่สามารถเขียน

     root@KURO-BOX:~# dd if=/dev/fl3 bs=4 count=1 OKOK1+0 records in 1+0 records out 4 bytes transferred in 0.006583 seconds (608 bytes/sec) 

    เริ่มต้นใหม่

     root@KURO-BOX:~# reboot 
  13. กาเริ่มต้นจาก Debian5.0 เลนนี่
    ตรวจสอบให้แน่ใจว่ารากหลังจากเข้าสู่ระบบที่จะกลายเป็นที่เชื่อมต่อกับไอพีที่ได้รับการตั้งค่าก่อนหน้านี้โดยการ telnet

     Debian GNU/Linux 5.0 KURO-BOX login: tmp-kun Password: tmp-kun ~省略~ tmp-kun@KURO-BOX:~$ suパスワード: root KURO-BOX:/home/tmp-kun# 

ตั้งเพื่อตรวจสอบระบบการปรับปรุงเครื่องมือการแก้ไข v2 เชอร์รี่

ระบบ V2 ยังภายในเพื่อรหัสอักขระแบบ Unicode "แก้ไขซากุระ" ได้รับการเผยแพร่อย่างเป็นทางการ
หมายเหตุพร้อมกับมันจึงพยายามเปลี่ยนการตั้งค่าของคุณเพื่อให้คุณสามารถตรวจสอบการสาธิตเครื่องมือระบบ v2 "SakuraDown" ความช่วยเหลือด้านการติดตั้ง

ในกรณีที่คุณต้องการแก้ไขดังต่อไปนี้ส่วนของ "DownInfo.ini" ซึ่งจะอธิบาย [EDITOR] เช่นปลายทางดาวน์โหลด

 [EDITOR] ;ReleaseURI=http://sourceforge.net/api/file/index/project-id/12488/rss?path=%2Fsakura ReleaseURI=http://sourceforge.net/api/file/index/project-id/12488/rss?path=%2Fsakura2 ;FileRegExp=\d\.\d\.\d\.\d/sakura_[^\/\?<>=]+\.zip FileRegExp=\d\.\d\.\d\.\d/sakura2[^\/\?<>=]+\.zip ReleaseFindingPolicy=FROM_LAST ;DownloadURI=http://@MIRROR.dl.sourceforge.net/project/sakura-editor/sakura/@FILE DownloadURI=http://@MIRROR.dl.sourceforge.net/project/sakura-editor/sakura2/@FILE ReleaseType=SITE_SOURCEFORGE ;WildName=sakura_????-??-??*.zip WildName=sakura2-*.zip 

ในกรณีที่คุณต้องการแก้ไขดังต่อไปนี้ส่วนของ "DownInfo.ini" เพื่อใช้ประโยชน์จาก [BREGEXP] ห้องสมุดแสดงออกรุ่น Unicode ปกติยัง

 [BREGEXP] ReleaseURI=http://homepage3.nifty.com/k-takata/mysoft/bregonig.html ;FileRegExp=bron[0-9]+\.zip FileRegExp=bron2[0-9]+\.zip DownloadURI=http://homepage3.nifty.com/k-takata/mysoft/@FILE ReleaseType=SITE_NORMAL WildName=bron???.zip;bron???.lzh 

แต่ผมคิดว่ามีบางสิ่งที่ไม่ถูกต้องย้ายเพื่อไม่แน่นอนในเรื่องนี้โปรดตอบที่มีความเสี่ยงของคุณเองโดยที่ระหว่างกาล

Lubuntu 11.04 การติดตั้ง DynaBook C7

Lubuntu Lxlauncher-


ติดตั้งเน็ตบุ๊ครุ่นอูบุนตู 10.10 ครั้งล่าสุด แต่ได้ออกมาเปลี่ยนได้เพราะการใช้งานเป็นปัญหาที่เกิดขึ้นกับการทำงานหนัก
Lubuntu เป็นสิ่งที่คุณเปลี่ยนจาก Gnome desktop ของอูบุนตูที่ใช้ LXDE
เมื่อต้องการใช้เครื่องคอมพิวเตอร์ไปยังทศวรรษที่ผ่านมาจากความหิว LXDE พิสูจน์ที่มีน้ำหนักเบาและเปลี่ยนแล้วลงในเครื่องคอมพิวเตอร์ที่ทันสมัย​​แตกต่างกันเล็กน้อยของเครื่องคอมพิวเตอร์รุ่นเก่า แต่ก็ยังมีตัวเปิดให้บริการเน็ตบุ๊ก

เพื่อให้แฟ้มตามที่อธิบายไว้ด้านล่างเพราะคุณไม่สามารถเริ่มต้น Lxlauncher อัตโนมัติ-boot
การตั้งค่าหน้าแรก / / <username> /. / autostart lxlauncher.desktop /

 [Desktop Entry] Encoding=UTF-8 Name=Lxlauncher Comment=LXDE launcher Exec=/usr/bin/lxlauncher Terminal=false Type=Application Icon= Categories=Application;System; 

โปรดสังเกตว่า 7 สัมผัสสภาพแวดล้อมเพชรสร้าง

หมายเหตุเมื่อตั้งค่าเพื่อให้สามารถใช้วิทยุ
FMラジオ

  • ทดแทนของ DLL

    เพื่อให้น้อยกว่าความไวของเสาอากาศ

    1. 1.09.25.23 rilphone.cab ทำงานไปข้างหน้าเพื่อ Touch Diamond
  • จำกัด การเปิดตัวของวง

    ยังคงอยู่ในต้นฉบับสามารถเลือกได้โดยการเปลี่ยนค่าของรีจิสทรีเพราะคุณไม่สามารถกำหนดเป็นส่วนหนึ่งของคลื่นความถี่ที่ 76.0 ~ 87.5 การตั้งค่า 90.0MHz ~ 108.0MHz ญี่ปุ่นดังนั้นในช่วง

    1. FM_JP.cab โอนไปยังทัชไดมอนด์และเรียกใช้
       [HKEY_LOCAL_MACHINE\Software\HTC\FMRadio\FMPlayer] “Band”=dword:0000000 1 
  • ฟังวิทยุ FM พร้อมหูฟังที่ปกติใช้

    สามารถฟังวิทยุแม้ว่าจะไม่ได้ติดตั้งไมโครโฟนและหูฟังที่ให้มาจะใช้อะแดปเตอร์เสียง USB "บางเฉียบ"

    1. อะแดปเตอร์เสียง USB "บางเฉียบ" ที่จะซื้อ

อ้างอิง: การเปลี่ยนแปลงที่สอดคล้องกันในประเทศญี่ปุ่นคลื่นความถี่ของวิทยุ FM ที่ไม่ใช่ญี่ปุ่น

โปรดสังเกตว่าสภาพแวดล้อมอาคารทัชไดมอนด์ 6

อธิบายเนื่องจากการร้องขอที่ได้รับและต้องการที่จะเขียนเกี่ยวกับการตั้งค่าและ e-mail EMnet SMS
SMS受信確認設定画面

  • ลบออก ArcMMS

    เรียก DelArcMMS.mscr ลบสมาคม ArcMMS

    1. DelArcMMS.mscr โอนไปยังทัชไดมอนด์และเรียกใช้
      (To BsB6.5.1G แต่ควรจะสามารถใช้สำหรับ MortScript อยู่แล้วถ้าคุณไม่สามารถ MortScript-4.2-PPC.cab โปรดเรียกใช้หลังจากการติดตั้ง.)
  • เตรียมความพร้อมสำหรับการติดตั้ง MMS Lite

    เขียนข้อมูลรีจิสทรีเพื่อให้สามารถรับ SMS หรือ MMS Lite ทำงานใน PreSetupMMSLite.exe

    1. PreSetupMMSLite.zip unzip และเรียกใช้โอนไปยังทัชไดมอนด์ PreSetupMMSLite.exe
  • การติดตั้งจาก MSS Lite

    เพื่อให้สามารถใช้ SMS และ MMS ที่จะติดตั้ง MMSLite.1.1.320.wm6.cab

    1. MMSLite.1.1.320.wm6.cab โอนไปยังทัชไดมอนด์และเรียกใช้
  • การตั้งค่า MMSLite

    เรียกใช้เขียนใหม่เพื่อให้เหมาะกับ MMSLite.mscr สภาพแวดล้อมของคุณสะท้อนให้เห็นถึงการตั้งค่า

    1. MMSLite.mscr ดาวน์โหลดเพื่อแก้ไข e-mail address ฯลฯ
       Case(YES) RegWriteDword( "HKCU", "Software\MMS Lite\Profiles\MMS", "AllowDeliveryReport" , 1 ) RegWriteDword( "HKCU", "Software\MMS Lite\Profiles\MMS", "AllowReadReport" , 1 ) RegWriteDword( "HKCU", "Software\MMS Lite\Profiles\MMS", "AutoRetry" , 1 ) RegWriteString( "HKCU", "Software\MMS Lite\Profiles\MMS", "EmailAddres", " 自分のメールアドレス@emnet.ne.jp " ) RegWriteDword( "HKCU", "Software\MMS Lite\Profiles\MMS", "ForceAutoRecv" , 1 ) RegWriteDword( "HKCU", "Software\MMS Lite\Profiles\MMS", "ForceConnect" , 0 ) RegWriteString( "HKCU", "Software\MMS Lite\Profiles\MMS", "MmsGateway", " 10.56.46.1:8080 " ) RegWriteString( "HKCU", "Software\MMS Lite\Profiles\MMS", "MmsServer", " http://mms.internal.emnet.ne.jp " ) RegWriteDword( "HKCU", "Software\MMS Lite\Profiles\MMS", "MsgDurationPeriod" , 0 ) RegWriteDword( "HKCU", "Software\MMS Lite\Profiles\MMS", "RequireDeliveryReport" , 0 ) RegWriteDword( "HKCU", "Software\MMS Lite\Profiles\MMS", "RetryCount" , 0 ) RegWriteDword( "HKCU", "Software\MMS Lite\Profiles\MMS", "RetryTimeout" , 30 ) RegWriteDword( "HKCU", "Software\MMS Lite\Profiles\MMS", "SaveSent" , 1 ) RegWriteDword( "HKCU", "Software\MMS Lite\Profiles\MMS", "ServerPort" , 80 ) RegWriteString( "HKCU", "Software\MMS Lite\Profiles\MMS\UserAgent", " Default ", " S21HT " ) RegWriteString( "HKCU", "Software\MMS Lite\Profiles\MMS\UserAgent", " S21HT ", " S21HT/ArcSoft-MMSUA-PPC-v50 " ) RegWriteDword( "HKCU", "Software\MMS Lite\Profiles\MMS\Connections", " EMnet " , 0 ) 
    2. ที่โอนเพื่อการทัชไดมอนด์และเรียก MMSLite.mscr แก้ไข
  • การตรวจสอบการตั้งค่าคอนฟิก

    ตรวจสอบว่าการตั้งค่าจะปรากฏใน

    1. ต้องการคือการที่คุณได้เลือกคนที่ EMnet: "เลือกการเชื่อมต่อที่คุณต้องการใช้"
    2. "ที่อยู่อีเมล์:" ผู้คนมีความกังวลในการส่ง แต่ไม่ได้ดูเหมือนปัญหาที่เกิดขึ้น แต่จะได้รับหมายเลขโทรศัพท์จะปรากฏขึ้นเพื่อให้ข้อมูลที่อยู่จะถูกบันทึกไว้ในรีจิสทรีที่มีการเปลี่ยนแปลงไปตามที่อยู่

หมายเหตุ: ทัชอีเมลเพชรรอม EMnet ในคั่ว (S21HT)

หากต้องการติดตั้งอูบุนตูรุ่น Netbook 10.10 DynaBook C7

ติดตั้งอูบุนตูเน็ตบุ๊ครุ่นล่าสุด 10.04 ทราบเพราะมีถูกต้องมองในการติดตั้งรุ่น Netbook อูบุนตู 10.10 อีกครั้งเพื่อให้ได้เพื่อกลับไป WindowsXP แต่หลังจากที่ได้ทำด้วยตนเองการตั้งค่าหน้าจอ

มันเป็นเรื่องของการ xorg.conf จะถูกสร้างขึ้นชิปเซ็ต /> CyberALADDiN-T <br ที่ผลิตโดยตรีศูล

  1. ในการเริ่มต้นจากสถานี Gedit
     $ gedit ~/xorg.conf 
  2. คัดลอกและวางเนื้อหาของต่อไปนี้

     Section "Monitor" Identifier "Generic Monitor" HorizSync 28-51 VertRefresh 43-60 EndSection Section "Screen" Identifier "Default Screen" Monitor "Generic Monitor" SubSection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" EndSubSection EndSection 
  3. 保存し xorg.conf を /etc/X11 にコピー
     sudo cp ~/xorg.conf /etc/X11/ 

[Android]NDKのインストール

MacOSXにインストールしたEclipseにAndroid NDKをインストールしたときのメモ。
(ndk-buildコマンド内でmakeコマンドを使用するため、Xcodeなどをインストールしておくこと)
Android NDK のダウンロード
NDKを適当なフォルダに格納する

  1. 下記のファイルをダウンロード
  2. ダウンロードしたファイルを解凍し、適当なフォルダに格納する(例:User/username/Developer)

CDT(C/C++ Development Tooling)のインストール

  1. 「ヘルプ」->「新規ソフトウェアのインストール…」を開く
  2. “作業対象:”に”Helios – http://download.eclipse.org/release/helios”を選択する
  3. 一覧が表示されたら「プログラミング言語」の中から下記のものにチェックを入れ、インストールする
    • C/C++ Development Tools
    • C/C++ Library API Documentation Hover Help (インキュベーション)

環境変数の追加

  1. .bash_profileを開く
    • vim ~/.bash_profile
  2. NDKの格納先を”PATH”に追加(例 NDK格納場所:/Users/username/Developer/android-ndk-mac)
     ANDROIDNDK_HOME=/Users/username/Developer/android-ndk-mac PATH=$PATH:${ANDROIDNDK_HOME} 
  3. .bash_profileを再読込し、変更を反映させる
    • source ~/.bash_profile
  4. 環境変数が反映されているか確認する
    • printenv PATH
  5. (もし、そもそも環境変数”PATH”が存在してなかったら.bash_profileに下記の一文を最終行に追記する)
     export PATH 

hello-jniライブラリのビルド

NDKに含まれるサンプルをビルドしてみて環境設定が整っていることを確認する。

  1. hello-jniのディレクトリに移動(例:/Users/username/Developer/android-ndk-mac/sample/hello-jni/)
    • cd /Users/username/Developer/android-ndk-mac/sample/hello-jni/
  2. ndk-build コマンドでビルドする(成功すると下記のような出力になる)
     Gdbserver : [arm-linux-androideabi-4.4.3] libs/armeabi/gdbserver Gdbsetup : libs/armeabi/gdb.setup Compile thumb : hello-jni <= hello-jni.c SharedLibrary : libhello-jni.so Install : libhello-jni.so => libs/armeabi/libhello-jni.so 
1 2 3 4 5 6

หน้าแรก การบันทึก>

ค้นหา
อาหาร
การแปล
Japanese flagItalian flagKorean flagChinese (Simplified) flagChinese (Traditional) flagEnglish flagGerman flagFrench flagRussian flagVietnamese flagThai flag

ページの上部に戻る