User Tools

Site Tools


hardware:fon2100

Differences

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

Link to this comparison view

Next revision
Previous revision
hardware:fon2100 [2007/09/08 22:48] – created kratz00hardware:fon2100 [2008/01/02 18:05] (current) kratz00
Line 1: Line 1:
 The default fon2100 was useless to me so I decided to put http://openwrt.org on it. The default fon2100 was useless to me so I decided to put http://openwrt.org on it.
  
-Screenshot of the webinterface before flashing the device. +Screenshot of the webinterface before flashing the device: 
-....+{{hardware:fonera2100_webinterface.png|}}
  
 ==Hacking the device to gain ssh access to prepare the firmware flash process== ==Hacking the device to gain ssh access to prepare the firmware flash process==
Line 8: Line 8:
  
 ==Flashing the device== ==Flashing the device==
 +
 +==Upgrading OpenWrt==
 +backup configuration files first:
 +
 +/etc/config/*\\ 
 +/etc/dnsmasq.conf\\ 
 +/etc/firewall.user
 +
 +<code>
 +cat /proc/mtd 
 +dev:    size   erasesize  name
 +mtd0: 00030000 00010000 "RedBoot"
 +mtd1: 000c0000 00010000 "vmlinux.bin.l7"
 +mtd2: 006f0000 00010000 "rootfs"
 +mtd3: 005f0000 00010000 "rootfs_data"
 +mtd4: 0000f000 00010000 "FIS directory"
 +mtd5: 00001000 00010000 "RedBoot config"
 +</code>
 +
 +First the kernel is updated
 +<code>
 +cd /tmp
 +wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.lzma
 +mtd -e vmlinux.bin.l7 write openwrt-atheros-2.6-vmlinux.lzma vmlinux.bin.l7
 +</code>
 +
 +and second the squashfs image
 +<code>
 +wget http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.jffs2-64k
 +mtd -e rootfs -r write openwrt-atheros-2.6-root.jffs2-64k rootfs
 +</code>
 +
 +After the reboot the router has following settings:
 +<code>
 +LAN: 192.168.1.1/24
 +WAN: DHCP
 +WIFI: Disabled
 +Telnet: Enabled until root password set
 +SSH: Used after setting root password
 +</code>
 +
 +
hardware/fon2100.1189284528.txt.gz · Last modified: 2007/09/08 22:48 by kratz00