Autore Topic: OpenWRT on Fonera  (Letto 62637 volte)

crisman

  • Jr. Member
  • **
  • Post: 66
    • Mostra profilo
Re: OpenWRT on Fonera
« Risposta #345 il: Giugno 29, 2008, 10:57:29 am »
se ti leggevi per bene la discussione lo trovavi il link, comunque ? questo:

Codice: [Seleziona]
http://p3x-989.ath.cx/Files/OpenWRT_Atheros/
Ramponis l'ha compilato, ma il firmware si pu? utilizzare con qualsiasi modalit?. Io uso la configurazione da repeater senza WDS, e mi funziona alla grande.

Ciao

obaoba

  • Novellino
  • *
  • Post: 26
    • Mostra profilo
Re: OpenWRT on Fonera
« Risposta #346 il: Giugno 29, 2008, 12:06:47 pm »
l'ho letta ma volevo andare sul sicuro. quindi utilizzi la mia stessa configurazione se non ho capito bene. vediamo lo provo

kidy

  • Global Moderator
  • Hero Member
  • *****
  • Post: 1668
  • Kidy
    • Mostra profilo
    • E-mail
Re: OpenWRT on Fonera
« Risposta #347 il: Giugno 29, 2008, 11:29:07 pm »
Mi continua questo errore!!
RedBoot> load -r -v -b 0x80041000 openwrt-atheros-2.6-vmlinux.lzma
Using default protocol (TFTP)
__udp_sendto: Can't find address of server
Can't load 'openwrt-atheros-2.6-vmlinux.lzma': some sort of network error
RedBoot>
sembra che non il server tftp,eppure ? aperto ,con i file dentro ,dove sbaglio?
(Via seriale)
.................\\\//..................
                / _ _ \
              (|(.)(.)|)
------.OOOo--()--oOOO.-------
Twitter: @kidysy

truthahn

  • Global Moderator
  • Hero Member
  • *****
  • Post: 1546
    • Mostra profilo
Re: OpenWRT on Fonera
« Risposta #348 il: Giugno 29, 2008, 11:40:52 pm »
Avevo risposto forse in modo ambiguo. Quindi:
"Pinghi" il pc dalla fonera? io avevo lo stesso problema ed era la la maschera di rete sulla Fonera. Se non la impostavo (/24) mi si settava naturalmente a /32 e quindi non vedevo il pc. La tua come ? impostata?
« Ultima modifica: Giugno 30, 2008, 10:37:58 am da truthahn »

truthahn

  • Global Moderator
  • Hero Member
  • *****
  • Post: 1546
    • Mostra profilo
Re: OpenWRT on Fonera
« Risposta #349 il: Giugno 29, 2008, 11:51:38 pm »
ma a qualcuno openwrt risulta stabile? non capisco perche in un link di 40 metri la linea e ballerina piu che ballerina stacca e attacca in continuazione e voi invece ? stabilissima addirittura con link di un km. Non riesco prorpio a capire, ce qualche intruglio che fornite al fonera per migliorarne le prestazioni??
Super stabile!!! Link da 1 km e va perfettamente. 7.09 con settaggio postato da Max. Come il tuo se ho ben capito. Ho avuto qualche inspiegabile problema all'inizio, poi resettando la fonera client ? andato tutto ok.

jumping1976

  • Full Member
  • ***
  • Post: 336
    • Mostra profilo
    • E-mail
Re: OpenWRT on Fonera
« Risposta #350 il: Giugno 30, 2008, 11:00:36 am »
ragazzi, secondo la fonera con openwrt (x-wrt) pu? fare da client wireless di un qualsiasi access point?
in pratica ho comprato una specie di video sender.
doveva fare anche da client wireless ma dopo averlo comprato ho scoperto che funziona solo come access point.
il problema ? che devo installare pc e projector server a distanza di un km, per cui pensavo di mettere da un lato l'apparecchio antenna a pannello e dall'altro una fonera con antenna uguale.
per? non riesco a configurare la fonera in modo che sia lei a far da client wireless di quest'affare (che invece fa da AP).
secondo voi si pu? fare? come?

nessuna idea???
io ho fatto dei test ma non riesco proprio a settare la fonera come client di questo trabicolo...
...confido ancora nei vostri suggerimenti!

truthahn

  • Global Moderator
  • Hero Member
  • *****
  • Post: 1546
    • Mostra profilo
Re: OpenWRT on Fonera
« Risposta #351 il: Luglio 02, 2008, 03:17:06 pm »
Ho installato su una Fonara 2200 il firmware  compilato da Ramponis, tutto ok ma NON riesco a installare nuovi programmi n? tramite webif (resta bloccata senza messaggi) n? tramite ssh che mi da (per esempio con nano):
...
Installing nano (2.0.7-1) to root...
Downloading http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/atheros-2.6/packages/./nano_2.0.7-1_mips.ipk
Installing libncurses (5.6-1) to root...
Downloading http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/atheros-2.6/packages/./libncurses_5.6-1_mips.ipk
ipkg: fork failed: Cannot allocate memory
Mi son perso qualcosa?

crisman

  • Jr. Member
  • **
  • Post: 66
    • Mostra profilo
Re: OpenWRT on Fonera
« Risposta #352 il: Luglio 02, 2008, 04:14:43 pm »
Ho installato su una Fonara 2200 il firmware  compilato da Ramponis, tutto ok ma NON riesco a installare nuovi programmi n? tramite webif (resta bloccata senza messaggi) n? tramite ssh che mi da (per esempio con nano):
...
Installing nano (2.0.7-1) to root...
Downloading http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/atheros-2.6/packages/./nano_2.0.7-1_mips.ipk
Installing libncurses (5.6-1) to root...
Downloading http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/atheros-2.6/packages/./libncurses_5.6-1_mips.ipk
ipkg: fork failed: Cannot allocate memory
Mi son perso qualcosa?


prova a cancellare questo file:
Codice: [Seleziona]
/usr/lib/ipkg/status.
Poi dai:
Codice: [Seleziona]
ipkg update
Adesso dovrebbe funzionare tutto ;)

truthahn

  • Global Moderator
  • Hero Member
  • *****
  • Post: 1546
    • Mostra profilo
Re: OpenWRT on Fonera
« Risposta #353 il: Luglio 02, 2008, 04:52:07 pm »
prova a cancellare questo file:
Codice: [Seleziona]
/usr/lib/ipkg/status.
Poi dai:
Codice: [Seleziona]
ipkg update
Adesso dovrebbe funzionare tutto ;)

Esatto!!! Grazie :-) Me lo spieghi anche?

Ora per? non ho pi? la lista dei pacchetti installati.
« Ultima modifica: Luglio 03, 2008, 06:08:36 pm da truthahn »

hunterbit

  • Novellino
  • *
  • Post: 34
    • Mostra profilo
Re: OpenWRT on Fonera
« Risposta #354 il: Luglio 06, 2008, 01:11:44 pm »
Ciao a tutti ,
sono nuovo del mondo WRT e come tale ho i primi problemi.
Appena mi ? arrivata sono riuscito ad installare il tutto con AP51 flashando tranquillamente la fonera con DD-WRT.
Dato che poi da quello che ho potuto leggere nei forum ho visto che openWrt ? nettamente pi? stabile
vorrei passare a questo.
Di conseguenza leggendo sempre questo post ho trovato la seguente guida

Installato X-wrt su fonera 2200 con AP51    smiley
impiegato meno di 20 minuti.

questo ? il file caricato in rootfs:
http://downloads.x-wrt.org/xwrt/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-root.jffs2-64k

e questo in kernel:
http://downloads.x-wrt.org/xwrt/kamikaze/7.09/atheros-2.6/openwrt-atheros-2.6-vmlinux.gz

non spuntare le opzioni create nvram ecc.
selezionare la scheda di rete
cliccare su GO
quando compare la scritta: no packet
dare alimentazione alla fonera
5/10 minuti , ap51 termina la sessione e si chiude automaticamente.
attendere ulteriori 10 minuti e poi dal browser al 192.168.1.1 si trova il sospirato kamikaze.


L'ho applicata alla lettera ha finito il tutto ma quando si riavvia sembra funzionare ma effettivamente non va.
Premetto che ho una fonera 2201 e che con ddwrt tutto ok.
Mentre con openWRT appunto niente.
Dopo di che ho attacca alla seriale per vedere che messaggi mi dava e quindi di conseguenza li posto qui.
In cosa posso aver sbagliato?...c'? un altra procedura da seguire?
Grazie a tutti.

+Ethernet eth0: MAC address 00:18:84:a4:89:7c
IP: 192.168.1.206/255.255.255.0, Gateway: 192.168.1.100
Default server: 192.168.1.166

RedBoot(tm) bootstrap and debug environment [ROMRAM]
OpenWrt certified release, version 1.1 - built 22:32:28, May  7 2007

Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.

Board: FON 2201
RAM: 0x80000000-0x81000000, [0x80040290-0x80fe1000] available
FLASH: 0xa8000000 - 0xa87f0000, 128 blocks of 0x00010000 bytes each.
== Executing boot script in 10.000 seconds - enter ^C to abort
RedBoot> fis load -d vmlinux.bin.l7
Image loaded from 0x80041000-0x80290085
RedBoot> exec
Now booting linux kernel:
 Base address 0x80030000 Entry 0x80041000
 Cmdline :
Linux version 2.6.21.5 (travis@localhost.localdomain) (gcc version 4.1.2) #125 T
ue Jun 3 00:02:24 CDT 2008
CPU revision is: 00019064
Determined physical RAM map:
 memory: 01000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Built 1 zonelists.  Total pages: 4064
Kernel command line: console=ttyS0,9600 rootfstype=squashfs,jffs2 init=/etc/prei
nit
Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 16kB, 4-way, linesize 16 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
PID hash table entries: 64 (order: 6, 256 bytes)
Using 92.000 MHz high precision timer.
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 13504k/16384k available (1955k kernel code, 2880k reserved, 292k data, 1
16k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
Radio config found at offset 0xf8(0x1f8)
Time: MIPS clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0xb1100003 (irq = 37) is a 16550A
eth0: Dropping NETIF_F_SG since no checksum feature.
eth0: Atheros AR231x: 00:18:84:a4:89:7c, irq 4
cmdlinepart partition parsing not available
Searching for RedBoot partition table in spiflash at offset 0x7d0000
Searching for RedBoot partition table in spiflash at offset 0x7e0000
5 RedBoot partitions found on MTD device spiflash
Creating 5 MTD partitions on "spiflash":
0x00000000-0x00030000 : "RedBoot"
0x00030000-0x006e0000 : "rootfs"
0x006e0000-0x007e0000 : "vmlinux.bin.l7"
0x007e0000-0x007ef000 : "FIS directory"
0x007ef000-0x007f0000 : "RedBoot config"
nf_conntrack version 0.5.0 (128 buckets, 1024 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP vegas registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
eth0: Configuring MAC for full duplex
VFS: Mounted root (jffs2 filesystem) readonly.
Freeing unused kernel memory: 116k freed
Warning: unable to open an initial console.
Algorithmics/MIPS FPU Emulator v1.5
- preinit -
- init -
init started:  BusyBox v1.4.2 (2008-01-08 11:35:21 CST) multi-call binary

Please press Enter to activate this console. device eth0 entered promiscuous mod
e
br-lan: port 1(eth0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 1(eth0) entering forwarding state
PPP generic driver version 2.4.2
wlan: 0.8.4.2 (svn r2568)
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.30.13 (AR5212, AR5312, RF2316, TX_DESC_SWAP)
ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (svn r2568)
ath_rate_minstrel: look around rate set to 10%
ath_rate_minstrel: EWMA rolloff level set to 75%
ath_rate_minstrel: max segment size in the mrr set to 6000 us
wlan: mac acl policy registered
ath_ahb: 0.9.4.5 (svn r2568)
ath_pci: switching rfkill capability off
ath_pci: switching per-packet transmit power control off
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36
Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 11.0 phy 4.8 radio 7.0
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
wifi0: Atheros 2315 WiSoC: mem=0xb0000000, irq=3



truthahn

  • Global Moderator
  • Hero Member
  • *****
  • Post: 1546
    • Mostra profilo
Re: OpenWRT on Fonera
« Risposta #355 il: Luglio 06, 2008, 01:50:18 pm »
cosa vuol dire "sembra funzionare ma effettivamente non va."

hunterbit

  • Novellino
  • *
  • Post: 34
    • Mostra profilo
Re: OpenWRT on Fonera
« Risposta #356 il: Luglio 06, 2008, 03:10:44 pm »
forse mi sono espresso male...volevo dire che da seriale vedevo che caricava ed ero convinto che tutto fosse andato bene
ma poi ho avuto l'amara sorpresa che mi si blocca sulla schermata che ho postato nel precedente post.
Quindi niete fonera...non funge assoltamente.
In cosa ho potuto sbagliare?....non ? che per la fonera plus 2201 la procedura ? diversa?

truthahn

  • Global Moderator
  • Hero Member
  • *****
  • Post: 1546
    • Mostra profilo
Re: OpenWRT on Fonera
« Risposta #357 il: Luglio 06, 2008, 03:32:15 pm »
e se batti "invio" a quel punto va avanti? con la seriale con la 2200 e 2001 certe volte vedevo come te, poi con un invio completava. Mi spiace ma non ho mai usato la fonera plus 2201.

hunterbit

  • Novellino
  • *
  • Post: 34
    • Mostra profilo
Re: OpenWRT on Fonera
« Risposta #358 il: Luglio 06, 2008, 03:34:42 pm »
Beh fra un p? vado a casa e faccio una prova per vedere se va con invio..
Dato che DD-WRT mi funziona...che dici..conviene lasciarci questo o no va proprio bene?
Alla fine io dovrei fare un link di circa 300/400m quindi penso che da quello che ho trovato in giro dovrebbe andare bene
anche dd-wrt

truthahn

  • Global Moderator
  • Hero Member
  • *****
  • Post: 1546
    • Mostra profilo
Re: OpenWRT on Fonera
« Risposta #359 il: Luglio 06, 2008, 03:39:57 pm »
A quel che so hanno risolto il bug che lo affliggeva sulle lunghe distanze. Credo comunque che la fonera plus abbia qualche problema con openwrt. Guarda: http://www.dd-wrt.com/wiki/index.php/LaFonera_Hardware_LaFoneraPlus anche se ? relativo al 7.07