I had to go back to previous fw-version.
I couldn`t ssh to asus and samba didn´t work at all with this new version
Have you re-enabled flashfs after upgrade?
Hi everyone,
I've just uploaded Oleg's new firmware to my wl500gp router (thanks Oleg for such a good job!), configured it as per the tutorials provided (thanks a lot for the authors!) and have an issue when my Internet connection is actually getting lost whenever I copy files from the router's samba share over wifi to my desktop PC.
Pretty much just as soon as I start copying - all Internet connectivity is lost. I cannot ping any host on the internet, hostnames are not resolved etc.
As soon as I cancel the copying - there is a very good chance that everything will go back to normal, however, just today I had to actually power-cycle the router to get it back to life.
Is anyone having similar issues?
If so, could you please advise how to resolve this?
sergeos, you need to be more specific...
Some questions:
- what kind of connection to the ISP you have?
- what Samba version?
- router becomes sluggish after you start copying?
Also post here the output of top command, before and after starting file transfer.
Thanks for the response, Serpent!
I've got ADSL2+ Siemens Speedstreem Alcatel modem connected to the router via an ethernet cable. The modem is in 'full bridge' mode and is connected to an ADSL port at our local exchange.
Actually, what I've also noticed - is that whenever I start copying files from Samba, the modem actually indicates a disconnection from ADSL line, i.e. ADSL led gets switched off, Activity led as well and then in 10 to 20 seconds it's apparently trying to reconnect and then the whole process repeats until the copying is finished.
Samba version - not sure how to check it (I'm quite new to Linux). I'm using the one from the firmware. As far as I can tell it is 2.0.10-security-rollup
Below is TOP command results and also syslog messages registered when the problem occurs.
TOP/before
top - 07:41:36 up 8:18, 0 users, load average: 0.27, 0.92, 1.05
Tasks: 43 total, 2 running, 41 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.7% user, 2.0% system, 0.0% nice, 97.4% idle
Mem: 30084k total, 27988k used, 2096k free, 2516k buffers
Swap: 506008k total, 9976k used, 496032k free, 12828k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3803 admin 19 0 668 668 508 R 2.0 2.2 0:00.25 top
3799 admin 10 0 692 680 504 S 0.3 2.3 0:00.86 dropbear
1544 admin 19 10 8132 4168 3620 R 0.3 13.9 57:21.54 transmissiond
2 admin 9 0 0 0 0 S 0.0 0.0 0:00.00 keventd
5 admin 9 0 0 0 0 S 0.0 0.0 0:00.00 bdflush
6 admin 9 0 0 0 0 S 0.0 0.0 0:00.03 kupdated
7 admin 9 0 0 0 0 S 0.0 0.0 0:02.72 mtdblockd
4 admin 9 0 0 0 0 S 0.0 0.0 0:16.13 kswapd
64 admin 9 0 312 244 184 S 0.0 0.8 0:01.76 httpd
69 admin 9 0 188 136 136 S 0.0 0.5 0:00.20 klogd
73 nobody 9 0 312 264 264 S 0.0 0.9 0:00.90 dnsmasq
75 admin 9 0 304 100 100 S 0.0 0.3 0:01.28 nas
77 admin 9 0 0 0 0 S 0.0 0.0 0:00.00 khubd
86 admin 9 0 160 92 92 S 0.0 0.3 0:00.09 lpd
90 admin 9 0 0 0 0 S 0.0 0.0 2:46.30 usb-storage-0
91 admin 9 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0
97 admin 9 0 516 480 424 S 0.0 1.6 0:02.31 pppd
TOP after(during the copying):
top - 07:47:02 up 8:23, 0 users, load average: 2.32, 1.85, 1.37
Tasks: 41 total, 3 running, 38 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.3% user, 62.7% system, 0.3% nice, 35.6% idle
Mem: 30084k total, 29316k used, 768k free, 932k buffers
Swap: 506008k total, 9680k used, 496328k free, 17724k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3489 admin 12 0 1072 868 736 R 30.7 2.9 11:01.81 smbd
3 admin 19 19 0 0 0 S 14.7 0.0 5:41.03 ksoftirqd_CPU0
90 admin 9 0 0 0 0 S 3.6 0.0 2:48.70 usb-storage-0
3804 admin 13 0 668 668 508 R 2.0 2.2 0:05.87 top
1544 admin 15 10 8068 3464 2924 S 0.7 11.5 57:26.69 transmissiond
4 admin 9 0 0 0 0 S 0.3 0.0 0:16.36 kswapd
3799 admin 9 0 692 680 504 R 0.3 2.3 0:01.37 dropbear
3824 admin 9 0 532 500 376 S 0.3 1.7 0:00.15 upnp
100 admin 9 0 344 244 200 S 0.3 0.8 0:01.45 watchdog
5 admin 9 0 0 0 0 S 0.0 0.0 0:00.00 bdflush
64 admin 9 0 312 244 184 S 0.0 0.8 0:01.95 httpd
69 admin 9 0 188 136 136 S 0.0 0.5 0:00.21 klogd
59 admin 9 0 148 68 68 S 0.0 0.2 0:00.00 telnetd
77 admin 9 0 0 0 0 S 0.0 0.0 0:00.00 khubd
1 admin 8 0 336 208 208 S 0.0 0.7 0:01.52 init
91 admin 9 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0
97 admin 8 0 516 480 412 S 0.0 1.6 0:02.83 pppd
Messages:
.
Nov 24 07:27:44 PPPoE: connect to ISP
Nov 24 07:30:01 /opt/sbin/cron[3729]: (admin) CMD (nice /opt/sbin/transmission_watchdog)
Nov 24 07:30:01 /opt/sbin/cron[3730]: (admin) CMD (run-parts /opt/etc/cron.5mins)
Nov 24 07:30:03 transmissiond[1542]: Couldn't connect socket (Network is unreachable)
Nov 24 07:30:03 transmissiond[1542]: 1195849803 3 dl 2.40 ul 16.81 ld 0.74
Nov 24 07:35:01 /opt/sbin/cron[3790]: (admin) CMD (run-parts /opt/etc/cron.5mins)
Nov 24 07:35:03 transmissiond[1542]: 1195850103 3 dl 8.00 ul 15.21 ld 0.73
Nov 24 07:40:01 /opt/sbin/cron[3795]: (admin) CMD (run-parts /opt/etc/cron.5mins)
Nov 24 07:40:03 transmissiond[1542]: 1195850403 3 dl 3.20 ul 6.41 ld 1.27
Nov 24 07:41:27 dropbear[3799]: password auth succeeded for 'admin' from ::ffff:192.168.1.2:1169
Nov 24 07:43:41 dropbear[230]: exit after auth (admin): error reading: No route to host
Nov 24 07:44:22 pppd[97]: No response to 6 echo-requests
Nov 24 07:44:22 pppd[97]: Serial link appears to be disconnected.
Nov 24 07:44:22 pppd[97]: Connection terminated.
Nov 24 07:44:22 pppd[97]: Connect time 16.7 minutes.
Nov 24 07:44:22 pppd[97]: Sent 7055061 bytes, received 3547844 bytes.
Nov 24 07:44:23 dnsmasq[73]: read /etc/hosts - 5 addresses
Nov 24 07:44:23 dnsmasq[73]: reading /tmp/resolv.conf
Nov 24 07:44:23 PPPoE: Disconnected
Nov 24 07:45:03 transmissiond[1542]: Couldn't connect socket (Network is unreachable)
Nov 24 07:45:03 transmissiond[1542]: Previous message repeated 24 times
Nov 24 07:45:30 transmissiond[1542]: 1195850730 3 dl 0.00 ul 0.00 ld 1.74
Nov 24 07:45:30 /opt/sbin/cron[3809]: (admin) CMD (run-parts /opt/etc/cron.5mins)
Nov 24 07:45:30 pppd[97]: PPP session is 2375
Nov 24 07:45:30 pppd[97]: Using interface ppp0
Nov 24 07:45:30 pppd[97]: Connect: ppp0 <--> vlan1
Nov 24 07:45:31 pppd[97]: PAP authentication succeeded
Nov 24 07:45:31 pppd[97]: peer from calling number 00:90:1A:42:77:CE authorized
Nov 24 07:45:31 pppd[97]: local IP address X.X.X.X
Nov 24 07:45:31 pppd[97]: remote IP address X.X.X.X
Nov 24 07:45:31 pppd[97]: primary DNS address X.X.X.X
Nov 24 07:45:31 pppd[97]: secondary DNS address X.X.X.X
Nov 24 07:45:32 dnsmasq[73]: read /etc/hosts - 5 addresses
Nov 24 07:45:32 dnsmasq[73]: reading /tmp/resolv.conf
Nov 24 07:45:32 dnsmasq[73]: using nameserver X.X.X.X#53
Nov 24 07:45:32 dnsmasq[73]: using nameserver X.X.X.X#53
Nov 24 07:45:33 kernel: HTB init, kernel part version 3.16
Nov 24 07:45:33 kernel: HTB: quantum of class 10001 is big. Consider r2q change.
Nov 24 07:45:34 kernel: HTB: quantum of class 10017 is big. Consider r2q change.
Nov 24 07:45:34 kernel: HTB init, kernel part version 3.16
Nov 24 07:45:35 kernel: HTB: quantum of class 10001 is big. Consider r2q change.
Nov 24 07:45:35 kernel: HTB: quantum of class 10017 is big. Consider r2q change.
Nov 24 07:45:37 PPPoE: connect to ISP
Nov 24 07:50:02 /opt/sbin/cron[3874]: (admin) CMD (run-parts /opt/etc/cron.5mins)
Nov 24 07:50:30 transmissiond[1542]: Couldn't connect socket (Network is unreachable)
Nov 24 07:50:30 transmissiond[1542]: 1195851030 3 dl 0.00 ul 0.00 ld 1.91
Nov 24 07:51:11 pppd[97]: No response to 6 echo-requests
Nov 24 07:51:11 pppd[97]: Serial link appears to be disconnected.
Nov 24 07:51:11 pppd[97]: Connection terminated.
Nov 24 07:51:11 pppd[97]: Connect time 5.7 minutes.
Nov 24 07:51:11 pppd[97]: Sent 311694 bytes, received 47698 bytes.
Nov 24 07:51:12 dnsmasq[73]: read /etc/hosts - 5 addresses
Nov 24 07:51:12 dnsmasq[73]: reading /tmp/resolv.conf
Nov 24 07:51:12 PPPoE: Disconnected
Nov 24 07:51:41 pppd[97]: PPP session is 2833
Nov 24 07:51:42 pppd[97]: Using interface ppp0
Nov 24 07:51:42 pppd[97]: Connect: ppp0 <--> vlan1
Nov 24 07:51:46 pppd[97]: PAP authentication succeeded
Nov 24 07:51:46 pppd[97]: peer from calling number 00:90:1A:42:77:CE authorized
Nov 24 07:51:46 pppd[97]: local IP address X.X.X.X
Nov 24 07:51:46 pppd[97]: remote IP address X.X.X.X
Nov 24 07:51:46 pppd[97]: primary DNS address X.X.X.X
Nov 24 07:51:46 pppd[97]: secondary DNS address X.X.X.X
Nov 24 07:51:47 dnsmasq[73]: read /etc/hosts - 5 addresses
Nov 24 07:51:47 dnsmasq[73]: reading /tmp/resolv.conf
Nov 24 07:51:47 dnsmasq[73]: using nameserver X.X.X.X#53
Nov 24 07:51:47 dnsmasq[73]: using nameserver X.X.X.X#53
Nov 24 07:51:48 kernel: HTB init, kernel part version 3.16
Nov 24 07:51:48 kernel: HTB: quantum of class 10001 is big. Consider r2q change.
Nov 24 07:51:49 kernel: HTB: quantum of class 10017 is big. Consider r2q change.
Nov 24 07:51:49 kernel: HTB init, kernel part version 3.16
Nov 24 07:51:49 kernel: HTB: quantum of class 10001 is big. Consider r2q change.
Nov 24 07:51:50 kernel: HTB: quantum of class 10017 is big. Consider r2q change.
Nov 24 07:51:52 PPPoE: connect to ISP
Not sure if the router actually becomes sluggish after I start copying as I can still connect to it via SSH and do diagnostics stuff, but PPPoE is definitely struggling during the copying as far as the messages above indicate
Thanks in advance for looking into it!
Good ideea to post the syslog!
Check in IP Config to have Idle Disconnect Time set to 0.
Have you tried to see if you get disconnected even with transmission stoped, or no torrent active?
Oleg: No, I forgot or I didn't know i need too
Sery: Yeah It did the trick.
So there were steps to do:
1) Temporarily enable inbuild FTP-server to engage USB storage drivers
2) "flashfs enable" command
3) Reboot, disable FTP, everything seems to be OK so far
Thanks both for advice
I don't know if this is only related to this firmware version, but my internet connection seems pretty unstable. Sometimes connections go slower and slower and suddenly drop. If you retry downloading the same file within a second, it suddenly goes at full speed again.
Before this I used my SpeedTouch 510 as the router. Right now the SpeedTouch 510 is connected to a KPN ADSL connection and is set to DHCP spoof mode. The WL500Gp connects to it via the WAN interface.
Anyone any idea what is causing this? Could it be that the connection time-out or something from the ST510 is longer and my internet connection is unstable, but I just didn't see it??
Good friend, I also have the same problem after installing this firmware my internet was very slow. I have a SMC 7904BRA2 to operate in "Bridge Mode" and Router WL500G premium to make the connection to the internet. From time to time the connection is very slow and then returns to be here.
It seems that we find a problem in this new firmware.
Working 100% for me, at least at first glance.
- SAMBA: OK
- SSH: OK
- RAW printer (Canon MF3110): OK
- Additional web page (via Busybox): OK
- Ext. HDD on startup: OK
Greetings,
Marius
Not sure if I have a defective wl500-gp, have got only one device to play with, but anyway. In addition to the problems I've discribed above,I have been encountering even worse issues with the device & firmware.
Not only I can say that my internet connection is unstable with the device acting as a wireless AP/router/whatever, but also, even if it is configured purely as wifi AP/samba/transmission, for some mistereous reason the device forces my Siemens SpeedStream 4200 router to drop it's DSL connection.
I can clearly reproduce it. The only thing I need to do to get my internet connection screwed up is to start copying some files from samba running on the wl500gp. Though it's not the only way to force the problem to occur. It occurs intermittently as I'm browsing the internet, or updating/pausing etc. transmission.
What's worse - the issue occurs even if wl500gp is not used as the internet gateway, it's configured purely as wi-fi AP/samba and transmission downloader. The internet router is hooked up to the wl500gp by a LAN port and I have got only 2 wi-fi clients connected to the device. For some time it works fine and then all of a sudden DSL light on the siemens router goes off, then the router reconnects, then it can happen another time, then become stable for an hour or so and then the whole process is repeated.
I'm quite reluctant to revert back to the original asus firmware as oleg's one is much more flexible in configuration. But because I'm having serious issues with either the device or oleg's firmware - seems that I will have to to revert back to asus FW.
Yes, and one more thing. My Internet connection is much more stable if I have my Siemens router connected directly to a PC or to my old and good NETGEAR router, without ASUS router plugged into it.
So, I'm quite desperate, redoing everything from scratch will be quite a hassle. Thus asking for help please.
Is anyone having any similair issues or am the only one to be such "lucky"?
Thanks in advance,
Sergey
Sergeos, I was even wondering if you have find a solution to your problem...
Just another suggestion, try to play with niceness of Samba:
Look here.
Or you can use FTP for file transfers, not Samba. If you really need to see files in Win Explorer (from FTP server) can use FTPDrive, NetDrive or WebDrive.
vsftpd is spending much less resources than Samba.
I hope this will help you!