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 -> Qualcomm Atheros based Hardware
Goto page Previous  1, 2, 3 ... 13, 14, 15, 16  Next
Author Message
meltyblood
DD-WRT User


Joined: 06 May 2007
Posts: 114

PostPosted: Sun Mar 02, 2008 19:02    Post subject: Reply with quote
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
Sponsor
sl4ck
DD-WRT Novice


Joined: 01 Mar 2008
Posts: 7

PostPosted: Sun Mar 02, 2008 20:09    Post subject: Reply with quote
Links fixed :)

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)?
theant
DD-WRT Novice


Joined: 18 Feb 2008
Posts: 5

PostPosted: Wed Mar 05, 2008 8:30    Post subject: Reply with quote
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
sl4ck
DD-WRT Novice


Joined: 01 Mar 2008
Posts: 7

PostPosted: Thu Mar 06, 2008 0:13    Post subject: Reply with quote
Card Detected!

Already working Smile
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
fpaliuc
DD-WRT Novice


Joined: 12 Aug 2007
Posts: 28

PostPosted: Thu Mar 06, 2008 8:32    Post subject: Reply with quote
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)
NOKIAS
DD-WRT Novice


Joined: 10 Mar 2008
Posts: 1

PostPosted: Mon Mar 10, 2008 2:37    Post subject: Reply with quote
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!

Nokias
insert_nick
DD-WRT Novice


Joined: 10 Mar 2008
Posts: 5

PostPosted: Mon Mar 10, 2008 22:32    Post subject: Reply with quote
meltyblood wrote:
------NEW Legend PRE-4.5 FIRMWARE-----


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

Display surrounding wireless networks? (y/n)
y

          Cell 01 - Address: xx:xx:xx:xx:xx:xx
                    ESSID:"my_neighbour_wifi"
                    Access Point
                    Frequency:2.437 GHz (Channel 6)
                    Encryption key:on
          Cell 02 - Address: xx:xx:xx:xx:xx:xx
                    ESSID:"my_wifi"
                    Access Point
                    Frequency:2.412 GHz (Channel 1)
                    Encryption key:on
                    IE: WPA Version 1
                   
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

ath0      8 available transmit-powers :
          0 dBm         (1 mW)
          6 dBm         (3 mW)
          8 dBm         (6 mW)
          10 dBm        (10 mW)
          12 dBm        (15 mW)
          14 dBm        (25 mW)
          16 dBm        (39 mW)
          18 dBm        (63 mW)
          Current Tx-Power=16 dBm       (39 mW)

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.

root@Legend:~#



This is what I would like to accomplish:


Code:

--- : wire link
))) : wireless link

[ADSL phone line] --- [Netgear DG834GT] --- [PC1]
                                                             ))) [PC2]                                     
                                                             ))) [Fonera 2100] ))) [PC3]



My settings:

Code:

######################################                                         
[Netgear DG834GT]:
-
LAN:
====
IP: 192.168.2.1
DHCP server: disabled
DNS1: 208.67.222.222
DNS2: 208.67.220.220
-
WiFi:
=====
SSID: my_wifi
Region: Europe
Channel: 01
Mode: g only
Activate wireless AP: yes
Broadcast SSID: yes
Isolate peer-to-peer wireless: no
Security WPA-PSK: enabled
Key: a_fake_wpa_key

######################################
[PC1]:
IP: 192.168.2.2
255.255.255.0
gateway: 192.168.2.1
DNS1: 208.67.222.222
DNS2: 208.67.220.220

######################################
[PC2]:
IP: 192.168.2.3
255.255.255.0
gateway: 192.168.2.1
DNS1: 208.67.222.222
DNS2: 208.67.220.220

######################################
[Fonera 2100]:
???

######################################
[PC3]:
???

######################################



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)
justin
DD-WRT Novice


Joined: 01 Mar 2008
Posts: 6

PostPosted: Tue Mar 11, 2008 4:57    Post subject: Reply with quote
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.
insert_nick
DD-WRT Novice


Joined: 10 Mar 2008
Posts: 5

PostPosted: Tue Mar 11, 2008 11:53    Post subject: Reply with quote
This is the result:

Code:

root@Legend:~# ifconfig ath1 essid "my_wifi"
ifconfig: essid: Unknown host


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.

lo        no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:"my_vap_wifi"  Nickname:""
          Mode:Master  Frequency:2.412 GHz  Access Point: xx:xx:xx:xx:xx:xx
          Bit Rate:0 kb/s   Tx-Power=16 dBm   Sensitivity=1/1
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx [2]   Security mode:open
          Power Management:off
          Link Quality=65/70  Signal level=-27 dBm  Noise level=-92 dBm
          Rx invalid nwid:58  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

ath1      IEEE 802.11g  ESSID:"my_wifi"  Nickname:""
          Mode:Managed  Frequency:2.412 GHz  Access Point: xx:xx:xx:xx:xx:xx
          Bit Rate:36 Mb/s   Tx-Power=16 dBm   Sensitivity=1/1
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx   Security mode:restricted
          Power Management:off
          Link Quality=65/70  Signal level=-27 dBm  Noise level=-92 dBm
          Rx invalid nwid:163  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

root@Legend:~# ifconfig
ath0      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          inet addr:192.168.3.1  Bcast:192.168.3.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:2290  Metric:1
          RX packets:136 errors:0 dropped:0 overruns:0 frame:0
          TX packets:79 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7581 (7.4 KiB)  TX bytes:8077 (7.8 KiB)

ath1      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          inet addr:92.168.2.33  Bcast:92.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:800 (800.0 B)  TX bytes:476 (476.0 B)

eth0      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:389 errors:0 dropped:0 overruns:0 frame:0
          TX packets:306 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:46735 (45.6 KiB)  TX bytes:98019 (95.7 KiB)
          Interrupt:4 Base address:0x1000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wifi0     Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6444 errors:0 dropped:0 overruns:0 frame:82
          TX packets:184 errors:10 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:199
          RX bytes:951518 (929.2 KiB)  TX bytes:21720 (21.2 KiB)
          Interrupt:3 Memory:b0000000-b00ffffc

root@Legend:~#
justin
DD-WRT Novice


Joined: 01 Mar 2008
Posts: 6

PostPosted: Wed Mar 12, 2008 0:30    Post subject: Reply with quote
try typing this
iwconfig ath1 essid my_wifi
Or did you already try?
This is what works for mine to connect to the internet.
insert_nick
DD-WRT Novice


Joined: 10 Mar 2008
Posts: 5

PostPosted: Wed Mar 12, 2008 0:37    Post subject: Reply with quote
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.
insert_nick
DD-WRT Novice


Joined: 10 Mar 2008
Posts: 5

PostPosted: Wed Mar 12, 2008 10:48    Post subject: Reply with quote
justin wrote:
try typing this
iwconfig ath1 essid my_wifi


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?
justin
DD-WRT Novice


Joined: 01 Mar 2008
Posts: 6

PostPosted: Thu Mar 13, 2008 2:11    Post subject: Reply with quote
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.
insert_nick
DD-WRT Novice


Joined: 10 Mar 2008
Posts: 5

PostPosted: Thu Mar 13, 2008 13:41    Post subject: Reply with quote
Thanks, I'll dig into that 92/192 problem, and follow your instructions, then I'll report back here when ready. Lots of thanks for your suggestions.
theant
DD-WRT Novice


Joined: 18 Feb 2008
Posts: 5

PostPosted: Mon Mar 24, 2008 12:21    Post subject: ath_mgtstart: discard, no xmit buf Reply with quote
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
Goto page Previous  1, 2, 3 ... 13, 14, 15, 16  Next Display posts from previous:    Page 14 of 16
Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Qualcomm Atheros 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