Re: [arch-general] systemd network configuration

2012-07-27 Thread David Benfell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/26/2012 09:19 AM, C Anthony Risinger wrote: (that it worked for him. Does anyone know how to fix Thunderbird's quoting so that it actually quotes?) Okay, so this will be a real shocker. I was wrong. It works for me as well. Unsurprisingly, I ha

Re: [arch-general] systemd network configuration

2012-07-26 Thread C Anthony Risinger
On Thu, Jul 26, 2012 at 9:56 AM, David Benfell wrote: >> >> last command also fails. this is one reason i had the `link up` >> command at the end -- it always succeeds. >> >> what's wrong with delaying `link up` until the end? > > My understanding (/assumption/misconception?) was that one had to

Re: [arch-general] systemd network configuration

2012-07-26 Thread David Benfell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/26/2012 07:49 AM, C Anthony Risinger wrote: > On Thu, Jul 26, 2012 at 9:13 AM, David Benfell > wrote: >> >> Even with all those dashes in front of every command, it exits >> with a code and is plainly unhappy. Which I find mystifying. > > hmm

Re: [arch-general] systemd network configuration

2012-07-26 Thread C Anthony Risinger
On Thu, Jul 26, 2012 at 9:13 AM, David Benfell wrote: > > Even with all those dashes in front of every command, it exits with a > code and is plainly unhappy. Which I find mystifying. hmm, i'm not 100% sure either -- my guess is because the `add` commands are in fact failing (addr already added)

Re: [arch-general] systemd network configuration

2012-07-26 Thread David Benfell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/26/2012 03:36 AM, Tom Gundersen wrote: > > The standard thing is to place it in /etc/systemd/system. However, > this will not start it on next boot. For that you should > "systemctl enable nonstandard-network.service" (which will create a > sym

Re: [arch-general] systemd network configuration

2012-07-26 Thread David Benfell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/25/2012 11:34 PM, Guillaume Brunerie wrote: > > It’s /bin/zsh. > Oh, this is an artifact from the fact I have so many scripts I copied over from whatever Debian-variant distribution I was using before. I have it sym-linked. - -- David Benfell

Re: [arch-general] systemd network configuration

2012-07-26 Thread David Benfell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/25/2012 10:58 PM, C Anthony Risinger wrote: > > i modified it for you here: http://dpaste.com/775539/plain/ > Thanks! This approach seems to be fruitful, and of the network daemons, only tor and freshclam are coming up without the network succ

Re: [arch-general] systemd network configuration

2012-07-26 Thread Tom Gundersen
On Thu, Jul 26, 2012 at 5:05 AM, David Benfell wrote: > I have no evidence that it actually runs. If nothing else, I would > expect a pause, while it works its way through all those "sleep 1" > statements even if everything succeeds on the first try. And my > understanding is that none of my netwo

Re: [arch-general] systemd network configuration

2012-07-25 Thread Guillaume Brunerie
2012/7/26 David Benfell > Hi all, > > On 07/25/2012 01:52 PM, David Benfell wrote: > >>> On Wed, Jul 25, 2012 at 11:57:02AM +0200, Tom Gundersen wrote: > >>> > Then create a service file in > /etc/systemd/system/davids-network.service > > [unit] description= David's Network Se

Re: [arch-general] systemd network configuration

2012-07-25 Thread C Anthony Risinger
On Thu, Jul 26, 2012 at 12:18 AM, David Benfell wrote: > > [Install] > Alias=sys-subsystem-net-devices-lan0.device.wants/u.net.static at > lan0.service > > I see that %I is supposed to stand for eth0; how do I connect this > with eth0? i modified it for you here: http://dpaste.com/775539/plain/

Re: [arch-general] systemd network configuration

2012-07-25 Thread David Benfell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, Regrettably, due to some overzealous spam filtering in my Thunderbird configuration and elsewhere, I'm just finding C. Anthony Risinger's suggestion: [Unit] Description=[u] Static Interface [%I] StopWhenUnneeded=true Wants=network.target Befo

Re: [arch-general] systemd network configuration

2012-07-25 Thread David Benfell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, On 07/25/2012 01:52 PM, David Benfell wrote: >>> On Wed, Jul 25, 2012 at 11:57:02AM +0200, Tom Gundersen wrote: >>> Then create a service file in /etc/systemd/system/davids-network.service [unit] description= David's Net

Re: [arch-general] systemd network configuration

2012-07-25 Thread David Benfell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/25/2012 03:47 PM, Kevin Chadwick wrote: > Can you not find the space to create images or dumps, so that you > can try again if need be. Or do you have a massive root partition. > It's pretty big. And I'm a starving and unemployed (Ph.D.) studen

Re: [arch-general] systemd network configuration

2012-07-25 Thread Kevin Chadwick
> check if root is /dev/sda in /etc/fstab and you > may need /var, /usr too) > > > /bin/dd if=/dev/sda bs=32k | /bin/gzip > /home/dave/sda-backup.gz Oops, autopilot check if / is /dev/sda1 /dev/sda is whole disk which will likely take ages without clonezilla. -- ___

Re: [arch-general] systemd network configuration

2012-07-25 Thread Kevin Chadwick
> Thanks! I will be testing this (and a few other things) just as soon > as I work my courage up to try a reboot. I know you're supposed to > test one thing at a time. This situation doesn't really allow that. :-/ Can you not find the space to create images or dumps, so that you can try again if n

Re: [arch-general] systemd network configuration

2012-07-25 Thread David Benfell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> On Wed, Jul 25, 2012 at 11:57:02AM +0200, Tom Gundersen wrote: >> >>> Then create a service file in >>> /etc/systemd/system/davids-network.service >>> >>> [unit] description= David's Network Setup Wants= >>> network.target Before= network.target >

Re: [arch-general] systemd network configuration

2012-07-25 Thread C Anthony Risinger
On Wed, Jul 25, 2012 at 9:03 AM, Fons Adriaensen wrote: > On Wed, Jul 25, 2012 at 11:57:02AM +0200, Tom Gundersen wrote: > >> Then create a service file in /etc/systemd/system/davids-network.service >> >> [unit] >> description= David's Network Setup >> Wants= network.target >> Before= network.targ

Re: [arch-general] systemd network configuration

2012-07-25 Thread Fons Adriaensen
On Wed, Jul 25, 2012 at 11:57:02AM +0200, Tom Gundersen wrote: > Then create a service file in /etc/systemd/system/davids-network.service > > [unit] > description= David's Network Setup > Wants= network.target > Before= network.target > > [service] > Type = oneshot > ExecStart=/usr/local/bin/da

Re: [arch-general] systemd network configuration

2012-07-25 Thread Jameson
On Wed, Jul 25, 2012 at 6:59 AM, Ralf Mardorf wrote: > On Wed, 2012-07-25 at 06:42 -0400, Baho Utot wrote: >> On Wednesday, July 25, 2012 11:57:02 AM Tom Gundersen wrote:or you could >> > tell systemd to ruin your script. >> ^^^ >> This was worth a good laugh this morni

Re: [arch-general] systemd network configuration

2012-07-25 Thread Ralf Mardorf
On Wed, 2012-07-25 at 06:42 -0400, Baho Utot wrote: > On Wednesday, July 25, 2012 11:57:02 AM Tom Gundersen wrote:or you could > > tell systemd to ruin your script. > ^^^ > This was worth a good laugh this morning Typing ungloved is better. Or using an alphabetically ke

Re: [arch-general] systemd network configuration

2012-07-25 Thread Tom Gundersen
On Jul 25, 2012 12:42 PM, "Baho Utot" wrote: > > On Wednesday, July 25, 2012 11:57:02 AM Tom Gundersen wrote: > > On Jul 25, 2012 2:45 AM, "David Benfell" wrote: > > > rc.d start network #successfully gets some address and a route > > > for i in 74.207.225.79/32 74.207.227.150/32 173.230.137.73/3

Re: [arch-general] systemd network configuration

2012-07-25 Thread Baho Utot
On Wednesday, July 25, 2012 11:57:02 AM Tom Gundersen wrote: > On Jul 25, 2012 2:45 AM, "David Benfell" wrote: > > rc.d start network #successfully gets some address and a route > > for i in 74.207.225.79/32 74.207.227.150/32 173.230.137.73/32 > > 173.230.137.76/32 > > do > > > > ip addr

Re: [arch-general] systemd network configuration

2012-07-25 Thread Tom Gundersen
On Jul 25, 2012 2:45 AM, "David Benfell" wrote: > rc.d start network #successfully gets some address and a route > for i in 74.207.225.79/32 74.207.227.150/32 173.230.137.73/32 > 173.230.137.76/32 > do > ip addr add "${i}" dev eth0 > done > ip -6 addr add 2600:3c02::f03c:91ff:fe96:64e2/64

Re: [arch-general] systemd network configuration

2012-07-24 Thread C Anthony Risinger
On Tue, Jul 24, 2012 at 7:44 PM, David Benfell wrote: > > Hi, > > Because it's summer, and I'd really rather not try to figure all this > out during the school year, I'm trying to figure out systemd *now*, > rather than waiting until rc.conf goes away. > > I actually had trouble with rc.conf when

[arch-general] systemd network configuration

2012-07-24 Thread David Benfell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Because it's summer, and I'd really rather not try to figure all this out during the school year, I'm trying to figure out systemd *now*, rather than waiting until rc.conf goes away. I actually had trouble with rc.conf when I first installed Arch