sl4ck, you will soon be PMed. Remember that if you can't beat the router to the command line, use Ctrl-C over the serial port. You can even do this in Redboot. The GUI flasher might help too. When I said to post links, I meant post URLs to images, not IMG links. _________________ BNP.org.uk
Yes, i always can access Redboot, i use serial port always, i think it's the best way to do everything(flash, diagnostic problems, install drivers/packages). I was saying can´t get command line after firmware is loaded(system hangs up on kernel panic, after madwifi instaled)
i've tried another fonera sd card hack but no luck, same issues. Wifi LED still don´t work with Legend, maybe that's the problem(missing that gpio)?
Hi, thanks for a great firmware. I successfully flashed it onto my fonera 2100. I got my mmc card reader finaly working after breaking one (only 32 meg) since i soldered wrong. Anyway my problem now is that i want the mmc card to mount on boot so i can use it as a swap aswell.
Second question: I read somewhere that using more than 16 meg swap is just to much. is it true?
Thanks
EDIT 2:nd time
Got my swap to work. Didnt think the script would be do all the job but it did.
I still cant get the heartbeat signal to work. Any help would be appreciated.
EDIT:
Ive got one more question, ive tried to get the heartbeat signal to work, the code i have been using is from this page. htttp://www.dd-wrt.com/wiki/index.php/LaFonera_Software_Heartbeat-dev
Some of the files and folders have changed but i fixed this, Now i get stuck at the cron thing, and the nvram, this does not seem to work in Open-wrt. Im totaly confused... Anyone got a clue what to do?
Last edited by theant on Thu Mar 13, 2008 21:45; edited 2 times in total
Already working
Change me floppy 5.25 slot for a real mmc slot, i think it was bad card contact.
Had to install vfat package for fat support, ext2 no need to install any package, already supported by default.
Now i have a problem with airodump most of times(not all) when i do "airodump-ng -c 6 ath1" (monitor channel 6 AP's), console caracters are cleared and nothing more happens, fon hangs out
I have similar issues with Asterisk 1.4.17. It starts but after using it for a while it hangs (segmentation fault or other errors. I've tried with 3 different SD cards and it acts the same way)
Hi friends,
I've read these posts about geting the SCcard working on sl4ck friends 2200.
I have two 2200 and i'm using it as ap-bridge and they are working preaty good.... and from a few days ago i am thinking in put an SDcard in one of my foneras!
My question is.... Is it possible to get the SDcard working with the DD-WRT firmware? (i am using the V24 RC5 and it has an option to Enable and Disable the MMc support!
What is JFFS2?
Thanks for your time, and sorry for my poor english!
Hi, I can't get the clientmode script with Legend (Pre4.5) work. Shame on me, I need some help.
I have the wireless signal created with the script by the Fonera, I can connect to it, but no Internet. The internet led on the Fonera is off. It's on (and the connected PC can surf internet) only if I connect with the cable the Fonera to the Netgear router... but that'useless.
This is what I have tried:
Code:
root@Legend:~# clientmode
You are about to reverse the WAN and Wireless for wired client mode.
enter C to continue, L for LAN-Wireless client mode (Fon+), or anything else to exit.
? c
Madwifi requires that an AP interface be created first should you want both AP and Client wireless.
If you need VAPs on-the-fly later, this is important.
1.Create and autoenable supplemental VAP (repeater AND wired client modes)
2.Create but disable VAP (client mode)
3.No VAP (flat client mode; ap0 and ah0 scripts won't work)
4.Client Mode using Ad-hoc network (802.11b speed, WEP/No encryption only)
? 1
CLIENT+VAP
VAP SSID?
my_vap_wifi
Hide the SSID? (y/n) (if you disabled the VAP this won't matter)
n
What is the encryption type?
0.None
1.WEP
2.WPA-PSK
3.WPA-PSK2
4.WPA-RADIUS
5.WPA2-RADIUS
D.Display wireless networks first
? full hostapd package needed for options 4 and 5
2
What is the passphrase? (8-63 characters)
another_fake_wpa_key
What address do I assign the DHCP server of the VAP?
The Default is 192.168.2.1
192.168.3.1
Change VAP subnet? (y/n) (default 255.255.255.0)
n
VAP configuration done
What is the SSID of the network you are connecting to?
my_wifi
Is that network using static IP addresses? (y/n) (often y for AD-HOC networks)
y
What is the remote Gateway IP?
192.168.2.1
What will be my personal IP on the remote network?
192.168.2.33
Change subnet? (y/n) (default 255.255.255.0)
n
Change DNS? (y/n) (default is 192.168.2.1, your remote Gateway IP)
n
Change the IP of this device on the local private network?
(y/n) (default 192.168.1.1)
If the AP you are connecting to is also 192.168.1.1, you should select yes.
n
Change subnet? (y/n) (default 255.255.255.0)
n
What is the encryption type?
0.None
1.WEP
2.WPA-PSK
3.WPA-PSK2
4.WPA-RADIUS
5.WPA2-RADIUS
D.Display wireless networks first
? full hostapd package needed for options 4 and 5
2
What is the passphrase? (8-63 characters)
a_fake_wpa_key
Select a Transmission Power Level (default 16)
Using defaults
Please Wait, assembling configurations now...
Revision Complete
Save changes? (Old files are backed-up and will automatically be restored with the execution of the aprestore script).
y
Should I test the wireless to be sure you have a valid link? (y/a/n)
I'll reset the config if Y:No internet, A:No AP response, N:Hell freezes over
?y
Type R to switch to wired configuration now, otherwise it will apply on reboot.
If you choose to apply it now, you will lose your wireless connection to this device immediately.
Can you see some errors in my settings/configs/etc.? Can you suggest something to let my PC3 surf on the internet through a wireless connection to a WPA-encrypted signal "my_vap_wifi" created by the Fonera linked to the WPA-encrypted wifi signal "my_wifi" the Netgear router? (staying with the Legend firmware, i.e. using the clientmode script)
Try sshing in again after using the clientmode script. Then issue a command such as
ifconfig ath1 essid "essid"
Whatever ssid name your connecting to.
I don't know why but this works for me even though the ssid is already there. Try it and report back.
By the way, I shall underline that the wireless link is created by the script, because the PC can see the "my_vap_wifi" ESSID and can connect to it.
But: no internet surfing, as the "internet" led on the Fonera stays off. It goes on if I connect the Fonera to the Netgear with the cable, which is of no use for me (as the Fonera must be positioned way far from the Netgear).
If useful, here they are the outputs of iwconfig and ifconfig:
Code:
root@Legend:~# iwconfig
eth0 no wireless extensions.
Oh, you typed "ifconfig" instead of "iwconfig" in your previous message, so I've tried with that. I'll try the new suggestion (iwconfig...) tomorrow and will report here.
No way: nothing changed. The command gives no output, it just returns with the prompt, so it seems the command has been successful.
By the way I think it's useless, as in the iwconfig output you can see ath1 seems ok joined with the "my_wifi" signal, while ath0 joins the "my_vap_wifi" one. In fact, my PC can easily connect to the "my_vap_wifi" signal: it acquires an IP address (4 seconds), then it's connected. It just can't surf on the internet.
So the problem is: how can I have the Fonera internet led on, i.e. the Fonera exchanging internet stuff with the Netgear (my_wifi wireless signal)?
Something must be wrong in my clientmode script settings or PC settings, but I can't guess what.
Maybe I should change subnet in some of the configuration steps of the clientmode script?
Sorry about the mistyped command. For some reason on mine even though it says it's already connected that command seems to get me on the internet.
I see a problem in your configuration.
Your ath1 broadcast and internet address is missing the fist 1 under your posted ifconfig. It should be 192 not 92.
Also make sure your netgear router is assigning the static ip that you gave your fon. Does your fonera show up on your netgear status page?
If it is on there go to the fon's gui interface and go to status then diagnostics and try pinging something on the internet. It may be connected right but not giving out an ip to your computer.
Posted: Mon Mar 24, 2008 12:21 Post subject: ath_mgtstart: discard, no xmit buf
Anyone else got this error in syslog:
Code:
Mar 24 12:13:36 (none) user.warn kernel: ath_mgtstart: discard, no xmit buf
and this in the kernel log:
Code:
ath_mgtstart: discard, no xmit buf
It appears after using the wireless network alot. The wireless connection then seems to suspend and after a while it works again. Ive been looking around on the internet and from what ive read it seems to be a bug in the madwifi drivers. I couldnt find a fix anywhere.
EDIT:
Ive tried to set the min_free_kbytes to 2048 (Default 509)
Code:
echo 2048 > /proc/sys/vm/min_free_kbytes
It seems to be working better, but it still crashes. Any ideas?
/Ant