Konfiguracja Internetu

Instalacja i konfiguracja oprogramowania sieciowego.
Awatar użytkownika
endostyl
Piegowaty Guziec
Piegowaty Guziec
Posty: 6
Rejestracja: 17 lip 2015, 18:15
Płeć: Kobieta
Wersja Ubuntu: 14.04
Architektura: x86

Konfiguracja Internetu

Post autor: endostyl »

Witam serdecznie forumowiczów.

Zainstalowałam dziś na starym komputerze w domu Ubuntu 14.04. Prawdę mówiąc to z głownie z ciekawości, dużo słyszę o Linuxie więc postanowiłam wypróbować. Starego Windowsa XP nie zostawiłam, nowy system zainstalowałam na "czysto".
Mam problem z połączeniem z Internetem. Podczas instalacji instalator (cóż za brzydki zlepek słów) nie wykrywał połączenia. Dodam, że problemy z Internetem były na nim już pod Windowsem - nie chciał się łączyć (nie wiem konkretnie czemu, w domu były inne komputery a tym konkretnym nikt się nie interesował do dziś :D). Próbowałam instrukcji z tego filmku: https://www.youtube.com/watch?v=sxcopz_MPWw Nope. Potem https://www.youtube.com/watch?v=Dx-G-Sn6IhY Nope again. Gdy wchodzę w System Settings > Additional Drives to nie wyrwa mi żadnych sterowników. Może tu jest pies pogrzebany?
Dodam, że mam w domu wi - fi ale ten staruszek na pewno nie ma karty do niego.

Pozdrawiam i liczę na pomoc, Adrianna :)
marcin1982
Gibki Gibbon
Gibki Gibbon
Posty: 3209
Rejestracja: 30 wrz 2007, 13:49
Płeć: Mężczyzna

Re: Konfiguracja Internetu

Post autor: marcin1982 »

Uruchom terminal / konsolę i podaj tutaj wynik polecenia / komendy:

Kod: Zaznacz cały

inxi -F
Awatar użytkownika
endostyl
Piegowaty Guziec
Piegowaty Guziec
Posty: 6
Rejestracja: 17 lip 2015, 18:15
Płeć: Kobieta
Wersja Ubuntu: 14.04
Architektura: x86

Re: Konfiguracja Internetu

Post autor: endostyl »

Po uruchomieniu konsoli wyskakuje mi:

Kod: Zaznacz cały

The program 'inxi' is currently not installed. You can install it by typing:
sudo apt-get install inxi
Zatem wpisuje sobie komendę a komputer mi na to:

Kod: Zaznacz cały

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package inxi 
Więc pomyślałam sobie, że może ściągnę z innego komputera tę paczkę, wrzucę na ubuntowego i może pójdzie. Znalazłam coś takiego i nie mam zielonego pojęcia jak to pobrać http://ppa.launchpad.net/unit193/inxi/u ... sts/devel/ :<
marcin1982
Gibki Gibbon
Gibki Gibbon
Posty: 3209
Rejestracja: 30 wrz 2007, 13:49
Płeć: Mężczyzna

Re: Konfiguracja Internetu

Post autor: marcin1982 »

No to nie instaluj, podaj wynik komend:

Kod: Zaznacz cały

lspci -k | grep -A2 Eternet

Kod: Zaznacz cały

lscpu

Kod: Zaznacz cały

free -m
Awatar użytkownika
endostyl
Piegowaty Guziec
Piegowaty Guziec
Posty: 6
Rejestracja: 17 lip 2015, 18:15
Płeć: Kobieta
Wersja Ubuntu: 14.04
Architektura: x86

Re: Konfiguracja Internetu

Post autor: endostyl »

Proszę:

Kod: Zaznacz cały

adrianna@adrianna-komp:~$ lspci -k
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD/ATI] RS300 Host Bridge (rev 02)
	Subsystem: ASUSTeK Computer Inc. Device 8107
	Kernel driver in use: agpgart-ati
00:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RS300 AGP Bridge
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] OHCI USB Controller #1 (rev 01)
	Subsystem: ASUSTeK Computer Inc. Device 8108
	Kernel driver in use: ohci-pci
00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] OHCI USB Controller #2 (rev 01)
	Subsystem: ASUSTeK Computer Inc. Device 8108
	Kernel driver in use: ohci-pci
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] EHCI USB Controller (rev 01)
	Subsystem: ASUSTeK Computer Inc. Device 8108
	Kernel driver in use: ehci-pci
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SMBus (rev 18)
	Subsystem: ASUSTeK Computer Inc. Device 8108
	Kernel driver in use: piix4_smbus
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] Dual Channel Bus Master PCI IDE Controller
	Subsystem: ASUSTeK Computer Inc. Device 8108
	Kernel driver in use: pata_atiixp
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] Device 434c
	Subsystem: ASUSTeK Computer Inc. Device 8108
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] IXP200 3COM 3C920B Ethernet Controller
00:14.5 Multimedia audio controller: Advanced Micro Devices, Inc. [AMD/ATI] IXP150 AC'97 Audio Controller
	Subsystem: ASUSTeK Computer Inc. Device 810d
	Kernel driver in use: snd_atiixp
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS300 [Radeon 9100 IGP]
	Subsystem: ASUSTeK Computer Inc. Device 8107
	Kernel driver in use: radeon
02:08.0 Ethernet controller: 3Com Corporation 3Com 3C920B-EMB-WNM Integrated Fast Ethernet Controller (rev 40)
	Subsystem: ASUSTeK Computer Inc. Device 8108
	Kernel driver in use: 3c59x

Kod: Zaznacz cały

adrianna@adrianna-komp:~$ lspci -k | grep -A2 Ethernet
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] IXP200 3COM 3C920B Ethernet Controller
00:14.5 Multimedia audio controller: Advanced Micro Devices, Inc. [AMD/ATI] IXP150 AC'97 Audio Controller
	Subsystem: ASUSTeK Computer Inc. Device 810d
--
02:08.0 Ethernet controller: 3Com Corporation 3Com 3C920B-EMB-WNM Integrated Fast Ethernet Controller (rev 40)
	Subsystem: ASUSTeK Computer Inc. Device 8108
	Kernel driver in use: 3c59x

Kod: Zaznacz cały

adrianna@adrianna-komp:~$ lscpu
Architecture:          i686
CPU op-mode(s):        32-bit
Byte Order:            Little Endian
CPU(s):                1
On-line CPU(s) list:   0
Thread(s) per core:    1
Core(s) per socket:    1
Socket(s):             1
Vendor ID:             GenuineIntel
CPU family:            15
Model:                 3
Stepping:              4
CPU MHz:               2394.563
BogoMIPS:              4789.12
L1d cache:             16K
L2 cache:              1024K

Kod: Zaznacz cały

adrianna@adrianna-komp:~$ free -m
             total       used       free     shared    buffers     cached
Mem:           938        750        188          4         42        276
-/+ buffers/cache:        431        507
Swap:         1906          0       1906
marcin1982
Gibki Gibbon
Gibki Gibbon
Posty: 3209
Rejestracja: 30 wrz 2007, 13:49
Płeć: Mężczyzna

Re: Konfiguracja Internetu

Post autor: marcin1982 »

Upewnij się, że karta sieciowa nie jest wyłączona w BIOS.

Po drugie - podaj wyniki jeszcze takich komend:

Kod: Zaznacz cały

dmesg | grep -i 02:08.0

Kod: Zaznacz cały

dmesg | grep -i network

Kod: Zaznacz cały

dmesg | grep -i 3c59x

Kod: Zaznacz cały

sudo ifconfig -a
Jak nie będzie tej komendy to olej:

Kod: Zaznacz cały

sudo hwinfo --network
PS
Masz gdzieś w domu inną kartę na PCI?

EDYCJA:
Pokaż jeszcze:

Kod: Zaznacz cały

cat /etc/network/interfaces
Awatar użytkownika
endostyl
Piegowaty Guziec
Piegowaty Guziec
Posty: 6
Rejestracja: 17 lip 2015, 18:15
Płeć: Kobieta
Wersja Ubuntu: 14.04
Architektura: x86

Re: Konfiguracja Internetu

Post autor: endostyl »

Kod: Zaznacz cały

adrianna@adrianna-komp:~$ dmesg | grep -i 02:08.0
[    0.131351] pci 0000:02:08.0: [10b7:9202] type 00 class 0x020000
[    0.131374] pci 0000:02:08.0: reg 0x10: [io  0xec00-0xec7f]
[    0.131388] pci 0000:02:08.0: reg 0x14: [mem 0xfe100000-0xfe10007f]
[    0.131437] pci 0000:02:08.0: reg 0x30: [mem 0xfe000000-0xfe01ffff pref]
[    0.131472] pci 0000:02:08.0: supports D1 D2
[    0.131477] pci 0000:02:08.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.131509] pci 0000:02:08.0: System wakeup disabled by ACPI
[    1.623630] 0000:02:08.0: 3Com PCI 3c920B-EMB-WNM (ATI Radeon 9100 IGP) at f8028000.
[   30.287531] 3c59x 0000:02:08.0: System wakeup enabled by ACPI
[ 1741.092221] 3c59x 0000:02:08.0: System wakeup disabled by ACPI
[ 1757.452361] 3c59x 0000:02:08.0: System wakeup enabled by ACPI

Kod: Zaznacz cały

adrianna@adrianna-komp:~$ dmesg | grep -i network
[   13.205892] audit: type=1400 audit(1437224374.265:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=338 comm="apparmor_parser"
[   13.206851] audit: type=1400 audit(1437224374.265:5): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=338 comm="apparmor_parser"
[   18.993710] audit: type=1400 audit(1437224380.053:15): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=748 comm="apparmor_parser"
[   18.994679] audit: type=1400 audit(1437224380.053:17): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=748 comm="apparmor_parser"

Kod: Zaznacz cały

adrianna@adrianna-komp:~$ dmesg | grep -i 3c59x
[    1.623615] 3c59x: Donald Becker and others.
[   30.287531] 3c59x 0000:02:08.0: System wakeup enabled by ACPI
[ 1741.092221] 3c59x 0000:02:08.0: System wakeup disabled by ACPI
[ 1757.452361] 3c59x 0000:02:08.0: System wakeup enabled by ACPI

Kod: Zaznacz cały

adrianna@adrianna-komp:~$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

Kod: Zaznacz cały

adrianna@adrianna-komp:~$ sudo ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:11:2f:7c:58:2f  
          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)
          Interrupt:18 Base address:0x8000

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:141 errors:0 dropped:0 overruns:0 frame:0
          TX packets:141 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:10367 (10.3 KB)  TX bytes:10367 (10.3 KB)
Nie wiem co się stało, ale nie mogę wejść do BIOSu. Niby wciskam według polecenie DEL, ale zamiast BIOSU to pokazuje mi się sam taki nagłówek "American Megattends". Ech... Pogrzebię teraz w Internecie i poszukam rozwiązania.
[edit]
Ok, udało mi się. Wyciągnęłam baterię BIOSu.
Tak, mam włączoną -
Onboard LAN device [Eneabled]
Co do innej karty PCI to gdzieś w piwnicy chyba powinien jeszcze jeden pect leżeć :)
Ostatnio zmieniony 18 lip 2015, 17:33 przez endostyl, łącznie zmieniany 1 raz.
marcin1982
Gibki Gibbon
Gibki Gibbon
Posty: 3209
Rejestracja: 30 wrz 2007, 13:49
Płeć: Mężczyzna

Re: Konfiguracja Internetu

Post autor: marcin1982 »

A co się stanie jak klepniesz polecenie:

Kod: Zaznacz cały

sudo ifup eth0

Kod: Zaznacz cały

sudo dhclient eth0

Kod: Zaznacz cały

route -n
Kabel, którym łączysz komputer z routerem jest sprawny? Masz go jak sprawdzić na innych sprzętach?
Awatar użytkownika
endostyl
Piegowaty Guziec
Piegowaty Guziec
Posty: 6
Rejestracja: 17 lip 2015, 18:15
Płeć: Kobieta
Wersja Ubuntu: 14.04
Architektura: x86

Re: Konfiguracja Internetu

Post autor: endostyl »

Nic się nie dzieje. Po

Kod: Zaznacz cały

sudo ifup eth0
wyskakuje mi:
Ignoring unknow interface eth0=eth0.
Natomiast po

Kod: Zaznacz cały

sudo dhclient eth0
przechodzi do nowego wiersza bez żadnego komunikatu.
marcin1982
Gibki Gibbon
Gibki Gibbon
Posty: 3209
Rejestracja: 30 wrz 2007, 13:49
Płeć: Mężczyzna

Re: Konfiguracja Internetu

Post autor: marcin1982 »

Podaj jeszcze raz wynik:

Kod: Zaznacz cały

sudo ifconfig -a

Kod: Zaznacz cały

dmesg | grep -i "network-manager"

Kod: Zaznacz cały

route -n
Awatar użytkownika
endostyl
Piegowaty Guziec
Piegowaty Guziec
Posty: 6
Rejestracja: 17 lip 2015, 18:15
Płeć: Kobieta
Wersja Ubuntu: 14.04
Architektura: x86

Re: Konfiguracja Internetu

Post autor: endostyl »

Kod: Zaznacz cały

adrianna@adrianna-komp:~$ sudo ifconfig -a
[sudo] password for adrianna:
eth0      Link encap:Ethernet  HWaddr 00:11:2f:7c:58:2f  
          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)
          Interrupt:18 Base address:0x8000

eth0:avahi Link encap:Ethernet  HWaddr 00:11:2f:7c:58:2f  
          inet addr:169.254.5.47  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          Interrupt:18 Base address:0x8000

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:661 errors:0 dropped:0 overruns:0 frame:0
          TX packets:661 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:53583 (53.5 KB)  TX bytes:53583 (53.5 KB)

Kod: Zaznacz cały

adrianna@adrianna-komp:~$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         0.0.0.0         0.0.0.0         U     1002   0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
A

Kod: Zaznacz cały

dmesg | grep -i "network-manager"
nic nie zwraca.
ODPOWIEDZ

Wróć do „Sieci, serwery, Internet”

Kto jest online

Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 16 gości