Gentoo Archives: gentoo-user-de

From: Andreas Klein <randy-andy-@×××.de>
To: gentoo-user-de@l.g.o
Subject: Re: [gentoo-user-de] Kann statische IP-Adresse fuer WLAN nicht mehr mit /etc/conf.d/net setzen.Hi Jürgen
Date: Tue, 23 Dec 2008 11:05:42
Message-Id: 200812231157.08313.randy-andy-@web.de
In Reply to: [gentoo-user-de] Kann statische IP-Adresse fuer WLAN nicht mehr mit /etc/conf.d/net setzen. by Juergen Rose
1 Hi Jürgen,
2
3 mache gerade ein world update, als ich auf unten stehendes stieß, eventuell ist das ein Hinweis, ansonsten weiß ich's auch nicht...
4
5 Good luck, Andy.
6
7
8 Installing sys-fs/udev-135-r2
9 *
10 * Updating persistent-net rules file
11 *
12 * restarting udevd now.
13 *
14 * persistent-net does assigning fixed names to network devices.
15 * If you have problems with the persistent-net rules,
16 * just delete the rules file
17 * rm /etc/udev/rules.d/70-persistent-net.rules
18 * and then reboot.
19 *
20 * This may however number your devices in a different way than they are now.
21 *
22 * If you build an initramfs including udev, then please
23 * make sure that the /sbin/udevadm binary gets included,
24 * and your scripts changed to use it,as it replaces the
25 * old helper apps udevinfo, udevtrigger, ...
26 *
27 * mount options for directory /dev are no longer
28 * set in /etc/udev/udev.conf, but in /etc/fstab
29 * as for other directories.
30 *
31 * For more information on udev on Gentoo, writing udev rules, and
32 * fixing known issues visit:
33 * http://www.gentoo.org/doc/en/udev-guide.xml
34
35 Am Monday 22 December 2008 19:12:23 schrieb Juergen Rose:
36 > Hallo,
37 >
38 > ich habe hier einen Thinkpad T43 mit einem Atheros AR5212 Chip und einen
39 > Thinkpad T61 mit einem Intel PRO/Wireless 4965 Chip. Fuer den Atheros
40 > Chip benutze ich den madwifi-ng- und fuer den Intel Chip den
41 > iwlagn-iwlwifi-4965-2.ucode-Treiber.
42 >
43 > Seit gestern gelingt es mir mit beiden Rechnern nicht mehr statische
44 > IP-Adresse innerhalb von /etc/conf.d/net zu setzen. Beim T61 habe ich
45 > z.B. in /etc/conf.d/net die folgenden Eintraege:
46 >
47 > config_wlan0="192.168.1.33 broadcast 192.168.1.255 netmask
48 > 255.255.255.0"
49 > routes_wlan0="default via 192.168.1.251"
50 > modules="wpa_supplicant"
51 > wpa_supplicant_eth0="-Dwext" # For generic wireless
52 >
53 > In /etc/wpa_supplicant/wpa_supplicant.conf steht:
54 > eapol_version=1
55 > ap_scan=3
56 > network={
57 > ssid="jrnet"
58 > key_mgmt=WPA-PSK
59 > proto=WPA
60 > pairwise=TKIP
61 > group=TKIP
62 > psk="PrivatPSK"
63 > }
64 >
65 > Lsmod zeigt mir an das iwlagn und iwlcore geladen sind. Ifconfig macht
66 > die folgenden Ausgaben:
67 >
68 > eth0 Link encap:Ethernet HWaddr 00:1e:37:cc:83:a9
69 > UP BROADCAST MULTICAST MTU:1500 Metric:1
70 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0
71 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
72 > collisions:0 txqueuelen:1000
73 > RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
74 > Memory:fe200000-fe220000
75 >
76 > lo Link encap:Local Loopback
77 > inet addr:127.0.0.1 Mask:255.0.0.0
78 > inet6 addr: ::1/128 Scope:Host
79 > UP LOOPBACK RUNNING MTU:16436 Metric:1
80 > RX packets:62 errors:0 dropped:0 overruns:0 frame:0
81 > TX packets:62 errors:0 dropped:0 overruns:0 carrier:0
82 > collisions:0 txqueuelen:0
83 > RX bytes:4772 (4.6 KiB) TX bytes:4772 (4.6 KiB)
84 >
85 > wlan0 Link encap:Ethernet HWaddr 00:1f:3b:47:28:19
86 > inet6 addr: fe80::21f:3bff:fe47:2819/64 Scope:Link
87 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
88 > RX packets:20 errors:0 dropped:0 overruns:0 frame:0
89 > TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
90 > collisions:0 txqueuelen:1000
91 > RX bytes:5843 (5.7 KiB) TX bytes:993 (993.0 B)
92 >
93 > wmaster0 Link encap:UNSPEC HWaddr
94 > 00-1F-3B-47-28-19-00-00-00-00-00-00-00-00-00-00
95 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
96 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0
97 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
98 > collisions:0 txqueuelen:1000
99 > RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
100 >
101 > D.h., dem Interface wlan0 wurde nicht die IP-Adresse 192.168.1.33
102 > zugeordnet. iwconfig zeigt mir:
103 >
104 > lo no wireless extensions.
105 >
106 > sit0 no wireless extensions.
107 >
108 > eth0 no wireless extensions.
109 >
110 > wmaster0 no wireless extensions.
111 >
112 > pan0 no wireless extensions.
113 >
114 > wlan0 IEEE 802.11abgn ESSID:"jrnet"
115 > Mode:Managed Frequency:2.462 GHz Access Point:
116 > 00:14:BF:E1:DA:8B
117 > Bit Rate=54 Mb/s Tx-Power=15 dBm
118 > Retry min limit:7 RTS thr:off Fragment thr=2352 B
119 > Encryption key:ALongHexKey Security mode:open
120 > Power Management:off
121 > Link Quality=100/100 Signal level:-32 dBm Noise level=-87
122 > dBm
123 > Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
124 > Tx excessive retries:0 Invalid misc:0 Missed beacon:0
125 > an. Wenn ich noch '/etc/init.d/net.wlan0 restart' eingebe, sehe ich:
126 >
127 > * Bringing down interface wlan0
128 > * Loaded modules: ip6to4 dhcpcd udhcpc dhclient system pppd iproute2
129 > ifconfig ssidnet wpa_supplicant iwconfig ipppd ifplugd netplugd macnet
130 > macchanger ccwgroup bridge tuntap br2684ctl bonding arping apipa
131 > * Stopping wpa_cli on wlan0...
132 > * Will stop /usr/bin/wpa_cli
133 > * Will stop PID in pidfile `/var/run/wpa_cli-wlan0.pid'
134 > * Will stop processes of `/usr/bin/wpa_cli'
135 > * Sending signal 15 to PID 21506... [ ok ]
136 > [ ok ]
137 > * Stopping wpa_supplicant on wlan0...
138 > * Will stop /usr/sbin/wpa_supplicant
139 > * Will stop PID in pidfile `/var/run/wpa_supplicant-wlan0.pid'
140 > * Will stop processes of `/usr/sbin/wpa_supplicant'
141 > * Sending signal 15 to PID 21499... [ ok ]
142 > [ ok ]
143 > * Bringing up interface wlan0
144 > * Loaded modules: apipa arping bonding tuntap bridge ccwgroup
145 > macchanger macnet ifplugd wpa_supplicant ssidnet iproute2 pppd system
146 > dhcpcd ip6to4
147 > * Configuring wlan0 for MAC address 00:1F:3B:47:28:19... [ ok ]
148 > * ifplugd does not work with wireless
149 > * Starting wpa_supplicant on wlan0...
150 > * Detaching to start `/usr/sbin/wpa_supplicant'... [ ok ]
151 > * Starting wpa_cli on wlan0...
152 > * Detaching to start `/usr/bin/wpa_cli'... [ ok ]
153 > * Backgrounding ......* WARNING: net.wlan0 has started, but is
154 > inactive .
155 >
156 > Wenn ich versuche das wlan0-Interface manuell zu konfigurieren:
157 >
158 > ifconfig wlan0 192.168.1.33
159 >
160 > funktioniert das und ich kann das Interface benutzen. Beim T43 sind die
161 > Symptome vergleichbar, man muss nur wlan0 durch ath0 ersetzen.
162 > Hat jemand eine Idee, was die Ursache ist? Kann openrc-0.4.0 die Ursache
163 > sein? Wie loest man das Problem am besten?
164 >
165 >
166 >
167 >
168 >
169 >
170 >
171 >
172 >
173 >
174 >