lixuewei / rt-n56u

Automatically exported from code.google.com/p/rt-n56u
0 stars 0 forks source link

Connection is lost every day periodically. #1174

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Connection is lost per 24hour.
2. But it is alive by ping. just WWW connection is lost.
3. I'can't see a special log about this state.

I think this error is related with Firewall (or maybe a packet for release 
DHCP)?

What version of the product are you using? On what operating system?

RT_N65U 079 firmware.
The error has not occurred when I apply 075 firmware to router.

Original issue reported on code.google.com by vhal...@gmail.com on 28 Feb 2014 at 11:28

GoogleCodeExporter commented 9 years ago
Try setting your primary and secondary DNS to 8.8.8.8 and 8.8.4.4 as per 
https://developers.google.com/speed/public-dns/

/Kitch

Original comment by kitch2400 on 28 Feb 2014 at 1:03

GoogleCodeExporter commented 9 years ago
It's seems due to dnsmasq broken, try to disable and re-enable dns server.
I have found the issue since .07x

Original comment by ah7...@gmail.com on 1 Mar 2014 at 9:20

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
ssh to device -> issue restart_dns

should also do the trick. i haven't experienced this though.

Original comment by kitch2400 on 1 Mar 2014 at 2:28

GoogleCodeExporter commented 9 years ago
I am facing the same issue and recurs every 30 min to 1 hr. Even LAN 
connectivity to the router is lost. Do we need to set primary and secondary DNS 
to 8.8.8.8 and 8.8.4.4 on both WAN and LAN? Is it confirmed that dnsmasq broken?

Original comment by muruga...@gmail.com on 9 Mar 2014 at 2:35

GoogleCodeExporter commented 9 years ago
Yep.. I agree.. same issue here as well.. connectivity is lost all around.. 
even to the router from LAN. I can connect wirelessly though...

It comes back to normal after 2/3 power cycles.. soft reboot does not help.

Original comment by Arijit.R...@gmail.com on 11 Mar 2014 at 8:24

GoogleCodeExporter commented 9 years ago
I found out the cause of the connection is broken.

1. Connect ssh
2. Type 'dnsmasq'
3. Connection is recovered.

I think dnsmasq process is killed for any reason...
any idea?

Original comment by vhal...@gmail.com on 13 Mar 2014 at 8:40

GoogleCodeExporter commented 9 years ago
I suppose one could write a script that launches/relaunches /usr/sbin/dnsmasq 
after a set interval...

Preferably one should take a look at the log-files to see whats really going on.

Original comment by kitch2400 on 14 Mar 2014 at 11:50

GoogleCodeExporter commented 9 years ago
I have enabled DHCPv4 verbose and use my synology nas as syslog server but 
nothing help.
Daemon just silently terminated.
Thus I roll back to .69 base version(with previous version dnsmasq)

Original comment by ah7...@gmail.com on 15 Mar 2014 at 4:00

GoogleCodeExporter commented 9 years ago
https://code.google.com/p/rt-n56u/source/detail?r=403cba3b9372f02c7f6115bd4d8236
4683fc1436

Original comment by Dr.Sydorenko.O on 15 Mar 2014 at 3:23

GoogleCodeExporter commented 9 years ago
And this is why one shouldt pay cisco 600$ for new software ^.^

Original comment by kitch2400 on 15 Mar 2014 at 3:56

GoogleCodeExporter commented 9 years ago
Okay. I'll try to build a recent firmware (Mar 12)
then report the issue that is relate to dnsmasq terminating within several days.

Original comment by vhal...@gmail.com on 16 Mar 2014 at 9:56

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
After I applied a firmware I built,
I found a interesting log message.
See this.

Mar 16 20:31:53 watchdog: dnsmasq is gone, start again!

Connection is good by restarting dnsmasq succesfully although dnsmasq was 
suddenly terminated. 
It is a temporary fix, but reliable. 

Original comment by vhal...@gmail.com on 16 Mar 2014 at 1:26

GoogleCodeExporter commented 9 years ago
good news, everyone.

Original comment by kitch2400 on 16 Mar 2014 at 7:40

GoogleCodeExporter commented 9 years ago
So will a new firmware be released with this fix?

Original comment by Arijit.R...@gmail.com on 16 Mar 2014 at 7:55

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Maybe the fix will be applied to the next update.

And this is my unofficial build of the fix has been applied.

http://goo.gl/effCW2

Original comment by vhal...@gmail.com on 17 Mar 2014 at 10:45

GoogleCodeExporter commented 9 years ago
Thanks.. the size of the firmware is smaller than the full build. Does it 
contain the full build along with the fix? Just curious as I do not intend to 
lose other functionalities.. 

Original comment by Arijit.R...@gmail.com on 17 Mar 2014 at 10:57

GoogleCodeExporter commented 9 years ago
I think that my build contains almost of functionalities compare to official 
firmware's.
What features do you want? 

Original comment by vhal...@gmail.com on 17 Mar 2014 at 12:00

GoogleCodeExporter commented 9 years ago
I primarily download torrents using transmission. I have a 1 TB external HDD 
formatted to NTFS attached to the N65U router. I also use a USB MFP over 
network and have 3 desktops, 3 laptops and 5 Mobile devices connected to the 
router wirelessly 24x7.. 

I can't think of any specific purpose except for torrent downloads but my 
router is ON 24x7 with all the devices always connected to it.

By the way, will there be an update for transmission software as well?

Original comment by Arijit.R...@gmail.com on 17 Mar 2014 at 12:03

GoogleCodeExporter commented 9 years ago
Transmission, NTFS and MFP works very well.
In order to update the Transmission it's easier to wait for the Padavan's 
offical firmware.

Original comment by vhal...@gmail.com on 17 Mar 2014 at 12:17

GoogleCodeExporter commented 9 years ago
OK. Thanks. I will flash the unofficial for now and then wait for the next 
official one.

For some reason I get extremely low speeds on transmission compared to the ASUS 
firmware. Not sure if there are instructions available for optimal settings to 
get the best download speeds. This router is new for me and I'm new to all 
this.. kind of a NOOB.. so sorry abou the tons of questions I ask..

I can think of an additional feature they can add to the next build is to limit 
the CPU frequency somehow from always running at 100%.. may be an undervolt 
option like in smartphones.. not sure if that's possible though..

Original comment by Arijit.R...@gmail.com on 17 Mar 2014 at 12:21

GoogleCodeExporter commented 9 years ago
It would be better to change the file system from NTFS to EXT4.
NTFS is much too slow to use the Transmission under linux based router.

Original comment by vhal...@gmail.com on 17 Mar 2014 at 12:30

GoogleCodeExporter commented 9 years ago
I use Windows 8.1 in all the PCs at home.. will I still be able to access the 
transmission folder and copy the completed downloads on to my PC? I was under 
the impression that EXT4 file system is not accessible from Windows based PCs.

Original comment by Arijit.R...@gmail.com on 17 Mar 2014 at 12:33

GoogleCodeExporter commented 9 years ago
Using the Samba server or FTP server included in FW, you can transfer files to 
a Windows PC.

Original comment by vhal...@gmail.com on 17 Mar 2014 at 12:40

GoogleCodeExporter commented 9 years ago
I will try that. Thanks for the help.

Original comment by Arijit.R...@gmail.com on 17 Mar 2014 at 12:41

GoogleCodeExporter commented 9 years ago
https://code.google.com/p/rt-n56u/source/detail?r=d4461c587a4ef821c6e77a08952bfc
30ec523874

Original comment by Dr.Sydorenko.O on 17 Mar 2014 at 8:42