sudo ethtool -s eth0 wol p - po resecie jest znowu g
w ubuntu graficznym 12 nie działało więc zrobiłem upgrade do 14.. i nadal nic
w informacji o karci sieciowej ma iż:
Kod: Zaznacz cały
Supports Wake-on: pumbg
Wake-on: g
obojętnie co dam, to gdy z routera wyślę "magiczny pakiet" to komputer się uruchamia - super, ale
ja chcę, aby komputer uruchamiał się z "byle czego", tzn, ping, ftp tip.
przykład:
na winsows 7 gdy komputer usypiałem, na routerze mam przekierowanie portu 80, po wpisaniu w przeglądarce ip, komputer uruchamiał się !
- to samo chcę osiągnąć w ubuntu !
więc:
domyślam się, że potrzebuję opcję "p", jednak nie mam szans jej przetestować,wol p|u|m|b|a|g|s|d...
Set Wake-on-LAN options. Not all devices support this. The
argument to this option is a string of characters specifying
which options to enable.
p Wake on phy activity
u Wake on unicast messages
m Wake on multicast messages
b Wake on broadcast messages
a Wake on ARP
g Wake on MagicPacket(tm)
s Enable SecureOn(tm) password for MagicPacket(tm)
d Disable (wake on nothing). This option clears all previous
options.
ponieważ za każdym razem, gdy ustawiam dowolną literkę,
wstrzymuję system, obudzić go mogę tylko poprzez "magiczny pakiet" i w opcjach znowu mam ustawione "g"
Bardzo proszę o pomoc, nie umiem sobie z tym poradzić.
PS: poniżej wklejam wszystkie informacje (na forum znalazłem, że o takie rzeczy pytacie)
Kod: Zaznacz cały
lspci -k | egrep -iA2 'net|wire|eth'
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 02)
Subsystem: Gigabyte Technology Co., Ltd Motherboard
Kernel driver in use: r8169
Kod: Zaznacz cały
lshw -C network
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth0
version: 02
serial: 6c:f0:49:6d:d6:25
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full ip=192.168.1.101 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
resources: irq:42 ioport:d000(size=256) memory:e1410000-e1410fff memory:e1400000-e140ffff memory:e1420000-e142ffff
Kod: Zaznacz cały
ifconfig
eth0 Link encap:Ethernet HWaddr 6c:f0:49:6d:d6:25
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::6ef0:49ff:fe6d:d625/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2157 errors:0 dropped:0 overruns:0 frame:0
TX packets:2144 errors:0 dropped:2 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:244350 (244.3 KB) TX bytes:1118043 (1.1 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:451 errors:0 dropped:0 overruns:0 frame:0
TX packets:451 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:59367 (59.3 KB) TX bytes:59367 (59.3 KB)
Kod: Zaznacz cały
nm-tool
NetworkManager Tool
State: connected (global)
- Device: eth0 [Połączenie przewodowe 1] ------------------------------------
Type: Wired
Driver: r8169
State: connected
Default: yes
HW Address: 6C:F0:49:6D:D6:25
Capabilities:
Carrier Detect: yes
Speed: 1000 Mb/s
Wired Properties
Carrier: on
IPv4 Settings:
Address: 192.168.1.101
Prefix: 24 (255.255.255.0)
Gateway: 192.168.1.1
DNS: 192.168.1.1
Kod: Zaznacz cały
lsmod
Module Size Used by
cuse 13213 3
rfcomm 53664 0
bnep 18895 2
bluetooth 342206 10 bnep,rfcomm
gpio_ich 13229 0
snd_hda_codec_realtek 55125 1
snd_hda_intel 42730 3
snd_hda_codec 164067 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 13272 1 snd_hda_codec
snd_pcm 85501 2 snd_hda_codec,snd_hda_intel
snd_page_alloc 14230 2 snd_pcm,snd_hda_intel
snd_seq_midi 13132 0
snd_seq_midi_event 14475 1 snd_seq_midi
snd_rawmidi 25135 1 snd_seq_midi
snd_seq 55383 2 snd_seq_midi_event,snd_seq_midi
snd_seq_device 14137 3 snd_seq,snd_rawmidi,snd_seq_midi
coretemp 13195 0
snd_timer 28584 2 snd_pcm,snd_seq
serio_raw 13230 0
i915 705659 3
lpc_ich 16864 0
snd 60871 16 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
video 18903 1 i915
drm_kms_helper 47182 1 i915
drm 244037 4 i915,drm_kms_helper
soundcore 12600 1 snd
i2c_algo_bit 13197 1 i915
mac_hid 13037 0
parport_pc 31981 1
ppdev 17391 0
lp 13299 0
parport 40836 3 lp,ppdev,parport_pc
hid_generic 12492 0
usbhid 46997 0
hid 87604 2 hid_generic,usbhid
floppy 55416 0
r8169 61562 0
mii 13654 1 r8169
Kod: Zaznacz cały
ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Link partner advertised pause frame use: Symmetric Receive-only
Link partner advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
drv probe ifdown ifup
Link detected: yes
Kod: Zaznacz cały
uname -a
Linux jaca-G41M-ES2L 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:12 UTC 2014 i686 i686 i686 GNU/Linux
Kod: Zaznacz cały
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
Bardzo proszę o pomoc, nie umiem sobie z tym poradzić.
na forum znalazłem, że ludzie mają problem z przejściem z literki "d" na "g", a ja mam problem z "g" na dowolnie inną ;/