ubuntuusers.de

LAN-Ausgaben

Autor:
xunilu
Datum:
29. August 2014 22:40
Code:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Name:~$ uname -a 
Linux johannes-System-Product-Name 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:42 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux 

Name:~$ cat /etc/network/interfaces 
auto lo 
iface lo inet loopback 

-Name:~$ cat /etc/resolv.conf 
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) 
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN 

-Name:~$ cat /etc/hosts 
127.0.0.1	localhost 
127.0.1.1	johannes-System-Product-Name 

# The following lines are desirable for IPv6 capable hosts 
::1     ip6-localhost ip6-loopback 
fe00::0 ip6-localnet 
ff00::0 ip6-mcastprefix 
ff02::1 ip6-allnodes 
ff02::2 ip6-allrouters 

-Name:~$ ifconfig -a 
lo        Link encap:Lokale Schleife   
          inet Adresse:127.0.0.1  Maske:255.0.0.0 
          inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine 
          UP LOOPBACK RUNNING  MTU:65536  Metrik:1 
          RX-Pakete:807 Fehler:0 Verloren:0 Überläufe:0 Fenster:0 
          TX-Pakete:807 Fehler:0 Verloren:0 Überläufe:0 Träger:0 
          Kollisionen:0 Sendewarteschlangenlänge:0 
          RX-Bytes:73339 (73.3 KB)  TX-Bytes:73339 (73.3 KB) 


-Name:~$ iwconfig 
lo        no wireless extensions. 

-Name:~$ route -n 
Kernel-IP-Routentabelle 
Ziel            Router          Genmask         Flags Metric Ref    Use Iface 

-Name:~$ cat /var/lib/NetworkManager/NetworkManager.state 

[main] 
NetworkingEnabled=true 
WirelessEnabled=true 
WWANEnabled=true 
WimaxEnabled=true 

-Name:~$ cat /etc/NetworkManager/NetworkManager.conf 
[main] 
plugins=ifupdown,keyfile,ofono 
dns=dnsmasq 

[ifupdown] 
managed=false 

-Name:~$ cat /etc/udev/rules.d/70-persistent-net.rules | egrep -i 'device|sub' -A3 
# PCI device 0x10ec:/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0 (r8169) 
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:18:f3:02:df:04", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" 

-Name:~$ ping -c 2 $(route -n | grep UG | awk {'print $2'}) 
Usage: ping [-aAbBdDfhLnOqrRUvV] [-c count] [-i interval] [-I interface] 
            [-m mark] [-M pmtudisc_option] [-l preload] [-p pattern] [-Q tos] 
            [-s packetsize] [-S sndbuf] [-t ttl] [-T timestamp_option] 
            [-w deadline] [-W timeout] [hop1 ...] destination 

-Name:~$ ping -c 2 www.ubuntuusers.de 
ping: unknown host www.ubuntuusers.de 

-Name:~$ ping -c 2 213.95.41.11 
connect: Network is unreachable