OpenWRT and Plusnet
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- OpenWRT and Plusnet
OpenWRT and Plusnet
18-06-2017 7:38 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I've installed OpenWRT on my TP-Link W9980 which seems to have gone well except I don't have any internet connection. The modem isn't synced/status is down and there's no green LED. I've set up the basic settings from the admin panel (PPP, username/password) and followed the guide here for a device with a built in modem https://wiki.openwrt.org/doc/howto/internet.connection. The two commands
uci set network.adsl.fwannex='a'
and
uci set network.adsl.annex='a2p'
Both give an 'invalid argument' error.
Does anyone here knew how to get OpenWRT setup for vdsl on Plusnet?
Cheers!
Re: OpenWRT and Plusnet
18-06-2017 9:23 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I've never used the uci commands so not sure exactly how to use them. But the following is the relevant section from my '/etc/config/network' file. If you copy them into yours (overwriting any existing 'dsl' or 'wan' sections) and add your username/password, it should work. Obviously remember to back up the original config file first.
config dsl 'dsl' option annex 'b' option xfer_mode 'ptm' option line_mode 'vdsl' config interface 'wan' option ifname 'ptm0.101' option proto 'pppoe' option username '<username>' option password '<password>' option ipv6 'auto'
Re: OpenWRT and Plusnet
18-06-2017 10:01 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Thanks Krazeh,
I've just changed those settings using uci commands but still have no connection. How do you access the files to edit manually?
Cheers!
Re: OpenWRT and Plusnet
19-06-2017 2:25 PM - edited 19-06-2017 2:44 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
OK, I've figured out how to edit the file and I've applied the settings you gave but i still have no sync. Is there something I'm missing? All I've done so far, is install OpenWRT and made these config changes.
EDIT: The device is a VDSL Modem and Router combo. Is the config you provided for this or for an external modem?
Re: OpenWRT and Plusnet
19-06-2017 5:02 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Can you post the entire contents of your /etc/config/network file? That might point out where something is going wrong.
Re: OpenWRT and Plusnet
19-06-2017 7:28 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Here's the full config file. This is how it was by default with just the wan and dsl interfaces replaced with yours...
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd6e:985a:5989::/48'
config interface 'lan'
option force_link '1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
option ifname 'eth0.1'
option macaddr 'f4:f2:6d:bf:f5:33'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 2 4 5 6t'
config atm-bridge 'atm'
option vci '32'
option encaps 'llc'
option payload 'bridged'
option vpi '8'
config interface 'wan'
option ifname 'ptm0.101'
option proto 'pppoe'
option username 'usernameremoved'
option password 'passwordremoved'
option ipv6 'auto'
config interface 'wan6'
option ifname '@wan'
option proto 'dhcpv6'
config dsl 'dsl'
option annex 'b'
option xfer_mode 'ptm'
option line_mode 'vdsl'
Re: OpenWRT and Plusnet
20-06-2017 8:29 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
@FrazUK for reference here is my configuration file (relevant bits) which does have a few differences compared to yours:
config interface 'wan' option ifname 'ptm0.101' option proto 'pppoe' option username 'USERNAME' option password 'PASSWORD' option ipv6 'auto' option keepalive '5' option auto '1' config vdsl 'dsl' option annex 'b' option firmware '/lib/firmware/vdsl.bin' option tone 'av' option xfer_mode 'ptm'
So looks like the WAN configuration is the same. I can't remember if ATM relates to the VDSL (it's ages since i did this, but I vaguely remember this related to a possible alternative configuration, so guessing it's redundant here).
I haven't specified line_mode, maybe 'vdsl' is the default. And I've explicitly specified the firmware path, not sure if that has a default. I also can't remember where the firmware came from and whether it had to be manually inserted rather than part of the default binary.
So possibly a couple of things to check.
Adam
Re: OpenWRT and Plusnet
20-06-2017 9:09 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
FrazUK, the only difference between your config and mine appears to be that I have a 'wan_dev' section.
config device 'wan_dev' option name 'ptm0' option macaddr '<macaddr>'
Did your original config file have anything similar? You should be able to use
config device 'wan_dev' option name 'ptm0' option macaddr 'f4:f2:6d:bf:f5:34'
Add that in and give it a try.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page