상세 컨텐츠

본문 제목

Openwrt Using Serial Port

카테고리 없음

by thoughbestlendia1971 2020. 2. 29. 15:20

본문

This is the fourth part of an ongoing series about building a low cost, open source streaming internet radio. If you haven’t already, check out parts, and for some background about the project.At this point you should have an wireless router with a and some way of communicating with the serial port from your PC. If not, go back to. What is OpenWrt?According to:OpenWrt is described as a Linux distribution for embedded devices.OpenWrt replaces the stock firmware on the WL-520GU with an open source distribution that aims to be extremely powerful and flexible. This is important for us because in turning a wireless router into a Wifi radio, we using the device in a way that the manufacturer never intended for it to be used. In addition to including a stripped down version of the Linux operating system, drivers for wireless networking and all the basic functionality of a residential network gateway, a package manager called allows you to install a wide variety of add-on modules to extend the functionality even further.

Setup:To install OpenWrt on the WL-520GU you will need a few things:. Your Asus WL-520GU wireless router, modified to allow access to the internal serial port. A 3.3V USB-serial cable like the.

A short ethernet cable (a crossover cable is not required). A desktop or laptop computer with an open USB and ethernet port. A terminal program such as or Hyperterminal. A, (surprisingly) included with most operating systems. I’ll be using the one included with OS X.

A WiFi network with a reasonably simple encryption scheme (ie. None, WEP, WPA)If you want to compile your own OpenWrt image and optional packages, you’ll also need. A machine running or similar Linux operating system, or if you are really ambitious, a Mac running OS X.

Port

Openwrt Using Serial Port In Linux

I won’t cover compiling OpenWrt using OS X here, but there are several issues that prevent it from being straightfoward, the first of which is that.Note: If for any reason you need to go back to the stock firmware, you can download it from Asus (enter WL-520GU into the search field on the left). Getting OpenWrt:There are two ways to do this: The hard way:Visit the and read the instructions on. Follow to build Kamikaze ( is the current OpenWrt distribution). Download the source with subversion , and compile it yourself. This method requires a moderate level of skill with Linux, but if you can compile your own kernel you should be able to compile OpenWrt. You will need to link to the feeds for madplay, mpc, and mpd (as well as any other 3rd party packages you want) before executing make menuconfig, by using the scripts/feeds command. Here is the sequence of commands I used, yours may differ slightly: svn co /kamikazecd /kamikaze./scripts/feeds update -a./scripts/feeds install madplay mpc mpdmake prereqIf make fails, you may need to install some optional Linux tools, such as gawk, bison, or gcc.

Yes.Just disable the wireless interface in /etc/config/wireless and set up /etc/config/network according to your needs.I’m pretty sure the WAN port comes set up to do what you want, try just plugging it in to your network and see what happens. The changes should be pretty minor if you need to make any.You might need to check the firewall configuration, the assignment of ports to wan/lan, bridging, etc, but it should not be much work.All of the documentation you need should be available at openwrt.org. All went well, i used your distro on WL500W, works like a dream, now i just have to wait for the CM119 (or 108, whatever it will be) to show up in my mailbox 🙂so far i get to: “No audiooutput specified and unable to detect a default audio output device”.Wireless part is not set up, since the card is missing and also etc/config/wireless file is empty, so i guess it is dissabled that way.the router works great, it’s a little tricky to set it up since no web server, but for a basic network it is just fine! Actualy i didn’t do any editing in etc/config/network, and it works as i type 🙂Flashing was done in a minute (for 1,9 meg file).Thanks for all the info and keep a good work! The second issue im facing is before configuring router i was able to telnet via PUTTY into my router.

Hi all,I will show you how to load the openWrt firmware using windows XP. First of all turn off your windows firewall from control panel and then turnoff the antivirus and its firewall. Now set your router in recovery mode by pressing RESTORE button and turn on the router, the power LED will blink once a second to show this. Now select the firmware restoration application provided in cd or download from the asus website.Put the firmware path in it and then click Upload, wait for sometime and then its done!!Enjoy XP users. I have everything working wired.

I cannot get the wireless light to come on. My wireless router is WGR614 using wep with 128 bit enc. I am also using SSH to configure ASUS WL-520gu. The xxxxxxx’s are replaced with my real key. This is a great project.

Thanksconfig wifi-device wl0option type broadcomoption channel 11# REMOVE THIS LINE TO ENABLE WIFI:config wifi-ifaceoption device wl0option network lanoption mode staoption ssid ThnigPadoption encryption wepoption key xxxxxxxxxxxxxxxx.