Implementation of Wireless AP Based on openwrt and S3C2440

Source: Internet
Author: User
Tags svn update

A Wireless AP (Access Point) is an access point of a wireless network. It has a bridging function from wireless to wired. The Wireless AP here is a pure access device, no routing function (not implemented due to the limited number of NICs on the Development Board ).

The specific implementation method is as follows:

Hardware preparation: mini2440 Development Board, USB wireless network card DWL-122, hardware connection diagram is as follows:


Connect the 2440 network port to the LAN port of the wired router, so that the router assigns an IP address to the mini2440.

The next step is openwrt compilation. I compiled it under ubuntu10.04 and must use the user permission !!,

The compilation procedure is as follows:

Update Ubuntu:

$ Sudo apt-get-y update

Install Subversion:

$ Sudo apt-Get install Subversion

Install necessary compilation tools:

$ Sudo apt-Get install libtool Autoconf automakegcc-multilib bison screen GCC g ++ binutils patch Bzip2 flex make gettext unziplibc6 Git-core git build-essential libncurses5-dev zlib1g-dev gawk quilt asciidoc libz-Dev

Download source code:

$ Cd ~

$ SVN checkouthttp: // openwrt-arm.googlecode.com/svn/trunk/openwrt/ openwrt-arm

$ CD openwrt-arm

Update Source:

$ SVN update

$./Scripts/feeds Update-

$./Scripts/feeds install-

Configure:

$ CD openwrt-arm

$ Make defconfig

$ Make menuconfig

Compile:

$ Make v = 99

A) Burn and write the kernel:

Openwrt-arm/bin/s3c24xx uboot. Bin, openwrt-s3c24xx-mini2440-zImage, openwrt-s3c24xx-squashfs.img with dnw to mini2440:

I. Switch to nor flash to start

Select F format

Select Q for uboot to enter the command mode of Vivi, and enter

> Part add uboot 0x00000000 0x00060000 0

> Load flash uboot USB

Download the u-boot.bin through the dnw under WINDOS or the dnw2 tool of this project

Ii. After uboot is downloaded, enable uboot through NAND for configuration.

Go to the menu and press the s key to select settailsystem paramter to enter the U-BOOT configuration, option.

Press "3" again and select "matchtype". Select "7" based on your actual situation ). And save the settings by S. Restart the Development Board and go to the main menu. Download it as needed. (Select 2 zimage) and then select 3squ

B) Start mini2440:

I. ifconfigwlan0 up enable wireless Nic

Ii. Set the Br-lan address to 192.168.2.3 in the serial port

Iii. Open Web page 192.168.1.120 in PC

Iv. On the webpage: Network-interface-Modify-Basic settings: settings


I. Restart mini2440

II. on the webpage: Network-Wireless-Modify-Basic settings: Set



Iii. Restart mini2440 to connect to openwrt_2440, a wireless hotspot.



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.