User Tools

Site Tools


wrtu54g-tm:openwrt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wrtu54g-tm:openwrt [2010/11/17 03:55] neutronscottwrtu54g-tm:openwrt [2023/11/04 22:30] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Preface, Warnings, don't try this at home ======+====== Introduction  ====== 
 +This is currently in the OpenWRT trunk, and while not an official marked release, if it builds, it usually builds something stable. :) If you'd like to discuss this, I created a mailing list so information isn't scattered around various forums and my own personal email. Let's get a little community going where everyone can benefit!
  
-I do very limited tested beforehandI currently have a couple helpful users that give me constant feedback, but I post builds after I change something I find worthwhileI need **YOUR FEEDBACK** I do not actually run this router on my network, because it's always connected to my laptop getting hackedMaybe someone should send me one or two more.+  * mailing list: http://lists.scottn.us/cgi-bin/mailman/listinfo/adm8668 
 +  a bootlog: http://wrt.scottn.us/openwrt-trunk-bootlog.txt 
 +  * the changelog: ([[wrtu54g-tm:changelog|ChangeLog]])
  
-The original hacker router, Linksys WRT54G, runs a TFTP server upon bootup. Our bootloader, an ancient U-boot, has TFTP client. It can be set to attempt TFTP download from a serverI found a good way to do this by settings to environment variablesI hope to incorporate this into a future buildI would still like to replace/chainload our bootloader so a serial cable is never neededThere is a NETCONSOLE feature, but it is not enabled in the build flashed to our routerSee [[wrtu54g-tm:uboot|U-Boot]] for more details.+====== Download  ====== 
 +  * **Latest build** is contrib from @jdownj/twitter made 18feb2011 from fresh trunkit includes openvpnhttp://wrt.scottn.us/wrtu54g-tm-jdownj-openvpn.bin 
 +  * the binary: http://wrt.scottn.us/wrtu54g-tm-openwrt-devel-b5.bin 
 +  * source is in openwrt trunk: https://dev.openwrt.org/wiki/GetSource
  
-**RECOMMENDED BUILD FOR USE IS BACKFIRE** The 2.6 kernel lacks USB and the wifi driver will run your CPU hot and leave you disappointed.+====== Installation  ====== 
 +When preinit starts, SES light turns greenIf you are holding the SES button, or at least press it quickly as soon as light turns green, then failsafe should start. Failsafe is indicated by orange light. Then you may telnet to 192.168.1.1 with a PC connected to a LAN port.
  
-===== Contributors ===== +==== From official firmware ==== 
-I must give a shoutout to those who have been so generous with their feedback. I hope to add to this list.+You should be able to simply install this from the Update Firmware page in the Web interface! :)
  
-  * Mayckel (guy from Curacao) - has tons of these routers and is certainly #1 with feedbackHe hacked together a serial cable to help me out (well, and himself with the dozen bricks I helped make).+==== packages ==== 
 +started package repo of our ownwe need _at least_ our own kernel modules right? try this in /etc/opkg.conf:
  
-====== X-WRT Preconfigured  ====== +  src/gz adm8668 http://wrt.scottn.us/packages 
-This is something I would actually finally send to end-users...+  src/gz snapshots http://downloads.openwrt.org/snapshots/trunk/brcm47xx/packages 
 +  dest root / 
 +  dest ram /tmp 
 +  lists_dir ext /var/opkg-lists 
 +  option overlay_root /overlay 
 +  arch all 5 
 +  arch brcm47xx 10 
 +  arch adm8668 20
  
-binary: http://wrt.scottn.us/wrtu54g-tm-xwrt-b3.bin ([[wrtu54g-tm:changelog|ChangeLog]])+==== upgrade from backfire ==== 
 +This should work given the feedback from Victor: http://lists.scottn.us/pipermail/adm8668/2011-March/000023.html
  
-Simply connect to LAN port or wifi and configure from http://192.168.1.1 the username is 'root' and the default password is blank+  root@OpenWrt:~# source /lib/upgrade/common.sh && run_ramfs 
- +  mount: mounting mini_fo:/overlay on /mnt failed: Function not implemented 
-**brick alert** If you want to use the 'system upgrade' function from previous backfire build, elect not to save your configthe position in flash of the config can change between binaries, so your config might overwrite your filesystem! +  Please press Enter to activate this console.  
- +  BusyBox v1.15.3 (2010-09-14 10:19:20 EDT) built-in shell (ash) 
-i've only tested installing this from factory firmware and from bootloaderif you've been testing my other firmwares and don't have a serial cable, please email me and i'll load and test for you:\ or try enabling [[wrtu54g-tm:uboot|U-Boot failsafe]] +  Enter 'help' for a list of built-in commands
- +  / # cd /tmp         
-====== OpenWRT Backfire (10.03, r23044, kernel 2.4.37)  ====== +  /tmp # wget http://wrt.scottn.us/wrtu54g-tm-openwrt-devel.bin 
- +  Connecting to wrt.scottn.us (208.77.101.28:80) 
-Basic openwrt build. Last updated 13Nov2010. I think I'll only make X-WRT build now..+  wrtu54g-tm-openwrt-d 100% |*******************************|  2250k 00:00:00 ETA 
- +  /tmp mtd write wrtu54g-tm-openwrt-devel.bin linux:rootfs:rootfs_data && reboot 
-binary: http://wrt.scottn.us/wrtu54g-tm-backfire-b3.bin ([[wrtu54g-tm:changelog|ChangeLog]]) +  Unlocking linux ... 
- +  Unlocking rootfs ... 
-source: http://wrt.scottn.us/openwrt-backfire-adm8668-r1.tar.gz FIXME needs updated bad. +  Unlocking rootfs_data ... 
- +  Writing from wrtu54g-tm-openwrt-devel.bin to linux ...      
-===== Recommended setup ===== +  Writing from wrtu54g-tm-openwrt-devel.bin to rootfs ...      
-  - Flash the router from Linksys web interface. +  Writing from wrtu54g-tm-openwrt-devel.bin to rootfs_data ...     
-  Telnet to 192.168.1.1 +
-  Set password to enable ssh and disable telnet: **passwd** +
-  - SSH to root@192.168.1.1 +
-  - Update opkg: **opkg update** +
-  - Install X-WRT: **opkg install webif** +
-  - Make web daemon start on bootup: **/etc/init.d/uhttpd enable** +
-  - Reboot: **reboot** +
- +
- +
- +
-===== Bugs and workarounds ===== +
- +
-==== USB storage ==== +
- +
-At least from my experience, USB1.1 is reliable, while USB2.0 storage just ... breaks/corrupts stuff. +
-Also, since EHCI is made in the kernel, we must override dependency of kmod-usb-core. I did this: +
- +
-  root@OpenWrt:~# opkg install kmod-scsi-core +
-  root@OpenWrt:~opkg install --nodeps kmod-usb-storage +
-  Installing kmod-usb-storage (2.4.37.9-1) to root... +
-  Downloading http://downloads.openwrt.org/backfire/10.03/brcm-2.4/packages/kmod-usb-storage_2.4.37.9-1_brcm-2.4.ipk+
-  Configuring kmod-usb-storage. +
-  Initializing USB Mass Storage driver... +
-  usb.c: registered new driver usb-storage +
-  scsi0 : SCSI emulation for USB Mass Storage devices +
-    Vendor: Generic   Model: STORAGE DEVICE    Rev: 9451 +
-    Type:   Direct-Access                      ANSI SCSI revision: 02 +
-  Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 +
- +
-There it is! Just make sure it's a USB1.1-only hub for great successI found a Belkin F5U021 after *much* searching on eBay/interwebs. They are hard to come by nowadays:( +
- +
-==== fat/vfat/ntfs filesystems ==== +
-These require nls_base which should have been made in the kernel but was not due to incorrect kernel config by defaultI will fix this in next build, but the workaround is to install it as a module. That module is at http://wrt.scottn.us/nls_base.o and you can place it manually in /lib/modules/ and create a file in /etc/modules.d to autoload it for now.+
  
  
wrtu54g-tm/openwrt.1289966110.txt.gz · Last modified: 2023/11/04 22:29 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki