Hey can I compile the upnp deamon in this firmware as well?
or does it need some configuration?
I kinda like my upnp portforwarding back:D
Printable View
Hey can I compile the upnp deamon in this firmware as well?
or does it need some configuration?
I kinda like my upnp portforwarding back:D
Hi,
I've been using a self-compiled version of Oleg 1.9.2.7-10 (2008-03-30) on a 500GP with RAID1 (based on this tread http://wl500g.info/showthread.php?t=15550 comments and modules md.o and raid1.o) with two 1Tb Iomega disks on RAID1.
I've just bought a RT-N16 and I want to re-build the system. This new router uses kernel 2.6. Can someone help me getting the right modules and tell me how to compile everything.
For what I notice the wiki on http://code.google.com/p/wl500g/wiki...CustomFirmware is only for Kernel 2.4
Thank's in advance
it's pretty much the same as for kernel 2.4
setting everything up for the wl500 series as in the how-to is pretty much the same, you just need these extra things:
you need kernel 2.6.22.19
just link it to "linux-2.6" in the /broadcom/src/linux dir.
then just checkout the svn rt-n branch into the dir... lets say /broadcom/src/rt-n
do "make kernel" and "make" in the rt-n dir
then cd into /broadcom/src/gateway dir and do "make" and "make install"
after that you can just grab the .trx from /broadcom/src/gateway/mipsel-uclibc
I hope that's a bit clear:)
ofcourse you can download my builds as well, then you just need to compile the kernel modules I guess
@wpte
Thanks a lot for your reply.
I have a few questions regarding which option should I follow:
1. compile the firmware
In here should I use the GPL_1927.zip sources (as stated in http://code.google.com/p/wl500g/wiki...stomFirmware)?
2. compile only the kernel modules (I think this one is preferable because is easier since I only need to update the firmware with your builds ;))
How can I compile only the required kernel modules?
Regards,
Current revision no more requires GPL_1927.zip, wiki will be updated soon.
Like in any ordinary Linux kernel - see Documentation/kbuild subdirectory.Quote:
2. compile only the kernel modules (I think this one is preferable because is easier since I only need to update the firmware with your builds ;))
How can you compile only the required kernel modules?
hehe:p
I understand, upnp is not really the biggest issue in the rt-n development now:)
It doesn't seem to respond to any packets I'm sending with my own build api:p
I'm creating the api since microsoft decided to kinda exclude upnp api's in win7:p
It does seem to work with my wl-500w so far:)
I'm upgrading everything to RT-N16. Installed everything on the r1322 apart from the kernel modules:
I've compiled the md.ko and raid1.ko kernel modules but I cannot load them with insmod. I get this message:
insmod: can't insert '/opt/modules/raid1.ko': invalid module format
and when I trie to insert cifs.ko or smbfs.ko (which I download from 1st page) I get this message:
insmod: can't insert '/opt/modules/cifs.ko': unknown symbol in module, or unknown parameter
I've made a VM with Virtualbox with fresh install of Ubuntu basic server and the essential packages.
Used the following steps:
//cd to src
cd /usr/src
//get the kernel
sudo wget http://www.kernel.org/pub/linux/kern....22.19.tar.bz2
//unpack
sudo tar xjf linux-2.6.22.19.tar.bz2
//create the symlink
sudo ln -s linux-2.6.22.19 linux
//cd to dir
cd /usr/src/linux
sudo make config
//and activate 'external kernel modules', pick automatic kernel loading, put options in M for modules (on md section)
//compile /scripts/genksyms (to avoid a file missing error)
//compile the md module
sudo make M=drivers/md
without any errors...
you compiled module for the ubuntu, not for router
at the moment AFAIK there is no special howto for building rt-n-alpha branch. However, you can use as a base the following instruction: http://code.google.com/p/wl500g/wiki...CustomFirmware However, it is only a way..., but not a strict guideline.
IMHO, you have to first learn how to compile the firmware using a dedicated toolchan. The next step is to enable some extra options in the kernel config and recompile it again to produce custom module. I don't see a way to avoid these steps.
today I installed the firmware 1322
cifs.ko and smbfs.ko are not working anymore
[root@RT-N16 modules]$ insmod smbfs.ko
insmod: can't insert 'smbfs.ko': unknown symbol in module, or unknown parameter
[root@RT-N16 modules]$ insmod cifs.ko
insmod: can't insert 'cifs.ko': unknown symbol in module, or unknown parameter
Can someone rebuild them and post them for download?
Many thanks
they are build in (and working) now: http://rapidshare.com/files/36323538...-rtn-r1327.trx
Thanks is working.
I need some help one other issue. My router keeps on stopping to the point that nothing is working anymore; I am not even able to connect to it through the web interface when this happens, nor through ssh. I noticed that it stops when I let something for download, a while after I close ntorrent.
I would like to know where to look, because in the log for rtorrent and in lighttpd I didn't see anything.
I use ntorrent trough ssh and rutorrent trough webinterface
Last night my router stoped working again. I was connected to router all the time trough webinterface(meantime I was playing dota trough internet)).
[root@RT-N16 root]$ free
total used free shared buffers cached
Mem: 126212 124052 2160 0 4084 90292
-/+ buffers/cache: 29676 96536
Swap: 1020088 9912 1010176
Right now I can connect on router through ssh but the lan share is not mounted anymore.
And reboot, mc commands are not working.
Router lost connection with lan hdd.
Well unfortunately I keep getting "connection reset" when trying an ssh tunnel:(
I'm not sure what the problem is, but this way I can't test it as well...
But let me ask about your setup...
you use a NAS to store files on and a smaller drive with swap and /opt on the router?
hmm, I never had many problems, only connection problems with ntorrent.
transmission runs pretty well on the rt-n, especially due to the bigger ram and faster cpu:)
no problems downloading at 1,4MB/s here with only... 60% cpu
my wl500w could only do a 500KB/s or something:p
Hello... many thanks for the FW for RT-N16, I kinda wasn't feeling comfortable with DD-WRT...
Everything, I needed so far, is working. But now it comes to what I want :))
Sound card, I wish it could work (the same sound card as in this post http://wl500g.info/showthread.php?t=20623 i.e. it was recognized on 2.4)
My problem is that I don't know how to make it work. In log I can see "USB audio: attached" but not showing up dmesg and the reason as I understand, that no modules are loaded or included. Any idea what to do? I want to use madplay to play mp3 files on router.
Bluetooth, the second thing I have problem with but to be honest I haven't spent that much time with that as with sound card, but so far it seems to be the same problem (I don't have proper modules for 2.6).
Anyone with working configuration having USB soundcard or bluetooth? Could you please give me some hint?
Thanks
Yes, I was thinking of compiling the other modules into the firmware as well, the modules usually provided in an extra tar...
I mean the memory in the RT-N16 is more than enough to include the modules, but I have to take a look at what is activated in the kernel config:)
I don't know if people wouldn't like it, to have a big bulky firmware (around 8MB I guess)
of course the modules can be loaded up at any time, so it won't take more RAM
Could you please give me a hint where to look for them and how to load them? I think it is better as it is, to keep firmware small and less bulky... Thanks
At the moment I'm the only one building rt-n16 FW for the public as far as I know.
The modules that are usually included by the stable FW for the wl series are a bit difficult to include every time there is a svn change, so that's why I build them straight into the FW instead of making a giant messy list of all the modules for every update. also it's more work:o
So either way, I can build the soundcore and audio modules straight into the firmware, or you have to build them yourself separately.
in the end, you have 32MB flash, why trying to keep it at 4MB, the extra modules will fit easily:D
Unlimited from Russian forum make night builds of rt-n16 FW ftp://core.dumped.ru/rt-n/
About extra modules - we will include it later, after main functionality will be almost equal to an old stable branch.
Audio modules simply wasn't tested by us.
Thanks guys, I believe I can wait :D Maybe I can try to build them by my own but my understanding of whole 'doing-so' is fairly limited...
I think I will start to follow Russian forum too :)
If I may ask, what is current status of main functionality? Roughly...
I will be here to hear about it or maybe I can help myself somehow...
FW core is works, but there were some critical bugs in our obsolete 2.6.22 kernel (they are also present in official ASUS FW). We have to find & backport fixes from kernel.org+linux-mips.org upstreams. Most of such bugs appear under heavy load only.
Some netfilter/iptables modules are not backported yet, USB stack is older than in 1.9.2.7-d (EHCI backport from 2.6.27), and many other fixes/backports collected by Oleg & us for several years.
There are several issues with automounting USB HDD, webcam/audio/bluetooth support we even don't start to test.
First of all i need to thanks for a great work with the FW almost every of my needs are fulfilled with this FW. But I have a question:
Does the printer work for anyone?
My doesnt work, but i dont know if it is because of the printer itself or the FW.
Tanks for a fantastic work!
I just compile them, so you should thanks the developers;)
this svn change: http://code.google.com/p/wl500g/source/detail?r=1339
sort of says that the printer should be working or close to working.
Have you tried with other asus routers? or is the rt-n16 your first one?:)
for the WL series the printer functionality works, not for all printers though.
What printer do you have?
It's my first ASUS! :)
I think it could be the printer, it is a budget printer, OKI B2200. It does almost its job and it was cheap! :p Maybe I have to live with the printer attached to one of the computers instead. :)
I think lly read this thread sometimes so it was a thanks to him aswell.
I think it could be the printer, it is a budget printer, OKI B2200. It does amost its job and it was cheap! ;) Maybe I have to live with the printer attched to one of the computer insted. :)
After my last post saying that everything was up and running an error just came out :(
after using the raid (2 1Tb usb disks on a USB Hub that worked flawlessly on the 500gp for 2 years) on the RT-N16 for a while (noticed some delays in saving files first but assumed that was from wifi) and the raid was broken and one disk was removed :confused:
1. tried to mount the raid and it began resync. Every time a issued 'cat /proc/mdstat' the speed of resyng dropped until 20Kb/s and finally stopped resync (exited from mdadm);
2. recompiled several firmwares again with some combinations options
Always with this options:
* Multi-device support (RAID and LVM)
*
Multiple devices driver support (RAID and LVM) (MD) [Y/n/?]
RAID support (BLK_DEV_MD) [Y/n/m/?]
RAID-1 (mirroring) mode (MD_RAID1) [Y/n/m/?]
With and without this options:
* SCSI device support
*
SCSI device support (SCSI) [Y/m/n/?]
SCSI target support (SCSI_TGT) [Y/m/n/?]
*
* SCSI support type (disk, tape, CD-ROM)
*
SCSI disk support (BLK_DEV_SD) [Y/m/n/?]
with the same results;
3. Tried to compile new version of mdadm (3.1.2 with no success). Managed to run 2.6.7-1 (compiled with build-root on a ubuntu vm) instead of 2.6.1 that is on the ipkg and with the same result;
4. Simulated everything on 2 1GB USB sticks with the same results (it stop resync). Manage to resync everything on ubuntu (with mdadm 2.6.7) re-tested on the router and after copy some files the same disk errors and disk removal from raid (please see attached syslog.log file);
5. For me hardware is excluded (everything works connected to a ubuntu machine). I think mdadm is excluded as well. So I'm stuck with some options in the firmware that I missed or some bug? on the scsi drivers?
I appreciate any help. Thank's in advance...
are you familiar with this tutorial: http://oleg.wl500g.info/printing/
Ubuntu 9.10 runs on the latest kernel (for this version) 2.6.30 if I'm not mistaken (I'm away from the laptop)
I've just used the laptop to check the hardware (disks and hub). Also installed mdadm on the ubuntu (which is the same version that on the router 2.6.7) so excluded problems from ipkg package and new kernel. Mdadm on the ubuntu recognized the raid and was able to do the recync with no problem.
Please tell if you need extra info.