FON NEW KERNEL >= 2.6.21.1 SPECIAL FLASH METHOD

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page Previous  1, 2, 3 ... 12, 13, 14, 15, 16  Next
Author Message
hard_where
DD-WRT User


Joined: 13 Feb 2007
Posts: 141

PostPosted: Tue Feb 05, 2008 4:32    Post subject: welcome back Reply with quote
Welcome back!
Very Happy
Sponsor
Hortinstein
DD-WRT Novice


Joined: 04 Feb 2008
Posts: 13

PostPosted: Tue Feb 12, 2008 3:06    Post subject: Reply with quote
this thread should be stickied
orange
DD-WRT Guru


Joined: 05 Sep 2007
Posts: 532
Location: 49.50N, 08.44E

PostPosted: Tue Feb 12, 2008 14:57    Post subject: Reply with quote
good proposal IMHO
_________________
7x La Fonera 2100, 1x NanoStation2 Loco
running bleeding edge openwrt backfire/attitude adjustment
or4n9e on irc.freenode.net
nils27
DD-WRT User


Joined: 12 Feb 2007
Posts: 191
Location: Aachen (NRW)

PostPosted: Tue Feb 12, 2008 20:23    Post subject: Reply with quote
Cheers from my side, too! Wink

Something I'd love to see in the Ledgend release:
A patched Madwifi driver with injection AND Karma capabilities. http://theta44.org/karma/index.html

I already addapted the Madwifi driver to be capable of both and I did some modification to Karma to work better under Backtrack 2 but I haven't ever compiled anything for the Fonera by myself.

I could provide a diff file for the 0.9.3.2 Madwifi version as a template.
mobad
DD-WRT Novice


Joined: 24 Feb 2007
Posts: 31

PostPosted: Wed Feb 13, 2008 7:33    Post subject: Reply with quote
*Sigh* I can't get the clientmode script to work.
I used: repeater + VAP, VAP WPA2, IP 192.168.2.1. And for the one it will connect to is: unencrytped, static IP of 192.168.1.99, gateway 192.168.1.1, LAN IP 192.168.10.1 (because 192.168.1.1 is the one it's connecting to). I think thats all the important stuff. I can connect (IP 192.168.2.50) to the VAP and communicate with the Fonera but no internet and no connection to main router. The same with the ethernet, (IP 192.168.10.146) Fonera but no connection to main router or internet.
Any help would be appreciated!

Thanks, Mobad
fpaliuc
DD-WRT Novice


Joined: 12 Aug 2007
Posts: 28

PostPosted: Wed Feb 13, 2008 10:00    Post subject: Reply with quote
Did anybody suceed installing Asterisk on the SD card? (I'm trying to install on my Fonera with Legend firmware). Everything gets installed on the SD card but Asterisk doesn't load any module at all
outlawz
DD-WRT Novice


Joined: 08 Jul 2007
Posts: 27

PostPosted: Sat Mar 01, 2008 11:57    Post subject: Reply with quote
Hi to all, let´s see if anyone could help me with this strange problem.

1-I flash it
2- I get cable connection to PC and was able to crack one WEP key
3-Next day i was unable to get ethernet connection

Then I flash it again and when i had access ethernet i backuped the configuration.

Then i played i little more with aircrack and next day i loosed ethernet again.

I reflashed it agin, and happened the same.

For resume i only got ethernet access after flashing, then i loose it.

Does anyone knows what happening?

Thanks.
sl4ck
DD-WRT Novice


Joined: 01 Mar 2008
Posts: 7

PostPosted: Sat Mar 01, 2008 18:04    Post subject: Reply with quote
Hi please tell me if my connections are right, i can´t get my 2 SD cards being detected. i tried with 1Gb 80x SD Card, and 2Gb 120x SD Card:

SD pin 9 ----- Not Used(1º pin lower, near notch)

SD pin 1 ----- ground/(-)=Chip Select

SD pin 2 ----- gpio7(Power LED resistor)

SD pin 3 ----- ground????

SD pin 4 ----- +3.3vPower(botao reset, conectors side(Ant, LAN and Power))

SD pin 5 ----- gpio6(reset button, LED's side)

SD pin 6 ----- ground???

SD pin 7 ----- gpio2(WIFI LED resistor)

SD pin 8 ----- Not Used(near pin 7)

Also i lose WIFI Led resistor when soldering SD pin 7(gpio2), but gpio2 still conected to is place. Is it ok without the resistor?

I'm using firmware from here:
http://fon.testbox.dk/Legend/pre4.5/fonera/FON2200MMCCAPABLE/

and driver from here:
http://fon.testbox.dk/packages/mmc/phrozendriver/2.6.21.5/26215-fon2200Driver14_762.ipk

is it another firmware or driver better to do it?

About patched madwifi, what's the diference between these two, both are in the same directory named as 2.6.21.5:
http://fon.testbox.dk/packages/patchedmadwifi/2.6.21.5/kmod-madwifi_2.6.21.5+0.9.3.1-atheros-1_mips.ipk
http://fon.testbox.dk/packages/patchedmadwifi/2.6.21.5/kmod-madwifi_2.6.21.5+r2568-20070710-atheros-2_mips.ipk

IMAGES:
http://img442.imageshack.us/img442/6606/sany0010xb7.jpg
http://img153.imageshack.us/img153/7996/sany0012on7.jpg
http://img153.imageshack.us/img153/3843/sany0013pb6.jpg
http://img502.imageshack.us/img502/9950/sany0014os7.jpg
http://img153.imageshack.us/img153/1312/sany0015yb0.jpg


Last edited by sl4ck on Sun Mar 02, 2008 20:03; edited 3 times in total
meltyblood
DD-WRT User


Joined: 06 May 2007
Posts: 114

PostPosted: Sat Mar 01, 2008 21:31    Post subject: Reply with quote
Everything looks right (Fon2200).
You want to use this driver:
http://fon.testbox.dk/packages/patchedmadwifi/2.6.21.5/kmod-madwifi_2.6.21.5+r2568-20070710-atheros-2_mips.ipk
Did you use the mountmmc command?
What do you get in your log/ over the serial port (for the log, do logread | less

It sure is a waste of speed for those cards, although SD cards are cheap now. The fonera can only write in MMC mode, which means extremely slowly.

_________________
BNP.org.uk
justin
DD-WRT Novice


Joined: 01 Mar 2008
Posts: 6

PostPosted: Sat Mar 01, 2008 23:17    Post subject: Reply with quote
For everyone having trouble connecting directly to your fon try the below.

Hey outlaw what you need to do is connect to it wirelesly or posiibly through another router and access the web gui. Change the lan ip under network lan-wan to something else or change it and change it back. Then for me I usually have to use that address as the gateway to connect to from my laptop. For some reason I have to do this every reboot but its easier then re flashing. Try it and post back your results.

For those with clientmode problems see below.


Also I'm in a similar boat as mobad. I can't get clientmode to work how I want. In order to connect to the main router i had to ssh in to the fonera and issue a command such as
iwconfig ath1 essid 2wire
The id was already set but this made the fon connect to my main router. With no encryption i achieved internet access through my computer connected to the fon. With encryption i couldn't get access but I could still ping google through the fon just not my computer.
Edit: after a reboot and another iwconfig ath1 essid "essid" i was able to connect with encryption

So mobad try issuing a command such as
iwconfig ath1 essid "essid"
then try and ping google or something through the fon. Try rebooting and and then issue the command again if it doesn't work the first time.
Let me know if this works.

Meltyblood this is awesome thank you.


Last edited by justin on Sun Mar 02, 2008 0:41; edited 2 times in total
sl4ck
DD-WRT Novice


Joined: 01 Mar 2008
Posts: 7

PostPosted: Sat Mar 01, 2008 23:18    Post subject: Reply with quote
meltyblood wrote:
Everything looks right (Fon2200).

Yes, it is Fon2200, i was not sure about the (-)ground, gpio2 and gpio7 pinout

meltyblood wrote:
You want to use this driver:
http://fon.testbox.dk/packages/patchedmadwifi/2.6.21.5/kmod-madwifi_2.6.21.5+r2568-20070710-atheros-2_mips.ipk

What's the diference between this and the other one?
Which one, MMCCAPABLE Firmware 2.6.21.5 has?

meltyblood wrote:

Did you use the mountmmc command?

No, i don´t but i even can´t get the card being detected @ boot, it hangs on mmc driver, must type enter to get comand line:
http://img111.imageshack.us/img111/4204/mmchangsl2.jpg

mountmmc get error:
http://img125.imageshack.us/img125/7998/mmcmountea3.jpg

meltyblood wrote:

What do you get in your log/ over the serial port (for the log, do logread | less

.txt Logread http://www.sendspace.com/file/tb1md0

About the Wifi LED missing resistor, is there any problem?

meltyblood wrote:

It sure is a waste of speed for those cards, although SD cards are cheap now. The fonera can only write in MMC mode, which means extremely slowly.

No problem with that ;)

Just a tought: I have only 3.1v powering SD Card, is it enought?

Thanks meltyblood


Last edited by sl4ck on Sun Mar 02, 2008 20:04; edited 1 time in total
meltyblood
DD-WRT User


Joined: 06 May 2007
Posts: 114

PostPosted: Sun Mar 02, 2008 8:18    Post subject: Reply with quote
I honestly can't see much in your pictures (too blurry). You might consider editing that post and posting links to images that are slightly less blurry.
The missing resistor on the wifi led isn't a problem, so long as you have connected the wire to the right points shown here in another blurry image http://i204.photobucket.com/albums/bb94/DDWRTmeltyblood/IM000325.jpg
. If you are missing a resistor there, I would imagine the LED won't light now, since the wire for the card goes BEFORE the resistor, it shouldn't make any difference. 3V is enough to power almost any SD card. The rule with power for electronics is that as long as the workpiece isn't a laser or another highly sensitive component, you've got at least +/- 10% to toy with (in terms of voltage).
The madwifi 9.3.1 driver was the older driver that I used first for injection. Eventually the repository driver became injection capable and I switched over to that (it IS faster after all). For the MMC card, check your connections to the card. Make sure everything is secure. I would invest in a multimeter.

I have a private message in my box to answer, if you are reading this and it's yours, I'll get to it soon.

_________________
BNP.org.uk
sl4ck
DD-WRT Novice


Joined: 01 Mar 2008
Posts: 7

PostPosted: Sun Mar 02, 2008 13:22    Post subject: Reply with quote
Post already edited with better clear images, you just have to click on it ;)

I checked the all lines from connector pins to the end of the wires with multimeter, also i confirmed power(pin4) and grounds(pins 1, 3, 6) on the connector pins(both gave me 3.1v with multimeter with fonera turned on), but i'm not able to check gpios because i don´t have a point from the end of the wire to PCB to really check gpios on PCB

WIFI Led never turns on with Legend, even with the resistor, it works only with DD-WRT and Fonera original firm, don´t know why but i tought it was normal thing


Last edited by sl4ck on Sun Mar 02, 2008 16:22; edited 1 time in total
outlawz
DD-WRT Novice


Joined: 08 Jul 2007
Posts: 27

PostPosted: Sun Mar 02, 2008 14:21    Post subject: Reply with quote
Justin it works, i don´t know why this happens but your solution is better than a reflash. I´ll seek for other solution like adding network config at the boot menu. As soon as i got something i´ll be back. Thanks.
sl4ck
DD-WRT Novice


Joined: 01 Mar 2008
Posts: 7

PostPosted: Sun Mar 02, 2008 18:34    Post subject: Reply with quote
I think have bad luck with this fonera.....installed madwifi driver:
http://fon.testbox.dk/packages/patchedmadwifi/2.6.21.5/kmod-madwifi_2.6.21.5+r2568-20070710-atheros-2_mips.ipk

ipkg install kmod-madwifi_2.6.21.5+r2568-20070710-atheros-2_mips.ipk

everything went right @ installation, after that, i reboot, and now this, can´t even type on command line, system hangs up, reflash it twice and the same thing happens, the only solution i got for this it's reflash and do not install the driver:

http://img261.imageshack.us/img261/3320/badatheroshl2.jpg

what i'm doing wrong?

Thanks


Last edited by sl4ck on Sun Mar 02, 2008 20:05; edited 1 time in total
Goto page Previous  1, 2, 3 ... 12, 13, 14, 15, 16  Next Display posts from previous:    Page 13 of 16
Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum