public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Kevin Bryan <bryank@cs.uri.edu>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev]  Re: baselayout-1.11.12-r2 request for testers
Date: Sat, 4 Jun 2005 11:16:17 +0000 (UTC)	[thread overview]
Message-ID: <loom.20050604T125507-649@post.gmane.org> (raw)
In-Reply-To: 200505251820.02637.vapier@gentoo.org

Mike Frysinger <vapier <at> 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 <card> txpower <val> 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


  parent reply	other threads:[~2005-06-04 11:34 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-25 22:20 [gentoo-dev] baselayout-1.11.12-r2 request for testers Mike Frysinger
2005-05-25 23:48 ` Daniel Goller
2005-05-26  4:52 ` Paul Varner
2005-05-26  5:29   ` Rumen Yotov
2005-05-26  9:08 ` [gentoo-dev] " Duncan
2005-05-26 12:22   ` Roy Marples
2005-05-26 23:09     ` [gentoo-dev] " Duncan
2005-05-26  9:55 ` [gentoo-dev] " Aaron Walker
2005-05-26 12:16   ` Roy Marples
2005-05-26 12:16   ` Roy Marples
2005-05-26 11:45 ` Jonas Geiregat
2005-05-26 12:48   ` Mike Frysinger
2005-05-26  2:49     ` Jonas Geiregat
2005-05-26 13:41       ` Mike Frysinger
2005-05-26 11:59 ` Rene Zbinden
2005-05-26 12:42 ` [gentoo-dev] " Thomas Kirchner
2005-05-26 13:04 ` [gentoo-dev] " Kevin F. Quinn
2005-05-26 13:33   ` Roy Marples
2005-05-26 18:29     ` Kevin F. Quinn
2005-05-26 14:04 ` Chris Gianelloni
2005-05-26 14:50   ` Mike Frysinger
2005-05-26 15:12     ` Chris Gianelloni
2005-05-26 16:08       ` Mike Frysinger
2005-05-27 13:40         ` Chris Gianelloni
2005-05-27 15:13           ` Mike Frysinger
2005-05-27 15:58             ` Chris Gianelloni
2005-05-27  3:15     ` Daniel Goller
2005-05-27 13:46       ` Chris Gianelloni
2005-05-28 16:03         ` Daniel Goller
2005-05-31 14:25           ` Chris Gianelloni
2005-05-26 14:06 ` Chris Gianelloni
2005-05-30 11:03 ` [gentoo-dev] " Marek Więcek
2005-06-02  1:59 ` [gentoo-dev] " Mike Frysinger
2005-06-04 15:38   ` Joel Martin
2005-06-05 17:17   ` Paul Varner
2005-06-09  2:47   ` Mike Frysinger
2005-06-09  3:39     ` Lance Albertson
2005-06-04 11:16 ` Kevin Bryan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-05-30 14:29 [gentoo-dev] " Konstantin Kletschke
2005-05-30 14:44 ` Aron Griffis
2005-05-30 20:00   ` Konstantin Kletschke
2005-05-30 23:28     ` Mike Frysinger
2005-05-31  6:53       ` Konstantin Kletschke
2005-05-31 12:20         ` Mike Frysinger
2005-05-31 12:45           ` Konstantin Kletschke
2005-05-31 13:18             ` Mike Frysinger
2005-05-31 22:49               ` Konstantin Kletschke
2005-05-31 22:57                 ` Mike Frysinger
2005-06-01  6:41                   ` Konstantin Kletschke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20050604T125507-649@post.gmane.org \
    --to=bryank@cs.uri.edu \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox