PDA

Bekijk de volledige versie : New oleg firmware version



Pages : 1 [2] 3

lly
03-09-2009, 18:19
The trouble starts every time, not depending on the number of added MACs.

I will try to reproduce situation.

Can you tell me if packets counter (output of "iptables -L -vn -t nat") still increase value after forwarding stops? After which time period this bug appeared - one hour, one day ? Was this happens on previous FW versions?

Updated 04-09-2009:
Unfortunately I can't reproduce fail, rule live above day with constant HTTP_GET queries:
$ iptables -L PREROUTING -t nat -vn
Chain PREROUTING (policy ACCEPT 3635 packets, 456K bytes)
pkts bytes target prot opt in out source destination.
313K 19M DNAT tcp -- * * 0.0.0.0/0 0.0.0.0/0 MAC 00:1E:8C:5C:BC:XX tcp dpt:81 to:192.168.1.100:8181

weixing
07-09-2009, 14:18
lly,

I need the following under the oleg firmware, please help:
1) NTFS support (stable read-only will be ok), do I need to install ntfs-3g or just ntfs.o? If need to install ntfs-3g, what are the commands to load? insmod -s fuse.o and then....?
2) how can I enable jffs support in oleg? I understand that flashfs is only 64k and only enough for scripts. Where can I store the
3) what are the scripts to auto-detect usb plugged in and enable auto-mounting of partitions?
4) how to support codepages 936 (ie. chinese characters in filename) over samba? where to dl the necessary files?

many thanks!

weixing
07-09-2009, 14:56
lly,

I need the following under the oleg firmware, please help:
1) NTFS support (stable read-only will be ok), do I need to install ntfs-3g or just ntfs.o? If need to install ntfs-3g, what are the commands to load? insmod -s fuse.o and then....?
2) how can I enable jffs support in oleg? I understand that flashfs is only 64k and only enough for scripts. Where can I store the
3) what are the scripts to auto-detect usb plugged in and enable auto-mounting of partitions?
4) how to support codepages 936 (ie. chinese characters in filename) over samba? where to dl the necessary files?

many thanks!


In addition,
5) how to add ddns support for 3322.org
6) can I use the download master (for orginal stock firmware) for torrent dl?

theMIROn
07-09-2009, 16:53
2) how can I enable jffs support in oleg? I understand that flashfs is only 64k and only enough for scripts. Where can I store the the support is already here, but internal flash memory is used for flashfs (gzipped tar actually) by now. So, it's kinda useless.

3) what are the scripts to auto-detect usb plugged in and enable auto-mounting of partitions?/usr/local/sbin/post-mount

4) how to support codepages 936 (ie. chinese characters in filename) over samba? where to dl the necessary files?
you need to build or to search for codepage.936 and unicode_map.936 charset files, then place it in /usr/codepage folder, using mount -o bind

5) how to add ddns support for 3322.orgcurrently, we have no plans to add more ddns services, 'coz http://www.dnsomatic.com supports a lot of them, acting as ddns proxy.

6) can I use the download master (for orginal stock firmware) for torrent dl?Search forum for torrent/transmission threads

weixing
08-09-2009, 01:09
the support is already here, but internal flash memory is used for flashfs (gzipped tar actually) by now. So, it's kinda useless.



what commands can I use to enable it? do it need to disable flashfs before enable it? more instructions pls.

also, what are the commands to enable ntfs-3g? just copy the 4.4 files to jffs (if enabled) and run ntfs-3g?

al37919
08-09-2009, 10:46
he actually meant that the kernel modules to support jffs are already built and available in the file modules-1.9.2.7-d-rXXX.tgz here: http://code.google.com/p/wl500g/downloads/list

To use it you need to familiarize yourself with the documentation on this file system, or have a look how it is implemented, e.g. in openwrt.

weixing
08-09-2009, 12:42
he actually meant that the kernel modules to support jffs are already built and available in the file modules-1.9.2.7-d-rXXX.tgz here: http://code.google.com/p/wl500g/downloads/list

To use it you need to familiarize yourself with the documentation on this file system, or have a look how it is implemented, e.g. in openwrt.
How can I install the jffs? insomd jffs.o and then......?

theMIROn
08-09-2009, 14:37
How can I install the jffs? insomd jffs.o and then......?
and then you need to create jffs/jffs2 partition instead flashfs mtd block and so on.
search google,
http://uuu.enseirb.fr/~kadionik/embedded/uclinux/mtd/howto_mtd.html
and beware, firmware is pretty sure that there's flashfs, but not jffs.
moreover, choosing wrong mtd block could (and I'm afraid will) brick your router

weixing
09-09-2009, 01:05
and then you need to create jffs/jffs2 partition instead flashfs mtd block and so on.
search google,
http://uuu.enseirb.fr/~kadionik/embedded/uclinux/mtd/howto_mtd.html
and beware, firmware is pretty sure that there's flashfs, but not jffs.
moreover, choosing wrong mtd block could (and I'm afraid will) brick your router

a bit complicated. is there mtd already compiled in the oleg firmware? how to uninstall flahfs? flashfs is only 64k, right?

weixing
09-09-2009, 17:43
a bit complicated. is there mtd already compiled in the oleg firmware? how to uninstall flahfs? flashfs is only 64k, right?

Anyone can help?

weixing
09-09-2009, 18:48
I tried to plug in a ntfs thumb drive, I can see that under telnet, the NTFS drive is mounted (can be found under /tmp/mnt) and the file can be listed using ls. However, when I tried to use the explorer to open the share folder via samba in windows, the directory cannot be found. Why is that?

weixing
11-09-2009, 20:13
I tried to create a post-mount script to load in the 936 codepage, how to restart the samba service? commands pls!

weixing
12-09-2009, 02:00
found a bug in the firmware:

I've done the following to enable codepage 936
1) mount the codepage file to /usr/codepages
2) modified /etc/smb.conf to add in "client code page = 936" in global section
3) created /usr/sbin/.files to include /etc/smb.conf
4) the samba config web page (dos code page set to "unspecified")
5) flashsh save, commit, enable (can see that /etc/smb.conf is included)

However, when I reboot the router or mount a new disk, the line "client code page = 936" just disappears from the etc/smb.conf file. appears that smbd resets and write to the smb.conf everytime it mounts/restarts and remove the custom setting.

Can author add a section in samba setup web page for a field to include custom code page paramater "client code page = 936" when unspecified codepage is selected?

lly
12-09-2009, 07:16
However, when I reboot the router or mount a new disk, the line "client code page = 936" just disappears from the etc/smb.conf file. appears that smbd resets and write to the smb.conf everytime it mounts/restarts and remove the custom setting.
If you start samba from GUI, this is expected behavior for all Oleg based FW's.

Can author add a section in samba setup web page for a field to include custom code page paramater "client code page = 936" when unspecified codepage is selected?
Good idea, but we are too busy to do it now. If someone can prepare patch for this, it will be done much faster.
As workaround you can set manually
nvram set usb_smbcpage_x=936

weixing
12-09-2009, 13:15
[QUOTE=lly;159531]If you start samba from GUI, this is expected behavior for all Oleg based FW's.

How can I start samba from the post-boot script manually (which includes auto-mounting of USb drives)? the samba command line appears a bit different for oleg version

lly
12-09-2009, 13:39
How can I start samba from the post-boot script manually (which includes auto-mounting of USb drives)? the samba command line appears a bit different for oleg version
First of all, samba itself has nothing with auto-mounting.
Command line is equal in all FW's, only config is differ

/usr/sbin/nmbd -D
/usr/sbin/smbd -D

weixing
12-09-2009, 14:06
Heard that samba3 solve the current Chinese character problem, can the oleg firmware install samba3?

weixing
12-09-2009, 14:07
Heard that samba3 solve the current Chinese character problem, can the oleg firmware install samba3?

I've successfully loaded codepage 936 finally with oleg. Is there anyway to load utf-8 codepages?

wpte
12-09-2009, 14:54
coming back on the DNS problems I have...
I just reflashed the firmware again (via tftp) and set up everything manually.
but it doesn't seem to make any difference:confused:

I didn't even set advanced stuff, just the things needed to connect to the internet, very basic.
And still the same results:confused:

multiple applications suffer from this slow resolving...
I think there is just something that's not entirely right.
like with the scsi start/stop utilities on googlecode, it sometimes works half, even when I restart the script or try it manually, the only fix is a reboot.


EDIT:
it seems not to matter if dnsmasq is running or not, it just has the same result on nslookup!

weixing
12-09-2009, 15:42
I have filesnames originally in utf8 coding, contains simplified chinese, traditional chinese and japs characters in the filename for different files. Should I install samba3 or can use certain codepages in order for Windows xp to display the samba shared filenames correctly? If samba2 is ok, what's the codepage I need to install?

theMIROn
12-09-2009, 15:45
it seems not to matter if dnsmasq is running or not, it just has the same result on nslookup!
you will not be able to resolve domains if dnsmasq isn't running.
i suppose you have dns servers set up manually and differ from router lan ip
check it, please

wpte
12-09-2009, 15:49
you will not be able to resolve domains if dnsmasq isn't running.
i suppose you have dns servers set up manually and different from router one
check it, please

well yes, that was my idea as well!
but it seems that nslookup responds the same way when dnsmasq (self compiled one and the one from the fw) is running or isn't running at all.
it looks up the ip-adresses, just very slowly:p

this is not a dnsmasq problem I think:confused:

wpte
13-09-2009, 15:04
Hey, I updated to r566
since I saw this update:

dnsmasq 2.50test10 (speedup of DNS queries)

it doesn't make any difference however:(

dnsmasq in firmware:

dnsmasq: started, version 2.50test10 cachesize 150
dnsmasq: compile time options: no-IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP no-scripts no-TFTP
dnsmasq-dhcp: DHCP, IP range 192.168.2.2 -- 192.168.2.254, lease time 1d
dnsmasq: read /etc/hosts - 2 addresses
dnsmasq: using nameserver 192.168.1.1#53

my native compiled version:

dnsmasq: started, version 2.50 cachesize 150
dnsmasq: compile time options: IPv6 GNU-getopt no-DBus no-I18N DHCP TFTP
dnsmasq-dhcp: DHCP, IP range 192.168.2.2 -- 192.168.2.254, lease time 1d
dnsmasq: read /etc/hosts - 2 addresses
dnsmasq: using nameserver 192.168.1.1#53

contents of /etc/hosts:

127.0.0.1 localhost.localdomain localhost
192.168.2.1 wpte.kicks-ass.net my.router my.WL500W

and as usual, it doesn't matter for nslookup whether dnsmasq is running or not, it always does exactly the same thing.
dnsmasq is launched at startup properly and shows up in the processlist.


EDIT:
It seems when I edit /etc/resolv.conf to use opendns servers instead of my modems 192.168.1.1 the lookup works very fast...

nameserver 208.67.222.222
nameserver 208.67.220.220


nslookup google.com
Server: 208.67.222.222
Address 1: 208.67.222.222 resolver1.opendns.com

Name: google.com
Address 1: 74.125.45.100 yx-in-f100.google.com
Address 2: 74.125.67.100 gw-in-f100.google.com
Address 3: 74.125.127.100 pz-in-f100.google.com

even when I set the nslookup to use the modems server:

nslookup google.com 192.168.1.1
Server: 192.168.1.1
Address 1: 192.168.1.1

Name: google.com
Address 1: 74.125.67.100 gw-in-f100.google.com
Address 2: 74.125.127.100 pz-in-f100.google.com
Address 3: 74.125.45.100 yx-in-f100.google.com

that is kinda weird...:confused:
now I guess I should be calling my ISP for some explenations?
nslookup on xp/vista/7 seem to work good with 192.168.1.1 however... still a bit weird:

C:\>nslookup google.com
Server: openrg.home
Address: 192.168.1.1

DNS request timed out.
timeout was 2 seconds.
Name: google.com
Address: 74.125.45.100

I'll be using the opendns servers I guess:p

theMIROn
13-09-2009, 15:30
Can you resetup your modem into the bridge mode and use pppoe connection type? Smth's wrong with modem's dns server/resolver.
And/or you can always specify ISP's dns servers inside router to not to depend from modem's one.

EDIT: to add any additional dns servers you should create /usr/local/etc/dnsmasq.conf with


server=208.67.222.222
server=208.67.220.220

that'smy config for opendns 'coz my IPS have probs sometimes with resolving

wpte
13-09-2009, 15:56
Can you resetup your modem into the bridge mode and use pppoe connection type? Smth's wrong with modem's dns server/resolver.
And/or you can always specify ISP's dns servers inside router to not to depend from modem's one.

EDIT: to add any additional dns servers you should create /usr/local/etc/dnsmasq.conf with


server=208.67.222.222
server=208.67.220.220

that'smy config for opendns 'coz my IPS have probs sometimes with resolving

Yeh well, I created the configuration in the web interface, since you can manually specify what servers to use:)

and that with the modem is not going to work... it only supports DHCP LAN, and does not have a wireless extention card at the moment.
I have a "LiveBox" from sagem, and it's known to fail.
http://www.ecoscentric.com/images/wanadoo_livebox-redboot.jpg

next year they should come with optic fiber, the main line is only 50meter away from me, laying there for almoast 3 years... but when I get it I'll be having a new modem as well as a new ISP, since this one just doesn't care if your modem breaks down:p

the current configuration is just standart, latest firmware (happens automatically, and no way to go back), and everything is portforwarded to my wl-500w:D

theMIROn
13-09-2009, 16:11
Yeh well, I created the configuration in the web interface, since you can manually specify what servers to use:)So, that means your prob with dns was solved I hope?

wpte
13-09-2009, 16:58
So, that means your prob with dns was solved I hope?

yeh well, it works so far:p
I still find it odd that some programs suffered from it, and others didnt:confused:

DrChair
15-09-2009, 11:09
Just flashed this firmware, but now the router doesn't mount my harddisks anymore.

Also /dev/disks isn't present.

All disks are behind a usb2.0 hub. The strange thing is that the hub gets detected twice



Jan 1 01:00:03 kernel: usb-uhci.c: USB UHCI at I/O 0x100, IRQ 12
Jan 1 01:00:03 kernel: usb-uhci.c: Detected 2 ports
Jan 1 01:00:03 kernel: usb.c: new USB bus registered, assigned bus number 1
Jan 1 01:00:03 kernel: hub.c: USB hub found
Jan 1 01:00:03 kernel: hub.c: 2 ports detected
Jan 1 01:00:03 kernel: PCI: Enabling device 01:03.1 (0000 -> 0001)
Jan 1 01:00:03 kernel: UHCI: Enabling VIA 6212 workarounds
Jan 1 01:00:03 kernel: usb-uhci.c: USB UHCI at I/O 0x120, IRQ 12
Jan 1 01:00:03 kernel: usb-uhci.c: Detected 2 ports
Jan 1 01:00:03 kernel: usb.c: new USB bus registered, assigned bus number 2
Jan 1 01:00:03 kernel: hub.c: USB hub found
Jan 1 01:00:03 kernel: hub.c: 2 ports detected
Jan 1 01:00:04 kernel: usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
Jan 1 01:00:04 kernel: PCI: Enabling device 01:03.2 (0000 -> 0002)
Jan 1 01:00:04 kernel: ehci_hcd 01:03.2: PCI device 1106:3104
Jan 1 01:00:04 kernel: ehci_hcd 01:03.2: irq 12, pci mem c0147000
Jan 1 01:00:04 kernel: usb.c: new USB bus registered, assigned bus number 3
Jan 1 01:00:04 kernel: EHCI: Enabling VIA 6212 workarounds
Jan 1 01:00:04 kernel: ehci_hcd 01:03.2: USB 2.0 enabled, EHCI 1.00, driver 10 Dec 2004/2.4
Jan 1 01:00:04 kernel: hub.c: USB hub found
Jan 1 01:00:04 kernel: hub.c: 4 ports detected
Jan 1 01:00:04 kernel: usb.c: registered new driver usblp
Jan 1 01:00:04 kernel: printer.c: v0.13: USB Printer Device Class driver
Jan 1 01:00:04 kernel: SCSI subsystem driver Revision: 1.00
Jan 1 01:00:04 kernel: Initializing USB Mass Storage driver...
Jan 1 01:00:04 kernel: usb.c: registered new driver usb-storage
Jan 1 01:00:04 kernel: USB Mass Storage support registered.
Jan 1 01:00:04 kernel: vlan1: Setting MAC address to 00 xx xx xx xx xx.
Jan 1 01:00:04 kernel: VLAN (vlan1): Underlying device (eth0) has same MAC, not checking promiscious mode.
Jan 1 01:00:05 dnsmasq[73]: read /etc/hosts - 3 addresses
Jan 1 01:00:05 dnsmasq-dhcp[73]: read /etc/ethers - 2 addresses
Jan 1 01:00:05 kernel: hub.c: new USB device 01:03.2-1, assigned address 2
Jan 1 01:00:05 dhcp client: deconfig: lease is lost
Jan 1 01:00:05 kernel: hub.c: USB hub found
Jan 1 01:00:05 kernel: hub.c: 4 ports detected
Jan 1 01:00:05 dnsmasq[73]: read /etc/hosts - 3 addresses
Jan 1 01:00:05 dnsmasq-dhcp[73]: read /etc/ethers - 2 addresses
Jan 1 01:00:05 dnsmasq[73]: using nameserver .........
Jan 1 01:00:05 dnsmasq[73]: using nameserver .........
Sep 15 11:56:28 ddns: IP address has not changed since the last update
Sep 15 11:56:28 dhcp client: bound IP : ...............
Sep 15 11:56:28 kernel: hub.c: new USB device 01:03.2-1.1, assigned address 3
Sep 15 11:56:37 ntp client: Synchronizing time with time.nist.gov ...

theMIROn
15-09-2009, 11:30
Problem with 1.9.2.7-d-r573
1.9.2.7-d-r566 is available

DrChair
15-09-2009, 12:15
1.9.2.7-d-r566 is available

r566 is older than r573...

But anyway, i tried that version aswell (downloaded from googlecode), and there I have the same problem.

theMIROn
15-09-2009, 12:20
r566 is older than r573...yep, misread, sry


But anyway, i tried that version aswell (downloaded from googlecode), and there I have the same problem.
As for myself, had no prob with...
Try to unplug and plug usb hdd again, and check syslog after
M.b smth wrong with your pre/post-mount script

maurer
15-09-2009, 14:47
i bought a SH wl-500gx and i put your latest version on the device - all the process is ok
when i tried to login i keep getting erorr on u:admin p: admin.
When i reboot the device from the button it doesn't responds anymore - only the power and the lan1 (plugged in lan) leds are on - air led is off.
I cannot telnet.
Also no response in the http.

lly
15-09-2009, 15:11
i bought a SH wl-500gx
Real wl-500gx (wl-500g deluxe) has been discontinued years ago. You are victim of ASUS marketing office, see Issue 18 (http://code.google.com/p/wl500g/issues/detail?id=18)

maurer
15-09-2009, 16:08
i've said " i bought a SH wl-500gx"
SH as in second - hand :)

the issue remains - i cannot login

theMIROn
15-09-2009, 16:12
i've said " i bought a SH wl-500gx"
SH as in second - hand :)

the issue remains - i cannot login
turn touter into firmware restoration mode (power on with reset button pressed util powerl led will flash), then use tftp.exe to put firmware again

al37919
16-09-2009, 16:04
also make sure that your router is not wl-500gX, but wl-500 deluxe, because wl-500gx firmware is intended for deluxe.

DrChair
16-09-2009, 20:43
Try to unplug and plug usb hdd again, and check syslog after
M.b smth wrong with your pre/post-mount script

unplug and plug usb hdd again doesn't make any difference...

I flashed r550, and that version does find my harddisks again
(only with one of the 3, it now finds that the usb cable is bad, so I disconnected that one)

Reflashing the newest and the hdd's don't work anymore :(

lly
16-09-2009, 20:59
unplug and plug usb hdd again doesn't make any difference...

I flashed r550, and that version does find my harddisks again
(only with one of the 3, it now finds that the usb cable is bad, so I disconnected that one)

Reflashing the newest and the hdd's don't work anymore :(
Very strange, since there was no changes from r473 to current r587 in USB subsystem at all. Seems to be, something goes wrong on your build environment or with router HW (power supply, for example).
Anyway, can you find your HDD's in
cat /proc/bus/usb/devices output?

cichy
17-09-2009, 22:58
After upgrading to version wl500g-1.9.2.7-d-r566 of Oleg's Firmware my forum (mybb) is loading awfully long comparing to earlier version. Also in log i found this
15:46:37 dropbear[385]: exit after auth (admin): error reading: Connection reset by peer
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/1)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/1)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/1)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/1)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/1)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/1)
Sep 16 16:07:23 kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0) Dunno what may cause this :(

P.S. After upgrading to wl500g-1.9.2.7-d-r587 (2009-09-17) there are still problems with page time generation.

lly
18-09-2009, 07:41
After upgrading to version wl500g-1.9.2.7-d-r566 of Oleg's Firmware my forum (mybb) is loading awfully long comparing to earlier version.
If mybb from optware, check that you have optware's uClibc 0.9.28 in /opt/lib. If you compile it yourself (or someone else against /lib/libc.so), you have to rebuild it with newer toolchain (i.e. new uClibc).

Such messages produces kernel when physical memory is exhausted at all.

weixing
18-09-2009, 15:01
I've installed the oleg firmware and rtorrent, but I find that rtorrent cannot start dl, always 0%. used ps to see and can see rtorrent is already running. Anybody knows why?

lly
18-09-2009, 21:26
Just flashed this firmware, but now the router doesn't mount my harddisks anymore.
Hope, we fixed the bug in new r599, please try.

cichy
18-09-2009, 22:09
I've reverted to r473 and everything works fine, pages are generated better and faster then on r587. About compiling uClibc dunno exactly how to do this so i'll stick with this version.

lly
19-09-2009, 07:23
I've reverted to r473 and everything works fine, pages are generated better and faster then on r587.
Unfortunately, we can't reproduce such problem without your attention. First of all, r587 has broken USB HDD support, please try r599.

About compiling uClibc dunno exactly how to do this so i'll stick with this version.
You don't need to compile uClibc itself, I asked against which uClibc version your application (mybb) linked. More simple question - where did you get it?

cichy
19-09-2009, 12:15
Unfortunately, we can't reproduce such problem without your attention. First of all, r587 has broken USB HDD support, please try r599.
I'll try tomorrow after returning from work, maybe this will help:)


You don't need to compile uClibc itself, I asked against which uClibc version your application (mybb) linked. More simple question - where did you get it?
This is what i get from ipkg list_installed cmd

uclibc-opt - 0.9.28-13 - micro C library for embedded Linux systems
buildroot - 4.1.1-13 - uClibc compilation toolchain

lly
19-09-2009, 12:18
This is what i get from ipkg list_installed cmd

uclibc-opt - 0.9.28-13 - micro C library for embedded Linux systems
buildroot - 4.1.1-13 - uClibc compilation toolchain

Well, but I can't see mybb. Is it from optware?

cichy
19-09-2009, 12:21
Well, but I can't see mybb. Is it from optware?
Nope mybb (forum) is installed straight from the sources, from http://www.mybboard.net/ i didn't found any mybb in optware.

lly
19-09-2009, 12:37
Nope mybb (forum) is installed straight from the sources, from http://www.mybboard.net/ i didn't found any mybb in optware.
So, it is self-compiled and you have native buildroot installed. Can you provide output of
readelf -d <your_mybb_binary>?

P.S. I never use native compiler on router since it too slow & buggy due to small RAM.

wpte
20-09-2009, 00:51
So, it is self-compiled and you have native buildroot installed. Can you provide output of
readelf -d <your_mybb_binary>?

P.S. I never use native compiler on router since it too slow & buggy due to small RAM.

it's php;)
so there can be something wrong with the php binary or extentions?
you can try to debug by executing the php files directly in the console:

php /path/to/phpfile.php
it usually brings up a lot more information on things (or you must turn on error reporting in php.ini):)

cichy
20-09-2009, 21:20
OK gents:) After upgrading fw to verson r599 site generation time dropped to earlier values (those from r473) mybb is loading fine:) PHPSysinfo is still acting strange (long page time generation) but this is just a minor glitch that doesn't affect using forum :) Still there's an issue with updating dns for my router/site it gives
ddns update: authentication failure and frankly i don't know what may cause this (checked password and login name they're all good)

DrChair
22-09-2009, 19:04
Hope, we fixed the bug in new r599, please try.

It doesn't make any difference...
one USB-stick and one hhd on a 2.0 hub work fine, if I add a second hdd, there's trouble... I'm starting to thing the hub is broken...

cat /proc/bus/usb/devices only shows usb-hubs when the problem is there...


Also, the usb init bug was in 002-bcm5354.patch. So i don't think my WL500gP V1 was affected.

theMIROn
22-09-2009, 19:12
It doesn't make any difference...
one USB-stick and one hhd on a 2.0 hub work fine, if I add a second hdd, there's trouble... I'm starting to thing the hub is broken...

cat /proc/bus/usb/devices only shows usb-hubs when the problem is there...


Also, the usb init bug was in 002-bcm5354.patch. So i don't think my WL500gP V1 was affected.

fix is on the way, take a patience, please

robrbarron
23-09-2009, 09:12
any reason why the post-boot script would not be loading on r599 ?

my usb-stick is loading as /tmp/mnt/disc0_1 , where I have used the macsat guide to configuring as /opt

if i reboot, login , umount disc0_1, then run the script, all is fine.

login as: qaz
qaz@192.168.112.51's password:
[qaz@TV_WL500 root]$ umount /tmp/mnt/disc0_1
[qaz@TV_WL500 root]$ /usr/local/sbin/post-boot
[qaz@TV_WL500 root]$ cat /tmp/var/log/post-boot
2009-09-23 17:39:52 /usr/local/sbin/post-boot started
2009-09-23 17:39:52 /dev/discs found, USB key present
2009-09-23 17:39:52 USB key partition mounted as /opt
2009-09-23 17:39:52 starting rc.unslung
2009-09-23 17:39:52 /usr/local/sbin/post-boot finished

thanks

Update.....
post-boot IS working... (not really a surprise I guess)
I trimmed it back to just logging an slowly added actions to the script.
In order to get the Usb mount command to work, I have needed to place a Sleep 10 at the top of the script, before the mount command. My USB key must be a slow one. note that post-boot starts before the NTP service collects data.

1970-01-01 10:00:06 /usr/local/sbin/post-boot started
2009-09-23 22:05:55 slept10
2009-09-23 22:05:55 /dev/discs found, USB key present
2009-09-23 22:05:55 USB Key partions mounted as /opt
2009-09-23 22:05:55 starting rc.Unslung
2009-09-23 22:05:55 finished

hope my frustration helps someone else.

weixing
28-09-2009, 13:56
two question for r473

1) I've put the BT dl machine into DMZ, however, I still get a lot of following message.
Sep 28 09:30:35 kernel: ip_conntrack: table full, dropping packet.
Sep 28 09:30:35 kernel: ip_conntrack: table full, dropping packet.
Sep 28 09:30:35 kernel: ip_conntrack: table full, dropping packet.
Sep 28 09:30:35 kernel: ip_conntrack: table full, dropping packet.
Sep 28 09:30:35 kernel: ip_conntrack: table full, dropping packet.
Sep 28 09:30:35 kernel: ip_conntrack: table full, dropping packet.
Sep 28 09:30:35 kernel: ip_conntrack: table full, dropping packet.
Sep 28 09:30:35 kernel: ip_conntrack: table full, dropping packet.
Sep 28 09:30:35 kernel: ip_conntrack: table full, dropping packet.
Sep 28 09:30:36 kernel: ip_conntrack: table full, dropping packet.

If that's in DMZ, it should not be via NAT and thus should not have table full problem?

2) I installed samba3, everytime I restarted, I find that there are 2 instances of smbd run, which takes up 20m of memory. Is it due to 2 USB interface of WL500gP and thus need to start the daemon twice?

Reply is highly appreciated!

wpte
28-09-2009, 17:34
increase the max connections in the webinterface at the firewall pages, might work:)

!gm
05-10-2009, 18:44
Arrg got a Problem:

bought a USB - HDD Case (Wintec EX-MOB-85) for my WL500G Premium V1

Now, everytime this Device is connected it seems that the DNS resolving in my network is destroyed.
The Asus Router is working in Access Point Mode, as another Router is Gateway, with NAT, DHCP etc..
Strange that internal Adresses are reachable.

No madder if I start Router first or HDD (as its desciped by Wengi) - Problem is there.
If I disconnect the HDD or unpower it, the Routers do their Job naizly - as there never was a problem...
Firmware is: WL500gp-1.9.2.7-d-r655.trx

any suggestions?

here more:

Oct 5 18:42:51 kernel: hub.c: new USB device 01:03.2-1, assigned address 3
Oct 5 18:42:52 kernel: Vendor: Maxtor 4 Model: D060H3 Rev: DAH0
Oct 5 18:42:52 kernel: Type: Direct-Access ANSI SCSI revision: 02
Oct 5 18:42:52 kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Oct 5 18:42:52 kernel: SCSI device sda: 120069936 512-byte hdwr sectors (61476 MB)
Oct 5 18:42:52 kernel: /dev/scsi/host0/bus0/target0/lun0:
Oct 5 18:42:52 kernel: USB device connected to the SCSI subsystem


[admin@WL-002215329E61 root]$ ps
PID USER VSZ STAT COMMAND
1 admin 1312 S /sbin/init
2 admin 0 SW [keventd]
3 admin 0 SWN [ksoftirqd_CPU0]
4 admin 0 SW [kswapd]
5 admin 0 SW [bdflush]
6 admin 0 SW [kupdated]
7 admin 0 SW [mtdblockd]
60 admin 1092 S dropbear
64 admin 1516 S syslogd -m 0 -O /tmp/syslog.log -S -l 7 -b 2
65 admin 1120 S httpd
66 admin 1516 S klogd
67 admin 1072 S nas /tmp/nas.lan.conf /tmp/nas.lan.pid lan
69 admin 0 SW [khubd]
81 admin 1320 S watchdog
98 admin 0 SW [usb-storage-0]
99 admin 0 SW [scsi_eh_0]
118 admin 1152 S dropbear
119 admin 1520 S -sh
120 admin 1516 R ps


this seems normal...
I didn't created pre/post Scripts allready, because I first want to solve this problem

anyway thx to lly and Miron and all the others around here :cool:

lly
05-10-2009, 20:04
Arrg got a Problem:

bought a USB - HDD Case (Wintec EX-MOB-85) for my WL500G Premium V1

Now, everytime this Device is connected it seems that the DNS resolving in my network is destroyed.
As I can understand, DNS resolver runs on gateway router, right? And clients connected to AP? Thus, check for problem by issuing
nslookup <some_host> on gateway, AP, client step-by-step. In case of nslookup fails on first, you should try to find problem there, not on WL500G. Otherwise, recheck what DNS servers you fill in on clients.

!gm
05-10-2009, 23:54
on the Gateway Router nslookup times out
----------------
the WL500GP does nothing, when nslookup is typed in (had to cancel it with Ctrl C)
a client behind the Asus finds the Gateway Router, but then gets a timeout, same for a client directly behind the Gateway Router

so the Problem is at the Gateway Router. But how can this be affected by an HDD that I plug into USB on the Asus? via ethernet - but why are local adresses reachable :confused: (yes i did flushdns on the clients)

Lesiuk
14-10-2009, 08:07
lly, Can you add AES-loop support into the kernel?
It would be nice for all people who want encrypt his harddisk.

http://loop-aes.sourceforge.net/loop-AES/loop-AES-v3.2h.tar.bz2

lly
14-10-2009, 08:46
lly, Can you add AES-loop support into the kernel?
It would be nice for all people who want encrypt his harddisk.

http://loop-aes.sourceforge.net/loop-AES/loop-AES-v3.2h.tar.bz2
First of all, I really worry about performance of this solution on our slow CPU.

Second, this loop driver are incompatible with standart one. i.e. we have to replace standart loop driver with this one. Until I know something about it's stability & absence of artifacts, I don't want include it to mainstream. Have you additional info & web-links?

Moreover, it assume patching of util-linux package. Firmware uses util-linux from busybox, so patches provided in distributive has to be ported to apply on busybox. Not so easy task.

Lesiuk
14-10-2009, 10:04
First of all, I really worry about performance of this solution on our slow CPU.

Second, this loop driver are incompatible with standart one. i.e. we have to replace standart loop driver with this one. Until I know something about it's stability & absence of artifacts, I don't want include it to mainstream. Have you additional info & web-links?

Moreover, it assume patching of util-linux package. Firmware uses util-linux from busybox, so patches provided in distributive has to be ported to apply on busybox. Not so easy task.

http://linio.terramail.pl/loopaes.html
http://translate.google.pl/translate?prev=hp&hl=pl&js=y&u=http%3A%2F%2Flinio.terramail.pl%2Floopaes.html&sl=pl&tl=en&history_state0=

That is howto in polish language about aes-loop, that guy tested it on P133.
So i think it should work nice on that router.

If you make special version of firmware with that enabled i can test it.

lly
14-10-2009, 11:43
http://linio.terramail.pl/loopaes.html
http://translate.google.pl/translate?prev=hp&hl=pl&js=y&u=http%3A%2F%2Flinio.terramail.pl%2Floopaes.html&sl=pl&tl=en&history_state0=

That is howto in polish language about aes-loop, that guy tested it on P133.
So i think it should work nice on that router.

If you make special version of firmware with that enabled i can test it.
I'm not sure that such functionality will needed by much people.

kernel-2.4.37.diff can be applied to our kernel clearly, and kernel builds successfully after that. Kernel size increases +15K compressed (+60K uncompressed). So, you feel free to rebuild FW with this driver as you wish, according with readme.

procedure is simple
remove loop.h & loop.c from kernel as described in readme
patch -p1 -i kernel-2.4.37.diff at src/linux/linux
make oldconfig at src/linux/linux and set new parameters
make && make install at src/gateway


Sorry, we have much urgent tasks (related to RT-N series) and can't spend a lot of time inserting this package into FW. As I wrote in previous letter, most complex task is util-linux patching.

Lesiuk
14-10-2009, 15:40
There is AES-LOOP package in openwrt repo.

I think they are using busybox util-linux.
Can we just copy their code?


I’m running OpenWrt “Kamkaze” on my Asus WL-500 gP (266 MHz MIPS architecture with 32 MiB RAM). Since there is no WiFi support in kernel 2.6 yet, I’m stuck to kernel 2.4. If we want to encrypt a filesystem on this setup, we need a fast and sleek encryption method running on kernel 2.4 .

http://loblog.wordpress.com/2008/05/26/filesystem-encryption-on-openwrt-kamikaze-kernel-24/

UPDATE:
Ok, now i see.
They are using util-linux-ng.

lly
14-10-2009, 17:08
There is AES-LOOP package in openwrt repo.
Can we just copy their code?
No.

If it is not a top secret, for which specific task you plan to use aes-loop? Or it is just for fun?

Resonable compromiss (in case you convince me in real necessity of this module) I see in that we set loop device as module (currently it in kernel)
CONFIG_BLK_DEV_LOOP=m
and add aes-loop kernel patches to sources tree, leave they turned OFF. So, this allow to everyone to compile module without patching and use it on our public builds.

wpte
14-10-2009, 17:38
First of all, I really worry about performance of this solution on our slow CPU.

I second that... if you look at a modern day machine you can do a benchmark, which gives you a decrypt speed of about 250mb/s this is straight in the ram which can go over 1500mb/s.
and that with a quad core..
so how would a slow 3,5mb/s usb harddrive with even a slower cpu perform?

Lesiuk
14-10-2009, 18:37
I second that... if you look at a modern day machine you can do a benchmark, which gives you a decrypt speed of about 250mb/s this is straight in the ram which can go over 1500mb/s.
and that with a quad core..
so how would a slow 3,5mb/s usb harddrive with even a slower cpu perform?


usb in that router can work faster than 3,5 mb/s

[root@LesiukNET www]$ hdparm -tT /dev/discs/disc0/disc

/dev/discs/disc0/disc:
Timing cached reads: 58 MB in 2.00 seconds = 29.00 MB/sec
Timing buffered disk reads: 20 MB in 3.25 seconds = 6.15 MB/sec


29 MB/s its 230 mbit

wpte
14-10-2009, 19:19
usb in that router can work faster than 3,5 mb/s

[root@LesiukNET www]$ hdparm -tT /dev/discs/disc0/disc

/dev/discs/disc0/disc:
Timing cached reads: 58 MB in 2.00 seconds = 29.00 MB/sec
Timing buffered disk reads: 20 MB in 3.25 seconds = 6.15 MB/sec


29 MB/s its 230 mbit

true, but it's not exactly the effective speed in applications:(
the lack of enough ram is probably the most one to blame for that:p

I was talking about mb/s not mbit/s btw;)

mine goes even faster:p

/dev/discs/disc0/disc:
Timing cached reads: 86 MB in 2.02 seconds = 42.57 MB/sec
Timing buffered disk reads: 28 MB in 3.10 seconds = 9.03 MB/sec

/dev/discs/disc1/disc:
Timing cached reads: 76 MB in 2.00 seconds = 38.00 MB/sec
Timing buffered disk reads: 30 MB in 3.02 seconds = 9.93 MB/sec

My_Name_Is_Neo
14-10-2009, 19:23
Hi Everyone.
I am running original Oleg's 1.9.2.7-10 firmware version on my WL-500w.
I had set it up with this firmware when i bought it back in May09. I wanted to upgrade the firmware to this new version on google code which is r665 currently. I dont have a very good reason to upgrade but I just like my gadgets to be up-to-date :P.
Now i have 2 questions -
1. Is there a changelog of what has been improved/changed over in these builds. There is no info on googlecode page and even after translation I am not able to make sense out of the Russian thread it links to.
2. I could not find a good walkthru which talks about updating the firmware. so here is my plan.
a. Restore to factory settings
b. Flash via Web-Interface
c. Re-do wengi's guide instructions again. I'll have to wipe the /opt directory. right?

Can a helpful soul point me to right direction?
Thanks

lly
14-10-2009, 19:42
1. Is there a changelog of what has been improved/changed over in these builds. There is no info on googlecode page and even after translation I am not able to make sense out of the Russian thread it links to.
Look better :p History of Changes (http://code.google.com/p/wl500g/wiki/NEWS)

2. I could not find a good walkthru which talks about updating the firmware. so here is my plan.
a. Restore to factory settings
b. Flash via Web-Interface
c. Re-do wengi's guide instructions again. I'll have to wipe the /opt directory. right?

Like all Oleg FW's - a & b - yes. You can leave /opt as is - FW don't know about it content. Probable, you have to change some scripts due to updated utils.

wpte
14-10-2009, 19:58
Look better :p History of Changes (http://code.google.com/p/wl500g/wiki/NEWS)


still got a question about that... the webstr module works great, but are the meta keywords also scanned?
works quite good :D

My_Name_Is_Neo
14-10-2009, 20:08
Look better :p History of Changes (http://code.google.com/p/wl500g/wiki/NEWS)

Like all Oleg FW's - a & b - yes. You can leave /opt as is - FW don't know about it content. Probable, you have to change some scripts due to updated utils.

Thanks lly.
My bad I should have looked harder. looks like lots of new patches to the system.

lly
14-10-2009, 20:21
still got a question about that... the webstr module works great, but are the meta keywords also scanned?
works quite good :D
It is not our module, no documentation :( Seems to be, meta is not checked.

weixing
25-10-2009, 12:15
I am running bitcomet and it tells me that the upnp device cannot be found. How to resolve?

theMIROn
25-10-2009, 12:28
I am running bitcomet and it tells me that the upnp device cannot be found. How to resolve?

check for upnp is running


ps | grep upnp

weixing
25-10-2009, 12:37
check for upnp is running


ps | grep upnp


it's running!
141 admin 1992 S upnp -D -L br0 -W ppp0

but just bitcomet cannot detect a upnp device is present. Any solutions?

wpte
25-10-2009, 18:50
I used bitcomet a while, and it might not have all the right standards I think:p

utorrent has no problem portforwarding, since it uses the windows api for upnp portforwarding.

just like this program: http://www.codeproject.com/KB/IP/PortForward.aspx

also I noticed that programs like limewire, xfire and world of warcraft work perfectly fine.:p

wpte
26-10-2009, 20:47
I just update lighttpd and noticed it wouldn't start anymore...
after entering debug mode:

lighttpd -D -f /opt/etc/lighttpd/lighttpd.conf
fdevent_linux_sysepoll.c.131: epoll_create failed (Function not implemented), try to set server.event-handler = "poll" or "select"
fdevent.c.47: event-handler linux-sysepoll failed, try to set server.event-handler = "poll" or "select"


epoll is something that should be included in the kernel as far as I know... and it has been the standard option for lighttpd since a long time:confused:
is there going to be epoll support or is this another bad compilation?:p

lly
27-10-2009, 07:54
epoll is something that should be included in the kernel as far as I know...
To use epoll program has to be compiled with our toolchain, since standard headers for 2.4 doesn't include epoll syscalls.

theMIROn
27-10-2009, 08:16
looks like optware guys should turn off epoll usage wiithin lighttpd's mkfile and/or apply some patch.

wpte
27-10-2009, 11:17
looks like optware guys should turn off epoll usage wiithin lighttpd's mkfile and/or apply some patch.

I seriously don't get why so many packages change constantly without the same settings:p
ah well... it's fixed now I guess.

Any chance of ipv6 coming back? according to libc http://wl500g.info/showthread.php?t=21119 it works on 1.9.2.7-10.

I know I'm a bit nagging atm:o

lly
27-10-2009, 11:47
Any chance of ipv6 coming back? according to libc http://wl500g.info/showthread.php?t=21119 it works on 1.9.2.7-10.
According to Issue 50 (http://code.google.com/p/wl500g/issues/detail?id=50) it works "As Is" but we are unable to check this.
So, you can test IPv6 at any moment ;) , but unfortunately we can't help you

wpte
27-10-2009, 15:22
According to Issue 50 (http://code.google.com/p/wl500g/issues/detail?id=50) it works "As Is" but we are unable to check this.
So, you can test IPv6 at any moment ;) , but unfortunately we can't help you

I'll go and compile it myself then:p
in 750 days ipv4 will be exhausted! http://www.inetcore.com/project/ipv4ec/index_en.html :eek::p

lly
27-10-2009, 18:20
I'll go and compile it myself then:p
in 750 days ipv4 will be exhausted! http://www.inetcore.com/project/ipv4ec/index_en.html :eek::p
It will be excellent for all people, since you have experience :) and brain :p

wpte
27-10-2009, 20:27
It will be excellent for all people, since you have experience :) and brain :p

lol thnx:p

what distro do you actually use?
I've always used ubuntu desktop, since it builds everything quite nicely and easy (I like easy):p

lly
28-10-2009, 08:08
what distro do you actually use?
I've always used ubuntu desktop, since it builds everything quite nicely and easy (I like easy):p
It doesn't matter in case you have full development suite installed. I use OpenSuSe 11.1.

wpte
08-11-2009, 21:09
I was just going to use the build in ftp server again with additional users.
now for what I remember and see when I look at my last configuration is that the user account list have their own directories in the Private Directory.

but now all accounts end up at the public directory:p
is there still a way to give the accounts their own directory?:p

lly
09-11-2009, 08:07
I was just going to use the build in ftp server again with additional users.
now for what I remember and see when I look at my last configuration is that the user account list have their own directories in the Private Directory.

but now all accounts end up at the public directory:p
is there still a way to give the accounts their own directory?:p
Can you provide some more details how did you achieve this? By PM or just here.

theMIROn
09-11-2009, 08:20
I was just going to use the build in ftp server again with additional users.
now for what I remember and see when I look at my last configuration is that the user account list have their own directories in the Private Directory.

but now all accounts end up at the public directory:p
is there still a way to give the accounts their own directory?:p

I've got builtin vsftpd working more then a year, private accounts are placed in /etc/vsftpd.users (/tmp/etc/vsftpd.users) as usual.
We need steps to reproduce it, do you have "/" chars in user names or what?

wpte
09-11-2009, 16:07
no I have just standard names, no dodgy characters;)
I've just set it up in the webadmin

I just used the same configuration as when I still used oleg v10, I've never changed the ftp dirs since... in fact I didn't really used any ftp on the d firmware:p

what I recalled doing is setting the directories:

Public Directory: /mnt/FTP/pub/
Private Directory: /mnt/FTP/pvt/
Anonymous Directory: /mnt/FTP/anonymous/

create the folders manually on the harddrive including the user folders inside the pvt directory.
then just create the user accounts with passwords in the list and hit finish:)

When I'd log in with lets say "wpte" I would end up in the folder "/mnt/FTP/pvt/wpte". But in the ftp client it would look like it was the lowest directory.
now every account ends up in /mnt/FTP/pub/:(

lly
09-11-2009, 18:48
When I'd log in with lets say "wpte" I would end up in the folder "/mnt/FTP/pvt/wpte". But in the ftp client it would look like it was the lowest directory.
now every account ends up in /mnt/FTP/pub/:(
Did you create "wpte" account from web-UI? What rights is it have? Please provide contents of

/etc/vsftpd.conf
/etc/vsftpd.passwd - don't forget to strip out passwords!
/etc/vsftpd.users/wpte

P.S. It works for me too

wpte
09-11-2009, 21:00
Did you create "wpte" account from web-UI? What rights is it have? Please provide contents of

/etc/vsftpd.conf
/etc/vsftpd.passwd - don't forget to strip out passwords!
/etc/vsftpd.users/wpte

P.S. It works for me too

wpte has all rights

cat /etc/vsftpd.conf
anonymous_enable=no
dirmessage_enable=yes
download_enable=no
dirlist_enable=no
hide_ids=yes
syslog_enable=yes
local_enable=yes
local_umask=022
chmod_enable=no
chroot_local_user=yes
check_shell=no
user_config_dir=/etc/vsftpd.users
passwd_file=/etc/vsftpd.passwd
listen=yes
listen_port=21
background=yes
max_clients=0
idle_session_timeout=0
utf8=yes
use_sendfile=no
anon_max_rate=0
local_max_rate=0


cat /etc/vsftpd.passwd
ftp:x:0:0:ftp:/mnt/FTP/anonymous:/sbin/nologin
nobody:x:99:99:nobody:/usr/share/empty:/sbin/nologin
wpte:x:0:0:wouter:/mnt/FTP/pub:/sbin/nologin


cat /etc/vsftpd.users/wpte
dirlist_enable=yes
download_enable=yes
write_enable=yes

theMIROn
09-11-2009, 21:32
no I have just standard names, no dodgy characters;)
I've just set it up in the webadmin

I just used the same configuration as when I still used oleg v10, I've never changed the ftp dirs since... in fact I didn't really used any ftp on the d firmware:p

what I recalled doing is setting the directories:


create the folders manually on the harddrive including the user folders inside the pvt directory.
then just create the user accounts with passwords in the list and hit finish:)

When I'd log in with lets say "wpte" I would end up in the folder "/mnt/FTP/pvt/wpte". But in the ftp client it would look like it was the lowest directory.
now every account ends up in /mnt/FTP/pub/:(

Seems like some explanation needed
To make user be within private_dir/username you have to set his rights to "Private", any other rights set means public_dir/ will be used for authorized users.
That's all, folks

wpte
09-11-2009, 22:00
Seems like some explanation needed
To make user be within private_dir/username you have to set his rights to "Private", any other rights set means public_dir/ will be used for authorized users.
That's all, folks

haha, I overlooked that one:o
works great

shantanugoel
12-11-2009, 17:00
hey Guys.. I am currently on the original oleg firmware 1.9.2.7-10. If I upgrade to this latest one, is the only thing that I need to worry about is preserving my startup and rc scripts, right? All the things installed on my USB HDD don't need to worry about it?
So, my plan is to save my scripts, flash with the new firmware, put back old scripts, connect back the harddisk and reboot.. it should be fine?

wpte
12-11-2009, 17:21
hey Guys.. I am currently on the original oleg firmware 1.9.2.7-10. If I upgrade to this latest one, is the only thing that I need to worry about is preserving my startup and rc scripts, right? All the things installed on my USB HDD don't need to worry about it?
So, my plan is to save my scripts, flash with the new firmware, put back old scripts, connect back the harddisk and reboot.. it should be fine?

yes, shouldn't be a problem!
you might want to reconfigure the webadmin again tho, it has some new features;)

shantanugoel
12-11-2009, 17:23
yes, shouldn't be a problem!
you might want to reconfigure the webadmin again tho, it has some new features;)

thnx wpte.. whenever i post a question here, you are the one to answer :) I'll try it out. and hope that can help out in some possible ways :)

QMax
20-11-2009, 21:50
Can someone please post here or on Googlecode, the differences/benefits of this new version, compared to 1.9.2.7-10 ?

I just replaced my HDD, and installed all from the beginning following wengi's great tutorial.

Can I upgrade only the Asus firmware and still continue using my new /opt and all ipkg installed packages ?

Thanks

Max

wpte
22-11-2009, 16:23
Can someone please post here or on Googlecode, the differences/benefits of this new version, compared to 1.9.2.7-10 ?

I just replaced my HDD, and installed all from the beginning following wengi's great tutorial.

Can I upgrade only the Asus firmware and still continue using my new /opt and all ipkg installed packages ?

Thanks

Max

yes you can still use the ipkg packages, since they use their own uclibc library.

benefits:
better security (ssh and ftp brute force attack blockers)
better compatebility
newer drivers
updates on a lot of things
better speed
etc.
:p

hggomes
26-11-2009, 03:50
Hi, i still using the old OLEG firmware (pre10 version), i've tried 2 times the "new" firmware from http://code.google.com/p/wl500g and i found some issues in iptables, some rules were not applied, some other were (oleg OLEG version worked fine) but that was along time ago. So i decided today to install the R740 version that was available to download and the first thing i noticed was that the web enviroment its constantly failing "web page not found" when i travel over the web interface menus it shows many time that message, i've tried another computer and the same happen, i've used again the old OLEG version and it's all working fine, so i gave up from the new fw version again :(

Update: With Mozilla Firefox all works fine, with IE8 shows the "web page error", but with old OLEG it doesn't? Any explanation for this? Anyone noticed the same?

theMIROn
26-11-2009, 06:15
Update: With Mozilla Firefox all works fine, with IE8 shows the "web page error", but with old OLEG it doesn't? Any explanation for this? Anyone noticed the same?

Didn't you forget about browser cache clearing?

lly
26-11-2009, 08:26
Hi, i still using the old OLEG firmware (pre10 version), i've tried 2 times the "new" firmware from http://code.google.com/p/wl500g and i found some issues in iptables, some rules were not applied, some other were (oleg OLEG version worked fine) but that was along time ago.
iptables was upgraded, as you can read in NEWS. So, syntax may be changed and you should check this.
Anyway, some bugs can be present in new iptables too. Unless you provide details, nobody can say something useful.

hggomes
26-11-2009, 14:32
Didn't you forget about browser cache clearing?

Hi, offcourse not, i've tried that and even better. I've used IE8 from other machine and the same happen, but only with your fw version. I can't understand why. Can you test it with IE8 please? Browse all menus please.

hggomes
26-11-2009, 14:34
iptables was upgraded, as you can read in NEWS. So, syntax may be changed and you should check this.
Anyway, some bugs can be present in new iptables too. Unless you provide details, nobody can say something useful.

Hi, thanks for the answer but i was talking about the old version, i haven't test it now with de new one, i will soon ;) I just want to resolve the web browsing "problem" first, its really annoying :(

lly
26-11-2009, 14:41
Can you test it with IE8 please? Browse all menus please.
Sorry, I haven't IE at all and even don't want to install it under wine. Try any reliable browser (Opera, Firefox, Chrome, ...)

wpte
26-11-2009, 16:02
Hi, thanks for the answer but i was talking about the old version, i haven't test it now with de new one, i will soon ;) I just want to resolve the web browsing "problem" first, its really annoying :(

I tested all the pages with IE8 32bit and 64bit both worked fine, every page loads up, some a bit slow but they load.

probably a IE thing that happens over time since I rarely use IE.

wpte
12-12-2009, 17:33
looks like th RT-N16 firmware is almoast ready?:eek:
http://code.google.com/p/wl500g/source/list
I mean... rapid changes on the changes list:p

lly
12-12-2009, 17:45
looks like th RT-N16 firmware is almoast ready?:eek:
Unfortunately, it is not usable for end-users yet :( Too many TODO's and manual corrections after startup.

About rapid changes - it was preparation for branches merge. We switch from patches to full source for some packages (httpd, rc)

wpte
12-12-2009, 19:14
Unfortunately, it is not usable for end-users yet :( Too many TODO's and manual corrections after startup.

About rapid changes - it was preparation for branches merge. We switch from patches to full source for some packages (httpd, rc)

ah well, it does sound a bit closer to completion.

I just hope the wifi signal is better than from dd-wrt, the only way to stop the package errors a bit is turning down the signal to 20mW... now it's 1/3 of the power comprared to my wl-500w:p

I'd say keep the good work up, and if there is anything to test I'd be happy to do so;)

lly
12-12-2009, 19:21
I just hope the wifi signal is better than from dd-wrt, the only way to stop the package errors a bit is turning down the signal to 20mW... now it's 1/3 of the power comprared to my wl-500w:p
It is not a big secret now, that DD-WRT team got somewhere broadcom wl sources (not last version, but complete bundle). Probably, they sign NDA with Broadcom.

We tied to binaries from ASUS, I can't guarantee that they will much better :(

wpte
12-12-2009, 20:07
It is not a big secret now, that DD-WRT team got somewhere broadcom wl sources (not last version, but complete bundle). Probably, they sign NDA with Broadcom.

We tied to binaries from ASUS, I can't guarantee that they will much better :(

imo the original asus fw binaries perform better than the dd-wrt ones, so I guess it'll be fine;)

wilcham
17-01-2010, 11:09
I have a wl500gpv2 running 1.9.2.7-d-r893.trx. I'd like to upgrade to r1000 - do I have to reset the router to factory defaults before or after upgrading? Can I later upload saved settings file or do I have to enter them manually? Do you recommend against upgrading without resetting to factory defaults?

wilcham

wpte
17-01-2010, 13:47
I have a wl500gpv2 running 1.9.2.7-d-r893.trx. I'd like to upgrade to r1000 - do I have to reset the router to factory defaults before or after upgrading? Can I later upload saved settings file or do I have to enter them manually? Do you recommend against upgrading without resetting to factory defaults?

wilcham

you can just use the saved settings.
in fact, you can just upload the firmware (no reset) and you're done;)
just save the settings somewhere for backup:)

REO
22-01-2010, 19:02
I'm trying to run python2.5 on firmware 1.9.2.7-d-r1000 but I cant' get it to run.


[admin@WL500 root]$ ipkg install python25
Installing python25 (2.5.4-2) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/python25
_2.5.4-2_mipsel.ipk
Installing readline (6.1-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/readline
_6.1-1_mipsel.ipk
Installing bzip2 (1.0.5-2) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/bzip2_1.
0.5-2_mipsel.ipk
Installing openssl (0.9.7m-5) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/openssl_
0.9.7m-5_mipsel.ipk
Installing libdb (4.2.52-3) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/libdb_4.
2.52-3_mipsel.ipk
Installing zlib (1.2.3-3) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/zlib_1.2
.3-3_mipsel.ipk
Installing sqlite (3.6.22-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/sqlite_3
.6.22-1_mipsel.ipk
Installing ncurses (5.7-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/ncurses_
5.7-1_mipsel.ipk
Installing ncursesw (5.7-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/ncursesw
_5.7-1_mipsel.ipk
Configuring bzip2
update-alternatives: Linking //opt/bin/bzip2 to /opt/bin/bzip2-bzip2
Configuring libdb
Configuring ncurses
update-alternatives: Linking //opt/bin/clear to /opt/bin/ncurses-clear
Configuring ncursesw
Configuring openssl
Configuring python25
Configuring readline
Configuring sqlite
Configuring zlib
Successfully terminated.
[admin@WL500 root]$ python2.5
-sh: python2.5: not found



[admin@WL500 bin]$ ls -l /opt/bin
lrwxrwxrwx 1 admin root 5 Jan 22 18:34 bzcat -> bzip2
lrwxrwxrwx 1 admin root 20 Jan 22 18:38 bzip2 -> /opt/bin/bzi
bzip2
-rwxr-xr-x 1 admin root 34208 Oct 25 00:39 bzip2-bzip2
-rwxr-xr-x 1 admin root 11376 Oct 25 00:39 bzip2recover
lrwxrwxrwx 1 admin root 3 Jan 22 18:34 captoinfo -> tic
lrwxrwxrwx 1 admin root 22 Jan 22 18:38 clear -> /opt/bin/ncu
s-clear
-rwxr-xr-x 1 admin root 90 Jan 2 19:59 idle2.5
-rwxr-xr-x 1 admin root 53592 Nov 8 04:25 infocmp
lrwxrwxrwx 1 admin root 3 Jan 22 18:34 infotocap -> tic
-rwxr-xr-x 1 admin root 184532 Oct 23 16:13 ipkg
-rwxr-xr-x 1 admin root 4152 Nov 8 04:25 ncurses-clear
-rwxr-xr-x 1 admin root 4959 Nov 8 04:25 ncurses5-config
-rwxr-xr-x 1 admin root 4960 May 15 2009 ncursesw5-config
-rwxr-xr-x 1 admin root 399712 Nov 7 04:28 openssl
-rwxr-xr-x 1 admin root 75 Jan 2 19:59 pydoc2.5
lrwxrwxrwx 1 admin root 16 Jan 22 18:35 python-config -> pyth
.5-config
-rwxr-xr-x 1 admin root 4000 Jan 2 19:59 python2.5
-rwxr-xr-x 1 admin root 1418 Jan 2 19:59 python2.5-config
lrwxrwxrwx 1 admin root 4 Jan 22 18:34 reset -> tset
-rwxr-xr-x 1 admin root 18045 Jan 2 19:59 smtpd2.5.py
-rwxr-xr-x 1 admin root 59660 Jan 8 16:25 sqlite3
-rwxr-xr-x 1 admin root 55376 Nov 8 04:25 tic
-rwxr-xr-x 1 admin root 10324 Nov 8 04:25 toe
-rwxr-xr-x 1 admin root 11788 Nov 8 04:25 tput
-rwxr-xr-x 1 admin root 17400 Nov 8 04:25 tset
-rwxr-xr-x 1 admin root 4248 Oct 23 16:13 update-alternatives

Somebody knows whats wrong ?

wpte
22-01-2010, 20:08
I'm trying to run python2.5 on firmware 1.9.2.7-d-r1000 but I cant' get it to run.

Somebody knows whats wrong ?

it's not linked I guess.
just try:

/opt/bin/python2.5
;)

the linking problems has nothing to do with the firmware, but with the ipkg package

REO
22-01-2010, 20:42
Thanks for answering wpte, but I tried that already :

WL500 login: admin
Password:
[admin@WL500 root]$ /opt/bin/python2.5
-sh: /opt/bin/python2.5: not found

On another router with latest Oleg (1.9.2.7-10), it works.

wpte
22-01-2010, 21:09
Thanks for answering wpte, but I tried that already :


On another router with latest Oleg (1.9.2.7-10), it works.

what about

ls /opt/bin/ | grep python
you should get back something like this:

python-config
python2.5
python2.5-config

and otherwise try a reinstall:

ipkg install -force-reinstall -force-overwrite python
my output:

Installing python (2.5-1) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/python_2.5-1_mipsel.ipk
Installing python25 (2.5.4-2) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/python25_2.5.4-2_mipsel.ipk
Installing readline (6.1-1) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/readline_6.1-1_mipsel.ipk
Installing sqlite (3.6.22-1) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/sqlite_3.6.22-1_mipsel.ipk
Configuring python
Configuring python25
Configuring readline
Configuring sqlite

lly
22-01-2010, 21:11
-sh: /opt/bin/python2.5: not found
Unfortunately, busybox has very quiet diagnostic. This message simply means that some library, required by python, wasn't found!
Such situation must be in FAQ since it repeats very often, and people who don't familiar with unix, will surprised.

Tools to find libraries dependency - ldd, readelf.

REO
22-01-2010, 21:54
So I have to find ldd or readelf. Is there a ipkg package or a download location ?

Thanks,
REO

REO
22-01-2010, 22:43
Ok, found a thread that ldd is included in the buildroot package. So installed that one which also installed uclibc-opt.

Afterwards python2.5 worked !!!

Removed the buildroot and uclibc-opt packages (obviously python2.5 worked no longer) then installed only uclibc-opt again and python2.5 still works.

Thank you for the help Ily and wpte !!!

maurer
23-01-2010, 19:09
Any news on RT-N16 build??
I saw lots of activity on the RT-N branch...
I'm waiting for this like crazy ...
I don't like dd-wrt and i'm not familiar with Tomato...
So keep up the good work...and make me happy soon :p

Lesiuk
03-02-2010, 16:08
Any news on RT-N16 build??
I saw lots of activity on the RT-N branch...
I'm waiting for this like crazy ...
I don't like dd-wrt and i'm not familiar with Tomato...
So keep up the good work...and make me happy soon :p

http://code.google.com/p/wl500g/downloads/detail?name=RT-N16-1.9.2.7-rtn-r1143.trx

lly
03-02-2010, 16:25
http://code.google.com/p/wl500g/downloads/detail?name=RT-N16-1.9.2.7-rtn-r1143.trx
It is alpha version and it has serious limitations:
1) WiFi will not up out-of-the-box (manual only)
2) printer+webcam+etc. not supported
3) bugs

To be fixed, but it will take some time.

wpte
03-02-2010, 16:27
It has serious limitations:
1) WiFi will not up out-of-the-box (manual only)
2) printer+webcam+etc. not supported
3) bugs

To be fixed, but it will take some time.

but usb hdd's are supported?

lly
03-02-2010, 16:30
but usb hdd's are supported?
Yes, but there may be some issues, since 2.6.22 is too old and we didn't make backports on USB subsystem yet.

NB! it is experimental apha version

wpte
03-02-2010, 16:45
Yes, but there may be some issues, since 2.6.22 is too old and we didn't make backports on USB subsystem yet.

NB! it is experimental apha version

good, I'll try on an useless usb-stick:p

theMIROn
03-02-2010, 16:55
So any pertinent feedback is welcome

wpte
03-02-2010, 22:43
So any pertinent feedback is welcome

so far really nice!
I had to reinstall things like samba and openssh a few times on the fresh formatted usb stick since they both gave me some segmentation faults. The weird thing is, according to some hashing tools the executables or the ipkg files stayed the same:confused:
They run smooth now tho.

samba results are really impressive, both 1MB/s more than dd-wrt:
up 8.45MB/s
down 6.65MB/s
even when oleg is still "less completed" it runs faster:D
Still the cpu is underclocked when you comprare it to the 533MHz from asus.

nvram get clkfreq
480,240,120
There is no way of overclocking it yet I noticed, since I noticed it would ran on like... 150MHz I believe


buffers do flood when transferring files, just like with dd-wrt

total used free shared buffers cached
Mem: 126312 123980 2332 0 292 107920
-/+ buffers/cache: 15768 110544
Swap: 56188 148 56040
after a file transfer they should empty again right?
with my wl500w they empty after transfers:p

ps with memory info:

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.4 1368 544 ttyS0 Ss+ 22:15 0:00 /sbin/init
root 669 0.0 0.2 1616 304 ? Ss 22:15 0:00 klogd
root 667 0.0 0.2 1616 320 ? Ss 22:15 0:00 syslogd -m 0 -O /tmp/syslog.log -S -l 7 -b 2
root 671 0.0 0.1 1616 236 ? Ss 22:15 0:00 telnetd
root 674 0.0 0.2 1148 284 ? S 22:15 0:00 httpd eth0
nobody 678 0.0 0.3 932 428 ? S 22:15 0:00 dnsmasq
root 679 0.0 0.2 1012 368 ? S 22:15 0:00 snmpd -c /tmp/snmpd.conf
root 698 0.0 0.1 1124 188 ? S 22:15 0:00 nas /tmp/nas.lan.conf /tmp/nas.lan.pid lan
root 720 0.0 0.2 1368 348 ? Ss 22:15 0:00 rcamdmain
root 764 0.0 0.2 800 284 ? S 22:15 0:00 radvd
root 768 0.0 0.3 1380 448 ? Ss 22:15 0:00 watchdog
root 809 0.0 0.0 0 0 ? Zs 22:15 0:00 \_ [ntpclient] <defunct>
root 767 0.0 0.1 1124 188 ? S 22:15 0:00 nas /tmp/nas.wan.conf /tmp/nas.wan.pid wan
root 793 0.0 0.1 1636 232 ? Ss 22:15 0:00 udhcpc -i eth0 -p /var/run/udhcpc0.pid -s /tmp/udhcpc
root 832 0.0 0.4 1444 516 ? Ss 22:15 0:00 /opt/sbin/xinetd -pidfile /var/run/xinetd.pid
root 839 0.0 0.5 3264 724 ? S 22:15 0:00 /opt/sbin/sshd
root 888 0.2 1.2 3376 1616 ? Ss 22:18 0:02 \_ /opt/sbin/sshd: root@pts/0
root 889 0.0 0.3 1624 492 pts/0 Ss 22:18 0:00 \_ -sh
root 899 0.0 0.3 1568 504 pts/0 R+ 22:36 0:00 \_ ps afxu
root 845 0.0 0.8 3660 1020 ? Ss 22:15 0:00 /opt/sbin/smbd -D
root 887 15.7 1.5 4016 1956 ? S 22:17 2:57 \_ /opt/sbin/smbd -D

maurer
04-02-2010, 10:10
It is alpha version and it has serious limitations:
1) WiFi will not up out-of-the-box (manual only)


how can i set wireless up manually ?

wpte
07-02-2010, 01:30
When I want to compile the firmware myself I should do the same thing as for the wl-500 series?
Just place it in the broadcom/src, add kernel 2.6.22 somewhere?

al37919
07-02-2010, 09:32
the only difference is that sources of 2.6.22.19 should be untarred to src/linux/linux-2.6

to build this 2.6 alpha for wl500g series replace

CONFIG_CPU_MIPS32_R2=y
by

CONFIG_CPU_MIPS32_R1=y
in kernel config and adjust the unit name in Makefile.top

wpte
07-02-2010, 21:45
the only difference is that sources of 2.6.22.19 should be untarred to src/linux/linux-2.6

to build this 2.6 alpha for wl500g series replace

CONFIG_CPU_MIPS32_R2=y
by

CONFIG_CPU_MIPS32_R1=y
in kernel config and adjust the unit name in Makefile.top

with kernel config you mean what file? I've looked into a couple of files but nothing comes close to those settings:confused:

lly
07-02-2010, 22:43
with kernel config you mean what file? I've looked into a couple of files but nothing comes close to those settings:confused:
src/linux/linux-2.6/.config or src/linux/linux-2.6/arch/mips/defconfig-bcm947xx
Second used by default in case of first is not present.

wpte
08-02-2010, 00:52
src/linux/linux-2.6/.config or src/linux/linux-2.6/arch/mips/defconfig-bcm947xx
Second used by default in case of first is not present.

so I downloaded kernel 2.6.22.19, unpacked it and linked it into src/linux/linux-2.6

downloaded the rt-n branch into /src/rt-n

"make kernel" inside the rt-n folder
changed the src/linux/linux-2.6/arch/mips/defconfig-bcm947xx file

issue "make" inside /src/rt-n again and the gateway folder is created

go into gateway and issue "make"

* CPU selection
*
CPU type
> 1. MIPS32 Release 1 (CPU_MIPS32_R1)
2. MIPS32 Release 2 (CPU_MIPS32_R2) (NEW)
choice[1-2]:
choose 1

"make install" and done
:D

maurer
09-02-2010, 10:23
"make install" and done
:D
Does the wifi works now?
how is this firmware? any good?

wpte
09-02-2010, 21:27
Does the wifi works now?
how is this firmware? any good?

No idea... I'm able to flash it, but after that the router doesn't quite boot...
power led and active lan/wan led's on, wireless led off.
This is after flashing and the router just doesn't respond to anything

I'm using R1187 atm
the wl500w version seems to work
and the RT-N16 version seems to be about the same size as the one on googlecode

maybe I'm doing something wrong?:confused:

Back to R1143:p

edit:
just spotted http://code.google.com/p/wl500g/source/detail?r=1189
rebuilding :)
...
and not working either :(

final edit:
I left the CONFIG_CPU_MIPS32_R2=y setting alone, so it's revision 2 now...
and it works properly now :D
wireless broadcasts and is connectable, but wpa2 tkip+aes doesn't seem tow work yet
everything else seems to work fine
I can't seem to port my settings from my WL-500W router unfortunately, the RT-N16 will stop responding after a reboot.
using r1189

download: http://rapidshare.com/files/348381006/RT-N16-1.9.2.7-rtn-r1189-2.trx

these are not right tho, (kernel panics)

Feb 9 23:34:58 kernel: Call Trace:
Feb 9 23:34:58 kernel: [<8000e2d0>] dump_stack+0x8/0x34
Feb 9 23:34:58 kernel: [<801ceb2c>] __kfree_skb+0x174/0x1a8
Feb 9 23:34:58 kernel: [<802ba080>] vlan_dev_hard_start_xmit+0xec/0x2a4
Feb 9 23:34:58 kernel: [<801d949c>] dev_queue_xmit+0x2cc/0x430
Feb 9 23:34:58 kernel: [<802af5d8>] br_dev_queue_push_xmit+0x70/0xbc
Feb 9 23:34:58 kernel: [<802af698>] br_forward_finish+0x74/0x88
Feb 9 23:34:58 kernel: [<802af84c>] __br_deliver+0x7c/0x88
Feb 9 23:34:58 kernel: [<802ada94>] br_dev_xmit+0x94/0xd0
Feb 9 23:34:58 kernel: [<801d949c>] dev_queue_xmit+0x2cc/0x430
Feb 9 23:34:58 kernel: [<800513dc>] file_read_actor+0x114/0x160
Feb 9 23:34:58 kernel: [<80053178>] do_generic_mapping_read+0x518/0x6e8
Feb 9 23:34:58 kernel: [<80055a04>] generic_file_aio_read+0x1a8/0x2c4
Feb 9 23:34:58 kernel: [<8007acc8>] do_sync_read+0xd8/0x15c
Feb 9 23:34:58 kernel: [<8007b768>] vfs_read+0xc0/0x15c
Feb 9 23:34:58 kernel: [<8007bcdc>] sys_read+0x58/0xa8
Feb 9 23:34:58 kernel: [<80010264>] stack_done+0x20/0x3c
Feb 9 23:34:58 kernel: WARNING: at net/core/skbuff.c:326 __kfree_skb()

dokee
12-02-2010, 11:28
Does the latest version of your custom firmware (1.9.2.7-d) include the changes ASUS published in official WL-500W 3.0.0.9 firmware? I'm especially interested in the final N standard support.
If it's not included then it would be possible to recompile this custom firmware with the latest ASUS sources for 500W?

Thanks in advance.

al37919
12-02-2010, 11:56
firmware 3.0.0.9 contains the same wireless driver as previous one. Only web interface is changed. To make your router fully 802.11n compliant (at least according to asus) set encryption mode to AES only, because final version of the standard doesn't allow TKIP option.

dokee
12-02-2010, 13:02
firmware 3.0.0.9 contains the same wireless driver as previous one. Only web interface is changed. To make your router fully 802.11n compliant (at least according to asus) set encryption mode to AES only, because final version of the standard doesn't allow TKIP option.

Thank you the answer! Currently I'm using Oleg's latest firmware (1.9.2.7-10) in which I experienced some weird wireless problems (I'm sure that it's ASUS' fault). I'm just wondering that these issues would be fixed if I installed the mentioned most recent version of the custom firmware or the official ASUS one. The current security settings are: WPA2 personal with AES. Is my router N compliant then?

al37919
12-02-2010, 13:07
to the best of my knowledge yes.
Give a try to a last version of 1.9.2.7-d. It contains the latest wireless driver available. It is newer than the one from 1.9.2.7-10 and the same as 3.0.0.9

wpte
15-02-2010, 00:25
The RT-N16 wireless is not quite stable yet I've found out:p
During transfers the speed will slow down over time to mere kb/s and the ping becomes very high during that period (around a second sometimes).
Eventually the wireless will stop responding, and I need to reconnect.

theMIROn
15-02-2010, 08:38
The RT-N16 wireless is not quite stable yet I've found out:p
During transfers the speed will slow down over time to mere kb/s and the ping becomes very high during that period (around a second sometimes).
Eventually the wireless will stop responding, and I need to reconnect.

is it repeatable over 802.11n+wap+aes only, or doesn't depends on security settings at all?

ondrejpecta
15-02-2010, 19:08
The RT-N16 wireless is not quite stable yet I've found out:p
During transfers the speed will slow down over time to mere kb/s and the ping becomes very high during that period (around a second sometimes).
Eventually the wireless will stop responding, and I need to reconnect.

I have to confirm this. I've tried r1193 build for the RT-N16 and I experienced similar behaviour after a couple of minutes of using the wifi (wireless N + WPA2 AES). The wifi led on the router was blinking as if it was a HDD led and the speed dropped down to < 300kBs and connection was unstable.

When I changed the wifi security to open system with 54g limit, the behaviour was the same.

wpte
16-02-2010, 14:55
is it repeatable over 802.11n+wap+aes only, or doesn't depends on security settings at all?

I haven't tried that yet
But I'm going to do now, together with 3 different wlan cards:)

theMIROn
16-02-2010, 15:57
I haven't tried that yet
But I'm going to do now, together with 3 different wlan cards:)

great, btw, use the r1207 min.

wpte
16-02-2010, 19:52
great, btw, use the r1207 min.

the 1209 is bad?
I also tried the overclocked settings of hggomes, but those made the router highly unstable.
at some point when using samba the router would just simply restart itself without a warning or error code:confused:
is there a watchdog turned on in the firmware?

wpte
16-02-2010, 21:07
I tried some settings out, but it doesn't seem to crash at the moment:confused:

btw, is there any way to force dnsmasq to resolve local dns names by itself? since opendns is doing that right now:o

Lesiuk
22-02-2010, 09:59
I can't use optware buildroot.

http://www.wlan-sat.com/boleo/optware/linux-libc-headers-oleg.tar.bz2
This file is missing.

Do anyone else have that file?

56k
22-02-2010, 12:42
RT-N16-1.9.2.7-rtn-r1232.trx

I manually set up the webconfig for AP only which It was working perfect with WL500W

For RT-N16 just can't get internet connection or communicating with modem after rebooted router checking IP It shown some weird IP number

Sample of Lan IP Setting
Get IP Automatically? no
IP Address: 192.168.1.21
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.1
DNS Server: 192.168.1.1

Can anyone help please

bef
22-02-2010, 18:00
Is it already possible to install/use programs with ipkg on the rt-n16?

And how about a dedicated subforum for the RT-N series? Imho, it's somewhat combersome to search all the different parts of the forum

wpte
22-02-2010, 18:23
Is it already possible to install/use programs with ipkg on the rt-n16?

And how about a dedicated subforum for the RT-N series? Imho, it's somewhat combersome to search all the different parts of the forum

yes it's possible, every program I tested so far works:)
about 800mb of ipkg so, that's quite a lot:p

56k
23-02-2010, 09:02
RT-N16-1.9.2.7-rtn-r1232.trx

I manually set up the webconfig for AP only which It was working perfect with WL500W

For RT-N16 just can't get internet connection or communicating with modem after rebooted router checking IP It shown some weird IP number

Sample of Lan IP Setting
Get IP Automatically? no
IP Address: 192.168.1.21
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.1
DNS Server: 192.168.1.1

Can anyone help please
Assumed RT-N16-1.9.2.7-rtn-r1232.trx not function for AP Mode?

blairfancy
25-02-2010, 10:28
Hello all,
Actualy i use latest OLEG firmware, i would like to use new firmware.
My question:

I use a lot of application (http server,torrent amule, scaner,printer) ipkg application is it compatible with new FW?

IPKG feature is allways supported to install application?

what about all my configuration is it requiered to configure all again?

Regards

Blairfancy

wpte
25-02-2010, 22:54
you can keep the ipkg installation without a problem.
Reconfiguring the web interface is a good idea tho, some functions have been added and improved:)

shantanugoel
10-03-2010, 12:46
Hi
wanted to ask if this firmware supports USB modems (3G/CDMA/Evdo etc)?

lly
10-03-2010, 12:56
wanted to ask if this firmware supports USB modems (3G/CDMA/Evdo etc)?
From the box, using web-UI only - no. By custom shell scripts - yes.

You can take a look to mango mods (http://wl500g.info/showthread.php?t=22060) 3G disapear (http://wl500g.info/showthread.php?t=21311) threads, but nobody decide to help mangodan to improve solution.

Bohlendach
12-03-2010, 14:02
Will the USB speed increase if I install the firmware WL500W-1.9.2.7-d-r1222 on my Asus WL-500gp (version 1)?

At the moment I am running Olegs 1.9.2.7-10

al37919
12-03-2010, 14:08
unlikely, however, compatibility with some devices is improved

Copter
12-03-2010, 18:34
Will the USB speed increase if I install the firmware WL500W-1.9.2.7-d-r1222 on my Asus WL-500gp (version 1)?

At the moment I am running Olegs 1.9.2.7-10

You probably would brick your wl500gp if you install WL500W-1.9.2.7-d-r1222 on it.

You have to install WL500gp-1.9.2.7-d-r1222.

USB-speed is not limited by USB 1.1, but by CPU power.

wpte
12-03-2010, 22:09
I just tried r1327 for the RT-N16 and I get a lot of sqashfs related problems:

Mar 12 21:39:28 kernel: SQUASHFS error: Unable to read fragment cache entry [2f6ae2]
Mar 12 21:39:28 kernel: SQUASHFS error: Unable to read page, block 2f6ae2, size 6daf
Mar 12 21:39:30 kernel: SQUASHFS error: Unable to read fragment cache entry [2f6ae2]
Mar 12 21:39:30 kernel: SQUASHFS error: Unable to read page, block 2f6ae2, size 6daf
Mar 12 21:39:31 kernel: SQUASHFS error: Unable to read fragment cache entry [2f6ae2]
Mar 12 21:39:31 kernel: SQUASHFS error: Unable to read page, block 2f6ae2, size 6daf
Mar 12 21:39:31 kernel: SQUASHFS error: Unable to read fragment cache entry [2f6ae2]
Mar 12 21:39:31 kernel: SQUASHFS error: Unable to read page, block 2f6ae2, size 6daf

also the images from the webgui seem to be missing, even though the folder is there, with the images:D

r1322 seems to work correctly

theMIROn
12-03-2010, 22:20
also the images from the webgui seem to be missing, even though the folder is there, with the images:D
r1322 seems to work correctly

it doesn't depend on fw, just reflash it once again.
something went wrong while your flashing try

wpte
12-03-2010, 22:28
it doesn't depend on fw, just reflash it once again.
something went wrong while your flashing try

I flashed it twice, but still:confused:
maybe I should rebuild it

maurer
24-03-2010, 09:33
when can we expect a new firmware release for wl500gp v1 ?

lly
24-03-2010, 09:57
when can we expect a new firmware release for wl500gp v1 ?
In a few weeks, I hope. There were some issues that we want to fix.

btw., what fix/feature are you need exactly?

maurer
24-03-2010, 15:33
i would need 3G usb support but i think i'll have to wait along time for that

Tails
26-03-2010, 09:55
Hi all,

I am using 1.9.2.7-10 for like 2 yrs already.... lol... and I am wondering..... can I upgrade to this version without destroying the old setting?? because I am afraid I dun quite remember the PPPoe password on my router... :P

thanks^^

al37919
26-03-2010, 10:30
yes, you can.

Alternatively go to System Setup -> System Command and type

nvram show | grep passwd
you'll get out all your lost secrets ;)

Tails
26-03-2010, 12:20
yes, you can.

Alternatively go to System Setup -> System Command and type

nvram show | grep passwd
you'll get out all your lost secrets ;)

wow..... holy ****...... didn't know they are not encrypted.... lol.... Love u so much man... (no dirty mind)... :P

mandgeo
11-04-2010, 09:03
@ lly, i think you are the same person as lly.dev :)

http://code.google.com/p/wl500g/wiki/News

You are saying something about wl500g-1.9.2.7-d (current), not Rxxxx. Where can I download this or is not released yet? wl500g-1.9.2.7-d will be or it is the final release of the series? At the "Featured downloads" the last release is r1222.

theMIROn
11-04-2010, 09:22
@ lly, i think you are the same person as lly.dev :)

http://code.google.com/p/wl500g/wiki/News

You are saying something about wl500g-1.9.2.7-d (current), not Rxxxx. Where can I download this or is not released yet? wl500g-1.9.2.7-d will be or it is the final release of the series? At the "Featured downloads" the last release is r1222.

rtn branch binnaries aren't available to download officially yes, 'coz its state is still alpha.
so, you can build it by yourself or check ftp://core.dumped.ru for night builds

al37919
11-04-2010, 09:28
well, I think he is asking about wl500g-1.9.2.7-d (current) :)

The answer is: you can checkout the latest sources from svn repository http://code.google.com/p/wl500g/source/checkout and build them yourself, or wait till the next release which definitely will follow in some time.

theMIROn
11-04-2010, 09:38
Okie, it's too-quick-reading fault :)
Anyway, have to notice that there're pre-stable builds of 1.9.2.7-d at the same ftp link posted above to try out.

preacher@wl500g
12-04-2010, 20:08
Will the USB speed increase if I install the firmware WL500W-1.9.2.7-d-r1222 on my Asus WL-500gp (version 1)?

At the moment I am running Olegs 1.9.2.7-10

USB speed when transfering files is not improved.
But when accessing storage via samba it is much more faster. Oleg needs always some seconds for refresh on directory change, but no wait with this firmware.

preacher@wl500g
12-04-2010, 20:11
Hi
wanted to ask if this firmware supports USB modems (3G/CDMA/Evdo etc)?

You can use kollel firmware in the meanwhile:
http://koppel.cz/cdmawifi/download/171/
as good as the old oleg but with UMTS support via USB.

shantanugoel
13-04-2010, 09:52
From the box, using web-UI only - no. By custom shell scripts - yes.

You can take a look to mango mods (http://wl500g.info/showthread.php?t=22060) 3G disapear (http://wl500g.info/showthread.php?t=21311) threads, but nobody decide to help mangodan to improve solution.

thanks lly.. shell scripts is fine with me.. Will try out the threads you mentioned :)

lly
04-05-2010, 09:37
Due to space reason (currently we blocked to add new features for routers with 4Mb flash), we have plans to drop support ActiveX support on builtin webcam support page (IE only). Ordinary webcam image refresh method we will leave as is.

P.S. As result, we can free up to 18Kb in firmware image.

wpte
04-05-2010, 10:06
Due to space reason (currently we blocked to add new features for routers with 4Mb flash), we have plans to drop support ActiveX support on builtin webcam support page (IE only). Ordinary webcam image refresh method we will leave as is.

P.S. As result, we can free up to 18Kb in firmware image.

including the ActiveX stream I guess?
18kb is quite a good clean-up imo

ActiveX is also supposed to work on firefox btw:p

lly
04-05-2010, 10:45
including the ActiveX stream I guess?
Yes

ActiveX is also supposed to work on firefox btw:p
Even on linux? :rolleyes:

wpte
04-05-2010, 11:06
Even on linux? :rolleyes:

nope:D
instead asus should have programmed a java applet since that is supported by all major operating systems:) (IcedTea plugin in linux)

anyway... I have a build error at the rt-n branch when doing make for creating the gateway directory.


patching file libusb/os/linux_usbfs.c
Hunk #1 succeeded at 653 (offset 7 lines).
Hunk #2 succeeded at 724 (offset 7 lines).
Hunk #3 succeeded at 739 (offset 7 lines).
mv /opt/broadcom/src/gateway/libusb-1.0.7 /opt/broadcom/src/gateway/libusb10 && touch /opt/broadcom/src/gateway/libusb10
tar -jxf libusb/libusb-compat-0.1.3.tar.bz2 -C /opt/broadcom/src/gateway
[ ! -f libusb/libusb-compat-0.1.3.patch ] || /opt/broadcom/src/rt-n/patch.sh -Z /opt/broadcom/src/gateway/libusb-compat-0.1.3 libusb/libusb-compat-0.1.3.patch
mv /opt/broadcom/src/gateway/libusb-compat-0.1.3 /opt/broadcom/src/gateway/libusb && touch /opt/broadcom/src/gateway/libusb
rm -rf /opt/broadcom/src/gateway/usb-modeswitch-1.1.2 /opt/broadcom/src/gateway/usb_modeswitch
tar -jxf usb_modeswitch/usb-modeswitch-1.1.2.tar.bz2 -C /opt/broadcom/src/gateway
[ -f usb_modeswitch/usb_modeswitch.setup ] && \
cp -pf usb_modeswitch/usb_modeswitch.setup /opt/broadcom/src/gateway/usb-modeswitch-1.1.2/
make: *** [/opt/broadcom/src/gateway/usb_modeswitch] Error 1

The configuration of usb_modeswitch is deleted in r1520... clue?:p

lly
04-05-2010, 11:11
The configuration of usb_modeswitch is deleted in r1520... clue?:p
Will be fixed ASAP

theMIROn
04-05-2010, 11:44
The configuration of usb_modeswitch is deleted in r1520... clue?:p

r1521 is the clue :)

wpte
04-05-2010, 12:52
r1521 is the clue :)

hehe:)
everyone is drunk now and then:D

I found out that I had to fill in 3 extra things for the new ipv6 config page.

the dns server
tunnel mtu
tunnel ttl


now sixtun shows up :D
and works as well:)

theMIROn
04-05-2010, 12:59
the dns server
it's kinda optional - just to specify ipv6 dns server if any.
leave it empty, and only your ipv4 dns will be used.

wpte
04-05-2010, 13:15
it's kinda optional - just to specify ipv6 dns server if any.
leave it empty, and only your ipv4 dns will be used.

Yes I thought so... but sixtun didn't load without any... in case the MTU and TTL are optional as well:confused:

theMIROn
04-05-2010, 13:47
in case the MTU and TTL are optional as well:confused:
nope, it's required tunnel options

Kosmotaur
06-05-2010, 20:57
Hi,
I would like to contribute to Oleg's firmware, yet I don't really know whom to turn to. I tried contacts from the Google Code site where the firmware is hosted, but no one ever replied to my email. Any help, please?
Cheers!

wpte
06-05-2010, 23:23
Hi,
I would like to contribute to Oleg's firmware, yet I don't really know whom to turn to. I tried contacts from the Google Code site where the firmware is hosted, but no one ever replied to my email. Any help, please?
Cheers!

lly and theMIRon are the main developers:)
Dunno what skills you have, but I guess you need knowledge of c, c++, patching stuff and linux kernel things (or something like that).

I currently write documentation on the wiki page, tho I'm not quite done yet:o

not sure what you're looking for?
but if you have patches for oleg firmware or something, and report back via e-mail or here on the forums I guess they will be happy to put it up:)
contributing can be anything, even helping people out on the forums, writing how-to's, or suggesting a feature... anything basicly :p

lly
07-05-2010, 06:58
Hi,
I would like to contribute to Oleg's firmware, yet I don't really know whom to turn to. I tried contacts from the Google Code site where the firmware is hosted, but no one ever replied to my email. Any help, please?
Cheers!
Unfortunately, I didn't receive any emails with contribute suggestion. Simply post it here.

Kosmotaur
10-05-2010, 07:40
Unfortunately, I didn't receive any emails with contribute suggestion. Simply post it here.

I'm no Linux 1337 hacker, yet I was thinking of improving the web UI - like totally replacing what you can see now with something much more usable and better looking.
So I'd love to put my years of experience in designing/building UI's to work and do something fancy for the firmware.

theMIROn
10-05-2010, 14:23
I'm no Linux 1337 hacker, yet I was thinking of improving the web UI - like totally replacing what you can see now with something much more usable and better looking.
So I'd love to put my years of experience in designing/building UI's to work and do something fancy for the firmware.

Hi, have you any samples already or specific questions maybe? Feel free to make it work/look better, and not to break things that already done

Kosmotaur
19-05-2010, 22:14
Hi, have you any samples already or specific questions maybe? Feel free to make it work/look better, and not to break things that already done

So, correct me if I'm wrong: if I spend an hour or two a weekend, and come up with something kind of complete within 2 months or so, there's a chance for it getting incorporated in the distribution?

I was thinking of how much Ext JS could make it more smooth in the first place.
Take a look if you don't know it already: http://www.extjs.com/deploy/dev/examples/

Please let me know what your thoughts are on this!

As to questions:
Does it work in general like so, that every change you make, you can apply, and it is remembered even if you switch views, but for it to really work, you have to restart the embedded OS?
I am thinking of doing it like this:
- resembling all views with help of a tree navigation
- all views load without in fact reloading the whole page
- all changes are held as 'pending' in a persistent panel somewhere in the UI, where you can review them, and modify
- once the user is happy with all the changes, he can then 'apply and restart'
This gives the possibility to see exactly what you have been changing in the current session, and even further modify that single property without having to go back to a particular section in the admin panel.
Saves work, is more evident, less error-prone.

wpte
20-05-2010, 00:08
I was thinking of how much Ext JS could make it more smooth in the first place.
Take a look if you don't know it already: http://www.extjs.com/deploy/dev/examples/

Please let me know what your thoughts are on this!

Might I give some comments on that?:o
First of all: yes it looks very smooth and flashy, but isn't this api supposed to be placed on the router?
At the moment the entire web-gui uses a bit less than 700KB on pages and images, and because of the limited space on wl-500 models it's not quite possible to even further increase this a lot.
So, since this uses some AJAX kind of features, wouldn't it be better to make your own implementation of this? I have some AJAX code ready to go for refreshless loading of pages if you want:)

Also think of doing a sort of object like website building, so you reuse a lot of code:)

I believe one of the requirements was that it works on IE6 (I really wonder who still uses it) as well? AJAX would require special handles some times for that.

lly
20-05-2010, 09:53
So, correct me if I'm wrong: if I spend an hour or two a weekend, and come up with something kind of complete within 2 months or so, there's a chance for it getting incorporated in the distribution?

I was thinking of how much Ext JS could make it more smooth in the first place.
Take a look if you don't know it already: http://www.extjs.com/deploy/dev/examples/

I can only agree with wpte - due to strong space limitation (currently 700K pages + 120K httpd uncompressed size) and slow CPU, we have to use lightweight technologies only. Moreover, we don't want migrate to thin client technologies such as flash, silverlight, etc.

Some uncommon functions (nvram access, etc.) now performed by httpd server, designed by Broadcom+ASUS. This functionality can't be dropped...

wpte - some time ago you tell that you have some real AJAX samples?

ecaddict
20-05-2010, 13:40
Anyone interested in using AJAX there are some examples of it in fewgets (http://wl500g.info/showthread.php?t=21041) (can be used with the router). I managed to get rid of the "AX" part though as it has some limitations (e.g. 4K limit with some browsers).
Feel free to re-use it with the firmware (I don't have enough time to make any big contribution to Oleg firmware).

Btw, stable core functionality is e.g. more preferred by me as any fancy web interface. ;)

wpte
20-05-2010, 13:54
wpte - some time ago you tell that you have some real AJAX samples?

Yes this is an example from w3schools to make a button load a other file without refreshing:
http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first

As you can see, the button calls the "loadXMLDoc" function which changes the content in a div with the id "myDiv".

In my own project for uni I combined that example with a timer to continuously refresh a page without seeing the refresh:p

Ajax is easy, you just need to combine javascript and xml in a clever way:)
lot's of tutorials: http://www.w3schools.com/ajax/default.asp

Kosmotaur
26-05-2010, 14:25
I can only agree with wpte - due to strong space limitation (currently 700K pages + 120K httpd uncompressed size) and slow CPU, we have to use lightweight technologies only. Moreover, we don't want migrate to thin client technologies such as flash, silverlight, etc.

Some uncommon functions (nvram access, etc.) now performed by httpd server, designed by Broadcom+ASUS. This functionality can't be dropped...

wpte - some time ago you tell that you have some real AJAX samples?

In my design there is no (or barely any) interaction between static content serving by the router and the grand finale of a typical use case: applying the settings and restarting the router.

Static content serving isn't really demanding for the servers CPU, is it? I see it as lightweight from the server-side perspective. Correct me if I'm wrong.

The size limitation is a little bit worrying here... Were exactly does it come from? How much space do I have left if I were to code it?
Ext JS is around 500k in size, plus I estimate my code to weigh around 50k. So yeah, it's a lot, but only in terms of size, not processing.

Another way around is stripping Ext JS to only the modules really needed. I guess it would be around 50% gain. So there you have it. Using that particular library, a refreshed UI would weigh around 300k in total.
Ext JS works in all A grade browsers. Including IE6.

If this generally sucks for you, and it's an absolute no-no, I could utilize jQuery alone, and do something similar to the Transmission web client in terms of look'n'feel. It would not be as RIA-ish, but still a definite improvement to the horrible UI ASUS offers.
This solution should not exceed 100k.
Still, I'd advocate for the former solution I proposed.


wouldn't it be better to make your own implementation of this
That's my point!
It's all about resembling the whole structure of the router configuration in JavaScript objects (ie. the structure of the website on which you change settings) instead of HTML.
Ext JS builds it's components dynamically client side basing on those objects served as static content, and in the result we get something which could in fact replace the whole original web GUI.

Ok, enough talking, fire it back at me :)

californian
27-05-2010, 20:14
I was thinking of how much Ext JS could make it more smooth in the first place.
Take a look if you don't know it already: http://www.extjs.com/deploy/dev/examples/


Hi Kosmo,
I'm using jQuery:
http://bitbucket.org/vadim/wl500-ui/downloads/wl-500-ui.png
You can look at source code here:
http://bitbucket.org/vadim/wl500-ui/src/tip/main-accordion.asp

robis
04-06-2010, 05:50
Hi I am using latest oleg firmware WL500W-1.9.2.7-d-r1445.trx and now WL500W-1.9.2.7-d-r1612.trx
same isue was with older build (1222 i think)
with original asus firmware was ok

my problem
when I start router - it is possible to get access via WAN into administration.
but after few days - internet goes ok, LAN is OK but it is not possible to access administration via WAN, LAN

it is looklike that acces to administration is blocked ... workaround: restarting router then all goes ok

lly
04-06-2010, 07:17
it is looklike that acces to administration is blocked ... workaround: restarting router then all goes ok
It is a "feature" of ASUS old httpd server used for administration - in case of someone trying to connect to web-UI, second connect will be rejected, i.e. somebody tries to guess your admin password from WAN.

Will be fixed in far future.

robis
04-06-2010, 11:17
It is a "feature" of ASUS old httpd server used for administration - in case of someone trying to connect to web-UI, second connect will be rejected, i.e. somebody tries to guess your admin password from WAN.

Will be fixed in far future.

it would be nice ... thanx man

Kosmotaur
14-06-2010, 22:17
Hi Kosmo,
I'm using jQuery:
http://bitbucket.org/vadim/wl500-ui/downloads/wl-500-ui.png
You can look at source code here:
http://bitbucket.org/vadim/wl500-ui/src/tip/main-accordion.asp

seems as if both your urls are broken :(

Lesiuk
23-06-2010, 07:57
http://lists.busybox.net/pipermail/buildroot/2006-August/000145.html
http://old.nabble.com/gcc-4.1.1-and-exception-handling-%28libstdc%2B%2B%29-td5744269.html

Exceptions are not working in optware's buildroot package's gcc.

How can I in other way compile my program?

lly
23-06-2010, 11:20
http://lists.busybox.net/pipermail/buildroot/2006-August/000145.html
http://old.nabble.com/gcc-4.1.1-and-exception-handling-%28libstdc%2B%2B%29-td5744269.html

Exceptions are not working in optware's buildroot package's gcc.

How can I in other way compile my program?
I wrote it many times - since nobody from optware team want(can) update buildroot, you have to use our cross-toolchain.

Lesiuk
23-06-2010, 12:36
I wrote it many times - since nobody from optware team want(can) update buildroot, you have to use our cross-toolchain.

Ok, so how can i use it?

Can you give me some tips or links?

My programs Makefile looks like that

CC=g++
CFLAGS=-c -g
LDFLAGS=-lsqlite3 -lcurl -lpthread
SOURCES=main.cc CppSQLite3.cc addons.cc 4chan.cc md5.cc baza.cc
OBJECTS=$(SOURCES:.cc=.o)
EXECUTABLE=skit

all: $(SOURCES) $(EXECUTABLE)

$(EXECUTABLE): $(OBJECTS)
$(CC) $(LDFLAGS) $(OBJECTS) -o $@

.cc.o:
$(CC) $(CFLAGS) $< -o $@

clean:
rm -rf $(OBJECTS) $(EXECUTABLE)

How can i compile it with that toolchain?

I builded it with binary from hndtools-mipsel-uclibc/bin and "./program: can't load library 'libstdc++.so.6'"
hndtools-mipsel-uclibc-4.3.5/mipsel-linux-uclibc/bin "g++: error trying to exec 'cc1plus': execvp: No such file or directory"

I am a completely newbie when it comes to compile anything under Linux.

wpte
23-06-2010, 15:01
presuming you have the toolchain installed: http://code.google.com/p/wl500g/wiki/CompilingCustomFirmware

you can directly link CC to the c++ compiler in the folder /opt/brcm/hndtools-mipsel-uclibc/bin/g++ (I believe, I'm not on linux right now, so you might need to check that)

or if you've exported the path you can just do
CC=mipsel-linux
(I thought)


CC=/opt/brcm/hndtools-mipsel-uclibc/bin/g++
CFLAGS=-c -g
LDFLAGS=-lsqlite3 -lcurl -lpthread
SOURCES=main.cc CppSQLite3.cc addons.cc 4chan.cc md5.cc baza.cc
OBJECTS=$(SOURCES:.cc=.o)
EXECUTABLE=skit

all: $(SOURCES) $(EXECUTABLE)

$(EXECUTABLE): $(OBJECTS)
$(CC) $(LDFLAGS) $(OBJECTS) -o $@

.cc.o:
$(CC) $(CFLAGS) $< -o $@

clean:
rm -rf $(OBJECTS) $(EXECUTABLE)

anyway, you might need to compile other libraries as well, since the toolchain doesn't use libraries from your linux distro you're working on.

buildroot is not really complete for c++, but ordinary c works pretty good :)

maurer
02-07-2010, 14:04
hello,
i'm trying to build the firmware from source for wl500gx, since it's not included in core.dumped.ru - by the way - who can i ask to provide builds for this platform since here in Romania there are still plenty of second hand units to buy on online markets okazii.ro

So i get the following error in the lasts step on "make" command in /gateway folder:

decompress.c:35:24: error: LzmaDecode.h: No such file or directory
decompress.c:90: error: expected declaration specifiers or '...' before 'UInt32'
decompress.c: In function 'read_byte':
decompress.c:99: error: 'bufferSize' undeclared (first use in this function)
decompress.c:99: error: (Each undeclared identifier is reported only once
decompress.c:99: error: for each function it appears in.)
decompress.c:102: error: 'LZMA_RESULT_OK' undeclared (first use in this function)
decompress.c: In function 'get_byte':
decompress.c:108: error: 'UInt32' undeclared (first use in this function)
decompress.c:108: error: expected ';' before 'fake'
decompress.c:110: error: 'fake' undeclared (first use in this function)
decompress.c:110: error: too many arguments to function 'read_byte'
decompress.c: In function 'entry':
decompress.c:119: error: 'CLzmaDecoderState' undeclared (first use in this function)
decompress.c:119: error: expected ';' before 'vs'
decompress.c:120: error: 'ILzmaInCallback' undeclared (first use in this function)
decompress.c:120: error: expected ';' before 'callback'
decompress.c:124: error: 'callback' undeclared (first use in this function)
decompress.c:136: error: 'vs' undeclared (first use in this function)
decompress.c:136: warning: left-hand operand of comma expression has no effect
decompress.c:136: warning: value computed is not used
decompress.c:137: warning: left-hand operand of comma expression has no effect
decompress.c:153: error: 'CProb' undeclared (first use in this function)
decompress.c:153: error: expected expression before ')' token
decompress.c:155: warning: implicit declaration of function 'LzmaDecode'
decompress.c:156: error: 'LZMA_RESULT_OK' undeclared (first use in this function)
make[1]: *** [decompress.o] Error 1
make[1]: Leaving directory `/whatever-you-want/broadcom/src/gateway/loader'
make: *** [loader] Error 2


that's happening since I've downloaded also the rtn branch and tried to build the k26 for gx. the cuurrent svn is 1722
but i've deleted the gateway folder and run make again in 1.9.2.7-d folder
I've previously build d1705 with success
thanks

LATER EDIT:
My mistake, i had both rtn and d in the same src folder :P

lly
02-07-2010, 15:43
hello,
i'm trying to build the firmware from source for wl500gx, since it's not included in core.dumped.ru
In case of we speak about -d branch, you can ask him (Unlimited) yourself, or I can do it for you. Write me your decision.

that's happening since I've downloaded also the rtn branch and tried to build the k26 for gx.
K26 for gx is totally untested, be careful.

maurer
04-07-2010, 14:56
In case of we speak about -d branch, you can ask him (Unlimited) yourself, or I can do it for you. Write me your decision.

please ask him.
i could not find him on the forum.
thank you very much!

wpte
04-07-2010, 17:53
please ask him.
i could not find him on the forum.
thank you very much!

http://wl500g.info/member.php?u=21015

just look at the members list (in the upper part of this site you'll find the link)
then just press the "search members" button on the right on the member page:)

wpte
14-07-2010, 14:15
http://blogs.forbes.com/firewall/2010/07/13/millions-of-home-routers-vulnerable-to-web-hack/

maybe something to watch hence a good old WL-520gU is vurnable, as wel as openwrt.

maurer
20-07-2010, 16:05
hi,

i'm trying to compile the rt-n code and i get:

Can not apply kernel-2.6/230-usb-backport-2_6_33.patch cleanly
make: *** [kernel-patch] Error 1

do you have any idea why?

lly
20-07-2010, 16:33
i'm trying to compile the rt-n code and i get:

Please, be patient ;)
Fixed in r1815

maurer
21-07-2010, 09:43
Please, be patient ;)
Fixed in r1815

ok, so i tried to compile the rtn code for wl-500gx platform (I know it's vintage :p )
and i got the following error message at the end:

fread failure or file "/rtn/broadcom/src/gateway/mipsel-uclibc/target.cramfs" too large
make: *** [package-WL500gx] Error 1

lly
21-07-2010, 11:48
ok, so i tried to compile the rtn code for wl-500gx platform (I know it's vintage :p )
You have to exclude some packages by tuning either gateway/.config or gateway/Makefile

maurer
21-07-2010, 15:23
You have to exclude some packages by tuning either gateway/.config or gateway/Makefile

can you tell me what are the packages ?

lly
21-07-2010, 16:33
can you tell me what are the packages ?
It's up to you. You mustn't turn off busybox, rc & loader, other packages from "Asus stuff" & "Custom firmware features" sections are not so significant.

maurer
24-07-2010, 05:34
hello again.
do you know what happened to the core.dumped.ru site?
it haven't build any new versions since 16.07

wpte
24-07-2010, 22:19
hello again.
do you know what happened to the core.dumped.ru site?
it haven't build any new versions since 16.07

dunno...
but get some: http://wpte.kicks-ass.net/downloads/Oleg%20Firmware/Nightlys/

maurer
29-07-2010, 17:46
hello
can 3G dongle work automatically?
when cable internet fails - 3G takes over?
if i remember correctly there was such an option in koppel's firmware

lly
29-07-2010, 18:37
can 3G dongle work automatically?
when cable internet fails - 3G takes over?
if i remember correctly there was such an option in koppel's firmware
Automatic switchover (multiwan) is in TODO. Currently, you can do it by custom scripts only.

Most complex tasks is: routing & DNS switching. In koppel's FW it realized by dumb removal/recreate...

maurer
06-08-2010, 08:02
hello,

a few days ago i've tried to open the ftp connection to wan on an wl-500gx.
i've had no luck neither with web gui ftp-wan, neither with firewall manual rule.
What would be the best way to open ftp to wan?
I've also noticed they the ntfs usb hdd are mounted as R/O .
And another question - can I build the wl-500gp v1 d-kernel.2.4 with ntfs module built-in?

lly
06-08-2010, 08:27
I've also noticed they the ntfs usb hdd are mounted as R/O .
You have to use ntfs-3g for R/W

And another question - can I build the wl-500gp v1 d-kernel.2.4 with ntfs module built-in?
It's already here, take a look at kernel.config.

maurer
09-08-2010, 14:44
is there any way to flash a new firmware from telnet console in d1939 - i want to flash tomato firmware and i only have remote to the wl-500gpv1.
i can load the firmware with telnet in /tmp.
I saw there is flash command - but how to use it?

update: the command is:

flash tomato.trx linux

siliconmanc
28-08-2010, 11:35
if I do reset to default I can not change the default username (admin) and the password (admin). I have I WL500W and I have noticed that this happened on r1865 and r1612. On r1445 it is working fine. Has anyone else noticed anything like this?

malefycu
07-09-2010, 21:39
What image is the last for asus wl 500 delux?
Im interested for 3g dongle(ZTE MF637)now is supported?

wpte
08-09-2010, 13:49
What image is the last for asus wl 500 delux?
Im interested for 3g dongle(ZTE MF637)now is supported?

Not sure if it's supported, but get the goods from one of these sites:

stable builds:
http://code.google.com/p/wl500g/downloads/list

"experimental" builds (nightly) sites:
ftp://core.dumped.ru/wl/
http://wpte.kicks-ass.net/downloads/Oleg%20Firmware/Nightlys/1.9.2.7-d/

wpte
12-09-2010, 13:28
Today I couldn't believe my eyes when I saw this on a dutch news site: http://translate.google.nl/translate?js=n&prev=_t&hl=nl&ie=UTF-8&layout=2&eotf=1&sl=nl&tl=en&u=http://tweakers.net/nieuws/69625/broadcom-maakt-broncode-wlan-driver-onder-gpl-beschikbaar.html
Google translate made a mess of it, but it seems like broadcom is opening up:D

more: http://thread.gmane.org/gmane.linux.kernel.wireless.general/55418
the twitter message: http://twitter.com/gregkh/status/24027482819

great news:D

theMIROn
12-09-2010, 14:51
Today I couldn't believe my eyes when I saw this on a dutch news site: http://translate.google.nl/translate?js=n&prev=_t&hl=nl&ie=UTF-8&layout=2&eotf=1&sl=nl&tl=en&u=http://tweakers.net/nieuws/69625/broadcom-maakt-broncode-wlan-driver-onder-gpl-beschikbaar.html
Google translate made a mess of it, but it seems like broadcom is opening up:D

more: http://thread.gmane.org/gmane.linux.kernel.wireless.general/55418
the twitter message: http://twitter.com/gregkh/status/24027482819

great news:D

it was already discussed. that driver is sta-only and supports none of currently used 802.11 router adapters.
so, useless for now.

wpte
18-09-2010, 13:05
the "fixed" ShowWebcam.asp

What it does is: get the lanip and the webcam stream port out the nvram and uses it as the src from the image.

Obviously not suitable for external viewing this way, unless the picture is also streamed to the internet.
If the mjpeg streamer write files to the www folder or something I could use ajax to update the image, the entire javascript has to go then.

and I wonder... did someone at asus ever tried the html validator on these things:p

btw, can I e-mail these things to lly or theMIROn as well on those google accounts?

lly
18-09-2010, 13:46
the "fixed" ShowWebcam.asp
Thank you!
But I discover, that window size is slightly less than picture. I use Firefox 3.6.10, webcam image 640x480.

and I wonder... did someone at asus ever tried the html validator on these things:p
You know answer :D

btw, can I e-mail these things to lly or theMIROn as well on those google accounts?
Sorry, don't understand what you mean exactly :confused: You have our e-mails, we read the forum, something else?

wpte
18-09-2010, 14:26
Thank you!
But I discover, that window size is slightly less than picture. I use Firefox 3.6.10, webcam image 640x480.

you mean the pop up window?
That part depends on the code that opens the popup.
I didn't notice anything weird on firefox so far:confused:

I just noticed another problem now I'm back at windowze... IE doesn't recognize the stream as a picture, but as a file... so it doesn't quite work:p



Sorry, don't understand what you mean exactly :confused: You have our e-mails, we read the forum, something else?
Your e-mail is lly.dev [at] gmail.com then?
I was wondering that, might be easier to e-mail code than upload it at the forums (since it has some security checks on file extensions etc.)

lly
18-09-2010, 21:20
you mean the pop up window?
That part depends on the code that opens the popup.
Sorry, I didn't look at the changes you made. It is a feature of an old ASUS code.

wpte
18-09-2010, 23:53
Sorry, I didn't look at the changes you made. It is a feature of an old ASUS code.

You mean the width and height determination logic in the javascript part?
I wasn't really sure what to do with it, so I left it that way:o

lly
05-10-2010, 08:22
I would like to announce mini roadmap for our firmwares:

since 1.9.2.7-d-r2174 we has no plans to implement new features for routers with 4Mb flash due to absence of room in it. But bugfixes and urgent network-related patches will be applied.
kernel 2.4 based branch still be active for WL500gP V1/V2, WL500W:

samba 3.0
mini-upnp
QoS web-UI(maybe)
etc.

most activity planned in kernel 2.6.22 based rtn branch

wpte
17-10-2010, 19:48
I think ipv6 might be broken

ipv6 on the rt-n16 works, I can ping etc.
ipv6 on my computers works as well... but I cannot ping, I can only resolve ipv6 addresses:confused: an ipv6 address is leased to all the computers tho

lly
19-10-2010, 08:44
I think ipv6 might be broken
Very strange. Nothing was changed in radvd/IPv6 config. Moreover, it works for me (he.net tunnel). Can you provide any details?

wpte
19-10-2010, 11:46
Very strange. Nothing was changed in radvd/IPv6 config. Moreover, it works for me (he.net tunnel). Can you provide any details?

Nah my nvram was broken again for some reason:(
a new reconfiguration made everything work again, very strange since the settings where the same:p

snowx
08-11-2010, 05:57
I was trying to get usb audio working on 2174 fw so that I can play mp3 with mpd and iphone client, but the oss driver don't seems to work with my USB sound dongle correctly. Is it possible to to provide alsa sound module?

lly
08-11-2010, 07:21
Is it possible to to provide alsa sound module?
alsa drivers aren't included into 2.4 kernels, you can download & try to compile it yourself from http://alsa-project.org/

snowx
08-11-2010, 08:11
I have never done this before but I am willing to learn and start doing it. Can you give me some pointers how to setup the compilation environment for module compilation?

Regards,
Warner


alsa drivers aren't included into 2.4 kernels, you can download & try to compile it yourself from http://alsa-project.org/

lly
08-11-2010, 14:52
Can you give me some pointers how to setup the compilation environment for module compilation?
It is inside kernel - under Documentation/ subdirectory. Additional materials about kernel modules you can find in internet. Toolchain starting point is http://code.google.com/p/wl500g/wiki/CompilingCustomFirmware and knowledge of gcc & binutils will be helpful.

schufti
16-11-2010, 09:13
Hi!

I see there is experimental version of rtn fw for wl500gp-v1 and tried to flash it, but router doesn't respond afterwards (tftp recovery without problem).

Is there any special prerequisite for using this fw? more ram, changed cfe ?

rgds,
schufti

lly
16-11-2010, 15:07
I see there is experimental version of rtn fw for wl500gp-v1 and tried to flash it, but router doesn't respond afterwards (tftp recovery without problem).

Is there any special prerequisite for using this fw? more ram, changed cfe ?
Always write exact version you tried!

Generally, no special prerequisites, but builds simply may have bugs. For example, akbor
experience problems with rtn revisions 2322-2329 on WL500W, see issue 171 (http://code.google.com/p/wl500g/issues/detail?id=171)

schufti
16-11-2010, 17:33
Hi!

version was 2340 from today.

Maybe fw hangs because I don't have orig WLAN card in the router atm?
But other fw just skip loading module and act as router ...

schufti

lly
16-11-2010, 18:15
version was 2340 from today.

Maybe fw hangs because I don't have orig WLAN card in the router atm?
But other fw just skip loading module and act as router ...

At least it boots okay on my WL500gpV1. Exact root of problem can be found on serial console only.

wpte
21-11-2010, 15:16
I was thinking about oleg and USBoIP since things like sane don't work that fast... only 1 A4 sheet in 5 minutes on 300dpi:p
So I guess usb over ip is a lot faster.

obviously you got the fantastic closed source solutions: http://usb-server.com/index.html
but I've also found an opensource one with beta support for windows (so it's cross platform)

I must admit that the files look out of date, but on the svn you can see that the last commit was on 8-2-2010 which is quite fair.

also, it looks quite easy to compile:D

what do you think?
I'm going to try it out:)

snowx
24-11-2010, 09:52
It is inside kernel - under Documentation/ subdirectory. Additional materials about kernel modules you can find in internet. Toolchain starting point is http://code.google.com/p/wl500g/wiki/CompilingCustomFirmware and knowledge of gcc & binutils will be helpful.

lly,

I am trying to compile it but got the following and stopped

make[1]: Entering directory `/home/wchan/wl500w/broadcom/src/gateway/portmap'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/wchan/wl500w/broadcom/src/gateway/portmap'
make -C iproute2 KERNEL_INCLUDE=/home/wchan/wl500w/broadcom/src/linux/linux/include EXTRACFLAGS="-Os -mips32 -mtune=mips32 -Wno-pointer-sign -DBCMWPA2 " EXTRA_LDFLAGS="-Wl,-rpath /lib"
make[1]: Entering directory `/home/wchan/wl500w/broadcom/src/gateway/iproute2'
Please, compile the kernel first
make[1]: *** [check-kernel] Error 1
make[1]: Leaving directory `/home/wchan/wl500w/broadcom/src/gateway/iproute2'
make: *** [iproute2] Error 2

snowx
24-11-2010, 10:12
is the RTN build for WL500W on core.dumped.ru based on 2.6 kernel? i.e. WL500W-1.9.2.7-rtn-r23.trx.gz

Are they stable enough for home 24x7 usage? :eek:

lly
24-11-2010, 10:15
lly,

I am trying to compile it but got the following and stopped
Real cause of problem is printed below, why simply not to follow it? :confused:


Please, compile the kernel first

snowx
24-11-2010, 10:36
do you mean the following commands?

$ cd /whatever-you-want/broadcom/src/1.9.2.7-d
$ make kernel
$ make

I have run them already and there were no error...:confused:

lly
24-11-2010, 10:57
Seems to be you have slightly different host environment, try to
make kernel
from src/gateway before "make"