ROBIN -  Open Source Mesh Network Forum Index ROBIN - Open Source Mesh Network
users community forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Connections Dropping / Clients unable to stay connected

 
Post new topic   Reply to topic    ROBIN - Open Source Mesh Network Forum Index -> c6xx
View previous topic :: View next topic  
Author Message
Ads






Posted: Sat May 27, 2017 8:16 pm    Post subject: Ads

Back to top
vask
Skilled User
Skilled User


Joined: 30 Apr 2008
Posts: 186
Location: Waikiki, Hawaii

PostPosted: Wed May 14, 2008 10:25 pm    Post subject: Connections Dropping / Clients unable to stay connected Reply with quote

My Setup:
2 node network... a gateway and a repeater.

Hardware:
MR3201a

Firmware:
t_c684.n
0.3-rv964

Issue:
Sometimes when I am trying to connect to the repeater the wireless connection on my laptop shows full bars... then I just start losing bars... Sometimes my wireless connection from my laptop drops instantaneously or after a second or so... Sometimes my laptop is able to stay conneceted with 1 or 2 bars out of 5... Maybe I am connected to the farther away gateway??? Same thing with other devices...

In the case where I am still connected with low bars on my LAPTOP and the connection problem thing is happening I get:
Code:

john:~ john$ ifconfig en1
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
   inet6 xxxx::xxx:xxxx:xxxx:xxxx%en1 prefixlen 64 scopeid 0x6
   inet 169.254.247.126 netmask 0xffff0000 broadcast 169.254.255.255
   ether 00:19:e3:xx:xx:5a
   media: autoselect status: active
   supported media: autoselect


If I try and connect with my Tungsten C (802.11b I think) I get full bars then it drops me immediately after a second. This is interesting because my Tungsten C does not have enough range to reach the gateway... ONLY the repeater.

Dashboard updates keep coming in and report that the node is fine...

I would expect to at least be able to connect to the repeater... Especially since it seems like the repeater can connect to the gateway fine (which is farther away)...

Workaround:
If I reset the nodes it will let me connect again ok sometimes but then it might just drop me again later...

More Info:
Is there some way I can force my laptop connection to the repeater permanently?

Below is the SSH to show the repeater node (5.127.255.54) still up and working when I have this problem... ( I have to connect to it in a round about way )
Code:

john$ ssh
Only registered users can see links on this forum!
Register or Login on forum!


Only registered users can see links on this forum!
Register or Login on forum!

's password:


BusyBox v1.4.2 (2007-11-02 12:20:05 PDT) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                          ________             __
 |       |.-----.-----.-----.  _  |        |.-----.----|  |__
 |   -   ||  _  |  -__|     | |_| |  |  |  ||  -__|__--|     |
 |_______||   __|_____|__|__|     |__|__|__||_____|____|__|__|
          |__|  http://www.open-mesh.com ---------------------

 Powered by these open source projects:

 http://www.blogin.it       http://kokoro.ucsd.edu/nodogsplash
 http://www.openwrt.org     http://www.open-mesh.org
 -------------------------------------------------------------
root@open-mesh:~# arp -a
IP address       HW type     Flags       HW address            Mask     Device
172.21.108.106   0x1         0x0         00:19:E3:D8:6C:5A     *        ath1
192.168.1.1      0x1         0x2         00:14:BF:1D:8B:3D     *        eth0
192.168.1.107    0x1         0x2         00:19:E3:D8:6C:5A     *        eth0
5.127.255.54     0x1         0x2         00:12:CF:7F:FF:37     *        ath0
root@open-mesh:~# ssh 5.127.255.54

Only registered users can see links on this forum!
Register or Login on forum!

's password:


BusyBox v1.4.2 (2007-11-02 12:20:05 PDT) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                          ________             __
 |       |.-----.-----.-----.  _  |        |.-----.----|  |__
 |   -   ||  _  |  -__|     | |_| |  |  |  ||  -__|__--|     |
 |_______||   __|_____|__|__|     |__|__|__||_____|____|__|__|
          |__|  http://www.open-mesh.com ---------------------

 Powered by these open source projects:

 http://www.blogin.it       http://kokoro.ucsd.edu/nodogsplash
 http://www.openwrt.org     http://www.open-mesh.org
 -------------------------------------------------------------
root@open-mesh:~# ping google.com
PING google.com (64.233.167.99): 56 data bytes
64 bytes from 64.233.167.99: icmp_seq=0 ttl=242 time=148.8 ms
64 bytes from 64.233.167.99: icmp_seq=1 ttl=242 time=139.9 ms
64 bytes from 64.233.167.99: icmp_seq=2 ttl=242 time=163.8 ms

--- google.com ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 139.9/150.8/163.8 ms
root@open-mesh:~# uptime
 00:48:54 up 48 min, load average: 0.00, 0.08, 0.08
root@open-mesh:~#
Back to top
View user's profile Send private message
vask
Skilled User
Skilled User


Joined: 30 Apr 2008
Posts: 186
Location: Waikiki, Hawaii

PostPosted: Thu May 15, 2008 3:51 am    Post subject: Reply with quote

I should also add that sometimes certain devices can connect to the MR3201a repeater perfectly when stuff like this happens and others can NOT or they get dropped...

It could be client side and user error too sometimes... but If a different router for example my netgear WGT624 was placed in the same location as the MR3201a repeater, I would never get a dropped connection....

Here is an image of what AP grapher gets for networks around my area... it is weird that open mesh doesn't show up as "active" especially since it is in the same room as me. But like I said wireless connection is up and down even when the node has good uptime... You may also want to note that the "best" signal is open mesh on channel 6... but it doesn't stay active!!!


Only registered users can see links on this forum!
Register or Login on forum!




Only registered users can see links on this forum!
Register or Login on forum!



When I can actually connect and things look correct I will have something like:


Only registered users can see links on this forum!
Register or Login on forum!



Hope this is helpful!
Back to top
View user's profile Send private message
Antonio (isleman)
Site Admin
Site Admin


Joined: 10 Feb 2008
Posts: 2323
Location: Toscana, Italy

PostPosted: Thu May 15, 2008 9:11 am    Post subject: Reply with quote

@vask

I see

Quote:

john:~ john$ ifconfig en1
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 xxxx::xxx:xxxx:xxxx:xxxx%en1 prefixlen 64 scopeid 0x6
inet 169.254.247.126 netmask 0xffff0000 broadcast 169.254.255.255
ether 00:19:e3:xx:xx:5a
media: autoselect status: active
supported media: autoselect


I don't know what be iface en1, BUT 169.0.0.0/8 IP space is used by gateway to tunnelize traffic from/to repeaters!!!: so if you are associate with a gateway then robin may have serious problem in routing.

_________________
There are only 10 types of people in the world: those who understand binary, and those who don't
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vask
Skilled User
Skilled User


Joined: 30 Apr 2008
Posts: 186
Location: Waikiki, Hawaii

PostPosted: Thu May 15, 2008 10:58 am    Post subject: Reply with quote

Antonio (isleman) wrote:

I don't know what be iface en1, BUT 169.0.0.0/8 IP space is used by gateway to tunnelize traffic from/to repeaters!!!: so if you are associate with a gateway then robin may have serious problem in routing.


en1 is the wireless interface on my laptop... It is set to get IP automatically with DHCP... and the 169.x.x.x is what I get frequently when connecting to the open-mesh network...

How do I prevent associating with a gateway if my laptop decides it want to on its own or any other device for that matter?

And are you saying my laptop could be messing up the network?
Back to top
View user's profile Send private message
Antonio (isleman)
Site Admin
Site Admin


Joined: 10 Feb 2008
Posts: 2323
Location: Toscana, Italy

PostPosted: Thu May 15, 2008 11:43 am    Post subject: Reply with quote

vask wrote:
Antonio (isleman) wrote:

I don't know what be iface en1, BUT 169.0.0.0/8 IP space is used by gateway to tunnelize traffic from/to repeaters!!!: so if you are associate with a gateway then robin may have serious problem in routing.


en1 is the wireless interface on my laptop... It is set to get IP automatically with DHCP... and the 169.x.x.x is what I get frequently when connecting to the open-mesh network...

How do I prevent associating with a gateway if my laptop decides it want to on its own or any other device for that matter?

And are you saying my laptop could be messing up the network?


You can't obtain IP lease inside 169.0.0.0/8 subnet from any robin device... or you run batmand in your laptop?

_________________
There are only 10 types of people in the world: those who understand binary, and those who don't
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vask
Skilled User
Skilled User


Joined: 30 Apr 2008
Posts: 186
Location: Waikiki, Hawaii

PostPosted: Thu May 15, 2008 9:35 pm    Post subject: Reply with quote

I am not running batmand on my laptop... (doesn't show up on the process list)

I just realized that my ip address from above is 169.254.0.0/16 NOT 169.0.0.0/8

It seems my computer gets the 169.254.x.x address if:
a) it is configured to get an address automatically
b) it can't get one automatically.
See:
Only registered users can see links on this forum!
Register or Login on forum!



At any rate I can leave my laptop wireless off to see if that changes things...

Could other wireless networks in the area be interfering? 2 big companies in the area providing similar community wireless for a fee are:

Only registered users can see links on this forum!
Register or Login on forum!


Only registered users can see links on this forum!
Register or Login on forum!

Back to top
View user's profile Send private message
vask
Skilled User
Skilled User


Joined: 30 Apr 2008
Posts: 186
Location: Waikiki, Hawaii

PostPosted: Sat May 17, 2008 10:38 pm    Post subject: Reply with quote

More Info:

My Tungsten C (172.21.54.19) still gets dropped on the wireless but from the node it shows:

Code:

root@open-mesh:/sbin# arp -a
IP address       HW type     Flags       HW address            Mask     Device
172.21.54.94     0x1         0x0         00:13:E8:6E:63:2F     *        br-lan
5.127.255.108    0x1         0x2         00:12:CF:7F:FF:6D     *        ath0
172.21.54.19     0x1         0x2         00:07:E0:25:67:1A     *        br-lan
Back to top
View user's profile Send private message
vask
Skilled User
Skilled User


Joined: 30 Apr 2008
Posts: 186
Location: Waikiki, Hawaii

PostPosted: Mon May 19, 2008 8:17 am    Post subject: Reply with quote

Today my network is working great ... there have been no dropped connections that I noticed... Dashboard looks like it had some fixes too because I am not seeing the mysql error messages anymore...

Only change I made since yesterday is the orientation of the antenna on the repeater that was giving me problems...

Antenna used to look like:
|

Now anteanna is like:
/

It is also important to note that I don't really see any improvement in signal from this change when running:
Code:

batmand -c -d 1


Bad thing is that I can't pinpoint the original problem...

Good thing is network is running great today.
Back to top
View user's profile Send private message
vask
Skilled User
Skilled User


Joined: 30 Apr 2008
Posts: 186
Location: Waikiki, Hawaii

PostPosted: Tue May 20, 2008 10:46 pm    Post subject: Reply with quote

Ok now that I have updated to:
t_c720.n
0.3-rv964

The problem was back again... but this time I think I know what it is (Wireless INTERFERENCE!)

Solution:
Change the wireless Channel!

More Info:
When I issued the upgrade command on one of the nodes manually it looked like it was going to preserve the channel associations I had setup previously... (something printed to the screen with channel 6 durring the upgrade process). However, after the upgrade/reboot my wireless clients were saying open-mesh was now on channel 5.

/etc/config/wireless.default
Code:

config wifi-device     wifi0
        option type       atheros
        option channel    5
        option agmode     11g


Anyway I changed it back to channel 6 and rebooted and things are working good again...

By the way channel 5 is one of the worst channels to have in Waikiki, HI because it gets interference from channel 1 AND 6 which are 2 already very overloaded channels... So... since channel 5 overlaps both channels 1 and 6... that is even more interference!!!
Back to top
View user's profile Send private message
vask
Skilled User
Skilled User


Joined: 30 Apr 2008
Posts: 186
Location: Waikiki, Hawaii

PostPosted: Wed May 21, 2008 6:44 am    Post subject: Reply with quote

Hmmm... There may be something else going on here...

My node restarted on its own today and the wireless behaved as described in my original post...

So, even with interference minimized, it seems like sometimes my node just starts up in a bad state...

Maybe it is a combination of things...

=(

Just so everyone knows too my network is setup in a hostel so there is a lot of wireless stuff going on here as travelers come from all over the world!
Back to top
View user's profile Send private message
Antonio (isleman)
Site Admin
Site Admin


Joined: 10 Feb 2008
Posts: 2323
Location: Toscana, Italy

PostPosted: Wed May 21, 2008 9:54 am    Post subject: Reply with quote

Plase, have a look at logread output and inspect the presence of lines with messages like "beacon stuck".
This message - coming from driver MadWifi - warns about high interference in 802.11g band and can stop working the wifi layer.
Possible solutions are changing channel (move to up limit of the band) or working in 802.11b band.
...waiting for a new MadWifi release

_________________
There are only 10 types of people in the world: those who understand binary, and those who don't
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vask
Skilled User
Skilled User


Joined: 30 Apr 2008
Posts: 186
Location: Waikiki, Hawaii

PostPosted: Wed May 21, 2008 9:24 pm    Post subject: Reply with quote

Antonio (isleman) wrote:
Plase, have a look at logread output and inspect the presence of lines with messages like "beacon stuck".


I couldn't find anything in the logs...

root@open-mesh:~# logread | grep stuck
root@open-mesh:~# logread | grep wifi
root@open-mesh:~# logread | grep beacon

However, I have seen error codes on my dashboard like:
!101

from /etc/reasons
101 madwifi - no_xmit buff error

Antonio (isleman) wrote:
This message - coming from driver MadWifi - warns about high interference in 802.11g band and can stop working the wifi layer.
Possible solutions are changing channel (move to up limit of the band) or working in 802.11b band.
...waiting for a new MadWifi release


Changing the channel definately helps...
And perhaps this explains why I can connect with my Tungsten C (802.11b) sometimes and NOT my Macbook Pro...

At any rate network is running MUCH better than it was a month ago! =)
Back to top
View user's profile Send private message
vask
Skilled User
Skilled User


Joined: 30 Apr 2008
Posts: 186
Location: Waikiki, Hawaii

PostPosted: Thu May 22, 2008 8:47 am    Post subject: Reply with quote

Ok... my repeater started dropping connections again same way as before... this time it was triggered when I tried to mount a remote macfuse volume... NOT that this is a problem in itself but higher amounts of network traffic may complicate this problem... Timing was too coincidental...

I sent the reboot signal to the repeater to fix it as has worked in the past... but errr.. I forgot to do the logread before I did the reboot... and I forgot to do some other stuff like troubleshoot from the node!!!

So far I have NOT seen the "beacon stuck" message...

Also, I did read up on
Only registered users can see links on this forum!
Register or Login on forum!

It seems that they are pushing for ath5k instead of madwifi... but they also say ath5k is too new and under heavy development. =(
Back to top
View user's profile Send private message
vask
Skilled User
Skilled User


Joined: 30 Apr 2008
Posts: 186
Location: Waikiki, Hawaii

PostPosted: Fri May 23, 2008 6:12 am    Post subject: Reply with quote

Same symptoms again and yep... Looks like "stuck beacon" is the culprit!

Code:

root@open-mesh:~# logread | grep stuck
Jan  1 00:50:43 open-mesh user.warn kernel: wifi0: stuck beacon; resetting (bmiss count 11)


Also, since this error I tried to make some changes....

/etc/config/wireless.default

Now reads:
option agmode 11b

Instead of the default:
option agmode 11g

Also, I have previously changed the channel... So there is nothing more I can do there as I am already on the channel with the least interference...

After doing these changes I rebooted of course...

Anyway, same symptoms still.... but NO stuck beacon message...

This time I have some more info:
#logread
Code:

Jan  1 02:51:51 open-mesh user.warn kernel: ath_rate_minstrel: no rates for 00:1b:77:1f:59:02?
Jan  1 02:51:51 open-mesh user.warn kernel: ath_rate_minstrel: no rates for 00:1b:77:1f:59:02?
Jan  1 02:51:55 open-mesh daemon.info hostapd: ath2: STA 00:19:e3:d8:6c:5a IEEE 802.11: deauthenticated due to local deauth request
Jan  1 02:51:55 open-mesh daemon.info hostapd: ath2: STA 00:19:e3:d8:6c:5a IEEE 802.11: disassociated
Jan  1 02:52:32 open-mesh daemon.info dnsmasq[2877]: DHCPREQUEST(br-lan) 172.21.54.55 00:1b:77:1f:59:02


And the resolution this time:
Code:

root@open-mesh:~# ifconfig ath2 down
root@open-mesh:~# ifconfig ath2 up
Back to top
View user's profile Send private message
vask
Skilled User
Skilled User


Joined: 30 Apr 2008
Posts: 186
Location: Waikiki, Hawaii

PostPosted: Sat May 24, 2008 4:55 am    Post subject: Reply with quote

Alright...

Same symptoms again:
Code:

Jan  1 00:51:52 open-mesh daemon.info hostapd: ath2: STA 00:19:e3:d8:6c:5a IEEE 802.11: deauthenticated due to local deauth request
Jan  1 00:51:52 open-mesh daemon.info hostapd: ath2: STA 00:19:e3:d8:6c:5a IEEE 802.11: disassociated


Also I noticed that you you ONLY need to take down the interface ath2 for resolution...)
Code:

root@open-mesh:~# ifconfig ath2 down


This time I noticed that 00:19:e3:d8:6c:5a is the MAC address on my laptop!!! My laptop shouldn't be able to kill the wireless should it?

Also, we did get some stuck beacon messages in there too!!! errr...
Code:

Jan  1 01:44:51 open-mesh user.warn kernel: wifi0: stuck beacon; resetting (bmiss count 11)
Back to top
View user's profile Send private message
vask
Skilled User
Skilled User


Joined: 30 Apr 2008
Posts: 186
Location: Waikiki, Hawaii

PostPosted: Sun May 25, 2008 10:03 pm    Post subject: Reply with quote

Today I decided to change my network:

1 gateway only...

The node I am connecting to is a new node... totally different from the old one AND I got the same problem as before:

Code:

Jan  1 00:21:19 hallway daemon.info hostapd: ath2: STA 00:19:e3:d8:6c:5a IEEE 802.11: deauthenticated due to local deauth request
Jan  1 00:21:19 hallway daemon.info hostapd: ath2: STA 00:19:e3:d8:6c:5a IEEE 802.11: disassociated


resolution:
Code:

root@hallway:~# ifconfig ath1 down
root@hallway:~# ifconfig ath1 up


I have also seen this behavior on my other nodes...

I would also like to reemphasize that my netgear WGT624 does NOT have this issue or my linksys router either, so it has to be something specific to the MR3201a setup...
Back to top
View user's profile Send private message
vask
Skilled User
Skilled User


Joined: 30 Apr 2008
Posts: 186
Location: Waikiki, Hawaii

PostPosted: Mon May 26, 2008 9:06 am    Post subject: Reply with quote

I changed my network today so I dug out the netgear WGT624 router I was hoping to have no use for anymore... and it is now the main access point to my network...

I still have the open-mesh network on 3 nodes... I can do any kind of testing you like on it...

Somethings I noticed about the changes...
Network disconnects are transparent when working off of the WGT624 but it does actually have some disconnects... from my IM logs:
4:46 You have disconnected
4:46 You have connected
4:46 You have disconnected
4:46 You have connected
4:47 You have disconnected
4:48 You have connected
4:48 You have disconnected
4:48 You have connected
Also, the above messages do not happen nearly as often as it looks... only had 2 sessions like that today where I got a bunch of those IM messages...
But in terms of maintenance and usage the disconnects are totally transparent...

I also tried setting both open mesh and my router to the same channel... That totally kills ath1 and ath2 with the same symptoms as before... So I think that it is a high possibility that wireless interference will kill the nodes... and the worst part is the dashboard reports that they are fine... things that are fishy though are low bandwidth usage in the graph.

Can someone replicate?
If anyone can I would try just having 1 MR3201a and 1 other kind of consumer router that both share the same channel... make both gateways... Put both of these next to eachother under high loads and see what happens... I can NOT test this further as I do not have access to somewhere without interference... But I suspect that the consumer router will suffer a little while the MR3201a ath1 and ath2 interfaces will eventually just start dropping client connections like flies... And then the MR3201a will not recover from this until you issue:
#ifconfig ath2 down
#ifconfig ath1 down
#ifconfig ath1 up
#ifconfig ath2 up
or until you reboot the MR3201a
But the consumer router in my case Netgear WGT624 will keep wireless going FINE!

My Network:
Only registered users can see links on this forum!
Register or Login on forum!



Also if this issue is really from wireless interference it is a huge problem in metropolitan areas where all the channels are already taken as these nodes will require too much overhead to maintain.
Back to top
View user's profile Send private message
confero24
Intermediate User
Intermediate User


Joined: 19 May 2008
Posts: 89
Location: Stow, Ohio-USA, Stuttgart-Germany, Redditsch-UK

PostPosted: Mon May 26, 2008 9:56 am    Post subject: Reply with quote

I think this is similar to what I am see on my node at the office. I can check it again tomorrow when I'm back there, but for now, I'm noticing this behavior at a different site.

Only registered users can see links on this forum!
Register or Login on forum!



This different site is actually in a low-wifi area, there's only 1 or 2 other access points in vicinity and probably same number of clients.

_________________

Only registered users can see links on this forum!
Register or Login on forum!



Only registered users can see links on this forum!
Register or Login on forum!

Back to top
View user's profile Send private message Visit poster's website
confero24
Intermediate User
Intermediate User


Joined: 19 May 2008
Posts: 89
Location: Stow, Ohio-USA, Stuttgart-Germany, Redditsch-UK

PostPosted: Wed May 28, 2008 5:03 pm    Post subject: Firmware upgrade Reply with quote

@vask

just wondering if you have tried to upgrade the firmware as that seemed to have done the trick for me. I must note that I am doing my testing in a relatively wifi-free area. There are about 4-5 "visible" devices (non-mesh) here.

_________________

Only registered users can see links on this forum!
Register or Login on forum!



Only registered users can see links on this forum!
Register or Login on forum!

Back to top
View user's profile Send private message Visit poster's website
vask
Skilled User
Skilled User


Joined: 30 Apr 2008
Posts: 186
Location: Waikiki, Hawaii

PostPosted: Thu May 29, 2008 4:16 am    Post subject: Reply with quote

@confero24

I have issued the upgrade command and have had the dashboard reporting every firmware since beta 1.1 although I have NOT yet tried exactly the instructions you sent me...

I am curious though... How come the upgrade command didn't work for you? Did it do anything? i am asking because the output of my upgrade command looked very similar to your resolution instructions at:
Only registered users can see links on this forum!
Register or Login on forum!



I MAY try your suggestion as soon as I get some more time to mess around with the network... but I don't want to mess with it right now... especially if when you ran #update it just said something like "can't run update." or "error connecting" which was NEVER an issue for me.

But so far I am still experiencing the same behavior. Although network was solid for like 5 hours straight yesterday!!! But then of course... bleh... probably dinner time came around...

I should also note that in my situation the problem seems to go away sometimes without my interaction and without a reboot...

Another thing that was weird today... I actually got dropped from my WGT624 netgear router for like more than a minute! I have not noticed this behavior before. Shortly before the drop, Adium (My IM client) said something like your internet connection has been going up and down too much so it was shutting down... And I actually got disconnected from the internet. Meanwhile I was connnected on my tungsten C and browsing the internet on the same wireless... but my laptop could not reconnect (find the AP) for about 2 min... then right after the reconnect I just got disconnected again... Very strange... Fortunately, the WGT624 usually lets me reconnect immediately or fast enough so I can't notice the disconnect without logged messages... but this time... after 1 min it was definitely noticeable...

If this was the MR3201a instead of the WGT624 it would take hours for me to be able to reconnect without a reboot or my interaction. Perhaps this is due to Accton's "Superior RF Sensitivity" AKA interference enhancer??? Oh and as I mentioned before... this kind of stuff usually happens around dinner time when people get off work or when you would expect everyone to be using internet in the area...
Back to top
View user's profile Send private message
vask
Skilled User
Skilled User


Joined: 30 Apr 2008
Posts: 186
Location: Waikiki, Hawaii

PostPosted: Thu Jun 19, 2008 10:12 pm    Post subject: Reply with quote

Ahhh yes... This is still an issue for me... My gateways/repeaters periodically zombie themselves with the same symptoms as before... I am currently on c815...

Even if I hook up just a gateway and connect to that... it dies... and does not reboot itself... Also... for some reason... after I manually reboot I have to do the following to get the wireless clients to connect properly:
#ifconfig ath1 down
#ifconfig ath1 up

This project is getting better though... and maybe it is just a driver issue with madwifi (http://madwifi.org).

eep!
Back to top
View user's profile Send private message
Antonio (isleman)
Site Admin
Site Admin


Joined: 10 Feb 2008
Posts: 2323
Location: Toscana, Italy

PostPosted: Thu Jun 19, 2008 10:30 pm    Post subject: Reply with quote

We are just experiencing robin compiled on 2.6.23 kernel, with newpatched Madwifi and HAL: we need more other tests and results before to roll out this release.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vask
Skilled User
Skilled User


Joined: 30 Apr 2008
Posts: 186
Location: Waikiki, Hawaii

PostPosted: Sun Jun 22, 2008 8:19 pm    Post subject: Reply with quote

Now I am on c828... I think this is the same as the version with the new madwifi and HAL... but I am not sure...

Anyway... I have experienced new behavior with my laptop and its ability to stay connected on c828. Basically what happens is my laptop gets the usual drop or disconnected from the network... But... Then my laptop immediately reconnects... and Disconnects... and Reconnects... (probably at 1 or 2 second intervals)... This makes the wireless connectivity meter on my laptop like a flashing light. It alternates between full bars and no bars indefinitely.... Previously... when I would get dropped... I could not reconnect ever... So I think this is progress...

At any rate... Resolution of this issue is the same as before:
#ifconfig ath1 down
#ifconfig ath1 up
Back to top
View user's profile Send private message
Antonio (isleman)
Site Admin
Site Admin


Joined: 10 Feb 2008
Posts: 2323
Location: Toscana, Italy

PostPosted: Mon Jun 23, 2008 11:54 am    Post subject: Reply with quote

vask wrote:

Basically what happens is my laptop gets the usual drop or disconnected from the network... But... Then my laptop immediately reconnects... and Disconnects... and Reconnects... (probably at 1 or 2 second intervals)... This makes the wireless connectivity meter on my laptop like a flashing light. It alternates between full bars and no bars indefinitely....


We fix these problems some months ago by setting madwifi doth parameter to 0 in ath0 iface. Now - c828 - those same settings are spread to AP#1 (ath1) and AP#2 (ath2) too BUT nomore in ath0 (se see that it was ininfluent).
So you may try to set doth=0 in ath0 too uncommenting thes lines in /sbin/iwpriv_mesh:

Code:

# iwpriv $ME_IF doth 0 >&-
# iwpriv $ME_IF abolt 0 >&-


A question: what wifi chip is used in your laptop?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vask
Skilled User
Skilled User


Joined: 30 Apr 2008
Posts: 186
Location: Waikiki, Hawaii

PostPosted: Mon Jun 23, 2008 9:14 pm    Post subject: Reply with quote

@Antonio
My Laptop Chip: Atheros AR5008 (From research online but not sure)
Wireless Card Type: AirPort Extreme (0x168C, 0x87) (I am sure about this part)

Also, the behavior I was describing in my last post ONLY happened 1 time so far in 3 days on c828.

I found a good resource:
Only registered users can see links on this forum!
Register or Login on forum!



I just checked my settings:
root@hallway:/# iwpriv ath0 get_doth
ath0 get_doth:0
root@hallway:/# iwpriv ath0 get_abolt
ath0 get_abolt:16
root@hallway:/# iwpriv ath1 get_doth
ath1 get_doth:0
root@hallway:/# iwpriv ath1 get_abolt
ath1 get_abolt:0
[/code]

Looks the 16 refers to (bit 5 on the chart from

Only registered users can see links on this forum!
Register or Login on forum!


root@hallway:/# iwpriv ath0 get_burst
ath0 get_burst:1

I have just turned off abolt as follows:
root@hallway:/# iwpriv ath0 abolt 0
root@hallway:/# iwpriv ath0 get_abolt
ath0 get_abolt:0
root@hallway:/# iwpriv ath0 get_doth
ath0 get_doth:0


Last edited by vask on Mon Jun 23, 2008 10:00 pm; edited 2 times in total
Back to top
View user's profile Send private message
reine
Intermediate User
Intermediate User


Joined: 18 Feb 2008
Posts: 76

PostPosted: Mon Jun 23, 2008 9:41 pm    Post subject: Reply with quote

What vask describes is exactly what I am experiencing, disconect and connects again, but the client is hopping betwen AP's
Are your client reconnectig to the same AP, otherwise it may be the same problem I've poste under this [url]
Only registered users can see links on this forum!
Register or Login on forum!

Back to top
View user's profile Send private message
vask
Skilled User
Skilled User


Joined: 30 Apr 2008
Posts: 186
Location: Waikiki, Hawaii

PostPosted: Mon Jun 23, 2008 10:04 pm    Post subject: Reply with quote

On c828 the issue I had (One time only so far) was that I kept disconnecting and reconnecting to the same Gateway Node.

I have experienced node switching which involves disconnects and reconnects... but I think this is a separate issue. I am focusing on wireless connectivity with a single node in this topic.
Back to top
View user's profile Send private message
vask
Skilled User
Skilled User


Joined: 30 Apr 2008
Posts: 186
Location: Waikiki, Hawaii

PostPosted: Mon Jun 30, 2008 8:47 am    Post subject: Reply with quote

@Antonio

I have NOT had the connecting / disconnecting / connecting / disconnecting behavior on my laptop again... So it was only that one time.

At any rate, I decided to uncommented the following lines in /sbin/iwpriv_mesh anyway. They now read:
Code:

iwpriv $ME_IF doth 0 >&-
iwpriv $ME_IF abolt 0 >&-


After a reboot on c842 I have:
Code:

root@office2:~# iwpriv ath0 get_abolt
ath0      get_abolt:0


=)

Also, I would like to mention that since c828 my network has been much more stable, and I only had to manually reset nodes on my network 2 times in the last 10 days. (previously it was every 1-3 days).
Back to top
View user's profile Send private message
vask
Skilled User
Skilled User


Joined: 30 Apr 2008
Posts: 186
Location: Waikiki, Hawaii

PostPosted: Tue Jul 22, 2008 9:54 pm    Post subject: Reply with quote

It looks like Connections Dropping/Clients Unable to Stay connected is no longer a BIG issue for me.

Since c828 My network has been much more stable... With each version it seems to get a little better too... maybe it was just the new madwifi/HAL that solved the problem?

I am now on c950 and the network needs little attention... I wouldn't say that it is perfect just yet... There are still occasional lockups on my nodes that require a power cycle... But I only need to deal with that maybe once a week and only on one of my 3 active nodes... So no biggie.

At any rate, thanks for everyones efforts to make thinks better!

@antonio
Thanks for all you efforts!

And thanks so much for the following script to MANUALLY upgrade my nodes. I use all the time and it works great! It's so easy!:
#yahuu -f
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ROBIN - Open Source Mesh Network Forum Index -> c6xx All times are GMT + 1 Hour
Page 1 of 1

 
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
c d
e



Powered by phpBB © 2001, 2005 phpBB Group

Abuse - Report Abuse - TOS & Privacy.
Powered by forumup.it free forum, create your free forum! Created by Hyarbor & Qooqoa
Confirmed

Page generation time: 0.582