OpenWrt Forum Archive

Topic: xDSL with OpenWRT

The content of this topic has been archived on 22 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello,

I am trying to configure the xDSL interface in a OpenWRT router: D-Link DSL-524T

I installed the 10.03.1 version. I read some info in the wiki: http://wiki.openwrt.org/toh/d-link/dsl-524t

Do I need and proprietary firmware to get working the xDSL interface?

In the wiki, there is a "ppp0" interface, but in the router I have this:

# ifconfig 
br-lan    Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX  
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:704 errors:0 dropped:0 overruns:0 frame:0
          TX packets:608 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:55072 (53.7 KiB)  TX bytes:57799 (56.4 KiB)

eth0      Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:704 errors:0 dropped:0 overruns:0 frame:0
          TX packets:608 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:64928 (63.4 KiB)  TX bytes:57799 (56.4 KiB)
          Interrupt:41 

eth1      Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:51 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:10260 (10.0 KiB)
          Interrupt:27 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:768 errors:0 dropped:0 overruns:0 frame:0
          TX packets:768 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:53760 (52.5 KiB)  TX bytes:53760 (52.5 KiB)

I will appreciate any help, thanks and best regards.

zhadoom wrote:

Look here: http://wiki.openwrt.org/inbox/dsl-g604t

At the end of article are config examples for wan and atm-bridge.

Thanks for the link.

I try to configure this way but it doesn't work. I have the "nas0" device.

My xDSL connection has fixed IP, this the configuration that my ISP provide:

Protocol: RFC 1483
VPI/VCI: 8/32
Encapsulation Mode: LLC/SNAP

There is no user/pass.

The problem is that I don't know how to configure the "RFC 1483" protocol in OpenWRT.

Could someone help with this?

Thanks for your help.

Regards.

RFC1483 is know as bridge mode used mostly with pppoe.

In your case since hasn't usename or password I think that the connection is IPoA ( ip over atm ).

config atm-bridge
        option unit     0
        option encaps   llc
        option vpi      8
        option vci      32

config interface wan
        option ifname   nas0
        option proto    dhcp
       
In the first block we define the atm-bridge with vpi/vci parameters and encapsulation mode.
In wan we use nas0 interface and request an ip using dhcp.

The discussion might have continued from here.