From: David C. <da...@da...> - 2002-08-29 22:48:42
|
-------- Original Message -------- Subject: Re: [uml-user] uml_switch questions Date: Thu, 29 Aug 2002 15:44:58 -0700 From: Net Llama! <net...@li...> Organization: HAL-III To: David Coulson <da...@da...> References: <Pin...@li...> <3D6...@da...> I really don't understand something here. If uml_switch was meant to run as a daemon, then why doesn't it do that by default, and go into the background? I'd like to think that it works for someone. David Coulson wrote: > Net Llama! wrote: > >> This doesn't appear to work. It goes into the background, and then exits >> as soon as i run the next command. ps output confirms that its not >> running. > > > Try feeding it /dev/null as stdin; > > uml_switch -tap tap0 < /dev/null > /dev/null 2>&1 & > > David > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ L. Friedman net...@li... Linux Step-by-step & TyGeMo: http://netllama.ipfox.com 3:40pm up 24 days, 3 min, 3 users, load average: 0.39, 0.67, 0.61 -- David -- David Coulson http://davidcoulson.net/ d...@vi... http://journal.davidcoulson.net/ |
From: Cameron K. <cam...@pa...> - 2002-08-29 23:32:24
|
On Thu, 29 Aug 2002, David Coulson wrote: >I really don't understand something here. If uml_switch was meant to >run as a daemon, then why doesn't it do that by default, and go into the >background? I'd like to think that it works for someone. Probably because it outputs messages such as New Connection port 5 Address 0f:35:8d:f7:80:53 Cameron Kerr -- Email: cam...@pa... Website: http://homepages.paradise.net.nz/~cameronk/ |
From: Net Llama! <net...@li...> - 2002-08-29 23:39:09
|
Cameron Kerr wrote: > On Thu, 29 Aug 2002, David Coulson wrote: > > >>I really don't understand something here. If uml_switch was meant to >>run as a daemon, then why doesn't it do that by default, and go into the >>background? I'd like to think that it works for someone. > > > Probably because it outputs messages such as > > New Connection port 5 > Address 0f:35:8d:f7:80:53 uhmmm...ok. So then what's the best way to run it? I don't want to leave a console open & logged in just to run this. There's got to be a way that i can have it run without me being actively logged into a shell. Is anyone using it? -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ L. Friedman net...@li... Linux Step-by-step & TyGeMo: http://netllama.ipfox.com 4:35pm up 24 days, 58 min, 4 users, load average: 0.03, 0.15, 0.26 |
From: Cameron K. <cam...@pa...> - 2002-08-30 00:24:05
|
On Thu, 29 Aug 2002, Net Llama! wrote: >uhmmm...ok. So then what's the best way to run it? I don't want to >leave a console open & logged in just to run this. There's got to be a >way that i can have it run without me being actively logged into a >shell. Is anyone using it? Try using the screen program. You can then start it and detach from it. Although this may require you to start it manually. Try running it using strace to see where it fails when redirecting the output. strace -o /tmp/switch.trace uml_switch < /dev/null > /tmp/switch.log 2>&1 Cameron Kerr -- Email: cam...@pa... Website: http://homepages.paradise.net.nz/~cameronk/ |