1 |
On 11/03/2015 13:40, German wrote: |
2 |
>> wpa_supplicant doesn't handle switching between wored and wireless |
3 |
>> > interfaces, which is why I suggest a network manager. That could be |
4 |
>> > NetworkManager, but you could equally use Wicd. Both are in portage. |
5 |
>> > |
6 |
>> > Alternatively, you could just set up the two interfacs |
7 |
>> > in /etc/conf.d/net and switch between them by starting and |
8 |
>> > stopping /etc/init.d/net.{eth0,wlan0}. |
9 |
>> > |
10 |
>> > It depends on how automatic you want it. |
11 |
> Ok, I tried to emerge networkmanger and it tries to pull a bunch of dependencies which I do not need, e.g. x11-proto, x11-libs. I already set use flag to -X because for now I will be happy with console mode, but it still tries to pull them. How do I tell portage not emerge unneeded dependencies? Thanks |
12 |
> |
13 |
|
14 |
|
15 |
You tell portage to not pull in unneeded dependencies by setting the |
16 |
appropriate USE flags. The people you are asking for assistance will |
17 |
determine this by reading the ebuild, or by using the appropriate |
18 |
portage tools to figure it out. You should start learning these skills |
19 |
yourself so you can answer your own questions. |
20 |
|
21 |
1. Run eix-e networkmanager. There is nothing there related to x11. |
22 |
|
23 |
2. Read the ebuild for networkmanager-1.0.0. There is nothing in there |
24 |
related to x11, so that's not it. |
25 |
|
26 |
3. Run emerge -pvt networkmanager. This will give an indented view of |
27 |
what is pulling in what. Find the entries of x11-proto etc and see what |
28 |
is pulling them in. Investigate those packages to disable x11. |
29 |
|
30 |
|
31 |
|
32 |
-- |
33 |
Alan McKinnon |
34 |
alan.mckinnon@×××××.com |