View previous topic :: View next topic |
Author |
Message |
pdr l33t
Joined: 20 Mar 2004 Posts: 618
|
Posted: Mon May 23, 2005 2:13 am Post subject: Wireless gets tired? |
|
|
I have a linksys wrt54gs - no, I didn't try to put gentoo on it - running 802.11g to my thinkpad T42 laptop with atheros wireless (using madwifi-driver). If I try to stream large amounts on the local network - and in particular FAST amounts, the connection dies and I have to restart wireless to get it running. It does not have this problem with (slower) DSL downloads such as for emerge. Any idea what the problem might be and how to fix? I'm not using dhcp.
I do use a home-grown initscript to start and stop wireless, but I've had this problem in the past with other setups (but same hardware) too. Plus the initscript is pretty straight forward - it uses wireless-tools (iwconfig) to set up the atheros driver, and then uses basically the same code from net.eth0 to set the route etc (I would have just made a "/etc/init.d/net.ath0" symlink and called it, or figured out how the heck to get the preup functionality into it, but it only allows one gateway var to be declared). |
|
Back to top |
|
|
flakzeus Apprentice
Joined: 26 May 2004 Posts: 157
|
Posted: Mon May 23, 2005 4:52 am Post subject: |
|
|
This sounds like a problem with the router. Have you upgraded the router to the latest firmware?
Also, are there any errors in your logs when this happens? _________________ "I'm not a super genius...or are I?" - Homer Simpson |
|
Back to top |
|
|
pdr l33t
Joined: 20 Mar 2004 Posts: 618
|
Posted: Wed May 25, 2005 12:24 pm Post subject: |
|
|
I'm trying to stream /dev/video0 from my desktop to my laptop via using:
Code: | desktop (cat /dev/video0 | nc ...) ==100M ethernet==> linksys ==802.11g==> laptop (nc ... | mplayer -) |
I upgraded the linksys firmware and now it runs for a second before the video freezes. The audio continues, but I killed the connection after a few seconds before it could take anything down with it. I'm going to see if maybe its a bandwidth issue and doing some transcoding before streaming helps. |
|
Back to top |
|
|
pdr l33t
Joined: 20 Mar 2004 Posts: 618
|
Posted: Tue May 31, 2005 1:42 pm Post subject: |
|
|
Its not a bandwidth issue - or at least, not entirely. When I try to scp a large (350MB) file through wireless to the laptop, I get the same thing - runs for a few seconds and then stops; if I restart my wireless connection it runs for a few more seconds and stops. If I keep restarting the connection I will eventually get the whole file transferred. Note that here "restart wireless connection", while done through my home-grown initscript, just involves "ifconfig ath0 down" for the down part, and "iwconfig ..." followed by the equivalent of "/etc/init.d/net.ath0 start" for the start part.
Anybody else have this kind of wireless problem? Who do I report it to - madwifi folk? gentoo bug report?
(edit) Nevermind. Seems to be madwifi problem; using the ethernet port (otherwise all same config) works fine. The madwifi wiki mentions some kind of dreaded irq problem when in *master* mode (whereas I am using managed), but otherwise sounds the same (sluggish, restarting gives temporary relief). Will check with them and/or mailing list. |
|
Back to top |
|
|
|