Gentoo Archives: gentoo-user

From: Jason Carson <jason@×××××××××××.ca>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Atheros kernel driver and my wireless access point setup
Date: Wed, 10 Jun 2009 04:38:22
Message-Id: 22e332067298a86dc79f6def4e071ee3.squirrel@jasoncarson.ca
In Reply to: Re: [gentoo-user] Atheros kernel driver and my wireless access point setup by "Norman Rieß"
1 > Jason Carson schrieb:
2 >> Hey Norman,
3 >>
4 >> I tried changing my /etc/conf.d/net to what you suggested but it
5 >> resulted
6 >> in the following errors...
7 >>
8 >> *Bringing up interface wlan0
9 >> * Configuring wireless network for wlan0
10 >> * Scanning for access points
11 >> * no access points found
12 >> * Failed to configure wireless for wlan0
13 >>
14 >> Then because wlan0 wouldn't start I got a bunch of errors like...
15 >>
16 >> * Error: cannot start named as net.wlan0 would not start
17 >> * Error: cannot start sshd as net.wlan0 would not start
18 >> * Error: cannot start apache2 as net.wlan0 would not start
19 >> etc...
20 >>
21 >>
22 >>
23 >>
24 >>
25 > This is still rc-script output... do not use the rc-script. Do not start
26 > it!
27 > Your errors would be, because you have to detach these services from
28 > wlan0 and let them use the bridge.
29 >
30 > Here is some output from my box:
31 >
32 > mimir ~ # rc-update -s -v | grep net
33 > local | default nonetwork
34 > net.br0 | default
35 > net.eth0 | default
36 > net.lo | boot
37 > netmount | default
38 > mimir ~ # ifconfig wlan0
39 > wlan0 Protokoll:Ethernet Hardware Adresse 00:80:48:5e:57:3d
40 > inet6 Adresse: fe80::280:48ff:fe5e:573d/64
41 > Gültigkeitsbereich:Verbindung
42 > UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
43 > RX packets:48 errors:0 dropped:0 overruns:0 frame:0
44 > TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
45 > Kollisionen:0 Sendewarteschlangenlänge:1000
46 > RX bytes:7344 (7.1 KiB) TX bytes:14190 (13.8 KiB)
47 >
48 > mimir ~ # ls /etc/init.d/net.*
49 > /etc/init.d/net.br0 /etc/init.d/net.eth0 /etc/init.d/net.lo
50 >
51 > As you can see, there is no rc-script on wlan, but it is initialized an
52 > running in AP mode.
53 >
54 > Regards
55 > Norman
56 >
57 >
58 >
59 Thanks for the clarification Norman :-)
60
61 ok, I removed net.wlan0 so it doesn't start up anymore. My computer booted
62 up and all the services are working the way they should, however I am
63 having a problem getting hostapd to start. Here is the error I get when I
64 tried to start up hostapd...
65
66 penguin ~ # /etc/init.d/hostapd start
67 * Bringing up interface wlan0
68 * Configuring wireless network for wlan0
69 * Scanning for access points
70 * no access points found
71 * Failed to configure wireless for wlan0
72 * ERROR: net.wlan0 failed to start
73 * ERROR: cannot start hostapd as net.wlan0 would not start
74
75 It's suppose to be an access point, not scanning for one so do you have
76 any idea what I should do now?

Replies

Subject Author
Re: [gentoo-user] Atheros kernel driver and my wireless access point setup "Norman Rieß" <norman@×××××××××.org>