When booting from a CD, the kernel does not mount a file system at “ /”. Instead, it extracts files from an initramfs archive to populate the special file system rootfs. To create an environment similar to SquashFS-booting, I modified “ /init” to create a device to be mounted at “ /”:Īfter extraction “ /init” is run to initialize the system. “ /init” first creates “ /dev/loop0” and “ /dev/root”, both point to the loopback device #0. Password for root changed by ssh access to device from WAN port, /etc/firewall. Deploying image: kamikaze-r11772]# dd if=bin/openwrt-x86-squashfs.image of=/dev/sdbĪfter images will be written to drive, reinstall this to target plaform and setup that HDD as bootable.Īfter firmware starts goto shell and edit (use vi) some configuration files.Įdit network configuration /etc/config/network: config interface loopbackĮdit wireless configuration /etc/config/wireless: config wifi-device wifi0Ĭustomize channel and key used for your case.Ĭhange root password to enable ssh login: passwd Jul 12 15:57:36 dev-2 kernel: ata2: EH complete It's a small solid HDD install on secondary IDE channel. I my case i used: Jul 12 15:57:36 dev-1 kernel: ata2.00: ATA-0: PQI IDE DiskOnModule, ra01.20a, max PIO2 Installation process is just copying image to HDD. Resulting images located in bin directory: kamikaze-r11772]$ ls -s bin/ | moreĤ9676 2Ĥ2900 2 Start building process: kamikaze-r11772]$ CC=gcc34 make override built-in for Kernel modules - Wireless Drivers that will be used in your platform, in my case Driver for Atheros wireless chipsetsĪfter this changes made exit and confirm changes saving.override built-in for Kernel modules - Network Devices that will be used in your platform, in my case Intel(R) PRO/100+ cards.Advanced configuration options (for developers).Goto to source directory and configure: src]$ cd kamikaze-r11772]$ CC=gcc34 make menuconfig compat-gcc-34 (required due to some news changes in supplied gcc with FC8).I my case: mv kamikaze kamikaze-r11772 Building prerequisitesįor build OpenWrt images i used FC8 (Fedora Core 8) distro. Use subversion repo: ~]$ svn checkout kamikazeĪfter downloading rename directory - append trunk version suffix. I recommend download latest trunk version. We install 2 NIC (Intel Ethernet 100) to provide WAN and LAN interfaces. For target platform we will use standard PC with D-link DWA-520G (Atheros chipset) WiFi board compatible with hostapd.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |