Hi there. I thought I would share with you my OpenWrt image. It's been quite stable and there are some fixes which aren't currently in the trunk.
The configuration is setup much like an unlocked HG612 is setup, ie:
Set the router's IP to 192.168.1.2
The modem, by default is set to 192.168.1.1
LAN1 -> WAN port on the router
LAN2 -> LAN port on the router, configured with a gateway to the router so the modem has internet access for OPKG. And of course access to the modem itself via 192.168.1.1.
I've had to make some modifications to get this working, and since the switch driver is still broken there's no VLANs so LAN1 and LAN2 are back to separate ports like you might have seen in previous images. eth0/eth1
Lan2 led has been fixed too.
Graphs: see
this follow up postI've also modified lantiq_dsl.sh with the help of Kronos' additions to it last year, but I've added a few more things.
LuCI's status page has been changed to reflect this.
Nano is preinstalled, too. This image requires no additional configuration. Hopefully I've helped someone who wants to install openwrt on their ECI/r in an HG612-like setup without losing hair.
v1:
openwrt-lantiq-xrx200-VG3503J-squashfs.imagev2:
openwrt-lantiq-xrx200-VG3503J_V2-squashfs.imageRemember the SoC on the ECI /r v1 is labelled "v1.1" and on the v2 it's labelled "v1.2"
Don't put the image for the v2 on a v1 otherwise your ethernet ports won't work effectively leaving you with a bricked unit.
If there's any stats missing, let me know.
Flashing procedure for those who aren't familiar with these modems:
Buy a USB to TTL UART connector. I used one with a CP2102 chip.
Buy a 1mm drillbit
Buy some right angle 0.1" 2.54mm header pins
carefully drill the four serial holes (see this previous post on Kitz) connect the pins to the PCB and dab some flux core solder on the bottom of the pins.
See the above image on how to connect the serial header to RXD, TXD & GND.
If on Linux use something like picocom, eg: $ sudo picocom -b 115200 -l -r /dev/ttyUSB0 115200,cs8,-parenb,cstopb,-hupcl
If on Windows use PuTTY Tray to connect to the serial and enter the following:
Serial line: COM3
Speed: 115200
Connection type: Serial
Click the dropdown at Connection and select Serial.
Databits: 8
Stop bits: 1
Parity: None
Flow control: None
Save your session under something like "UART" for future reference.
Now connect to the serial and connect LAN1 to the ethernet port on your PC.
If using Linux, mkdir /tftpImage, copy your squashfs image into it and setup tftp:
ifconfig eth0 192.168.1.1 netmask 255.255.255.0 up
/usr/sbin/dnsmasq --listen-address="192.168.1.1" \
--no-daemon \
--dhcp-range="192.168.1.100,192.168.1.150,12h" \
--interface="eth0" \
--no-negcache \
--enable-tftp \
--log-queries \
--domain="my.lan" \
--bind-interfaces \
--log-facility=- \
--tftp-root=/tftpImage/,eth0 \
--log-dhcp \
--stop-dns-rebind \
--no-hosts
If using Windows, see: http://tftpd32.jounin.net/
Interrupt the bootloader by pressing CTRL+C
Enter the following commands at the VRx prompt:
set ipaddr 192.168.1.100
set serverip 192.168.1.1
set bootfile openwrt-lantiq-xrx200-VG3503J-squashfs.image
set bootcmd cp.b 0xb0020000 0x80002000 0x400000\; go 0x80002000
set preboot ping 1.1.1.1\;run bootcmd
set update_openwrt erase 0xb0020000 0xb073ffff\;tftp 0x81000000 openwrt-lantiq-xrx200-VG3503J-squashfs.image\;cp.b 0x81000000 0xb0020000 \$(filesize)
saveenv
If your modem is a v2, change:
set bootfile openwrt-lantiq-xrx200-VG3503J-squashfs.image
[.............]
set update_openwrt erase 0xb0020000 0xb073ffff\;tftp 0x81000000 openwrt-lantiq-xrx200-VG3503J-squashfs.image\;cp.b 0x81000000 0xb0020000 \$(filesize)
to
set bootfile openwrt-lantiq-xrx200-VG3503J_V2-squashfs.image
[.............]
set update_openwrt erase 0xb0020000 0xb073ffff\;tftp 0x81000000 openwrt-lantiq-xrx200-VG3503J_V2-squashfs.image\;cp.b 0x81000000 0xb0020000 \$(filesize)
Now run:
run update_openwrt
reset
All should be good.