Qualcuno può darmi delucidazioni riguardo il significato e l'uso di
wan_br_mac?!?
Nel log del D-Link
DSL-504T V3.02B01T01.RU.20071221:
Jan 1 12:00:14> ip_nat_pptp version 1.5 loaded
Jan 1 12:00:14> (c)2000 Netfilter core team
Jan 1 12:00:14> netfilter PSD loaded - (c) astaro AG
Jan 1 12:00:14> Initializing the WAN Bridge.
Jan 1 12:00:14>
Please set the MAC Address for the WAN Bridge.
Jan 1 12:00:14>
Set the Environment variable 'wan_br_mac'.
Jan 1 12:00:14>
xx.xx.xx.xx.xx.xxHo trovato una impostazione della variabile in un log nell'ultima pagina di questo manuale:
http://mcmcc.bat.ru/dlinkt/acorp-russia/ar7_dsp72_feature_control.pdf:
quindi ho impostato da Telnet:
echo wan_br_mac 00.01.02.03.04.05 > /proc/ticfg/env
e il risultato è questo:
Jan 1 12:00:14>
Init the gre conntrack!Jan 1 12:00:14>
Init the gre nat!Jan 1 12:00:14>
ip_conntrack_pptp version 1.9 loadedJan 1 12:00:14> ip_nat_pptp version 1.5 loaded
Jan 1 12:00:14> (c)2000 Netfilter core team
Jan 1 12:00:14> netfilter PSD loaded - (c) astaro AG
Jan 1 12:00:14> Initializing the WAN Bridge.
Di seguito i log completi.
wan_br_mac non impostata:
Jan 1 12:00:12> NTP Polling Timer for DHCP Started succesfully.
Jan 1 12:00:12> DSL Polling Timer Started succesfully.
Jan 1 12:00:12> Firewall NAT service started
Jan 1 12:00:13> starting on port 80
Jan 1 12:00:14> ip_nat_pptp version 1.5 loaded
Jan 1 12:00:14> (c)2000 Netfilter core team
Jan 1 12:00:14> netfilter PSD loaded - (c) astaro AG
Jan 1 12:00:14> Initializing the WAN Bridge.
Jan 1 12:00:14> Please set the MAC Address for the WAN Bridge.
Jan 1 12:00:14> Set the Environment variable 'wan_br_mac'.
Jan 1 12:00:14> xx.xx.xx.xx.xx.xx
Jan 1 12:00:14> Mounted root (squashfs filesystem) readonly.
Jan 1 12:00:14> Mounted devfs on /dev
Jan 1 12:00:14> 64k freed
Jan 1 12:00:14> Algorithmics/MIPS FPU Emulator v1.5
Jan 1 12:00:14> registered device TI Avalanche SAR
Jan 1 12:00:14> Sangam detected
Jan 1 12:00:14> DSP binary filesize = 385738 bytes
Jan 1 12:00:14> Setting mode to 0xffff
Jan 1 12:00:14> version:[7.03.01.00]
Jan 1 12:00:14> Setting mode to 0xffff
Jan 1 12:00:14> Default Asymmetric MTU for nas0 1500
Jan 1 12:00:14> Registering protocol inspector: 0x94171878 for VCC:0x9425ca00
Jan 1 12:00:14> Default Asymmetric MTU for br0 1500
Jan 1 12:00:14> Bridge Created: br0
Jan 1 12:00:14> 2
Jan 1 12:00:14> Bridge Created: br1
Jan 1 12:00:15> Bridge Interface Added: eth0
Jan 1 12:00:16> Default Asymmetric MTU for br1 1500
Jan 1 12:00:16> 2
Jan 1 12:00:22> DSL Carrier is down
Jan 1 12:00:26> DSL in Sync
Jan 1 12:00:32> DSL Carrier is up
Jan 1 12:00:33> sar read trained mode (1)(ADSL_G.dmt)
Jan 1 12:00:33> pppd 2.4.3 started by root, uid 0
Jan 1 12:00:34> Connect: ppp0 {--} nas0
Jan 1 12:00:34> PAP authentication succeeded
Jan 1 12:00:34> peer from calling number 00:90:1A:41:45:FA authorized
Jan 1 12:00:34> ppp0
Jan 1 12:00:34> WAN IP address 87.11.254.240
Jan 1 12:00:34> WAN gateway 192.168.100.1
Jan 1 12:00:34> primary DNS address 85.37.17.58
Jan 1 12:00:34> secondary DNS address 85.38.28.94
Jan 1 12:00:34> PPPoE Connect with IP Address 87.11.254.240
Jan 1 12:00:35> PPPoE Connection Successfully Established
Jan 1 12:00:35> PPPoE Connect with Gateway IP Address: 192.168.100.1wan_br_mac impostata a 00.01.02.03.04.05
Jan 1 12:00:12> NTP Polling Timer for DHCP Started succesfully.
Jan 1 12:00:12> DSL Polling Timer Started succesfully.
Jan 1 12:00:12> Firewall NAT service started
Jan 1 12:00:13> starting on port 80
Jan 1 12:00:14> Init the gre conntrack!
Jan 1 12:00:14> Init the gre nat!
Jan 1 12:00:14> ip_conntrack_pptp version 1.9 loaded
Jan 1 12:00:14> ip_nat_pptp version 1.5 loaded
Jan 1 12:00:14> (c)2000 Netfilter core team
Jan 1 12:00:14> netfilter PSD loaded - (c) astaro AG
Jan 1 12:00:14> Initializing the WAN Bridge.
Jan 1 12:00:14> Mounted root (squashfs filesystem) readonly.
Jan 1 12:00:14> Mounted devfs on /dev
Jan 1 12:00:14> 64k freed
Jan 1 12:00:14> Algorithmics/MIPS FPU Emulator v1.5
Jan 1 12:00:14> registered device TI Avalanche SAR
Jan 1 12:00:14> Sangam detected
Jan 1 12:00:14> DSP binary filesize = 385738 bytes
Jan 1 12:00:14> Setting mode to 0xffff
Jan 1 12:00:14> version:[7.03.01.00]
Jan 1 12:00:14> Setting mode to 0xffff
Jan 1 12:00:14> Default Asymmetric MTU for nas0 1500
Jan 1 12:00:14> Registering protocol inspector: 0x94171878 for VCC:0x9425ca00
Jan 1 12:00:14> Default Asymmetric MTU for br0 1500
Jan 1 12:00:14> Bridge Created: br0
Jan 1 12:00:14> 2
Jan 1 12:00:14> Bridge Created: br1
Jan 1 12:00:15> Bridge Interface Added: eth0
Jan 1 12:00:16> Default Asymmetric MTU for br1 1500
Jan 1 12:00:16> 2
Jan 1 12:00:22> DSL Carrier is down
Jan 1 12:00:26> DSL in Sync
Jan 1 12:00:32> DSL Carrier is up
Jan 1 12:00:33> sar read trained mode (1)(ADSL_G.dmt)
Jan 1 12:00:33> pppd 2.4.3 started by root, uid 0
Jan 1 12:00:34> Connect: ppp0 {--} nas0
Jan 1 12:00:34> PAP authentication succeeded
Jan 1 12:00:34> peer from calling number 00:90:1A:41:45:FA authorized
Jan 1 12:00:34> WAN IP address 87.11.14.182
Jan 1 12:00:34> WAN gateway 192.168.100.1
Jan 1 12:00:34> primary DNS address 85.37.17.58
Jan 1 12:00:34> secondary DNS address 85.38.28.94
Jan 1 12:00:34> ppp0
Jan 1 12:00:34> PPPoE Connect with IP Address 87.11.14.182
Jan 1 12:00:35> PPPoE Connection Successfully Established
Jan 1 12:00:35> PPPoE Connect with Gateway IP Address: 192.168.100.1