Open ulfhermann opened 4 years ago
Can you please make a pull request for that? :)
@ulfhermann could you paste here your /etc/config/network
.
I managed to get internet (1und1 vdsl) in the router but my PC connected via LAN has no internet so something with interfaces is messed up.
Here you go. It might not be an optimal solution. I don't understand all of it. This is for easybell, without VDSL. For VDSL you need some other settings in the "dsl" and maybe the "wan" section. I have no way to figure that out, though.
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 'fd97:e9d2:958b::/48'
config atm-bridge 'atm'
option vpi '1'
option vci '32'
option encaps 'llc'
option payload 'bridged'
option nameprefix 'dsl'
config dsl 'dsl'
option annex 'j'
option tone 'bv'
option firmware '/lib/fw.bin'
config interface 'lan'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
list ifname 'eth0.1'
list ifname 'eth0.66'
config device 'lan_dev'
option name 'eth0.1'
option macaddr '18:83:bf:1a:f6:fa'
config interface 'wan'
option ifname 'dsl0'
option proto 'pppoe'
option username 'xxxxxxxxxxxxxxxxxx'
option password 'xxxxxxxxx'
option ipv6 '0'
option delegate '0'
option keepalive '0'
config device 'wan_dev'
option name 'dsl0'
option macaddr '18:83:bf:1a:f6:fb'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 6t'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '4 6t'
config switch
option name 'switch1'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch1'
option vlan '1'
option ports '0 1 2 3 6t'
config device 'inic_dev'
option name 'eth0.3'
config interface 'inic'
option proto 'none'
option ifname 'eth0.3'
config switch_vlan
option device 'switch0'
option vlan '3'
option vid '3'
option fid '3'
option ports '5 6t'
config device 'wlan_dev'
option name 'eth0.66'
config device 'guest_wlan_dev'
option name 'eth0.71'
config switch_vlan
option device 'switch0'
option vlan '4'
option vid '66'
option fid '4'
option ports '5t 6t'
config switch_vlan
option device 'switch0'
option vlan '5'
option vid '71'
option fid '5'
option ports '5t 6t'
config switch_vlan
option device 'switch0'
option vlan '7'
option ports '4t'
option vid '7'
Yeah, mine looks completely identical:
config dsl 'dsl'
option annex 'j'
option tone 'bv'
option firmware '/lib/fw.bin'
config interface 'wan'
option ifname 'dsl0'
option proto 'pppoe'
option username 'xxxxxxxxxxxxxxxxxx'
option password 'xxxxxxxxx'
option ipv6 '0'
option delegate '0'
option keepalive '0' # the only difference
config device 'wan_dev'
option name 'dsl0'
option macaddr '......'
...
I used the trick with using my 2nd router for xDSL and connecting it with easy box through DSL(WAN) port to get Internet on my PC and the OpenWRT router so I can easier debug.
Actually today is my last day of the contract with 1und1 and from now on Deutsche Telekom will be mine provider so I reverted back to opened Vodafone firmware and will try with MIC settings because OpenWRT at least for the time being seemed not so stable.
Thanks for help!
The only setting I didn't try is in guide for Example VDSL configuration for Lantiq based devices:
.
Did wifi work on openwrt? on my xdsl varian (Hardware R02) there was no wifi option :-/
i would like to turn it into an accesspoint with dhcp nothing more but there are no guides that work :-/
How can i bring up the wifi interface on the 904 easy box when i have openwrt?
Did wifi work on openwrt? on my xdsl varian (Hardware R02) there was no wifi option :-/
i would like to turn it into an accesspoint with dhcp nothing more but there are no guides that work :-/
How can i bring up the wifi interface on the 904 easy box when i have openwrt?
Check this https://openwrt.org/docs/guide-user/network/wifi/basic
As further addition: Wifi works in AP but not in STA mode (you cannot connect to an existing network as a client).
The builds I tried had a nearly working sample config file (just disabled). This is how I changed it (using ssh and vi editor):
https://github.com/majuss/easybox904/issues/36#issuecomment-616111955
This might also be useful for you (the linked build works well for me):
https://github.com/majuss/easybox904/issues/17#issuecomment-718136959
In case you really just need an AP (with or without dhcp) you could also just keep the stock firmware. Only downside I noticed: no multicast (-> no iptv). With openwrt you can use the dsl-port as wan or lan.
The guide goes into quite some detail about the network configuration, but it left two rather nasty stumbling blocks for me:
config dsl 'dsl' option annex 'j' option tone 'bv' option firmware '/lib/fw.bin'
It can also be "annex 'b'", for example.
Also, the default network configuration file looks like there is a lot of cargo cult in there that can actually be dropped, but I haven't had the patience to find the useless bits, yet.