Strona 2 z 2

: 20 marca 2009, 21:53
autor: metiufosky
Przeprowadziłem testy. Jeżeli komputer był wyłączony (listwa też) mam 100% pewności, że Debian nie będzie miał internetu. To samo z restartami(nic nie pomagają). Dopiero gdy zostanie najpierw włączony Windows, a potem (uruchom ponownie) Debian jest net.

Edit:
podaje wynik ethtool eth0. Może pomoże naprowadzić na rozwiązanie

Kod: Zaznacz cały

83-1-120-99:# ethtool eth0
Settings for eth0:
	Supported ports: [ TP ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Supports auto-negotiation: Yes
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Advertised auto-negotiation: Yes
	Speed: 100Mb/s
	Duplex: Full
	Port: Twisted Pair
	PHYAD: 0
	Transceiver: internal
	Auto-negotiation: on
	Supports Wake-on: pumbg
	Wake-on: g
	Current message level: 0x00000033 (51)
	Link detected: yes

: 20 marca 2009, 22:06
autor: ponton
Gdy się zalogujesz w Debianie i będziesz miał internet, to skopiuj gdzieś sobie następujące informacje:

Kod: Zaznacz cały

$ sudo ifconfig eth0
$ sudo route -n
$ cat /etc/resolv.conf
$ ping 209.85.171.100
A następnie porównaj z sytuacją, gdy nie masz internetu.

EDIT: Dopiero zauważyłem, że adres IP masz wpisany statyczny. Na pewno tak ma być?

: 20 marca 2009, 22:26
autor: metiufosky
Tak bo adres mam statyczny, a jak mam automatycznie pobierany to internet nie działa.

Edit:
A może być coś z Wake-on?

: 20 marca 2009, 22:53
autor: Ister
Wprawdzie domyślam się wyniku, ale podrzuć jeszcze wynik route (najchętniej wersje z siecią i bez, ale bez sieci interesuje mnie bardziej).
Czy w logach zgłasza Ci link up?

: 21 marca 2009, 16:15
autor: metiufosky
Gdy jest internet:

Kod: Zaznacz cały

83-1-120-99:/home/fosky# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
83.1.120.0      *               255.255.255.0   U     0      0        0 eth0
default         83-1-120-1.tsm. 0.0.0.0         UG    0      0        0 eth0
Gdy internetu nie ma:

Kod: Zaznacz cały

83-1-120-99:/home/fosky# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
83.1.120.0      *               255.255.255.0   U     0      0        0 eth0
default         83.1.120.1      0.0.0.0         UG    0      0        0 eth0