9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Drawterm + QEMU
@ 2008-03-22 21:32 Pietro Gagliardi
  2008-03-23 15:08 ` Tom Lieber
  0 siblings, 1 reply; 11+ messages in thread
From: Pietro Gagliardi @ 2008-03-22 21:32 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hello. Has anyone gotten drawterm to work with QEMU on Mac OS X? If
so, how? Thanks.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [9fans] Drawterm + QEMU
  2008-03-22 21:32 [9fans] Drawterm + QEMU Pietro Gagliardi
@ 2008-03-23 15:08 ` Tom Lieber
  2008-03-23 16:54   ` Pietro Gagliardi
  0 siblings, 1 reply; 11+ messages in thread
From: Tom Lieber @ 2008-03-23 15:08 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Sat, Mar 22, 2008 at 2:32 PM, Pietro Gagliardi <pietro10@mac.com> wrote:
> Hello. Has anyone gotten drawterm to work with QEMU on Mac OS X? If
> so, how? Thanks.

What issues are you having? After completing the CPU server
walkthrough on the wiki, the only tricky part for me was networking,
which I wrote about in reply to your question about transferring files
in November:

On Tue, Nov 6, 2007 at 4:06 PM, Tom Lieber <alltom@gmail.com> wrote:
> On 11/6/07, Pietro Gagliardi <pietro10@mac.com> wrote:
>  > How do I make the correct drawterm connection?
>
>  Maybe this is done better in a howto somewhere, but I put this into
>  the "Arguments" preference in Q:
>
>  -redir tcp:2567::567 -redir tcp:17010::17010 -redir tcp:5356::5356
>
>  The first port is higher due to permissions issues. I drawterm in with:
>
>  drawterm -c 'tcp!127.0.0.1!17010' -a 'tcp!127.0.0.1!2567' -s
>  'tcp!127.0.0.1!5356' -u tom

--
Tom Lieber
http://AllTom.com/


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [9fans] Drawterm + QEMU
  2008-03-23 15:08 ` Tom Lieber
@ 2008-03-23 16:54   ` Pietro Gagliardi
  2008-03-25 18:50     ` Pietro Gagliardi
  0 siblings, 1 reply; 11+ messages in thread
From: Pietro Gagliardi @ 2008-03-23 16:54 UTC (permalink / raw)
  To: alltom, Fans of the OS Plan 9 from Bell Labs

Ah yes, I had formatted the arguments wrong. I now do

drawterm-osx-intel -c 'tcp!127.0.0.1!17010' -a 'tcp!127.0.0.1!2567' -
s 'tcp!127.0.0.1!5356' -u pietro

I just had 127.0.0.1.

By the way, I finally got a CPU server running. To get the IP
addresses, I did
	cat /net/ndb
and those seem to work.

On Mar 23, 2008, at 11:08 AM, Tom Lieber wrote:

> On Sat, Mar 22, 2008 at 2:32 PM, Pietro Gagliardi
> <pietro10@mac.com> wrote:
>> Hello. Has anyone gotten drawterm to work with QEMU on Mac OS X? If
>> so, how? Thanks.
>
> What issues are you having? After completing the CPU server
> walkthrough on the wiki, the only tricky part for me was networking,
> which I wrote about in reply to your question about transferring files
> in November:
>
> On Tue, Nov 6, 2007 at 4:06 PM, Tom Lieber <alltom@gmail.com> wrote:
>> On 11/6/07, Pietro Gagliardi <pietro10@mac.com> wrote:
>>> How do I make the correct drawterm connection?
>>
>>  Maybe this is done better in a howto somewhere, but I put this into
>>  the "Arguments" preference in Q:
>>
>>  -redir tcp:2567::567 -redir tcp:17010::17010 -redir tcp:5356::5356
>>
>>  The first port is higher due to permissions issues. I drawterm in
>> with:
>>
>>  drawterm -c 'tcp!127.0.0.1!17010' -a 'tcp!127.0.0.1!2567' -s
>>  'tcp!127.0.0.1!5356' -u tom
>
> --
> Tom Lieber
> http://AllTom.com/
>



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [9fans] Drawterm + QEMU
  2008-03-23 16:54   ` Pietro Gagliardi
@ 2008-03-25 18:50     ` Pietro Gagliardi
  2008-03-25 21:22       ` Iruata Souza
  2008-03-25 23:19       ` erik quanstrom
  0 siblings, 2 replies; 11+ messages in thread
From: Pietro Gagliardi @ 2008-03-25 18:50 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Okay, so now that I have drawterm working on my Mac, I'd like to have
it working remotely at my school. Which IP addresses should I use
instead of the localhost to connect to my CPU remotely?

On Mar 23, 2008, at 12:54 PM, Pietro Gagliardi wrote:

> Ah yes, I had formatted the arguments wrong. I now do
>
> drawterm-osx-intel -c 'tcp!127.0.0.1!17010' -a 'tcp!127.0.0.1!2567'
> -s 'tcp!127.0.0.1!5356' -u pietro
>
> I just had 127.0.0.1.
>
> By the way, I finally got a CPU server running. To get the IP
> addresses, I did
> 	cat /net/ndb
> and those seem to work.
>
> On Mar 23, 2008, at 11:08 AM, Tom Lieber wrote:
>
>> On Sat, Mar 22, 2008 at 2:32 PM, Pietro Gagliardi
>> <pietro10@mac.com> wrote:
>>> Hello. Has anyone gotten drawterm to work with QEMU on Mac OS X? If
>>> so, how? Thanks.
>>
>> What issues are you having? After completing the CPU server
>> walkthrough on the wiki, the only tricky part for me was networking,
>> which I wrote about in reply to your question about transferring
>> files
>> in November:
>>
>> On Tue, Nov 6, 2007 at 4:06 PM, Tom Lieber <alltom@gmail.com> wrote:
>>> On 11/6/07, Pietro Gagliardi <pietro10@mac.com> wrote:
>>>> How do I make the correct drawterm connection?
>>>
>>>  Maybe this is done better in a howto somewhere, but I put this into
>>>  the "Arguments" preference in Q:
>>>
>>>  -redir tcp:2567::567 -redir tcp:17010::17010 -redir tcp:5356::5356
>>>
>>>  The first port is higher due to permissions issues. I drawterm
>>> in with:
>>>
>>>  drawterm -c 'tcp!127.0.0.1!17010' -a 'tcp!127.0.0.1!2567' -s
>>>  'tcp!127.0.0.1!5356' -u tom
>>
>> --
>> Tom Lieber
>> http://AllTom.com/
>>
>
>



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [9fans] Drawterm + QEMU
  2008-03-25 18:50     ` Pietro Gagliardi
@ 2008-03-25 21:22       ` Iruata Souza
  2008-03-25 23:19       ` erik quanstrom
  1 sibling, 0 replies; 11+ messages in thread
From: Iruata Souza @ 2008-03-25 21:22 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Tue, Mar 25, 2008 at 3:50 PM, Pietro Gagliardi <pietro10@mac.com> wrote:
> Okay, so now that I have drawterm working on my Mac, I'd like to have
>  it working remotely at my school. Which IP addresses should I use
>  instead of the localhost to connect to my CPU remotely?
>
http://web.ncf.ca/ac895/books/opl_seminar_notes.html

iru


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [9fans] Drawterm + QEMU
  2008-03-25 18:50     ` Pietro Gagliardi
  2008-03-25 21:22       ` Iruata Souza
@ 2008-03-25 23:19       ` erik quanstrom
  2008-03-25 23:54         ` Tom Lieber
  1 sibling, 1 reply; 11+ messages in thread
From: erik quanstrom @ 2008-03-25 23:19 UTC (permalink / raw)
  To: 9fans

> Okay, so now that I have drawterm working on my Mac, I'd like to have
> it working remotely at my school. Which IP addresses should I use
> instead of the localhost to connect to my CPU remotely?
>
> On Mar 23, 2008, at 12:54 PM, Pietro Gagliardi wrote:
>
>> Ah yes, I had formatted the arguments wrong. I now do
>>
>> drawterm-osx-intel -c 'tcp!127.0.0.1!17010' -a 'tcp!127.0.0.1!2567'
>> -s 'tcp!127.0.0.1!5356' -u pietro
>>
>> I just had 127.0.0.1.

why are you using port 2567 for your auth server?

- erik



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [9fans] Drawterm + QEMU
  2008-03-25 23:19       ` erik quanstrom
@ 2008-03-25 23:54         ` Tom Lieber
  2008-03-26  0:13           ` erik quanstrom
  0 siblings, 1 reply; 11+ messages in thread
From: Tom Lieber @ 2008-03-25 23:54 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Tue, Mar 25, 2008 at 7:19 PM, erik quanstrom <quanstro@quanstro.net> wrote:
>  > On Mar 23, 2008, at 12:54 PM, Pietro Gagliardi wrote:
>  >> Ah yes, I had formatted the arguments wrong. I now do
>  >>
>  >> drawterm-osx-intel -c 'tcp!127.0.0.1!17010' -a 'tcp!127.0.0.1!2567'
>  >> -s 'tcp!127.0.0.1!5356' -u pietro
>  >>
>  >> I just had 127.0.0.1.
>
>  why are you using port 2567 for your auth server?

I don't know of a simple way to run Q with enough privilege for the lower port.

--
Tom Lieber
http://AllTom.com/


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [9fans] Drawterm + QEMU
  2008-03-25 23:54         ` Tom Lieber
@ 2008-03-26  0:13           ` erik quanstrom
  2008-03-26  1:33             ` Pietro Gagliardi
  0 siblings, 1 reply; 11+ messages in thread
From: erik quanstrom @ 2008-03-26  0:13 UTC (permalink / raw)
  To: alltom, 9fans

>>  > On Mar 23, 2008, at 12:54 PM, Pietro Gagliardi wrote:
>>  >> Ah yes, I had formatted the arguments wrong. I now do
>>  >>
>>  >> drawterm-osx-intel -c 'tcp!127.0.0.1!17010' -a 'tcp!127.0.0.1!2567'
>>  >> -s 'tcp!127.0.0.1!5356' -u pietro
>>  >>
>>  >> I just had 127.0.0.1.
>>
>>  why are you using port 2567 for your auth server?
>
> I don't know of a simple way to run Q with enough privilege for the lower port.

i'd forgotten about that bit of unix wierdness.  i think that
drawterm should work fine with fewer argument decorations.

	drawterm-osx-intel -c 127.0.0.1 -a tcp!127.0.0.1!2567 -u pietro

the secstore server defaults to tcp!$auth!secstore if none is specified.

- erik



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [9fans] Drawterm + QEMU
  2008-03-26  0:13           ` erik quanstrom
@ 2008-03-26  1:33             ` Pietro Gagliardi
  2008-03-26  2:25               ` erik quanstrom
  0 siblings, 1 reply; 11+ messages in thread
From: Pietro Gagliardi @ 2008-03-26  1:33 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I'd still like to know which IP addresses to use for remote
connection to my cpu box. I tried the one in /net/ndb (10.0.2.15) but
it didn't work.

On Mar 25, 2008, at 8:13 PM, erik quanstrom wrote:

>>>> On Mar 23, 2008, at 12:54 PM, Pietro Gagliardi wrote:
>>>>> Ah yes, I had formatted the arguments wrong. I now do
>>>>>
>>>>> drawterm-osx-intel -c 'tcp!127.0.0.1!17010' -a 'tcp!127.0.0.1!
>>>>> 2567'
>>>>> -s 'tcp!127.0.0.1!5356' -u pietro
>>>>>
>>>>> I just had 127.0.0.1.
>>>
>>>  why are you using port 2567 for your auth server?
>>
>> I don't know of a simple way to run Q with enough privilege for
>> the lower port.
>
> i'd forgotten about that bit of unix wierdness.  i think that
> drawterm should work fine with fewer argument decorations.
>
> 	drawterm-osx-intel -c 127.0.0.1 -a tcp!127.0.0.1!2567 -u pietro
>
> the secstore server defaults to tcp!$auth!secstore if none is
> specified.
>
> - erik
>
>



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [9fans] Drawterm + QEMU
  2008-03-26  1:33             ` Pietro Gagliardi
@ 2008-03-26  2:25               ` erik quanstrom
  2008-03-26  3:45                 ` Skip Tavakkolian
  0 siblings, 1 reply; 11+ messages in thread
From: erik quanstrom @ 2008-03-26  2:25 UTC (permalink / raw)
  To: 9fans

> I'd still like to know which IP addresses to use for remote
> connection to my cpu box. I tried the one in /net/ndb (10.0.2.15) but
> it didn't work.

rfc 1918 addresses (10/8, 172.16/12, 192.168/16) are not
routable.  (there are other non-routable ip blocks as well.  check
iana's website.)  you'll need to assign a routable address to your
server to contact it through the internet.

- erik



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [9fans] Drawterm + QEMU
  2008-03-26  2:25               ` erik quanstrom
@ 2008-03-26  3:45                 ` Skip Tavakkolian
  0 siblings, 0 replies; 11+ messages in thread
From: Skip Tavakkolian @ 2008-03-26  3:45 UTC (permalink / raw)
  To: 9fans

>> I'd still like to know which IP addresses to use for remote
>> connection to my cpu box. I tried the one in /net/ndb (10.0.2.15) but
>> it didn't work.
>
> rfc 1918 addresses (10/8, 172.16/12, 192.168/16) are not
> routable.  (there are other non-routable ip blocks as well.  check
> iana's website.)  you'll need to assign a routable address to your
> server to contact it through the internet.

to add to what erik said, isp's will not give you the same ip through
multiple connections.  if you have a domain, you'll need to use a
dynamic dns service, or discover your ip everytime.



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-03-26  3:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-22 21:32 [9fans] Drawterm + QEMU Pietro Gagliardi
2008-03-23 15:08 ` Tom Lieber
2008-03-23 16:54   ` Pietro Gagliardi
2008-03-25 18:50     ` Pietro Gagliardi
2008-03-25 21:22       ` Iruata Souza
2008-03-25 23:19       ` erik quanstrom
2008-03-25 23:54         ` Tom Lieber
2008-03-26  0:13           ` erik quanstrom
2008-03-26  1:33             ` Pietro Gagliardi
2008-03-26  2:25               ` erik quanstrom
2008-03-26  3:45                 ` Skip Tavakkolian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).