nproduction e 12 Visitatori stanno visualizzando questo topic.
return { { name = "dhcp", default = true, description = "DHCP routed mode", view = "internet-dhcp-routed.lp", card = "003_internet_dhcp_routed.lp", check = { { "[email protected]", "^dhcp$"}, }, operations = { { "[email protected]", "dhcp"}, }, }, { name = "pppoe", default = false, description = "PPPoE routed mode", view = "internet-pppoe-routed.lp", card = "003_internet_pppoe_routed.lp", check = { { "[email protected]", "^pppoe$"}, }, operations = { { "[email protected]", "pppoe"}, }, }, { name = "pppoa", default = false, description = "PPPoA routed mode", view = "internet-pppoa-routed.lp", card = "003_internet_pppoe_routed.lp", check = { { "[email protected]", "^pppoa$"}, }, operations = { { "[email protected]", "pppoa"}, }, }, { name = "static", default = false, description = "Fixed IP mode", view = "internet-static-routed.lp", card = "003_internet_static_routed.lp", check = { { "[email protected]", "^static$"}, }, operations = { { "[email protected]", "static"}, }, }, { name = "bridge", default = false, description = "Bridge mode", view = "internet-bridged.lp", card = "003_internet_bridged.lp", check = { { "[email protected]", "^bridge$"}, { "uci.wansensing.global.enable", "^1$"}, }, operations = { { "[email protected]", "bridge"}, }, },}
per quelli che usano come me la GUI TIM unlocked, avete notato che manca la modalità bridge, l'amico eclp sul forum Kitz a trovato come a ha fatto Ansuel.basta inserire alla fine poche righe di codice nel file /www/internetmode_helper.lua :il file deve essere cosi :Codice: [Seleziona]return { { name = "dhcp", default = true, description = "DHCP routed mode", view = "internet-dhcp-routed.lp", card = "003_internet_dhcp_routed.lp", check = { { "[email protected]", "^dhcp$"}, }, operations = { { "[email protected]", "dhcp"}, }, }, { name = "pppoe", default = false, description = "PPPoE routed mode", view = "internet-pppoe-routed.lp", card = "003_internet_pppoe_routed.lp", check = { { "[email protected]", "^pppoe$"}, }, operations = { { "[email protected]", "pppoe"}, }, }, { name = "pppoa", default = false, description = "PPPoA routed mode", view = "internet-pppoa-routed.lp", card = "003_internet_pppoe_routed.lp", check = { { "[email protected]", "^pppoa$"}, }, operations = { { "[email protected]", "pppoa"}, }, }, { name = "static", default = false, description = "Fixed IP mode", view = "internet-static-routed.lp", card = "003_internet_static_routed.lp", check = { { "[email protected]", "^static$"}, }, operations = { { "[email protected]", "static"}, }, }, { name = "bridge", default = false, description = "Bridge mode", view = "internet-bridged.lp", card = "003_internet_bridged.lp", check = { { "[email protected]", "^bridge$"}, { "uci.wansensing.global.enable", "^1$"}, }, operations = { { "[email protected]", "bridge"}, }, },}Quando hai modificato il file, fare un :/etc/init.d/transformer restart/etc/init.d/nginx restartALL CREDITS TO eclp
Grazie @shdf !Un'unica annotazione: il percorso del file da modificare dovrebbe essere/www/lua/internetmode_helper.lua
quick_scan=0non_dfs_fallback=0#channel_noise_threshold=40#channel_score_threshold=25#Profile: BGNoise Intf_th BSS_w Busy Intf_w Intf_a_w FCS_w TXPow_w BGNoise_w profile.0= 0 100 -100 0 0 0 0 0 0 #profile.1= -65 40 -1 0 -100 -1 0 -5 0 #profile.2= -65 40 -1 -100 -100 -1 0 -5 -100 #profile.3= -65 40 -1 -100 -100 -1 -100 -5 -100 #profile.4= 0 40 -10 0 -100 -100 0 0 0 #profile.5= -70 45 -1 -50 -100 -10 -10 -5 -50 #profile.6= 0 40 -100 0 0 0 0 0 0