From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id BA3821381F3 for ; Sat, 21 Sep 2013 13:34:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 27725E0B43; Sat, 21 Sep 2013 13:34:04 +0000 (UTC) Received: from mail-ee0-f45.google.com (mail-ee0-f45.google.com [74.125.83.45]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A43EEE0ADF for ; Sat, 21 Sep 2013 13:34:02 +0000 (UTC) Received: by mail-ee0-f45.google.com with SMTP id c50so802987eek.18 for ; Sat, 21 Sep 2013 06:34:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=A3UwYNLBIjg4MrJ6F0XE39BTYsl+ZXu9pzKUZyDKsKg=; b=RjMLWMeLvwjaTNr+a4lcoleXbcvtyaxPkWugIAnlEXK/Vjs/V0L2PJEujFbQxBqdyj LudiONhcexRwzHJq+dgtXZSmyloMI1mrRfkdGCPIMcOsakrxwQfOe80UHjYUP7KRX9J8 YKVjNZB/wHpY1zrl/h8o0h9pUFAqopvk5G+ZPEpgRRIX6X5yWyeELlZlwupEqWM7uN3Q MKJioVj06TZulOLC8XTGOkBCxOQeOR0ax7eQzVG4GL21DK9RXG0ga/uj/ewN8sHB5Ekp vhOi6FAHIDOPGA/nrnGodnnE22Lzq8nVEkHC012n7XoD0M6dh380iS8OgQpoFKY9xvU5 E8/g== X-Received: by 10.14.183.130 with SMTP id q2mr19462472eem.5.1379770441173; Sat, 21 Sep 2013 06:34:01 -0700 (PDT) Received: from [192.168.0.3] (ip-109-90-6-99.unitymediagroup.de. [109.90.6.99]) by mx.google.com with ESMTPSA id n48sm27009706eeg.17.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 21 Sep 2013 06:34:00 -0700 (PDT) Message-ID: <523DA040.2000302@googlemail.com> Date: Sat, 21 Sep 2013 15:33:52 +0200 From: Torben Hensgens Mailer User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] re: alternating between wired and wireless interfaces References: <523D793C.4050105@gmail.com> In-Reply-To: <523D793C.4050105@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: ca0d5450-a76f-4446-9333-1d35e2d1a651 X-Archives-Hash: 489b3f6b4ff3254a48aef09f21e2f45b Am 21.09.2013 12:47, schrieb Alexander Kapshuk: > I have both wired and wireless network interfaces configured: > box0 log # rc-update show|egrep 'enp3s0|wlp2s0' > net.enp3s0 | default > net.wlp2s0 | default > > (1). Is there a way to instruct the system as to which network interface > to use, so it doesn't try to bring up the one not intended to be used at > boot time: > box0 log # egrep 'enp3s0|wlp2s0' messages > ------------------------------------------- > Sep 21 12:30:18 localhost kernel: [ 12.268209] r8169 0000:03:00.0 > enp3s0: link down > Sep 21 12:30:18 localhost kernel: [ 12.268236] IPv6: > ADDRCONF(NETDEV_UP): enp3s0: link is not ready > Sep 21 12:30:18 localhost /etc/init.d/net.enp3s0[1888]: No configuration > specified; defaulting to DHCP > Sep 21 12:30:18 localhost dhcpcd[1896]: enp3s0: waiting for carrier > Sep 21 12:30:56 localhost /etc/init.d/net.enp3s0[1801]: ERROR: > net.enp3s0 failed to start > Sep 21 12:30:56 localhost kernel: [ 50.595278] IPv6: > ADDRCONF(NETDEV_UP): wlp2s0: link is not ready > Sep 21 12:30:56 localhost /etc/init.d/net.wlp2s0[1917]: WARNING: > net.wlp2s0 has started, but is inactive > Sep 21 12:30:56 localhost /etc/init.d/netmount[2007]: ERROR: cannot > start netmount as net.enp3s0 would not start > Sep 21 12:30:56 localhost /etc/init.d/sshd[2008]: ERROR: cannot start > sshd as net.enp3s0 would not start > Sep 21 12:30:57 localhost kernel: [ 51.817387] wlp2s0: authenticate > with f4:ec:38:b9:59:a7 > Sep 21 12:30:57 localhost kernel: [ 51.825344] wlp2s0: send auth to > f4:ec:38:b9:59:a7 (try 1/3) > Sep 21 12:30:57 localhost kernel: [ 51.826811] wlp2s0: authenticated > Sep 21 12:30:57 localhost kernel: [ 51.827059] wlp2s0: associate with > f4:ec:38:b9:59:a7 (try 1/3) > Sep 21 12:30:57 localhost kernel: [ 51.829316] wlp2s0: RX AssocResp > from f4:ec:38:b9:59:a7 (capab=0x411 status=0 aid=2) > Sep 21 12:30:57 localhost kernel: [ 51.829586] wlp2s0: associated > Sep 21 12:30:57 localhost kernel: [ 51.829598] IPv6: > ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready > Sep 21 12:30:59 localhost wpa_cli: interface wlp2s0 CONNECTED > Sep 21 12:30:59 localhost /etc/init.d/net.wlp2s0[2130]: No configuration > specified; defaulting to DHCP > Sep 21 12:30:59 localhost dhcpcd[2138]: wlp2s0: sending IPv6 Router > Solicitation > Sep 21 12:30:59 localhost dhcpcd[2138]: wlp2s0: sendmsg: Cannot assign > requested address > Sep 21 12:30:59 localhost dhcpcd[2138]: wlp2s0: rebinding lease of > 192.168.1.5 > Sep 21 12:30:59 localhost dhcpcd[2138]: wlp2s0: acknowledged 192.168.1.5 > from 192.168.1.1 `TP-LINK' > Sep 21 12:30:59 localhost dhcpcd[2138]: wlp2s0: checking for 192.168.1.5 > Sep 21 12:31:03 localhost dhcpcd[2138]: wlp2s0: sending IPv6 Router > Solicitation > Sep 21 12:31:03 localhost dhcpcd[2138]: wlp2s0: leased 192.168.1.5 for > 259200 seconds > Sep 21 12:31:07 localhost dhcpcd[2167]: wlp2s0: sending IPv6 Router > Solicitation > Sep 21 12:31:11 localhost dhcpcd[2167]: wlp2s0: sending IPv6 Router > Solicitation > Sep 21 12:31:11 localhost dhcpcd[2167]: wlp2s0: no IPv6 Routers available > ------------------------------------------- > (2). sshd seems to start only if the wired interface is up. How do I > tell it start when the wireless interface is running? > box0 log # rc-status|egrep 'enp3s0|wlp2s0|sshd' > net.enp3s0 [ > stopped ] > net.wlp2s0 [ > started ] > sshd [ > stopped ] > > > Thanks. > > Yeh, same advice here, try wicd first. If you don't want a GUI (or you don't have corresponding UI toolkits installed), there's also the option to configure and use wicd via the ncurses interface.