Donnerstag, 29. Dezember 2011

FSG-3 to openWRT


Enhanced Howto for porting the FSG-3 to openWRT

regarding the links on openfsg.com and openwrt.org

openfsg.com->Install_OpenWRT_on_FSG_from_shell_without_serial_console
https://forum.openwrt.org/ install openwrt on fsg-3

SSH Login as root: 

ssh -p 22 admin@fsgIP
admin@fsgIP's password: 
mysecretadminpwd
~ $ su
root password:

/ # passwd
Changing password for root
Enter the new password (minimum of 5, maximum of 8 characters)
Please use a combination of upper and lower case letters and numbers.
Enter new password: 

newrootpwd
Re-enter new password: 

newrootpwd
Password changed.
/ #





install ipkg
from: http://www.openfsg.com/index.php/Install_ipkg  
make 2 script files (install_ipk, cleanup)
from page
http://www.openfsg.com/index.php/Install_ipkg_%28scripts%29




file ds101-bootstrap_1.0-4_armeb.xsh from page
http://www.nslu2-linux.org/wiki/DS101/DS101BootStrap


copy all three files into some directory on the fsg-3


Type sh install_ipkg
Type sh cleanup


Reboot


Type ipkg update


made Problems with FSGA/v1.7 Firmware v4.2.7
because ipkg comes with the firmware but buggy.

http://www.openfsg.com/index.php/Use_the_Custom_Ipkg_Installer#Installing_Packages


umount /opt
  • remove optware:
rm -rf /home/.optware
rm -rf /usr/lib/ipkg
  • reboot
  • run bootstrap:
sh <path to bootstrap file>



http://www.openfsg.com/index.php/List_of_Compatible_ipkgs
stable packages for Firmware v4
http://ipkg.nslu2-linux.org/feeds/optware/fsg3v4/cross/stable/

ipkg for v4 Firmware Workaround to get ipkg working
http://www.openfsg.com/forum/viewtopic.php?p=23547





Install FIS and Fconfig

ipkg install fis
ipkg install fconig

Flash Image System (FIS)  from RedBoot User's Guide

Table of Contents
fis init -- Initialize Flash Image System (FIS)
fis list -- List Flash Image System directory
fis free -- Free flash image
fis create -- Create flash image
fis load -- Load flash image
fis delete -- Delete flash image
fis lock -- Lock flash area
fis unlock -- Unlock flash area
fis erase -- Erase flash area
fis write -- Write flash area
If the platform has flash memory, RedBoot can use this for image storage. Executable images, as well as data, can be stored in flash in a simple file store. The fis command (fis is short for Flash Image System) is used to manipulate and maintain flash images.


fconfig - redboot config

redboot 
http://www.digipedia.pl/usenet/thread/15227/666/


/ # cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00040000 00020000 "RedBoot"
mtd1: 00180000 00020000 "kern1"
mtd2: 00180000 00020000 "kern2"
mtd3: 00020000 00020000 "RedBoot config"
mtd4: 00020000 00020000 "FIS directory"



FisList
Stock firmware layout, Flash Partitions

RedBoot> fis list
Name                             FLASH addr     Mem addr          Length            Entry point
RedBoot                        0x50000000        0x50000000       0x00040000      0x00000000
kern1                              0x50080000        0x00700000       0x00180000      0x00700000
kern2                              0x50200000        0x00700000       0x00180000      0x00700000
RedBoot config            0x503C0000       0x503C0000      0x00020000      0x00000000
FIS directory                 0x503E0000       0x503E0000       0x00020000      0x00000000
RedBoot>

 / # fconfig -r -d /dev/mtd3 -n boot_script_data
Low verbosity messages are printed.
fis load kern1
exec -c "console=ttyS0,115200 root=/dev/hda1 mem=64M@0x00000000"

hilfreicher redboot-fehler forums post
http://www.openfsg.com/forum/viewtopic.php?f=9&t=8528

HDD Partitions
hda1   200MB reiserfs
hda2   200MB reiserfs
hda3   150MB linux-swap
hda4   1GB+ reiserfs remaining space


freifunk openwrt buildroot anleitung
http://wiki.freifunk.net/OpenWrt_Buildroot


Dienstag, 27. Dezember 2011

FSG-3

Freecom Storage Gateway FSG-3




CPU: Intel IXP425/IXP422
RAM: 64 MB
Hard Drive: Varies by production date
Router: 1 – WAN port and 3 – LAN ports – WLAN (optional)
USB Interface: 4 USB ports for USB printers, USB hard drives, and USB flash drives
E-SATA Interface: 1 – E-SATA plug for connecting an external SATA drive
Features:
  • File server (Access files and folders over any networked computer)
  • Webserver (Host webpages with HTML and PHP)
  • Email server (Send and receive emails from the FSG)
  • MySQL server
  • VPN server & client
  • FTP server
  • SSH server
  • Network router
  • USB server (Share your USB Hard drives or USB flash drives with any computer on the network)
  • USB print server (Share your USB printer with any computer on the network)
  • AV server TwonkeyMedia 4.2 Beta 5 from Twonkyvision
  • Firewall
  • S-ATA enabled (Connect an external S-ATA drive to add more space)



http://openfsg.com/index.php/FSG
http://www.nslu2-linux.org/wiki/FSG3/HomePage
Notdough Blog
openWRT wiki page

openwrt forum discussion regarding the fsg-3
https://forum.openwrt.org/viewtopic.php?id=5828



 
Adding Serial RS232 TTL UART cable to FSG-3
http://layer-acht.org/debian/fsg-3/
http://layer-acht.org/fotos/610_fsg3_uart_2008/index.html






how to control fans, buttons, ... 
http://www.openfsg.com/forum/viewtopic.php?f=7&t=2204

second SATA
http://www.openfsg.com/forum/viewtopic.php?f=7&t=1393 

http://electronics.stackexchange.com/questions/22644/connecting-a-sata-cable-to-a-usb-hard-drive-circuit-board

WiFi Kit Installation
http://www.openfsg.com/index.php/Wifi_Kit_Installation








FSG-done

FSG-3

HDD wechsel auf 300GB Maxtor
mittels Partitionierung PartedMagic und PartitionManager9.0
Anleitung: Exchange_the_harddrive
FSGA 1.7 auf Freecom

FSG Firmware restore

openWrt Backfire zum laufen bringen
http://wiki.openwrt.org/doc/start
http://wiki.openwrt.org/doc/howto/basic.config


Bridged Mode in Netzwerk hängen




vorerst auch möglich mit WRT54GL-DD-WRT als Bridge ins Netz

 
Mit USB-Audio und Lautsprecher Soundoutput
Quasi WLAN-Radio





http://wiki.openwrt.org/doc/howto/server.overview
http://wiki.openwrt.org/doc/howto/pulseaudio
http://en.wikipedia.org/wiki/PulseAudio


PRINT & SCANNER Server
den Canon PIXMA MP250 zum laufen bringen

mit SANE
http://en.wikipedia.org/wiki/Scanner_Access_Now_Easy

FSG-3 legacy

Freecom Storage Gateway - 3

2008 gekauftest NAS das dann irgendwann unerreichbar und nicht konfigurierbar wurde.

Jetzt wieder repariert und wieder am umbasteln dran

Hardware
Wlan fsg.png
CPU: Intel IXP425/IXP422
RAM: 64 MB
Hard Drive: 500GB
Router: 1 - WAN port and 3 - LAN ports - WLAN (optional)
USB Interface: 4 USB ports for USB printers, USB hard drives, and USB flash drives
E-SATA Interface: 1 - E-SATA plug for connecting an external SATA drive






http://www.openfsg.com/index.php/Main_Page
meine damaligen Ideen und Posts dazu.
mein englischer openfsg.com entry
http://forum.nas-portal.org/ eintrag dazu






getätigte Arbeiten daran
http://www.openfsg.com/index.php/Resolve_the_WLAN_problem (Done)
erweiterung auf 2te Antenne mit RP-SMA Anschluss,
http://www.openfsg.com/index.php/Exchange_the_harddrive(Done)
repartitioniert


in arbeit
get OpenWrt Running on the FSG-3 - HOWTO
http://www.openfsg.com/forum/viewtopic.php?f=7&t=4417&start=15