Zanik internetu pod Debianem pod Windows jest zawsze

Masz problemy z siecią bądź internetem? Zapytaj tu
metiufosky
Posty: 8
Rejestracja: 09 czerwca 2008, 20:16
Lokalizacja: Tarnobrzeg

Post 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
ponton
Beginner
Posty: 406
Rejestracja: 24 stycznia 2007, 01:40
Lokalizacja: Kalisz/Wroc³aw

Post 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ć?
metiufosky
Posty: 8
Rejestracja: 09 czerwca 2008, 20:16
Lokalizacja: Tarnobrzeg

Post 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?
Ister
Junior Member
Posty: 566
Rejestracja: 05 marca 2009, 12:42

Post 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?
metiufosky
Posty: 8
Rejestracja: 09 czerwca 2008, 20:16
Lokalizacja: Tarnobrzeg

Post 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
ODPOWIEDZ