Hallo erstmal an die gesamte Arch Gemeinde. Ich lese nun schon einige Zeit hier und im englischen Forum und muss sagen dass ich schwer beeindruckt von der Kompetenz der Community bin. Ich nutze Arch nun seit ein paar Monatenn nachdem ich von Ubuntu gekommen bin und hatte bisher auch eig. nie Probleme. Bis jetzt....
Seit einigen Tagen habe ich ein wlan Problem bei dem ich nicht mehr weiterkomme. Wie gesagt bin noch weit davon entfernt ein Arch Profi zu sein 😉...
Seit einigen Tagen kann ich mich nicht mehr mit dem Internet verbinden, bzw. kurz ist es sogar moeglich, aber dann bricht die verbindung ab.
Auch Google, das wiki und verschiedene Foren konnten mir nicht weiterhelfen.
Ich benutzte wpa_supplicant und dhcpcd.
Hier das Problem:
[psyx@myhost/home/psyx]\> ping www.google.com
ping: unknown host www.google.com
die Zeit die verstreicht bis die unknown host meldung kommt betraegt ca. 30 sec.
ich habe nichts an irgendwelchen config files geaendert und vorher ging alles einwandfrei. auf besagtem rechner befindet sich auch noch
eine ubuntu distro, bei der alles problemlos funktioniert. Liegt also weder an Hardware noch am Router.
Hier einige Netzwerk-tool outputs und die wichtigsten config files.
[psyx@myhost/home/psyx]\> ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:A0:D1:A8:8E:D0
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:16
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:5592 errors:0 dropped:0 overruns:0 frame:0
TX packets:5592 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:471092 (460.0 Kb) TX bytes:471092 (460.0 Kb)
wlan0 Link encap:Ethernet HWaddr 00:1F:3B:17:EA:4F
inet addr:192.168.2.101 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:396 errors:0 dropped:0 overruns:0 frame:0
TX packets:448 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:38756 (37.8 Kb) TX bytes:44870 (43.8 Kb)
[psyx@myhost/home/psyx]\> ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:1F:3B:17:EA:4F
inet addr:192.168.2.101 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:396 errors:0 dropped:0 overruns:0 frame:0
TX packets:448 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:38756 (37.8 Kb) TX bytes:44870 (43.8 Kb)
[psyx@myhost/home/psyx]\> route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 303 0 0 wlan0
0.0.0.0 192.168.2.1 0.0.0.0 UG 303 0 0 wlan0
[psyx@myhost/home/psyx]\> ping localhost
PING localhost.localdomain (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost.localdomain (127.0.0.1): icmp_req=1 ttl=64 time=0.030 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_req=2 ttl=64 time=0.035 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_req=3 ttl=64 time=0.034 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_req=4 ttl=64 time=0.038 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_req=5 ttl=64 time=0.039 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_req=6 ttl=64 time=0.039 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_req=7 ttl=64 time=0.038 ms
^C
--- localhost.localdomain ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 5997ms
rtt min/avg/max/mdev = 0.030/0.036/0.039/0.004 ms
router anpingen:
[psyx@myhost/home/psyx]\> ping 192.168.2.101
PING 192.168.2.101 (192.168.2.101) 56(84) bytes of data.
64 bytes from 192.168.2.101: icmp_req=1 ttl=64 time=0.041 ms
64 bytes from 192.168.2.101: icmp_req=2 ttl=64 time=0.035 ms
64 bytes from 192.168.2.101: icmp_req=3 ttl=64 time=0.038 ms
64 bytes from 192.168.2.101: icmp_req=4 ttl=64 time=0.039 ms
64 bytes from 192.168.2.101: icmp_req=5 ttl=64 time=0.038 ms
64 bytes from 192.168.2.101: icmp_req=6 ttl=64 time=0.038 ms
64 bytes from 192.168.2.101: icmp_req=7 ttl=64 time=0.038 ms
64 bytes from 192.168.2.101: icmp_req=8 ttl=64 time=0.038 ms
64 bytes from 192.168.2.101: icmp_req=9 ttl=64 time=0.039 ms
64 bytes from 192.168.2.101: icmp_req=10 ttl=64 time=0.038 ms
^C
--- 192.168.2.101 ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 8998ms
rtt min/avg/max/mdev = 0.035/0.038/0.041/0.004 ms
anfangs dachte ich noch es wuerde sich um ein dns problem handeln, aber
[psyx@myhost/home/psyx]\> ping 209.85.148.106
PING 209.85.148.106 (209.85.148.106) 56(84) bytes of data.
From 192.168.2.101 icmp_seq=2 Destination Host Unreachable
From 192.168.2.101 icmp_seq=3 Destination Host Unreachable
From 192.168.2.101 icmp_seq=4 Destination Host Unreachable
From 192.168.2.101 icmp_seq=6 Destination Host Unreachable
From 192.168.2.101 icmp_seq=7 Destination Host Unreachable
From 192.168.2.101 icmp_seq=8 Destination Host Unreachable
^C
--- 209.85.148.106 ping statistics ---
10 packets transmitted, 0 received, +6 errors, 100% packet loss, time 9021ms
pipe 3
zeigt, dass das wohl nicht der fall ist.
[psyx@myhost/home/psyx]\> ping google.de
ping: unknown host google.de
Also wie bereits oben erwaehnt empfangen die letzten beiden pings auch zeitweise mal pakete, dies hoert dannn nach einger Zeit auf und
die Verbindung zum Internet bricht wie bei obigen outputs ab.
Hier noch die wichtigsten config files:
/etc/resolv.conf
1 # Generated by dhcpcd from wlan0
2 # /etc/resolv.conf.head can replace this line
3 nameserver 192.168.2.1
4 # /etc/resolv.conf.tail can replace this line
/etc/dhcpcd.conf
1 # A sample configuration for dhcpcd.
2 # See dhcpcd.conf(5) for details.
3
4 # Inform the DHCP server of our hostname for DDNS.
5 hostname
6 # To share the DHCP lease across OSX and Windows a ClientID is needed .
7 # Enabling this may get a different lease than the kernel DHCP client .
8 # Some upstream DHCP servers may also require a ClientID, such as FRI TZ!Box.
9 #clientid
10
11 # A list of options to request from the DHCP server.
12 option domain_name_servers, domain_name, domain_search, host_name
13 option classless_static_routes
14 # Most distributions have NTP support.
15 option ntp_servers
16 # Respect the network MTU.
17 option interface_mtu
18 # A ServerID is required by RFC2131.
19 require dhcp_server_identifier
20
21 # A hook script is provided to lookup the hostname if not set by the DHCP
22 # server, but it should not be run by default.
23 nohook lookup-hostname
24 noipv4ll
25 # nohook resolv.conf
26
/etc/rc.conf
1 #
2 # /etc/rc.conf - Main Configuration for Arch Linux
3 #
4
5 # ------------------------------------------------------------------- ----
6 # LOCALIZATION
7 # ------------------------------------------------------------------- ----
8 #
9 # LOCALE: available languages can be listed with the 'locale -a' comm and
10 # HARDWARECLOCK: set to "UTC" or "localtime", any other value will re sult
11 # in the hardware clock being left untouched (useful for virtualiza tion)
12 # TIMEZONE: timezones are found in /usr/share/zoneinfo
13 # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
14 # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
15 # CONSOLEMAP: found in /usr/share/kbd/consoletrans
16 # USECOLOR: use ANSI color sequences in startup messages
17 #
18 LOCALE="de_DE.UTF-8"
19 HARDWARECLOCK="UTC"
20 TIMEZONE="Europe/Berlin"
21 KEYMAP="de-latin1"
22 CONSOLEFONT="default8x16"
23 CONSOLEMAP=
24 USECOLOR="yes"
25
26 # ------------------------------------------------------------------- ----
27 # HARDWARE
28 # ------------------------------------------------------------------- ----
29 #
30 # allg. fuer treiber module usw.
31 # MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
32 # MOD_BLACKLIST: Prevent udev from loading these modules
32 # MOD_BLACKLIST: Prevent udev from loading these modules
33 # MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
34 #
35 # NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MOD ULES array.
36 #
37 MOD_AUTOLOAD="yes" #damit hardware scannen aktiviert wird
38 #MOD_BLACKLIST=() #deprecated --> nicht mehr wichtig da mit '!' unt er Modules gearbeitet werden kann
39 MODULES=(acpi-cpufreq cpufreq_ondemand) #fuer die treibermodule d ie nicht automatisch erkannt werden.-> in runden klammern angeben
40
41 # Scan for LVM volume groups at startup, required if you use LVM
42 USELVM="no"
43
44 # ------------------------------------------------------------------- ----
45 # NETWORKING
46 # ------------------------------------------------------------------- ----
47 #
48 # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
49 #
50 HOSTNAME="myhost"
51
52 # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available inte rfaces.
53 #
54 # Interfaces to start at boot-up (in this order)
55 # Declare each interface then list in INTERFACES
56 # - prefix an entry in INTERFACES with a ! to disable it
57 # - no hyphens in your interface names - Bash doesn't like it
58 #
59 # DHCP: Set your interface to "dhcp" (eth0="dhcp")
60 # Wireless: See network profiles below
61 #
62
63 #Static IP example
64 #eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255 "
65 eth0="dhcp"
66 INTERFACES=(eth0)
67 wlan0="dhcp"
68 INTERFACES=(wlan0)
69
70 # Routes to start at boot-up (in this order)
71 # Declare each route then list in ROUTES
72 # - prefix an entry in ROUTES with a ! to disable it
73 #
74 gateway="default gw 192.168.0.1"
75 ROUTES=(!gateway)
76
77 # Setting this to "yes" will skip network shutdown.
78 # This is required if your root device is on NFS.
79 NETWORK_PERSIST="no"
80
81 # Enable these network profiles at boot-up. These are only useful
82 # if you happen to need multiple network configurations (ie, laptop u sers)
83 # - set to 'menu' to present a menu during boot-up (dialog package required)
84 # - prefix an entry with a ! to disable it
85 #
86 # Network profiles are found in /etc/network.d
87 #
88 # This now requires the netcfg package
89 #
90 #NETWORKS=(main)
91
92 # ------------------------------------------------------------------- ----
93 # DAEMONS
94 # ------------------------------------------------------------------- ----
95 #
96 # Daemons to start at boot-up (in this order)
97 # - prefix a daemon with a ! to disable it
98 # - prefix a daemon with a @ to start it up in the background
99 #
100 DAEMONS=(syslog-ng hal !network !netfs crond alsa ntpd kdm acpid cpuf req)
/etc/nsswitch.conf
1 # Begin /etc/nsswitch.conf
2
3 passwd: files
4 group: files
5 shadow: files
6
7 publickey: files
8
9 hosts: files dns
10 networks: files dns
11
12 protocols: files
13 services: files
14 ethers: files
15 rpc: files
16
17 netgroup: files
18
19 # End /etc/nsswitch.conf
/etc/wpa_supplicant.conf
557 network={
558 ssid="WLAN-NAME"
559 key_mgmt=WPA-PSK
560 proto=WPA
561 pairwise=TKIP
562 group=TKIP
563 psk="password"
564 }
Hab ich etwas uebersehen/ nicht verstanden?? Ich waere euch aeussert dankbar fuer etwas Hilfe. Bin seit Tagen nur noch drann hier weiterzukommen, aber ich bekomms einfach nich gebacken.
Sind noch irgendwelche outputs von Noeten die helfen wuerden?
gruesse
ps.: entschuldigt bitte wenn vom post her irgendwas nicht passt. Ist mein erster und ich gelobe Besserung ... 🙂