1 |
Am 21.09.2013 12:47, schrieb Alexander Kapshuk: |
2 |
> I have both wired and wireless network interfaces configured: |
3 |
> box0 log # rc-update show|egrep 'enp3s0|wlp2s0' |
4 |
> net.enp3s0 | default |
5 |
> net.wlp2s0 | default |
6 |
> |
7 |
> (1). Is there a way to instruct the system as to which network interface |
8 |
> to use, so it doesn't try to bring up the one not intended to be used at |
9 |
> boot time: |
10 |
> box0 log # egrep 'enp3s0|wlp2s0' messages |
11 |
> ------------------------------------------- |
12 |
> Sep 21 12:30:18 localhost kernel: [ 12.268209] r8169 0000:03:00.0 |
13 |
> enp3s0: link down |
14 |
> Sep 21 12:30:18 localhost kernel: [ 12.268236] IPv6: |
15 |
> ADDRCONF(NETDEV_UP): enp3s0: link is not ready |
16 |
> Sep 21 12:30:18 localhost /etc/init.d/net.enp3s0[1888]: No configuration |
17 |
> specified; defaulting to DHCP |
18 |
> Sep 21 12:30:18 localhost dhcpcd[1896]: enp3s0: waiting for carrier |
19 |
> Sep 21 12:30:56 localhost /etc/init.d/net.enp3s0[1801]: ERROR: |
20 |
> net.enp3s0 failed to start |
21 |
> Sep 21 12:30:56 localhost kernel: [ 50.595278] IPv6: |
22 |
> ADDRCONF(NETDEV_UP): wlp2s0: link is not ready |
23 |
> Sep 21 12:30:56 localhost /etc/init.d/net.wlp2s0[1917]: WARNING: |
24 |
> net.wlp2s0 has started, but is inactive |
25 |
> Sep 21 12:30:56 localhost /etc/init.d/netmount[2007]: ERROR: cannot |
26 |
> start netmount as net.enp3s0 would not start |
27 |
> Sep 21 12:30:56 localhost /etc/init.d/sshd[2008]: ERROR: cannot start |
28 |
> sshd as net.enp3s0 would not start |
29 |
> Sep 21 12:30:57 localhost kernel: [ 51.817387] wlp2s0: authenticate |
30 |
> with f4:ec:38:b9:59:a7 |
31 |
> Sep 21 12:30:57 localhost kernel: [ 51.825344] wlp2s0: send auth to |
32 |
> f4:ec:38:b9:59:a7 (try 1/3) |
33 |
> Sep 21 12:30:57 localhost kernel: [ 51.826811] wlp2s0: authenticated |
34 |
> Sep 21 12:30:57 localhost kernel: [ 51.827059] wlp2s0: associate with |
35 |
> f4:ec:38:b9:59:a7 (try 1/3) |
36 |
> Sep 21 12:30:57 localhost kernel: [ 51.829316] wlp2s0: RX AssocResp |
37 |
> from f4:ec:38:b9:59:a7 (capab=0x411 status=0 aid=2) |
38 |
> Sep 21 12:30:57 localhost kernel: [ 51.829586] wlp2s0: associated |
39 |
> Sep 21 12:30:57 localhost kernel: [ 51.829598] IPv6: |
40 |
> ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready |
41 |
> Sep 21 12:30:59 localhost wpa_cli: interface wlp2s0 CONNECTED |
42 |
> Sep 21 12:30:59 localhost /etc/init.d/net.wlp2s0[2130]: No configuration |
43 |
> specified; defaulting to DHCP |
44 |
> Sep 21 12:30:59 localhost dhcpcd[2138]: wlp2s0: sending IPv6 Router |
45 |
> Solicitation |
46 |
> Sep 21 12:30:59 localhost dhcpcd[2138]: wlp2s0: sendmsg: Cannot assign |
47 |
> requested address |
48 |
> Sep 21 12:30:59 localhost dhcpcd[2138]: wlp2s0: rebinding lease of |
49 |
> 192.168.1.5 |
50 |
> Sep 21 12:30:59 localhost dhcpcd[2138]: wlp2s0: acknowledged 192.168.1.5 |
51 |
> from 192.168.1.1 `TP-LINK' |
52 |
> Sep 21 12:30:59 localhost dhcpcd[2138]: wlp2s0: checking for 192.168.1.5 |
53 |
> Sep 21 12:31:03 localhost dhcpcd[2138]: wlp2s0: sending IPv6 Router |
54 |
> Solicitation |
55 |
> Sep 21 12:31:03 localhost dhcpcd[2138]: wlp2s0: leased 192.168.1.5 for |
56 |
> 259200 seconds |
57 |
> Sep 21 12:31:07 localhost dhcpcd[2167]: wlp2s0: sending IPv6 Router |
58 |
> Solicitation |
59 |
> Sep 21 12:31:11 localhost dhcpcd[2167]: wlp2s0: sending IPv6 Router |
60 |
> Solicitation |
61 |
> Sep 21 12:31:11 localhost dhcpcd[2167]: wlp2s0: no IPv6 Routers available |
62 |
> ------------------------------------------- |
63 |
> (2). sshd seems to start only if the wired interface is up. How do I |
64 |
> tell it start when the wireless interface is running? |
65 |
> box0 log # rc-status|egrep 'enp3s0|wlp2s0|sshd' |
66 |
> net.enp3s0 [ |
67 |
> stopped ] |
68 |
> net.wlp2s0 [ |
69 |
> started ] |
70 |
> sshd [ |
71 |
> stopped ] |
72 |
> |
73 |
> |
74 |
> Thanks. |
75 |
> |
76 |
> |
77 |
|
78 |
Yeh, same advice here, try wicd first. If you don't want a GUI (or you |
79 |
don't have corresponding UI toolkits installed), there's also the option |
80 |
to configure and use wicd via the ncurses interface. |