Hi 2 all,
i tried to set the wol g option to the external interface but i have a problem:
1) i modified the ifcfg-eth0 file by hand to enable wol g through the option
ETHTOOL_OPTS="wol g". This modify works only if my external interface is set with a static ip address. On the contrary, if i enable a dynamic ip address with dhcp, the option ETHTOOL doesn't work at all.
2)Reading this thread i set the wol g option in this way:
[root@smeserver ~]#config setprop ExternalInterface EthtoolOpts "wol g"
The eth0 nic has a dynamic ip address assigned by a dhcp server but the "g" option is nevere set. Infact, if i try to read the ethtool option i read always:
[root@smeserver ~]# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 32
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
[b]Wake-on: d[/b]
Current message level: 0x00000007 (7)
Link detected: yes
[root@smeserver ~]#
The question is:
is it possible to set the wol g option when i have a external interface configured with dhcp? If yes, how can i get wol g permanent set?
Thans,
Zeno[/b]