56 Posts in 20 Topics by 17 members

IPv6 Capable xDSL Devices

Forum » IPv6 Capable xDSL Devices » OpenWRT Help available

Page: 1 , 2 Go to End
Author Topic: OpenWRT Help available 3165 Views

OpenWRT Help available Link to this post

I've successfully installed OpenWRT backfire 10.03 with IPv6 if anyone needs help setting up post to this thread

note I did this the "OpenWRT" way no generic configuration files, I'm also using wide-dhcpv6-client

EDIT: I've updated my config files because I didn't realize stateless auto-configuration was /64 only

root@Squirrel:~# cat /etc/config/network

config 'interface' 'loopback'
   option 'ifname' 'lo'
   option 'proto' 'static'
   option 'ipaddr' '127.0.0.1'
   option 'netmask' '255.0.0.0'

config 'interface' 'lan'
   option 'type' 'bridge'
   option 'ifname' 'eth0'
   option 'proto' 'static'
   option 'ipaddr' '192.168.1.1'
   option 'netmask' '255.255.255.0'
   option 'nat' '1'

config 'interface' 'wan'
   option 'proto' 'pppoa'
   option 'ifname' 'atm0'
   option 'encaps' 'vc'
   option 'username' '*****@adsl.xnet.co.nz'
   option 'password' '*****'
   option 'vpi' '0'
   option 'vci' '100'
   option 'ipv6' '1'
root@Squirrel:~# cat /etc/config/radvd

# cat /etc/config/radvd
config interface
option interface 'lan'
option AdvSendAdvert 1
option AdvManagedFlag 0
option AdvOtherConfigFlag 0
# option ignore 1

config prefix
option interface 'lan'
# If not specified, a non-link-local prefix of the interface is used
option prefix '::/64'
option AdvOnLink 1
option AdvAutonomous 1
option AdvRouterAddr 0
# option ignore 1

config rdnss
option interface 'lan'
# If not specified, the link-local address of the interface is used
option addr ''
# option ignore 1

root@Squirrel:~# cat /etc/config/dhcp6c
config 'dhcp6c' 'basic'
   option 'enabled' '1'            # 1 = enabled; 0 = disabled
   option 'interface' 'wan'         # This is the interface the DHCPv6 client will run on
   option 'dns' 'dnsmasq'            # Which DNS server you run (only dnsmasq currently supported)
   option 'debug' '1'            # 1 = enable debugging; 0 = disable debugging
   
   # Send options (1 = send; 0 = do not send)
   option 'pd' '1'               # Prefix Delegation
   option 'na' '0'               # Non-Temporary Address
   option 'rapid_commit' '1'         # Rapid Commit
   
   # Request options (1 = request; 0 = do not request)
   option 'domain_name_servers' '1'
   option 'domain_name' '0'
   option 'ntp_servers' '0'
   option 'sip_server_address' '0'
   option 'sip_domain_name' '0'
   option 'nis_server_address' '0'
   option 'nis_domain_name' '0'
   option 'nisp_server_address' '0'
   option 'nisp_domain_name' '0'
   option 'bcmcs_server_address' '0'
   option 'bcmcs_domain_name' '0'
   
   # Script to run when a reply is received
   option 'script' '/usr/bin/dhcp6c-state'

# Define one or more interfaces on which prefixes should be assigned
config 'interface' 'loopback'
   option 'enabled' '0'            # 1 = enabled; 0 = disabled
   option 'sla_id' '0'            # Site level aggregator identifier specified in decimal (subnet)
   option 'sla_len' '8'            # Site level aggregator length (64 - size of prefix being delegated)
                     # e.g. /60 from ISP -> 64 - 60 = 4 I'm not sure what this suppose to be

config 'interface' 'lan'
   option 'enabled' '1'
   option 'sla_id' '1'
   option 'sla_len' '8'

a couple of problems
my ppp0 connection doesn't have a public IPv6 address but IPv6 works
I probably don't have any firewall settings up so all computers on the network are exposed, but I don't really care trying to guess a correct IPv6 address would take years

Re: OpenWRT Help available Link to this post

OK Whoops wrong thread

Re: OpenWRT Help available Link to this post

So you have OpenWRT working native [dual stack] IPv6 with WxC ?

What router is it running on ?

Re: OpenWRT Help available Link to this post

A D-Link 502T Generation II

Re: OpenWRT Help available Link to this post

Did you compile it yourself or used one of the prebuilt images? Looking at http://downloads.openwrt.org/backfire/10.03/ar7/ I wonder which one is the right one for DSL-502T (yes, I've got it too).

Re: OpenWRT Help available Link to this post

Well i first tried the pre built image, I got it working but with no much flash space left, so I build a image with out the Wireless driver that seems to be included by default plus no webUI and all the IPv6 packages I needed, this way all the software is stored in the squashfs partition so there was more space

I've spotted a bug >> https://dev.openwrt.org/ticket/7548

I haven't been able to test it for long because I had to move and now waiting on the land lord to close there internet down so I can move mine over

the image you want is the openwrt-ar7-squashfs.bin, most of it's documented, note that you can't use the web interface uploader to do it, you have to use TFTP

Re: OpenWRT Help available Link to this post

The Wiki instructions are a little inconsistent...

First they seem to talk about mtd4 partition...

Openwrt firmware changes
mtd start end
4 0x90020000 0x903e0000

but a while later do changes to mtd1:

SETENV mtd1,0x90020000,0x903e0000

Which one did you modify? mtd1 as suggested in the command output?

BTW We should take this offline I guess. Can you email me at mludvig@logix.net.nz? Ta

Michal

Re: OpenWRT Help available Link to this post

Whoops that was a typo, all my fault. it was suppose to be mtd1

I would rather keep the chat public so it's documented for others to get things up and running

    3165 Views
Go to Top