Technicolor TG582N

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
picoman
Posts: 5
Joined: Tue Dec 20, 2016 7:22 pm

Technicolor TG582N

Post by picoman »

Hi All
I've just installed OpenWRT on my Plusnet supplied TG582N router.
All seems fine except the configuration is not at all user friendly.
I've looked for a better GUI than luCI and found this site.
Unfortunately, the TG582N (BCM63281) does not appear to be supported :(

As this router can run OpenWRT I wondered if Gargoyle could be made to work too? If so,any idea of the timescale?
Many Thanks

Pico

Lantis
Moderator
Posts: 7083
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia
Contact:

Re: Technicolor TG582N

Post by Lantis »

A version could be compiled and booted on it, however the modem would be unsupported.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog

picoman
Posts: 5
Joined: Tue Dec 20, 2016 7:22 pm

Re: Technicolor TG582N

Post by picoman »

When you say "modem would be unsupported" do you mean an integrated combined modem or any external one?

I have Plusnet FTTC and a separate Openreach modem.
In its native mode it connected fine with the external modem.
Now with OpenWRT I'm having difficulty getting the configuration correct to connect to WAN and am getting.

Code: Select all

Timeout waiting for PADO packets 
Unable to complete PPPoE Discovery
I think my
"config interface 'wan' "
and /or
"config switch vlan"

settings may be incorrect and I'm looking for a more user friendly GUI to help be set it up.

picoman
Posts: 5
Joined: Tue Dec 20, 2016 7:22 pm

Re: Technicolor TG582N

Post by picoman »

Well after a bit of trial and error I eventually got connected to the internet myself. I had to setup an additional vlan with the wan port in it.
For anyone else having similar troubles this is my working network settings file with sensitive data xxx'ed for TG582N with OpenWRT on Plusnet (UK) ISP. DNS servers are optional.

Code: Select all

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 ifname 'eth0.1'
	option force_link '1'
	option type 'bridge'
	option proto 'static'
	option ipaddr '192.168.0.xxx'
	option netmask '255.255.255.0'
	option ip6assign '60'
	option dns '212.159.6.10 212.159.6.9'

config interface 'wan'
	option ifname 'eth0.2'
	option _orig_ifname 'eth0'
	option _orig_bridge 'false'
	option proto 'pppoe'
	option username 'xxxxxxxx@plusdsl.net'
	option password 'xxxxxxxx'
	option mtu '1500'

config globals 'globals'
	option ula_prefix 'fd5c:27c2:de6b::/48'

config switch
	option name 'eth0'
	option reset '1'
	option enable_vlan '1'

config switch
	option name 'eth0'
	option reset '1'
	option enable_vlan '2'

config switch_vlan
	option device 'eth0'
	option vlan '1'
	option ports '0 1 2 3 8t'

config switch_vlan
	option device 'eth0'
	option vlan '2'
	option ports '0 8t'
I'm still looking forward to a Gargoyle version if possible. :)

Lantis
Moderator
Posts: 7083
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia
Contact:

Re: Technicolor TG582N

Post by Lantis »

The internal modem would not function.

I won't have time to look at this until after Christmas (if at all).

All of the instructions required to create a firmware are in the documentation and the forum. I'd be happy to help clarify any of that if/when you got stuck.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog

picoman
Posts: 5
Joined: Tue Dec 20, 2016 7:22 pm

Re: Technicolor TG582N

Post by picoman »

Well I finally got around at trying to compile Gargoyle for BCM63xx.
As there is no target folder for BCM63xx I've been attempting what "succo" describes here:-

viewtopic.php?f=5&t=1676&p=7546&hilit=brcm63xx#p7546

I'm using Ubuntu 14.04 on a 32 bit machine.

First of all, a number of the repository links are no longer working but I was able to find and manually install the required dependencies.
Next I found I had to use a custom build to enable eglibc instead of uglibc.

All seemed to be progressing nicely for a few hours until I got this

Code: Select all

/home/picoman/TG582N/gargoyle/custom-src/staging_dir/toolchain-mips_mips32_gcc-4.8-linaro_glibc-2.19/lib/gcc/mips-openwrt-linux-gnu/4.8.3/../../../../mips-openwrt-linux-gnu/bin/ld: cannot find -lnsl
collect2: error: ld returned 1 exit status
make[5]: *** [shared/libwrap.so.0.7.6] Error 1
make[5]: Leaving directory `/home/picoman/TG582N/gargoyle/custom-src/build_dir/target-mips_mips32_glibc-2.19/tcp_wrappers_7.6'
make[4]: *** [/home/picoman/TG582N/gargoyle/custom-src/build_dir/target-mips_mips32_glibc-2.19/tcp_wrappers_7.6/.built] Error 2
make[4]: Leaving directory `/home/picoman/TG582N/gargoyle/custom-src/package/tcp_wrappers'
make[3]: *** [package/tcp_wrappers/compile] Error 2
make[3]: Leaving directory `/home/picoman/TG582N/gargoyle/custom-src'
make[2]: *** [/home/picoman/TG582N/gargoyle/custom-src/staging_dir/target-mips_mips32_glibc-2.19/stamp/.package_compile] Error 2
make[2]: Leaving directory `/home/picoman/TG582N/gargoyle/custom-src'
make[1]: *** [world] Error 2
make[1]: Leaving directory `/home/picoman/TG582N/gargoyle/custom-src'
I am a novice when it comes to compiling in Linux.
How can I proceed?

TIA
Pico

picoman
Posts: 5
Joined: Tue Dec 20, 2016 7:22 pm

Re: Technicolor TG582N

Post by picoman »

Well I made changes in the menuconfig of the custom build and eventually I got a successful image built.
Unfortunately it is too big for the TG582N flash.

Size: 10.06 MB (7.88 MB available)

How can I build a smaller image? What modules can be safely removed?
Do I have to compile again from scratch or can I pick and choose from the ipk packages already compiled? If so, how do I merge them into a working image?
TIA

Lantis
Moderator
Posts: 7083
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia
Contact:

Re: Technicolor TG582N

Post by Lantis »

If you modify the config to include less packages, and then issue a "make", it will do a rebuild, which is much faster than a full build.
Say 30 minutes vs 4 hours in my experience.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog

Post Reply