Strona 1 z 1

Konfiguracja interfejsu eth0

: 01 sie 2013, 16:47
autor: Tomasz123
Witam,
mam problem z konfiguracją interfejsu eth0.
Łączę się z Internetem przez kabel (modem Vectra). Zainstalowałem sterownik Realtek r8168, ustawiam ręcznie numery IP, podsieci, bramy i DNS we właściwościach połączenia przewodowego (nie ładują mi się przez automatyczne DHCP). Połączenie przewodowe zostało nawiązane, jednak po włączeniu Mozilli nie można załadować strony. Postąpiłem według HowTo Konfiguracja sieci Ethernet i otworzyłem edycję network/interfaces. Moje wyniki to:
auto lo
iface lo inet loopback

To wszystko. Brak informacji o interfejsie eth0. W momencie, kiedy wklepuję komendę sudo ifdown eth0, wyświetla mi się komunikat: interface eth0 not configured.
Jednakże, w momencie kiedy w module network/interfaces wprowadzam zmiany według wcześniej wspomnianego poradnika (nadawanie statycznych numerów IP, maski i bramy), nie tylko dalej nie wyświetlają się strony w Mozilli, ale, co gorsza, po restarcie komputera tracę możliwość połączenia się z jakąkolwiek siecią. Po prostu znika ikona sieci z górnego paska zadań. W momencie, kiedy wchodzę w Ustawienia sieci->Sieć, wita mnie komunikat: "Systemowe usługi sieciowe są niezgodne z tą wersją".
Podobna sytuacja zachodzi, kiedy w module network/interfaces dopisuję
auto eth0
iface eth0 inet dhcp
Proszę o pomoc.

Re: Konfiguracja interfejsu eth0

: 06 sie 2013, 12:18
autor: Rgl
Czemu instalowałeś sterownik do tej karty? Sterownik dostarczony w kernelu nie obsługuje jej poprawnie?
Podaj wynik:

Kod: Zaznacz cały

lspci 
i

Kod: Zaznacz cały

lsmod

Re: Konfiguracja interfejsu eth0

: 06 sie 2013, 14:12
autor: marcin1982
Lepsze będzie:

Kod: Zaznacz cały

lspci -k

Kod: Zaznacz cały

sudo ifconfig -a

Re: Konfiguracja interfejsu eth0

: 15 sie 2013, 10:03
autor: Tomasz123
Tak, sterownik dostarczony w kernelu nie obsługuje mojej karty sieciowej poprawnie.
Wyniki polecenia lspci -k

Kod: Zaznacz cały

00:00.0 Host bridge: Silicon Integrated Systems [SiS] 671MX 
	Subsystem: ASUSTeK Computer Inc. Device 1cf7 
	Kernel driver in use: agpgart-sis 
	Kernel modules: sis-agp 
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] AGP Port (virtual PCI-to-PCI bridge) 
	Kernel modules: shpchp 
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS968 [MuTIOL Media IO] (rev 01) 
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 IDE Controller (rev 01) 
	Subsystem: ASUSTeK Computer Inc. Device 1cf7 
	Kernel driver in use: pata_sis 
00:03.0 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f) 
	Subsystem: ASUSTeK Computer Inc. Device 1cf7 
	Kernel driver in use: ohci_hcd 
00:03.1 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f) 
	Subsystem: ASUSTeK Computer Inc. Device 1cf7 
	Kernel driver in use: ohci_hcd 
00:03.3 USB controller: Silicon Integrated Systems [SiS] USB 2.0 Controller 
	Subsystem: ASUSTeK Computer Inc. Device 1cf7 
	Kernel driver in use: ehci_hcd 
00:05.0 IDE interface: Silicon Integrated Systems [SiS] SATA Controller / IDE mode (rev 03) 
	Subsystem: ASUSTeK Computer Inc. Device 1cf7 
	Kernel driver in use: sata_sis 
	Kernel modules: sata_sis 
00:06.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge 
	Kernel driver in use: pcieport 
	Kernel modules: shpchp 
00:07.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge 
	Kernel driver in use: pcieport 
	Kernel modules: shpchp 
00:0f.0 Audio device: Silicon Integrated Systems [SiS] Azalia Audio Controller 
	Subsystem: ASUSTeK Computer Inc. Device 16f3 
	Kernel driver in use: snd_hda_intel 
	Kernel modules: snd-hda-intel 
00:1f.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge 
	Kernel driver in use: pcieport 
	Kernel modules: shpchp 
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 771/671 PCIE VGA Display Adapter (rev 10) 
	Subsystem: ASUSTeK Computer Inc. Device 19e2 
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01) 
	Subsystem: AzureWave AW-NE785 / AW-NE785H 802.11bgn Wireless Full or Half-size Mini PCIe Card 
	Kernel driver in use: ath9k 
	Kernel modules: ath9k 
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01) 
	Subsystem: Realtek Semiconductor Co., Ltd. TEG-ECTX Gigabit PCI-E Adapter [Trendnet] 
	Kernel driver in use: r8168 
	Kernel modules: r8168
Wyniki polecenia sudo ifconfig -a

Kod: Zaznacz cały

eth0      Link encap:Ethernet  HWaddr 00:1d:cf:ec:d6:93  
          inet addr:109.241.134.172  Bcast:109.241.135.255  Mask:255.255.254.0
          inet6 addr: fe80::21d:cfff:feec:d693/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:1 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:40 Base address:0x4000 

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:16436  Metric:1
          RX packets:163 errors:0 dropped:0 overruns:0 frame:0
          TX packets:163 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:12475 (12.4 KB)  TX bytes:12475 (12.4 KB)

wlan0     Link encap:Ethernet  HWaddr 00:25:d3:83:f6:0a  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
-- 16 sie 2013, o 10:54 --

Dodam, że korzystam z laptopa ASUS K50C. Proszę o pomoc.