1 |
you must modify your net.ath0 script to include "provide net.eth0" and |
2 |
then when sshd and ntpd start that will see that the net.ath0 script |
3 |
provides net.eth0. kinda complicated but read the init script docs a few |
4 |
times over and you should be good. |
5 |
|
6 |
> Collin Starkweather wrote: |
7 |
> |
8 |
>>On Sun, 2004-03-07 at 20:42, Jerry McBride wrote: |
9 |
>> |
10 |
>> |
11 |
>>>Collin Starkweather wrote: |
12 |
>>> |
13 |
>>> |
14 |
>>>>I put a 'provide net' in /etc/init.d/net.ath0 but when I start it up, |
15 |
>>>>other things that 'need net' such as sshd still don't recognize it as |
16 |
>>>>something that provides the virtual 'net' dependency and try to start |
17 |
>>>>eth0. |
18 |
>>>> |
19 |
>>>> |
20 |
>>>Those scripts in /etc/init.d are actual startup scripts that are called |
21 |
>>> by |
22 |
>>>two methods... First there's the Pain-In-The-Ass internal dependencies |
23 |
>>> as |
24 |
>>>you seem to be familiar with and then there's the runlevels... You can |
25 |
>>> list |
26 |
>>>the runlevels by: rc-update -s. Unless you've chaned it, net.eth0 is in |
27 |
>>> the |
28 |
>>>default runlevel... |
29 |
>>> |
30 |
>>> |
31 |
>> |
32 |
>>Thanks to you and Matt for your replies. It sucks that it's hardcoded. |
33 |
>>I set net.ath0 to default and took net.eth0 out, but when ntpd or sshd |
34 |
>>are started they try to start their dependencies as well. |
35 |
>> |
36 |
>>Hence, init tries to start eth0 at the default runlevel whether I want |
37 |
>>it to or not :-( |
38 |
>> |
39 |
>>-me |
40 |
>> |
41 |
>> |
42 |
>> |
43 |
> This is a big guess but maybe you could try moving net.eth0 to |
44 |
> net.eth0.bak then sim linking net.ath0 to net.eth0 |
45 |
> |
46 |
> |
47 |
|
48 |
|
49 |
-- |
50 |
dabozz@××××××××××××.org |