我最终设法在我的 BT Home Hub 3A 上获取 LEDE,但无法将其连接到互联网。
我正在从 Utility Warehouse 发行的路由器(Technicolor TG589vac)转移,每个在线服务都告诉我我的 ISP 是 TISCALI。
这是我上一个路由器的 /etc/config/network:
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 default_ps '0'
config interface 'lan'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option force_link '0'
option igmp_snooping '1'
option ipv6 '0'
option ip6assign '64'
list ifname 'vlan_eth0'
list ifname 'vlan_eth1'
list ifname 'vlan_eth2'
list ifname 'vlan_eth3'
option ipaddr '192.168.1.2'
config device 'eth0'
option mtu '1500'
option name 'eth0'
config device 'eth1'
option mtu '1500'
option name 'eth1'
config device 'eth2'
option mtu '1500'
option name 'eth2'
config device 'eth3'
option mtu '1500'
option name 'eth3'
config device 'vlan_eth0'
option type '8021q'
option ifname 'eth0'
option name 'vlan_eth0'
option mtu '1500'
option vid '1'
config device 'vlan_eth1'
option type '8021q'
option ifname 'eth1'
option name 'vlan_eth1'
option mtu '1500'
option vid '1'
config device 'vlan_eth2'
option type '8021q'
option ifname 'eth2'
option name 'vlan_eth2'
option mtu '1500'
option vid '1'
config device 'vlan_eth3'
option type '8021q'
option ifname 'eth3'
option name 'vlan_eth3'
option mtu '1500'
option vid '1'
config switch 'bcmsw'
option reset '1'
option type 'bcmsw'
option qosimppauseenable '0'
option unit '1'
option enable_vlan '1'
option jumbo '1'
config switch_vlan 'lan_switch'
option device 'bcmsw'
option vlan '1'
option ports '1* 2* 3* 4* 8t'
config interface 'wan'
option reqopts '1 3 6 15 33 42 51 121 249'
option vendorid 'Technicolor'
option graceful_restart '1'
option authfail '0'
option mtu '1500'
option ipv6 '0'
option ifname 'atm0'
option vci '38'
option username '[email protected]'
option password
option proto 'pppoa'
option keepalive '5,10'
option vpi '0'
option auto '1'
config interface 'bt_iptv'
option ifname 'wan_vlan'
option proto 'static'
option ipaddr '169.254.10.1'
option netmask '255.255.255.255'
option auto '0'
config device 'eth4'
option mtu '1500'
option name 'eth4'
config device 'ptm0'
option mtu '1508'
option name 'ptm0'
config device 'vlan_wan'
option type '8021q'
option ifname 'ptm0'
option mtu '1508'
option name 'wan_vlan'
option vid '101'
config interface 'wwan'
option auto '0'
config interface 'wan6'
option ifname '@wan'
option proto 'dhcpv6'
option reqopts '12 21 22 23 24 25 31 56 64 67 82 83'
option noslaaconly '1'
config config 'config'
option wan_mode 'pppoa'
下面是我用于“新”路由器(运行 LEDE 并希望将其连接到互联网的路由器):
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 'fd8b:85df:b50b::/48'
config atm-bridge 'atm'
option vpi '1'
option vci '32'
option encaps 'llc'
option payload 'bridged'
config dsl 'dsl'
option annex 'a'
option firmware '/lib/firmware/adsl.bin'
config adsl-device 'adsl'
option fwannex 'a'
option annex 'a'
config interface 'lan'
option type 'bridge'
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config device 'lan_dev'
option name 'eth0'
option macaddr '00:e0:92:00:01:40'
config interface 'wan'
option reqopts '1 3 6 15 33 42 51 121 249'
option vendorid 'Technicolor'
option mtu '1500'
option _orig_ifname 'nas0'
option _orig_bridge 'false'
option graceful_restart '1'
option authfail '0'
option ifname 'atm0'
option proto 'pppoa'
option atmdev '0'
option vci '38'
option vpi '0'
option username '[email protected]'
option ipv6 'auto'
option encaps 'llc'
option keepalive '5 10'
config device 'wan_dev'
option name 'nas0'
option macaddr '00:e0:92:00:01:41'
config interface 'wan6'
option ifname 'pppoe-wan'
option proto 'dhcpv6'
答案1
我的旧路由器的 SSH 一定是模糊了密码/对我隐藏了密码,因为要使用与旧路由器相同的 dsl 电缆将我的新路由器连接到互联网,我所要做的就是在 LEDE 上的 PPPoA 设置中设置 ISP 颁发的用户名和密码。
但是,即使有了这个 LEDE,出于某种原因,界面仍然显示为红色(而不是绿色,我认为绿色意味着“一切正常”),这让我一开始感到很困惑,但这并不重要,因为我可以访问互联网,而且其他一切似乎都没有问题。