G
Gast1864302
Guest
Hallo!
Wenn ich hochfahre bzw. "rcnetwork restart" ausführe, erhalte ich keine IP (soweit ich das sehe auch keine Verbindung zum WLAN-Router) hier die ausgabe des vorgangs und in /var/log/messages:
Verwende ich dazu folgendes Skript:
Funktioniert alles dann erhalte ich folgende ausgabe:
Nun hätte ich natürlich gern gleich vom booten aus, eine verbindung, was kann denn da falsch sein?
Wenn ich hochfahre bzw. "rcnetwork restart" ausführe, erhalte ich keine IP (soweit ich das sehe auch keine Verbindung zum WLAN-Router) hier die ausgabe des vorgangs und in /var/log/messages:
Code:
noname:/home/daniel # rcnetwork restart
Shutting down network interfaces:
wlan0 done
Shutting down service network . . . . . . . . . . . . . done.
Setting up network interfaces:
lo
lo IP address: 127.0.0.1/8 done
wlan0
wlan0 (DHCP) . . . . . no IP address yet... backgrounding. waiting
Setting up service network . . . . . . . . . . . . . . done.
noname:/home/daniel # tail /var/log/messages
Mar 17 19:21:01 daniel ifup: IP address: 127.0.0.1/8
Mar 17 19:21:01 daniel ifup:
Mar 17 19:21:01 daniel ifup: wlan0
Mar 17 19:21:01 daniel ifup-dhcp: wlan0 (DHCP)
Mar 17 19:21:01 daniel ifup-dhcp: .
Mar 17 19:21:03 daniel ifup-dhcp: .
Mar 17 19:21:04 daniel ifup-dhcp: .
Mar 17 19:21:05 daniel ifup-dhcp: .
Mar 17 19:21:06 daniel ifup-dhcp: .
Mar 17 19:21:07 daniel ifup-dhcp: no IP address yet... backgrounding.
noname:/home/daniel #
Code:
iwconfig wlan0 essid "WLAN-Netz"
iwconfig wlan0 channel 13
iwconfig wlan0 mode Managed
iwconfig wlan0 ap any
ifconfig wlan0 up
dhcpcd wlan0
Code:
noname:/home/daniel # bin/wlan
noname:/home/daniel # tail /var/log/messages
[...]
Mar 17 19:23:24 daniel modify_resolvconf: Service dhcpcd modified /etc/resolv.conf. See info block in this file
noname:/home/daniel #