Hello
It is possibile to write a ipv6 module for the wl-500g ?
Printable View
Hello
It is possibile to write a ipv6 module for the wl-500g ?
I assume it's enough to cross compile a kernel including the ipv6 module, and install ipv6-compatible IP utilities. If someone has tried this, I'm interested too :)
Can somebody say if it possible or not with the resources on the 500g
Yes, it's possible. Why not?
Not so much resources !? I don`t know how much the 500g can do.
Question: Can you implentate the IPv6 module in you next firmware release?
Not at this time, sorry. This requires number of changes, including recompiling the toolchain (namely c library).
Hello,
I would like to add the 'awk' (not for v6 but for some powerful scripting facilities :) ), 'ip', and 'ping6', applets to the OLEG 1.7.9.5 firmware.
I succeeded in adding IPv6 support (changing wl500config) and recompile kernel. The ipv6.o module is not created, so I use an openwrt version for that. using the busybox executable on http://files.wl500g.info/asus/wl500g/firmware/app/ I can use the 'ip' applet to set and look at ipv6 addresses (ip -6 a). I can create 6over4 tunnels to a ipv6 tunnel broker. That works. However ping6 is lacking, and another of (for my purpose useless) bunch of applets are included generating a busybox of 2.6M.
I'd like to create a lean and mean busybox myself. How should I proceed? Make changed in respective config files (editors, network) of busybox and make a new patch file using diff? Or making the changes in the 1.7.9.5. busybox.patch file? Same question for the native 'ip' executable of the iproute2 package: how can I have that compiled as well?
Any suggestions? Any other users of this forum interested in ipv6 support?
awk is way to big for custom firmware... Also, uclibc was compiled with no ipv6 so, there would be probably some problems.Quote:
Originally Posted by sodb
Check your config, you should not use any precompiled stuff.Quote:
I succeeded in adding IPv6 support (changing wl500config) and recompile kernel. The ipv6.o module is not created, so I use an openwrt version for that.
The sequence could be as follows - compile the firmware using make, once done reconfigure busybox and make new patch:Quote:
using the busybox executable on http://files.wl500g.info/asus/wl500g/firmware/app/ I can use the 'ip' applet to set and look at ipv6 addresses (ip -6 a). I can create 6over4 tunnels to a ipv6 tunnel broker. That works. However ping6 is lacking, and another of (for my purpose useless) bunch of applets are included generating a busybox of 2.6M.
I'd like to create a lean and mean busybox myself. How should I proceed? Make changed in respective config files (editors, network) of busybox and make a new patch file using diff?
you should then save resultant patch in the safe place. ;-)Code:make
cd build/busybox
make menuconfig
cd ../..
make busybox-diff
cp build/busybox*.patch .
make
It's compiled but not installed. Consult firmware Makefile on how to install it.Quote:
Or making the changes in the 1.7.9.5. busybox.patch file? Same question for the native 'ip' executable of the iproute2 package: how can I have that compiled as well?
Quote:
Originally Posted by sodb
Yes! ;)
(I need only the routing, no TB)
Since SP2 for XP has come out it feels like a lot more people are getting into ipv6. Or back, as it were. SixXS and other players, are providing more services too. In holland the first native ipv6 IPSs are starting to starting to appear for the general public...
It would be nice if you beat Asus to it... :D
Conrado.
Eeek
I dont know whar all World wants with IPv6, it breaks compatibility, and this tunels gateways and so and look all like crazy hacks :). Itīs nice to have an IP for every molekule on earth but it could had been enough to rip away some of the big unused subnets from the companys and countrys they had granted to in the early years ...
You say, V6 Providers come up ? do they grand you one IP or a small subnet of, say, 10 ipīs to your connection ? This would ne the only nice thing to have, direkt internet ipīs for more than one device, 2nd PC, maybe the frigerator or so on. But as long as you have to use NAT it is useless and v4 would be enough.
Greets
Correct, but no way that's gonna happen. Thats why IPv6 is coming...Quote:
Originally Posted by WlanMan
NAT is a hack too, designed to cope with the limited IP addresses available.Quote:
You say, V6 Providers come up ? do they grand you one IP or a small subnet of, say, 10 ipīs to your connection ? This would ne the only nice thing to have, direkt internet ipīs for more than one device, 2nd PC, maybe the frigerator or so on. But as long as you have to use NAT it is useless and v4 would be enough.
Greets
IPv6 is the way forward because there's no way the US or the big companies are giving up their rights to a disproportional amount of IP addresses. Its all about power... Thats why the Asian countries are promoting IPv6 so much and the US is doing nothing with it.
HEllo,
I am running official firmware v 1.8.1.9 on my wl500g, but I previously (before I got my asus router) had an account for a 6-to-4 tunnel with my isp which was very helpful (i am university student!).
Could you please prescribe me with the appropriate firmware version to set up ?
Moreover, I tried to downgrade to Oleg's firm v. 1.7.5.9-5 to access console using ssh, but I did not manage to open a session. This is because actual firmware has empty login field, and only password (which will not function using telnet).
Thanx in advance
just for these feature, openwrt. In fact, I have justed packaged such a customized build of openwrt(ipv6+dropbear). It is pretty easy. I just use the 6to4 tunnel through 192.88.99.1 which surprising works with my ISP(and I believe many other ISP too).
However, you also lose a lot of the nice feature of ASUS(and the customized one by oleg which has even more).
Out of the box, ASUS is the most feature rich comparing with those from linksys etc. Just wish the guys behind openwrt use the ASUS firmware as a starting point rather than the linksys :-)
There is some improvement though. The Pentagon announced last year that they are migrating their infrastructure to IPv6 and they want to have finished the migration in 2005/2006 :)Quote:
Originally Posted by Styno
But indeed, Asia is the major IPv6 drive.
But what is now with the Asus AP?
Can somebody compile IPv6 Modules for it?
I just got this AP a couple of days and I'm just starting out with custom firmware stuff, but one of the things I really want to do is adding IPv6 support so I can replace the PC-based router I'm using atm with a nice silent box :)
Any successes (or failures) I'll post here...
I just made some success with IPv6 today.
The kernel has IPv6 support and does some autoconfiguration on the interfaces.
The userland tools however have no support at all, so that's what I'm going to look at next.
And of course radvd needs to be in there, since it's quite usefull for IPv6. I'll keep you up to date!
OT: the chupa.nl server has real ipv6 addresses since a few weeks(thus no tunneling shit)Quote:
Originally Posted by Exirion
so migration has started in holland as well
Then it would be nice if AAAA records are being added in DNS for www.chupa.nl ;)Quote:
Originally Posted by Antiloop
will be done in the near futureQuote:
Originally Posted by phedny
I've been trying to make the userland configuration tools understand IPv6 (like ifconfig, ip from iproute2). But thing keep giving segmentation faults, and I guess the uClibc from ASUS is compiled without IPv6 support (not strange as-is, since the device doesn't have out-of-the-box IPv6 support), so to make it work, uClibc needs to be recompiled, which I'll be doing soon.Quote:
Originally Posted by phedny
phednyQuote:
Originally Posted by phedny
are you able to visit www.chupa.nl or chupa.nl through ipv6 ? (wl500g.info is not added as AAAA record yet)
I don't have IPv6 available @ home..
I do get contact, but I don't see the site.Code:<font face=arial size=2>
Momenteel zijn er problemen met de server of website welke u probeert te bereiken.<BR>
Probeert u het later nogmaals.<BR>
To confirm it's IPv6, I checked the site through IPv4 and then it's working.
Anyway, I am able to contact an Apache 2.0.50 server at port [2001:1be8:3::2]:80, so you might wanna check the webserver configuration.
ok.. then I'm using the wrong IPv6 address ;)Quote:
Originally Posted by phedny
because that is the backupserver
Quote:
Originally Posted by phedny
Hi phendy
What time do you need to compile a working ipv6 fimeware??
I would test it ;)
I found this too; I downloaded the source to uClibc and recompiled it with IPv6 support and it all started working ok. The only issue I had remaining was that the wl binary for tweaking the wireless parameters stopped working; I knocked up a quick hack that just sets the parameters I need though.Quote:
Originally Posted by phedny
Hello WLanMan,Quote:
Originally Posted by WlanMan
sorry for the long time it took to reply...
Well, yes, a subnet, native ipv6. It'll cost you a bit though. Namely, getting the service natively is often still experimental and only mostly offered to business clients and clients with bigger ADSL packages and so on...
Indeed, nobody needs ipv6 for home, that's why its taking so long to migrate... <annoyed>Its stubborn mofo's like you that make the migration take longer</annoyed> :pQuote:
Originally Posted by WlanMan
Regards, Conrado ;)
Well, it should not take too much time, but I have been busy for the last couple of weeks. I cannot say anything when any version could be available, but I'll inform you on this forum ;)Quote:
Originally Posted by Holli
Phedny, please test the bitch for me ;)Quote:
Originally Posted by phedny
i've added all stuff from chupa as AAAA records,
and if I haven't made any mistake it should be accessible by now via hostname (but still can't test.. is there no page around which can do the trick for me? )
http://wl500g.info
He AntiloopQuote:
Originally Posted by Antiloop
I`m not Phendy, but I test the IPv6 connection to the forum.
And it works. You can see it in your log`s!!
You can try http://ipv4gate.sixxs.net/ and http://www.ipv6tools.com/ :)Quote:
Originally Posted by Antiloop
tx for testing! seems to work.. although forum software does not really seem to like it.. but have to verify thatQuote:
Originally Posted by Holli
After a busy period and a nice holiday, I'll now take some time to finish the IPv6 project :)
If correct, this post is done by IPv6. And about the forum software: don't worry, AFAIK no forum likes IPv6.
Anyway, I got to borrow another WL-500g, which I can use for testing, so my development time isn't limited anymore to the moment that I'm home alone :)
What I want to do is make IPv6 available to the software in a more or less clean way. So instead of recompiling the uClibC, which would break some binaries, as Noodles found out, I'll try adding an additional library with the IPv6-stuff, which all IPv6-aware programs could link against.
It took some time... but at home I've got an access point running with IPv6 :cool:
What works:
- IPv6 support in kernel
- IPv6 support for busybox and iproute2
These together could turn your WL-500g into an IPv6 router.
What still has to be done:
- Router Advertisement Daemon
- Extend the web pages for easy configuration
At this time I have a firmware file which works for me:
http://www.phedny.net/dl/WL500g-1.9.2.7-3b-ipv6.trx
I'll publish a patch for the source code today or tomorrow, so more people can work on it...
He phendy
Perfect work!!
Update no probs!
Here a short help to setup ipv6.
Login to the AP via telnet or ssh. Then enable forwarding ( echo 1 > /proc/sys/net/ipv6/conf/all/forwarding ). Then setup the addresse.
Have the broadcom source unpacked, with the wl500g patch (and a working addver :rolleyes: )
Then untar the following file into the broadcom directory:
http://www.phedny.net/dl/broadcom.ipv6.tar.bz2
Now you should be able to run make in the gateway directory and get an IPv6-ready firmware.
By the way, I'm using custom firmware version 1.9.2.7-3b, don't know what happens when trying another version, but just to mention it ;)
Also, the source should be cleaned up a little, as disabling IPv6 would not really work at the moment and I'd like to make it a menu option (for the 'make menuconfig' command).
Hope I included all necessary files, but if there are problems, tell me so I'll check whether I forgot somehing. (Don't have enough free drive space to unpack another source tree to run a diff).
New firmware: http://www.phedny.net/dl/WL500g-1.9.2.7-3b-ipv6.trx
Added a configuration page to the web interface (in the IP Config menu).
The LAN and WAN sections are operational and the IPv6 addresses are assigned when booting the device. Next I'm going to work on the tunnel section (which enables a sit tunnel to an IPv6 PoP for world-wide access) and to allow configuration of a default gateway on the WAN side.
Also IPv6 forwarding is now automatically enabled.
By the way, if you're lucky you might be able to IPv6-ping my WL-500g (it's will not be available all the time, because of development ;) ). The address is: 2001:838:3ca::5
Updated http://www.phedny.net/dl/broadcom.ipv6.tar.bz2
It now included the modifications to the web interface and configs IPv6 on system boot.
These files are included:
src/linux/linux/.config
Include IPv6 and multicasting support into kernel
src/gateway/rc/Makefile
src/gateway/rc/network.c
Setup IPv6 on boot (LAN + WAN). Updated the Makefile so IPv6 can be enabled at compile-time
src/gateway/www/asus/web_asus_en/index.asp
src/gateway/www/asus/web_asus_en/Custom_IPV6_Content.asp
Include the IPv6 page in the menu and the config page itself
src/gateway/Makefile
src/gateway/config/Config
Added IPv6 as compile option
src/gateway/httpd/Makefile
src/gateway/httpd/variables.c
Update to the HTTP application, to recognise the new nvram-options
src/gateway/iproute2/Makefile
Adding the IPv6-library to iproute2
src/gateway/busybox/Makefile
src/gateway/busybox/.config
Adding the IPv6-library to busybox (for ifconfig)
src/gateway/ipv6/Makefile
src/gateway/ipv6/ipv6.c
IPv6-library, which statically overrides some uClibC functions when linked to programs
The IPv6-library is mostly used for overriding the inet_pton(), inet_ntop() and getaddressinfo() functions, which copied from the uClibC source. Since the ASUS uClibC is compiled without IPv6 support, and recompiling it would break the compatibility with binaries like the wl-tool, I kind-of 'hacked' this library to make those apps work.
I'd like some feedback, about whether things work or don't work.
btw, the web page has a little styling problem and I've not been able to find the problem... it must be just a little thing being wrong.
Next TODO: radvd for advertising the router to the LAN
Stupid me, didn't even notice the ability to attach files :)
Anyway, today I finished a new firmware, including radvd support. Enabling radvd can be done via de IPv6 web page, and the configuration file should be created automatically on boot. When you encounter problems, please notify me so I can look at it.
I attached the source patch as a .tar.bz2, which can be extracted to the /root/broadcom dir.
I also placed a firmware file online, which can be downloaded from http://www.p-bierman.nl/~phedny/WL50....7-3b+ipv6.trx
Soon I'll write an IPv6-HOWTO, which should help you request and configure an IPv6-range for your LAN. I'll include info on requesting a tunnel to a PoP, configuring a WL-500g router and setting up systems in your LAN to allow IPv6.
DO NOT DOWNLOAD, PROBLEM WITH FIRMWARE