La Fonera 2.0/zh

From FON Wiki Beta

Jump to: navigation, search
Changes and instructions described in this page are meant to be done by developers only. Applying these changes to your La Fonera might irremediably damage it. FON will not be held responsible for their consequences. Read instructions carefully!

La Fonera 2.0
La Fonera 2.0 Front
La Fonera 2.0 背面

The La Fonera 2.0 firmware has reached Beta status! This page will try to centralize documentation. To keep it beneficial for developers from all around the world please keep all content in English for now.

Contents

說明

La Fonera 2.0 是一台有兩個乙太網路埠與 一個 USB 接頭 的無線網路路由器。它提供了一個網路埠讓你連接上寬頻服務,另外一個埠可以用來連接自己的個人電腦,以及一個額外的 USB 埠。La Fonera 2.0 非常容易安裝,提供了高達 54Mbps 的資料傳輸速度,而且相容於你的所有的 WiFi 無線網路設備 (筆記型電腦、手機、MP3 播放器等等) 標準的傳輸距離依據環境的不同可以高達 10-50 公尺。

The Fonera 2.0 is intended to be a Liberator of your desktop computers by being able to both execute applications that you usually need to run in background on your computers and to help you share USB devices between the notebooks connected to your Fonera 2.0, like USB Disks, USB Scanners, USB Printers or Webcams (Not all USB Devices supported).

In addition to all that, Fonera 2.0 also allows you to get Roaming privileges to the whole FON Network by sharing part of your bandwidth at home, and also allows you to make some money from the visitors who still don´t share their connection.

特性與諸元

  • Model Name: FON FON2202
  • 尺寸:93.5 mm x 25.5 mm x 110 mm (不含天線)
  • 天線接頭:RP-SMA 接頭 (reverse SMA)
  • USB Port: USB A-type Receptacle (USB 2.0)
  • 天線類型: 可拆換之全向性 1.5 dBi 天線 (1,5dBi)
  • 支援認證類型: WEP 64bit/128 bit, WPA, WPA2, WPA mixed
  • 加密編碼類型: TKIP, AES, Mixed
  • 支援無線網路類型:IEEE 802.11b / 802.11g (up to 54 Mbps)
  • 頻帶範圍: 2412 MHz~2462MHz (802.11b/g, Channel 1~Channel11)
  • 最大輸出功率: 112.460mW
  • 網路連接孔: 一個用來連至寬頻網路設備專用之 WAN 乙太網路孔(10/100Mbps) + 一個可用來連至電腦或其他裝置(網路印表機/網路儲存裝置等)之 LAN 乙太網路孔(10/100Mbps)
  • 網路訊號名稱(SSIDs): One public (named FON_ by default) non-encrypted and one private (named MyPlace by default) encrypted with WPA-PSK

硬體/平台資訊

  • Platform / frequency: Atheros AR2315 @ 180MHz
  • Flash: 8MB / Ram: 32MB
  • 無線網路介面: Atheros SoC, LAN Switch: Marvell 88E6060
  • bootwait: Redboot*
  • Serial:
    • JTAG:
    • USB:

Compatibility Lists

Use of USB Devices

We advise connection of USB devices only through a USB 2.0 HUB powered externally.

Because:

  • USB 1.1 devices do NOT work unless they're plugged to a USB 2.0 HUB
  • A non powered one might cause malfunctioning if there are too many devices, especially USB hard drives that need power to spin the discs.

USB together with SERIAL PORT connection might present major risks. Use of the serial port is undocumented and fall under users own responsibility.


Fonera 2.0 Known Issues

  • Changes done in the MyFon userzone (WPA key, SSID names, management console password) are not sent to the Fonera 2.0
  • The WAN interface is somehow limited to 1MB/s applies to firmware 2.1.0.1


FON Developers Todolist

  • Webcam should be inactive unless someone is connected
  • Windows printing: needs more testing
  • add advanced networking: mac filter, fixed IP dhcp...
  • implement proper concept for plugins: integration of transaltions, size after install etc
  • add mime types to online browser
  • Write info/help texts: improve the messages
  • Fix webcam management for gspca cameras (older cameras)
  • Repeater mode should work on the fonera 2.0 (and extend it to fonera+)
  • Some USB 1.1 devices may not work
  • Webcam snapshot is not 'real-time': maybe it should be on the streaming page, not the preview page
  • "Mount point" is difficult to understand for the disk management page
  • Automount timings: subject to samba and manual configuration
  • Test scanning process
  • Translate texts for help and info
  • ...


Firmware Related Downloads

MD5:

  • fon2.0-beta-2.1.0.1.tar.bz2: d018b6773bf5153b1ecf4078777f3709
  • 20081001_FON2202_2.1.0.1_beta.fon: c5912e421b2a728610782f3d68ba7be9
  • 20081001_FON2202_2.1.0.1_beta.image: 6d499367220964291f8b69f4ea58d074
  • loader.bin: 48B471511907E582ECC0A3B40A174F64


韌體升級步驟

The La Fonera 2.0 comes with an early stage firmware, you will have to upgrade it to the latest version. Connect by cable to do so. Do not disconnect the ethernet cable nor the power one during the process


網頁管理介面

  1. Download file on (links to the last signed binary file above)
  2. Connect Power to Fonera 2.0
  3. Connect your Notebook via CABLE to the black RJ45 connector (LAN)
  4. Browse to 192.168.10.1
  5. Click on "Advanced"
  6. Intro Username: admin and Password: admin
  7. Click on "Firmware Upgrade"
  8. Browse to the file you downloaded in 1.
  9. Click on "Upgrade" and wait 25 min

The Power light will go from non-blinking ORANGE to GREEN/ORAGE flashing to ORANGE again, be patient. The process is completed when you see in the browser the following message:

The upgrade process was succesful
Press here to return to the index page


Bash interface

Perform this from eg Myplace or LAN side of the device where SSH is open.
  • Connect to your Fonera 2
    • Windows users : Get putty.exe and connect to 192.168.10.1 with "ssh"
    • Linux users : Get into the sudo'ers group and sudo openssh root@192.168.10.1
  • User: root / Password : admin
  • cd /tmp
  • wget http://download.fon.com/beta/2/20081001_FON2202_2.1.0.1_beta.image
  • execute mtd -r write 20081001_FON2202_2.1.0.1_beta.image image
  • Wait 20 minutes...the connection will drop
  • surf to 192.168.10.1 again
  • validate that the firmware has changed to 2.1.0r1
    • Features "reboot" and "download" are gone but a lot of other NEW services are added...check the screenshot section!

Redboot interface

  • Set your ethernet network card to ip: 192.168.1.254
  • Connect a network cable from your computer to the WAN port of the La Fonera (white)
  • If you are running windows get putty.exe to connect to the Fonera using telnet.
  • Get a TFTP server (tftpd for windows) and configure it to listen & share the path that contains the firmware image and the loader.bin
  • Send a ping -t 192.168.1.1
  • Plug the power cable of the La Fonera
  • connect to 192.168.1.1 on telnet port 9000 as soon as you get a ping result back (you have 2second time window?)
  • when you get in redboot:
RedBoot> fis list
Name              FLASH addr  Mem addr    Length      Entry point
RedBoot           0xA8000000  0x8003F400  0x00030000  0xA8000000 
loader            0xA8030000  0x80100000  0x00010000  0x80100000
image             0xA8040000  0x80040400  0x00310004  0x80040400
image2            0xA8660000  0xA8660000  0x00140000  0x8003F400
FIS directory     0xA87E0000  0xA87E0000  0x0000F000  0x00000000
RedBoot config    0xA87EF000  0xA87EF000  0x00001000  0x00000000
RedBoot> fis init
RedBoot> load -r -b 0x80100000 loader.bin
RedBoot> fis create loader
RedBoot> fconfig boot_script_data
boot_script_data: 
.. fis load -l kernel
.. exec
Enter script, terminate with empty line
>> fis load loader
>> exec
>> 
Update RedBoot non-volatile configuration - continue (y/n)? y
RedBoot> load -r -b %{FREEMEMLO} openwrt-fonera.image
Using default protocol (TFTP)
Raw file loaded 0x80040400-0x80380403, assumed entry at 0x80040400
RedBoot> fis create image

  • If you don't succeed clear the flash before giving it another try:
fis init -f

Screenshots managment interface


開發者社群

  • A dedicated sub-forum was created at boards.fon.com for discussions around the La Fonera 2.0
  • A development mailing list is available, so independent developers can get in touch with FON ones as well as with each other. Subscribe here
  • Many Fonera 2.0 developers meet each other on Freenode: #fonosfera
  • fonosfera blog will keep you updated about the work made on the La Fonera 2.0 firmware: http://blog.fonosfera.org
  • If you have good reason to do so, you may contact directly the developers writing to fonera20[]fon.com Keep in mind that most of the time the mailing list will be more useful as the answers will be public and can benefit to other developers.

USB

Printer

  • Please connect the usb cable of your printer & power the device on (printer).
  • click on USB -> Printer on the Fon Managment website (192.168.10.1)
  • It should list the manufacturer & devicename of the attached printers. If not, your printer is not recognized

TROUBLESHOOTING : please SSH to your device and enter "dmesg" and send that info to the fonosfera mailinglist!

  • Most printers (if not all?) should be recognized and working.
  • Press "enable" for status.... and if your Fonera 2.0 is behind a "router" (or Firewall :-) you could enable "wan access" as well?
    • You can not change the port nor add security to it (yet?) but if you improve it...please tell us what you did :-)
  • No reboot necessary
  • Windows:
    • go to start -> settings -> printer/fax -> select your printer (properties)
    • Go to ports
    • Add port : "standard tcp/ip"
    • Printername or ip-adress : "192.168.10.1"
    • Portname : 9100 (protocol RAW)
WHAT IF I HAVE SEVERAL(n) PRINTERS LISTED? then they are 9100+n (port : 9101 is the next one)
    • Press OK
    • General-tab : Print Test page
    • Verify your printer has printed a test page.

BETATESTERS : are you writing a 900 page book? are you printing your 10mpixel pictures? please tell us if it goes fast&good? Don't disconnect from the network while the printing process is still ongoing...The fonera 2.0 is not spooling it for you...

相關頁面

wishlist

  • Martin Varsavsky's ideas for the La Fonera 2.0
  • Bridging between WAN -> Myplace/LAN
    • To have no double NAT
    • To have 1 network neighbourhood (so we don't have to work with IP adresses to connect to pc's located between broadband router and fonera2)
  • Francofon/Freewlan "signed" for La Fonera Classic so they can be installed on Classic La Fonera using "firmware upgrade" mechanism instead of Jailbreak mechanism
  • Universal Repeater mechanism from eg Francofon (Ponte2) or Freewlan (QRM) so people can connect their fonera wirelessly to their existing wireless solution... otherwise 2 wireless devices next to each other will interfere....even with "auto" channel selection...
  • OpenDns support...to prevent "phishing"
  • Snort_inline, Dansguardian (http://packetprotector.org/) to protect fon_Free_internet against malivolent use
  • The possibility to share resources towards FON_FREE_INTERNET users and also show them somehow on the captive portal.
    • Eg webcam (weather cam?), a sambashare on our usb stick to give access to eg Antivirus/WSUS/..., ...
  • Possibility to have 1 central FON_FREE_INTERNET dhcp server...so people can "roam" between several foneras placed in our street and thus not suddenly get a "your twin is not allowed" when 1 fonera is too close to another fonera
  • Possibility to change from WPA-Personal/tkip to Wpa-Enterprise/tkip and configure a radius server; hence to be more secure!
  • not only have Bittorrent support but also aMule support
  • the ability to compile fon_ng to linksys-fon,fon classic, fonera+
  • universal plug&play support: with "portforwarding" we can only let 1 user play world of warcraft... but with upnp we can allow our whole family play WoW without needing help from eg www.portforward.com
  • Bluetooth Access Point (for both DUND and PAND server functionality)
  • Asterisk PBX (VOIP) with Bluetooth (not only wifi voip but also bluetooth cellphones?), Fax and Skype support
  • Amule P2P