'''If you are looking for a modem this might not be what you are looking for. Although advertised as a modem, it is actually a router with some sort of bridging capabilities.'''

'''If you are looking for a modem this might not be what you are looking for. Although advertised as a modem, it is actually a router with some sort of bridging capabilities.'''

+

+

However, as it based on Linux, if you have console access - it is quite possible to use a few standard Linux commands to disable the NAT firewall, define routes and pass the WAN IP to a single connected router by dhcp.

== Hardware resources ==

== Hardware resources ==

Based on Texas Instruments [[AR7]] architecture it includes a few other chips on board, such as ethernet and ADSL transformers. TI does not provide with much information about the architecture and answers with a "this is for OEM eyes only" when asked for more information.

Based on Texas Instruments [[AR7]] architecture it includes a few other chips on board, such as ethernet and ADSL transformers. TI does not provide with much information about the architecture and answers with a "this is for OEM eyes only" when asked for more information.

* On-board Flash memory: Four MBytes of memory on a single chip from Macronix Incorporated. Its part numbers is MX29LV320ABTC-90G and the chip is labeled as MX E042469 29LV320ABTC-90G 2K085800A1 TAIWAN.

* On-board Flash memory: Four MBytes of memory on a single chip from Macronix Incorporated. Its part numbers is MX29LV320ABTC-90G and the chip is labeled as MX E042469 29LV320ABTC-90G 2K085800A1 TAIWAN.

* Serial ports: Two serial ports. One of them used as system console at 38400,8,N,1. Another unused.

+

* Serial ports: Two serial ports. One of them used as system console at 38400,8,N,1 wired to J1 as described below on this page. Another serial port is present and configured but is unused and looks unwired to any of the pins close to J1.

+

* EJTAG interface: EJTAG v2.6 with 14 pins. (Info from [http://www.epitools.com/pdf/Supported_Products_Guide.pdf epitools debug intefaces and cables]). This is wired to JP1 connector, the fourteen pins port right by leds side.

=== Flash memory addressing ===

=== Flash memory addressing ===

−

This info might prove useless, but not all addresing range available for flash is used.

+

This info might prove useless, but not all addressing range available for flash is used.

Addressing the flash requires the first seven bits to be 1011 000x, the next tree are meaningless and the other 22 bits walk along the full flash chip (2^22 equals 4MB of Flash mem).

1011 000x xxmm mmmm mmmm mmmm mmmm mmmm

1011 000x xxmm mmmm mmmm mmmm mmmm mmmm

Line 107:

Line 114:

usb_prod Linksys RNDIS Network Adapter

usb_prod Linksys RNDIS Network Adapter

connection0 0

connection0 0

−

HWA_0 00:12:17:79:8C:D8

+

HWA_0 00:12:17:79:8C:D8

PROMPT (psbl)

PROMPT (psbl)

#

#

−

=== Console port ===

+

Note the last 6 digits of HWA_0 should be set to the board specific MAC address

+

+

=== Console and JTAG port ===

__________________________________________

__________________________________________

−

| |

+

| J1- Serial Port |

| Pin 4: GND ----> @ |

| Pin 4: GND ----> @ |

| Pin 3: TX ----> @ |

| Pin 3: TX ----> @ |

| Pin 2: RX ----> @ |

| Pin 2: RX ----> @ |

| Pin 1: +3.3 volts ----> @ |

| Pin 1: +3.3 volts ----> @ |

−

| | Front of ADSL2MUE

| |

| |

−

| led

+

| J2 8 pins |

−

| led

+

| JP2 14 pins |

−

| led

+

| |

−

| led

+

| JP1 JTAG |

−

| led

+

| Vcc +3.3V Pin 14,13 |

+

| N/C Pin 12,11 |

+

| GND Pin 10,9 TCK | Front of ADSL2MUE

+

| GND Pin 8,7 TMS |

+

| GND Pin 6,5 TDO |

+

| GND Pin 4,3 TDI |

+

| GND Pin 2,1 TRST |

+

| |

+

| Internet led Green = GPIO 13, Red = GPIO 9

+

| DSL led Green = GPIO 33

+

| USB led GPIO 12

+

| Ethernet led Green = GPIO 15

+

| Power, defaults red in Hardware led Green = GPIO 7

|_________________________________________|

|_________________________________________|

−

The console is located on the same edge that the leds are, that is, front-right side of the board. It is labeled J1 and an arrow points to pin 1 on the left, that is, the closest pin to the leds. Voltage reference is 3.3 volts and it is set by default at 38400,8,N,1. Mine already had a connector soldered just like to ones we usually see on computer boards as CPU/NB fan connector.

+

The console is located on the same edge that the leds are, that is, front-right side of the board. It is labeled J1 and an arrow points to pin 1 on the left, that is, the closest pin to the leds. Voltage reference is 3.3 volts and it is set by default at 38400,8,N,1 (but will revert to 9600,8,N,1 if config mtd3 deleted). Mine already had a connector soldered just like to ones we usually see on computer boards as CPU/NB fan connector.

+

+

Pins 1 to 12 of the [[JTAG]] port are the same as the WRT54G/GS/GL, but for the HairyDairyMaid passive connector to function the link between VCC (Pin 14) and TRST (Pin 1) is required (with a 100 ohm resistor link in cable).

== Software resources ==

== Software resources ==

Line 172:

Line 194:

mtd2: 00010000 00002000 "mtd2"

mtd2: 00010000 00002000 "mtd2"

mtd3: 00010000 00010000 "mtd3"

mtd3: 00010000 00010000 "mtd3"

+

+

=== GPL Violation ===

Partially GPL'd software can be downloaded from the UK office of Linkys at the GPL link show at the [http://www.linksys.com/servlet/Satellite?childpagename=US%2FLayout&packedargs=c%3DL_Content_C1%26cid%3D1115416836002&pagename=Linksys%2FCommon%2FVisitorWrapper Linksys GPL code center].

Partially GPL'd software can be downloaded from the UK office of Linkys at the GPL link show at the [http://www.linksys.com/servlet/Satellite?childpagename=US%2FLayout&packedargs=c%3DL_Content_C1%26cid%3D1115416836002&pagename=Linksys%2FCommon%2FVisitorWrapper Linksys GPL code center].

Line 181:

Line 205:

# Router with PPPoA over the WAN

# Router with PPPoA over the WAN

# Router with PPPoE over the WAN

# Router with PPPoE over the WAN

−

# Router with RFC1483 bridged over the WAN

+

# Router with RFC1483/RFC2684 bridged over the WAN

−

# Bridge with RFC1483 bridged over the WAN

+

# Bridge with RFC1483/RFC2684 bridged over the WAN

All three router modes NAT support is fair enough for outgoing purposes but will not let you do any port forwarding to the inside.

All three router modes NAT support is fair enough for outgoing purposes but will not let you do any port forwarding to the inside.

Line 188:

Line 212:

The only modem capabilities the device shows is called brige mode. This mode interconnects a native ethernet network or an ethernet over USB network with a RFC1484 bridge mode network (ethernet switched over ATM/ADSL).

The only modem capabilities the device shows is called brige mode. This mode interconnects a native ethernet network or an ethernet over USB network with a RFC1484 bridge mode network (ethernet switched over ATM/ADSL).

+

=== Hidden software features ===

+

Oficial firmware includes a comand line interface that allows for a few more modes of operation. The standard web based GUI allows you to configure RFC2684 bridged mode with LLC or VC encapsulation only, but the CLI allows you to configure RFC2684 routed mode also.

+

+

I got into the CLI through the console and after enabling privileges (CLI enable password matches web password - or may be `Admin` with a case sensitive capital A) you can configure the WAN interface as statically managed and set RFC2684 routed as the interface type.

+

+

Keep in mind that this hidden feature allows you to use this piece of hardware as a router connected to a routed mode RFC2684 ATM/DSL connection. Still work needs to be done on OpenWrt AR7 port to let this hardware become the modem it claims to be. An experimental Half-Bridge mode script is now available using the extended Linux environment provide in the Routertech 2.3 3rd party firmware.

+

+

== Command Line Interface (CLI) ==

+

+

*** Note: Firmware released as of before 1/6/2009 contains a massive update that allows many more features through the web front end including port forwarding UPnP and Firewalling (full router capabilities). Logging in by ssh is not so needed now. [[User:Jago25 98|Jago25 98]] 07:32, 3 June 2009 (UTC)jago25_98

+

+

+

You can make this modem act as a router (port forwarding) by using the command line interface.

+

+

Given that adsl2mue modem internal IP address is 192.168.1.254:

+

+

user@linux~$ ssh 192.168.1.254 -l root<br>

+

root@192.168.1.254's password:<br>

+

DSL Modem CLI<br>

+

Copyright (c) 2004 Texas Instruments, Inc.<br>

+

cli> enable<br>

+

Password: **********<br>

+

New priv level = 5<br>

+

cli#<br>

+

+

typing '?' list available options<br>

+

<br>

+

You can configure nat table to redirect HTTP traffic to 192.168.1.3:8080 as it is done above with iptables by typing the following commands:<br>

Latest revision as of 21:32, 5 November 2010

Linksys ADSL2MUE is an ADSL2/2+ capable router/modem based on the Texas Instruments AR7 architecture. Marketed in the United Kingdom, France, Australia and a few other countries not including the United States of America.

If you are looking for a modem this might not be what you are looking for. Although advertised as a modem, it is actually a router with some sort of bridging capabilities.

However, as it based on Linux, if you have console access - it is quite possible to use a few standard Linux commands to disable the NAT firewall, define routes and pass the WAN IP to a single connected router by dhcp.

Hardware resources

Based on Texas Instruments AR7 architecture it includes a few other chips on board, such as ethernet and ADSL transformers. TI does not provide with much information about the architecture and answers with a "this is for OEM eyes only" when asked for more information.

Serial ports: Two serial ports. One of them used as system console at 38400,8,N,1 wired to J1 as described below on this page. Another serial port is present and configured but is unused and looks unwired to any of the pins close to J1.

The console is located on the same edge that the leds are, that is, front-right side of the board. It is labeled J1 and an arrow points to pin 1 on the left, that is, the closest pin to the leds. Voltage reference is 3.3 volts and it is set by default at 38400,8,N,1 (but will revert to 9600,8,N,1 if config mtd3 deleted). Mine already had a connector soldered just like to ones we usually see on computer boards as CPU/NB fan connector.

Pins 1 to 12 of the JTAG port are the same as the WRT54G/GS/GL, but for the HairyDairyMaid passive connector to function the link between VCC (Pin 14) and TRST (Pin 1) is required (with a 100 ohm resistor link in cable).

GPL Violation

Partially GPL'd software can be downloaded from the UK office of Linkys at the GPL link show at the Linksys GPL code center.

As many AR7 based devices do, Linksys ADSL2MUE violates GPL license because only partial sources are released. Visit GPL Violations web site for more information on this.

Software features

With the default oficial firmware this device has four modes of operation:

Router with PPPoA over the WAN

Router with PPPoE over the WAN

Router with RFC1483/RFC2684 bridged over the WAN

Bridge with RFC1483/RFC2684 bridged over the WAN

All three router modes NAT support is fair enough for outgoing purposes but will not let you do any port forwarding to the inside.

The only modem capabilities the device shows is called brige mode. This mode interconnects a native ethernet network or an ethernet over USB network with a RFC1484 bridge mode network (ethernet switched over ATM/ADSL).

Hidden software features

Oficial firmware includes a comand line interface that allows for a few more modes of operation. The standard web based GUI allows you to configure RFC2684 bridged mode with LLC or VC encapsulation only, but the CLI allows you to configure RFC2684 routed mode also.

I got into the CLI through the console and after enabling privileges (CLI enable password matches web password - or may be `Admin` with a case sensitive capital A) you can configure the WAN interface as statically managed and set RFC2684 routed as the interface type.

Keep in mind that this hidden feature allows you to use this piece of hardware as a router connected to a routed mode RFC2684 ATM/DSL connection. Still work needs to be done on OpenWrt AR7 port to let this hardware become the modem it claims to be. An experimental Half-Bridge mode script is now available using the extended Linux environment provide in the Routertech 2.3 3rd party firmware.

Command Line Interface (CLI)

Note: Firmware released as of before 1/6/2009 contains a massive update that allows many more features through the web front end including port forwarding UPnP and Firewalling (full router capabilities). Logging in by ssh is not so needed now. Jago25 98 07:32, 3 June 2009 (UTC)jago25_98

You can make this modem act as a router (port forwarding) by using the command line interface.

apply Apply the current changes to the running system. Does not save the settings to flash
disable Set privilege level to zero
discard Discards any pending changes to the system
enable Change privilege level
exit Quit the CLI
help CLI usage help
logoff Quit the CLI
quit Quit the CLI
reboot Reboots the system.
save Saves any applied changes to flash.
show Show current information