/srv/irclogs.ubuntu.com/2007/08/08/#upstart.txt

EruantalonMy problem is that my boot time goes up by 120 seconds(more or less) when no cable is present(laptop)12:24
mbieblEruantalon: If you need a more lightweight solution than NetworkManager, use ifplugd12:24
wasabiAnd what causes that to happen?12:24
Eruantalonwasabi, well bootchart tells me it hangs on dhclient-script which is called by ifup.. I gather that means that it is stuck waiting for network configuring data that never comes12:26
Eruantalonbecause of lack of link to the outside world12:26
wasabiUh huh. So don't bring up network automatically using Debian tools.12:26
wasabiRemove 'auto' from /etc/network/interfaces12:26
mbieblBut only for eth*. You still want your loopback device setup ;-)12:27
wasabiYes yes12:28
Eruantalonwasabi, And put what in its place (I gather that is the same thing as disabling roaming mode in networksettings?12:29
wasabiUse network manager.12:29
wasabiCompletely bypasses that.12:29
EruantalonOK.12:29
EruantalonBut is there a way to make sure that it still happens upon entering gnome?12:30
EruantalonI'd like the roaming features, works great, just not while booting.12:30
wasabiHmm?12:30
wasabiThat's what network manager is for.12:30
EruantalonOk, Then tell me should roaming be on or off?12:31
mbieblEruantalon: What do you mean by "roaming mode", switching automatically between available wireless networks?12:32
Eruantalonmbiebl, yes. But it is not my expression it says that in network settings12:32
wasabiI don't even know what screen you are refering to.12:32
mbieblEruantalon: If you are using wireless, network-manager is indeed the best choice for you.12:33
EruantalonOk just to make sure that we are talking about the same thing... What network manager are you talking about?12:33
mbieblJust make sure, you comment all all eth* entries in /etc/network/interfaces12:33
wasabiapt-get install network-manager-gnome12:34
wasabiThe only one of all of the solutions named "network manager"12:34
Eruantalonand what command opens it?12:34
wasabiIt adds itself to your session. Install it, log out, then back in.12:34
Eruantalonmbiebl, I am using both wireless and wired( because sometimes wireles is to slow)12:35
wasabiOr run "nm-applet"12:35
mbieblBetter: "nm-applet --sm-disable"12:35
wasabiWhat's sm-disable do?12:35
Eruantalonwasabi, Ok, That is the same thing as what i've already got12:35
mbieblOtherwise you will have two nm-applet instances nextt time you log in.12:35
wasabiEruantalon: Okay, and what's wrong with it?12:36
mbieblEruantalon: Have you read /usr/share/doc/network-manager/README.Debian?12:36
EruantalonWell Nothing. It is the startup scritpt during boot that wants to start networking when there is no cable which is a problem12:36
wasabiNope, it's not.12:36
wasabiIt does not block boot.12:37
wasabiAgain, Debian network infrastructure does that.12:37
wasabiAgain, comment out the auto lines for eth* in /etc/network/interfaces12:37
Eruantalonwasabi, And put nothing instead?12:37
mbieblyes.12:37
wasabiI'm about done with this.12:37
EruantalonAnd that will make sure nothing network related is started until gnome is?12:38
wasabiNo. It will not make sure of that.12:38
EruantalonThanks a bunch anyway12:38
wasabiIt will not use Debian's network infrastructure to start dhclient and block on it. That is all it will do.12:38
wasabiIf you have other pieces of software which block on the network, you'll need to fix those.12:38
wasabiSuch as for instance mounting network file systems in fstab.12:38
wasabiAlso, as soon as the network manager daemon is started, it goes off and starts dhclient, in the background.12:38
EruantalonWell I've commented out the two auto's and I guess I will have to restart to see what happens. Thanks.12:40
wasabiDo not comment out auto lo12:40
wasabiAs mbiebl said earlier.12:40
EruantalonI haven't :-)12:40
mbieblEruantalon: please pastebin your /etc/network/interfaces12:41
Eruantalonok two seconds12:41
Eruantalonhttp://paste.ubuntu-nl.org/32977/12:42
EruantalonOk?12:43
wasabiYou have the wireless interfaces set to auto also.12:43
wasabiYou'll want to disable them too.12:43
wasabiThe idea is whatever you set to auto and dhcp results in dhclient being started at boot, and waiting.12:43
Eruantaloneverything but lo ?12:43
wasabiCorrect.12:44
Eruantalonthanks12:44
=== tck [n=tck@213-202-161-88.bas503.dsl.esat.net] has joined #upstart
mbieblEruantalon: you can remove everything besides 12:44
mbieblauto lo12:44
mbiebliface lo inet loopback12:44
Eruantalonwithout screwing anything up?12:45
mbieblIf you have NM, you are fine.12:45
mbieblBut this is getting mighty OT now.12:46
EruantalonWell I don't know if I will be going back so I'll leave it be. Never know when I want to have network during again?12:46
Eruantalonmbiebl, Sorry, But I thought it was something upstart would be able to do simply-12:46
=== Eruantalon [n=hans@5634185c.rev.stofanet.dk] has joined #upstart
EruantalonThanks. That did the trick12:49
mbieblEruantalon: the main idea behind upstart is, that it is event based.12:50
Eruantalonyep12:50
mbieblYou still need sources, which generate these events.12:50
mbieblNM could be such a source for network events.12:51
Eruantalonmbiebl, I just thought that upstart was the underlying thing that drove network manager12:51
EruantalonDo you know then where I should go to file a bug about this problem then. I gather it is the startupscripts in ubuntu and not a bug in upstart itself12:52
mbieblWell, upstart is mainly a event queue and dispatcher.12:52
mbieblIt has no knowledge about network and stuff.12:52
mbieblThat's what I meant, when I said these kind of events have to be feed into upstart from external sources.12:53
=== tck [n=tck@213-202-161-88.bas503.dsl.esat.net] has joined #upstart
EruantalonHmm I gotta reboot to check something. It seems that network manager lost any information about my wireless card...12:54
=== btm [n=btm@gir.seattlewireless.net] has joined #upstart
=== btm [n=btm@gir.seattlewireless.net] has joined #upstart
=== juergbi [n=juerg@80-219-19-183.dclient.hispeed.ch] has joined #upstart
=== sadleder [n=sadleder@p50812650.dip0.t-ipconnect.de] has joined #upstart
=== sadleder [n=sadleder@p50812650.dip0.t-ipconnect.de] has left #upstart []
=== Md [i=md@freenode/staff/md] has joined #upstart
=== Keybuk [i=scott@nat/canonical/x-a1815f81a5b95fe2] has joined #upstart
AlexExtremeKeybuk, do you know if the ubuntu server guys are planning to have the whole of EBox packaged in gutsy? i tried out tribe3 the other day, and did an aptitude update/upgrade, but still only a few of the ebox modules are there12:04
=== Amaranth_ [n=travis@ubuntu/member/Amaranth] has joined #upstart
=== mbiebl [n=michael@e180070127.adsl.alicedsl.de] has joined #upstart
KeybukAlexExtreme: no idea, sorry01:10
KeybukI would imagine so01:10
AlexExtremeok, thanks01:11
AlexExtremealso, one more Q: do you plan to get native upstart jobs into gutsy?01:11
Keybukno01:11
=== tck [n=tck@213-202-142-118.bas502.dsl.esat.net] has joined #upstart
=== sadleder [n=sadleder@p50812650.dip0.t-ipconnect.de] has joined #upstart
=== sadleder [n=sadleder@p50812650.dip0.t-ipconnect.de] has left #upstart []
=== tale_ [n=tale@207.235.54.1] has joined #upstart
=== jonibo [n=jonas@ua-83-227-144-18.cust.bredbandsbolaget.se] has joined #upstart
=== rawler [n=ulrik@c-e54fe155.98-2-64736c13.cust.bredbandsbolaget.se] has joined #upstart
=== Amaranth [n=travis@ubuntu/member/Amaranth] has joined #upstart
=== tck_ [n=tck@A-105-125.cust.iol.ie] has joined #upstart
=== Starting logfile irclogs/upstart.log
=== ubuntulog [i=ubuntulo@ubuntu/bot/ubuntulog] has joined #upstart
=== Topic for #upstart: Upstart 0.3.8 | http://upstart.ubuntu.com/ | http://upstart.ubuntu.com/wiki/UpstartOnGentoo | http://people.ubuntu.com/~fabbione/irclogs/
=== Topic (#upstart): set by AlexExtreme at Tue Jul 31 10:13:07 2007

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!