1 |
Grant schrieb: |
2 |
>>>>> Thanks for the clarification Norman :-) |
3 |
>>>>> |
4 |
>>>>> ok, I removed net.wlan0 so it doesn't start up anymore. My computer |
5 |
>>>>> booted |
6 |
>>>>> up and all the services are working the way they should, however I am |
7 |
>>>>> having a problem getting hostapd to start. Here is the error I get when |
8 |
>>>>> I |
9 |
>>>>> tried to start up hostapd... |
10 |
>>>>> |
11 |
>>>>> penguin ~ # /etc/init.d/hostapd start |
12 |
>>>>> * Bringing up interface wlan0 |
13 |
>>>>> * Configuring wireless network for wlan0 |
14 |
>>>>> * Scanning for access points |
15 |
>>>>> * no access points found |
16 |
>>>>> * Failed to configure wireless for wlan0 |
17 |
>>>>> * ERROR: net.wlan0 failed to start |
18 |
>>>>> * ERROR: cannot start hostapd as net.wlan0 would not start |
19 |
>>>>> |
20 |
>>>>> It's suppose to be an access point, not scanning for one so do you have |
21 |
>>>>> any idea what I should do now? |
22 |
>>>>> |
23 |
>>>>> |
24 |
>>>>> |
25 |
>>>>> |
26 |
>>>>> |
27 |
>>>> Did you remove wlan0 from the /etc/conf.d/hostapd file? |
28 |
>>>> |
29 |
>>>> |
30 |
>>>> |
31 |
>>>> |
32 |
>>> No, should I just leave it empty? |
33 |
>>> INTERFACES="" |
34 |
>>> |
35 |
>>> What about /etc/hostapd/hostapd.conf? |
36 |
>>> Do I leave it like this... |
37 |
>>> interface=wlan0 |
38 |
>>> ...or remove that line too? |
39 |
>>> |
40 |
>>> |
41 |
>>> |
42 |
>> INTERFACES should at least contain the bridge device. The wired NIC does not |
43 |
>> hurt either. |
44 |
>> In /etc/hostapd/hostapd.conf wlan0 is needed to tell hostapd which device it |
45 |
>> has to initialize, so leave it like this. |
46 |
>> |
47 |
> |
48 |
> I've almost got this working, but I don't know what to include in the |
49 |
> /etc/conf.d/hostapd INTERFACES variable since I don't have a br0 |
50 |
> device or configuration. Do I need one? If I leave INTERFACES empty |
51 |
> and I don't start net.wlan0, I don't have a way to define the IP |
52 |
> address for the AP, and shorewall's "loc" zone is empty because |
53 |
> net.wlan0 hasn't started. |
54 |
> |
55 |
> - Grant |
56 |
> |
57 |
> |
58 |
What do you want to do with your accesspoint. You will need a bridge to |
59 |
a wired network if you want your ap attached to that wired network. This |
60 |
is quite usual though... |
61 |
Without a bridge to a wired network, only the wlan systems are connected |
62 |
and can not connect to your wired systems. |