From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j54BY9TX017312 for ; Sat, 4 Jun 2005 11:34:09 GMT Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by smtp.gentoo.org with esmtp (Exim 4.43) id 1DeWus-0001bh-Ij for gentoo-dev@lists.gentoo.org; Sat, 04 Jun 2005 11:34:14 +0000 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1DeWqv-0004E5-Km for gentoo-dev@gentoo.org; Sat, 04 Jun 2005 13:30:09 +0200 Received: from ip68-9-108-165.ri.ri.cox.net ([68.9.108.165]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 04 Jun 2005 13:30:09 +0200 Received: from bryank by ip68-9-108-165.ri.ri.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 04 Jun 2005 13:30:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Kevin Bryan Subject: [gentoo-dev] Re: baselayout-1.11.12-r2 request for testers Date: Sat, 4 Jun 2005 11:16:17 +0000 (UTC) Message-ID: References: <200505251820.02637.vapier@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 68.9.108.165 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050514 Firefox/1.0.4) Sender: news X-Archives-Salt: d39dcc3a-9180-4ac7-a506-f50772c52985 X-Archives-Hash: 2cf3baa535523009c59e036456f40da2 Mike Frysinger gentoo.org> writes: > > yes, it's finally that time ... after months of hearing us say 'we want to get > new baselayout stable asap', we're serious > > so can people please try out baselayout-1.11.12-r2+ and see if they notice any > regressions ? the 'best' tests are simply rebooting and seeing if your > system comes up :) > I've been running the 1.11.x series since .8 with no problems (except the parallel thing that was mentioned before). Good work! I just wanted to share some of the coolness of the new scripts: Let's say you have a wireless network that uses BlueSocket login. It's rather annoying to have to load a web browser before you can start using the connection. I wrote a little perl script to submit the form and call it from postup(). (Email me if you want the script.) A second bit of logic I added to postup() was to merge the settings from my wireless card into the bonding interface. This works as follows: local ESSID=$( wireless_get_essid eth1 ) if [ "${IFACE}" == "bond0" ] ; then echo "ESSID: $ESSID" if [ -z "$(eval echo \${config_${ESSID}})" ] || [ "$(eval echo \${config_${ESSID}})" == "dhcp" ] ; then dhcpcd -t 5 bond0 else echo $(eval echo "\${config_${ESSID}}") ifconfig ${IFACE} $(eval echo "\${config_${ESSID}}") (route -n | grep -q "^0.0.0.0") && route del default route add $(eval echo "\${routes_${ESSID}}") fi fi Note that I also have these lines for the bond0 interface: slaves_bond0="eth0 eth1" config_bond0=( "null" ) # I'll configure this later The astute reader will notice that I got a little lazy and didn't use the dhcpcd_xxx variables for that condition, but that wouldn't be too hard to hack in there. The end result of this is I can seemlessly go back and forth between the wired and wireless worlds without losing network connections. It's great to be on wireless, start a download, plug into the wired, and then get an immediate speed boost! Here's another hint for wireless users: Test your card's ability to respond to iwconfig txpower commands. Then put whatever the max value is into the /etc/conf.d/wireless preassociate() function. This should have a noticable effect on your ability to connect to networks. Thanks for making this all this possible! --Kevin -- gentoo-dev@gentoo.org mailing list