Kod: Zaznacz cały
$ lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 671MX
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge)
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] (rev 01)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter (rev 02)
00:05.0 IDE interface: Silicon Integrated Systems [SiS] SATA Controller / IDE mode (rev 03)
00:06.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:07.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:0f.0 Audio device: Silicon Integrated Systems [SiS] Azalia Audio Controller
00:1f.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 771/671 PCIE VGA Display Adapter (rev 10)
02:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
Kod: Zaznacz cały
$ sudo cat /etc/resolv.conf
### BEGIN INFO
#
# Modified_by: NetworkManager
# Process: /usr/bin/NetworkManager
# Process_id: 4622
#
### END INFO
nameserver 194.204.159.1
Kod: Zaznacz cały
$ sudo cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet static
address 192.168.1.45
netmask 255.255.255.0
gateway 192.168.1.1
auto eth0
Kod: Zaznacz cały
$ ping wp.pl
PING wp.pl (212.77.100.101) 56(84) bytes of data.
64 bytes from www.wp.pl (212.77.100.101): icmp_seq=1 ttl=123 time=33.0 ms
64 bytes from www.wp.pl (212.77.100.101): icmp_seq=2 ttl=123 time=33.2 ms
64 bytes from www.wp.pl (212.77.100.101): icmp_seq=3 ttl=123 time=33.3 ms
64 bytes from www.wp.pl (212.77.100.101): icmp_seq=4 ttl=123 time=32.0 ms
--- wp.pl ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 32.059/32.929/33.341/0.526 ms
Kod: Zaznacz cały
~$ dig onet.pl
; <<>> DiG 9.4.2-P1 <<>> onet.pl
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51716
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 5
;; QUESTION SECTION:
;onet.pl. IN A
;; ANSWER SECTION:
onet.pl. 6653 IN A 213.180.130.200
;; AUTHORITY SECTION:
onet.pl. 437 IN NS dns2.onet.pl.
onet.pl. 437 IN NS ns1.ikp.pl.
onet.pl. 437 IN NS dns.astercity.net.
onet.pl. 437 IN NS dns.onet.pl.
onet.pl. 437 IN NS dns3.onet.pl.
;; ADDITIONAL SECTION:
dns.onet.pl. 8713 IN A 213.180.128.240
dns.astercity.net. 6179 IN A 212.76.32.1
ns1.ikp.pl. 3211 IN A 157.25.5.3
dns2.onet.pl. 8854 IN A 217.97.201.240
dns3.onet.pl. 11263 IN A 213.180.131.117
;; Query time: 28 msec
;; SERVER: 194.204.159.1#53(194.204.159.1)
;; WHEN: Thu Sep 4 10:30:01 2008
;; MSG SIZE rcvd: 230
Kod: Zaznacz cały
$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:1e:33:06:d4:9b
inet addr:192.168.1.45 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21e:33ff:fe06:d49b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:250 errors:89 dropped:0 overruns:0 frame:89
TX packets:308 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:60068 (58.6 KB) TX bytes:45532 (44.4 KB)
Interrupt:21 Base address:0xdead
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:3028 errors:0 dropped:0 overruns:0 frame:0
TX packets:3028 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:151476 (147.9 KB) TX bytes:151476 (147.9 KB)
Kod: Zaznacz cały
$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
Kod: Zaznacz cały
$ uname -r -a
Linux puchatek-laptop 2.6.24-19-generic #1 SMP Wed Aug 20 22:56:21 UTC 2008 i686 GNU/Linux