erik quanstrom | 1 Mar 2007 04:11
Favicon

Re: Re: booting a terminal in qemu

you learn something new every day.  i didn't know about the -p option to ip/ipconfig.

the function that does the work for dhcp and ip/ipconfig is parseipmask(2).
parseipmask does not differentiate between "255.255.255.0" and "/120",
so it is not likely to be the problem.

the other difference in your ndb entries is the missing dns entry in
the second.  how did you check that the network doesn't work?  have you tried to
ping the gateway?
	ip/ping 10.0.2.2
if that works, it's a dns problem.

- erik

Armando Camarero <arcepi <at> arcepi.net> writes

| I'm trying to manually configure the NIC in a normal Plan 9 install on
| QEMU. If I run ip/ipconfig (so it gets configured using DHCP) /net/ndb
| looks:
| 
| ip=10.0.2.15 ipmask=255.255.255.0 ipgw=10.0.2.2
|     dns=10.0.2.3
| 
| and network works fine.
| 
| But if I run ip/ipconfig -g 10.0.2.2 ether /net/ether0 10.0.2.15
| 255.255.255.0 it looks:
| 
| ip=10.0.2.15 ipmask=/120 ipgw=10.0.2.2
| 
(Continue reading)

Armando Camarero | 1 Mar 2007 14:15

Re: Re: booting a terminal in qemu

erik quanstrom escribió:
> you learn something new every day.  i didn't know about the -p option to ip/ipconfig.
>
> the function that does the work for dhcp and ip/ipconfig is parseipmask(2).
> parseipmask does not differentiate between "255.255.255.0" and "/120",
> so it is not likely to be the problem.
>
> the other difference in your ndb entries is the missing dns entry in
> the second.  how did you check that the network doesn't work?  have you tried to
> ping the gateway?
> 	ip/ping 10.0.2.2
> if that works, it's a dns problem.
>
> - erik
I tried again and network works. I tried network using links the first
time, but it doesn't seem to understand that 172.26.0.4 shouldn't be
resolved via DNS. Ping to the QEMU gateway works and I can test that TCP
does too using ssh (well, I just see the error message that says it
doesn't support SSH2).

Armando.

cej | 1 Mar 2007 15:31
Picon

troff macro to typeset a poster A0 size...

… anyone???

TIA,

Peter.

 

Russ Cox | 2 Mar 2007 08:37

suggestion: synergy client for plan 9

http://synergy2.sf.net/

I am writing this email using the keyboard and
mouse attached to my desktop computer, but
the input is going into programs running on my
laptop (and displaying on my laptop screen).

Synergy makes this possible: you set it up on
multiple computers, then you sit at one computer
and use that keyboard/mouse, and if you move the
mouse off the side of the screen, it moves onto the
other screen.  Keystrokes are redirected to whichever
machine currently has the mouse cursor.

It runs on Linux, OS X, and Windows.  I am using it
as a cheesy way to get two screens -- one for real
work and one for distractions like email -- but it would
be just as useful for using multiple computers with
different operating systems on them.

Just for fun I connected two Linux machines, a Windows
machine, and two OS X machines all in a row and waved
the mouse across all the screens.  It really works.

The software is a large pile of C++, but it should
be easy to write a client from scratch (perhaps
even a server, though that would be unnecessary).
The protocol is fairly simple and documented in one file
as simple format strings like "MOUS%i%i".  It should
be easy to parse and speak.

Then Plan 9 systems could play along too.

Russ

Kris Maglione | 2 Mar 2007 09:18
Picon

Re: suggestion: synergy client for plan 9

On Fri, Mar 02, 2007 at 02:37:27AM -0500, Russ Cox wrote:
>The software is a large pile of C++, but it should
>be easy to write a client from scratch (perhaps
>even a server, though that would be unnecessary).
>The protocol is fairly simple and documented in one file
>as simple format strings like "MOUS%i%i".  It should
>be easy to parse and speak.
>
>Then Plan 9 systems could play along too.

Yesterday, someone told me that he was using Synergy, and pointed me to 
a website about it. I jokingly insulted it for not having a Plan 9 
client when it should be so trivial to write one. Today, you suggest 
that someone write one. I haven't much more to add, but I can't help 
mentioning it.

--

-- 
Kris Maglione

No good deed goes unpunished.
Douglas A. Gwyn | 2 Mar 2007 10:52
Favicon

Re: troff macro to typeset a poster A0 size...

?  Just set the line and page length registers,
and use a large font size.  E.g.

.pl 46.8i
.ll 33.1i
.ps 144
Hello, world!

Harka Gyozo | 2 Mar 2007 12:43
Picon
Favicon

exploit??!

Hi!

Do You know anything about this?

http://kernelspace.us/itheft.c

Plan9 local kernel exploit....

Győző Harka
sysadmin
University of Pécs
Faculty of Sciences
Computer Services Centre

Devon H. O'Dell | 2 Mar 2007 15:08
Picon
Gravatar

Re: exploit??!

This was just discussed the other day on this list...

Devon H. O'Dell | 2 Mar 2007 16:12
Picon
Gravatar

Re: suggestion: synergy client for plan 9

2007/3/2, Russ Cox <rsc <at> swtch.com>:
> Just for fun I connected two Linux machines, a Windows
> machine, and two OS X machines all in a row and waved
> the mouse across all the screens.  It really works.

And has for a while. I've used Synergy successfully for at least 4
years. I've always thought a Plan 9 client would be nice. If nobody
else wants to, I might take a shot at it.

--dho

David du Colombier | 3 Mar 2007 01:24
Picon

usbaudio problem

Hello,

I am trying to make my Edirol UM-1EX USB MIDI Interface working with
Plan 9.
usb/usbaudio is known to work successfully with Edirol UA-1X, which
is a similar, but older interface.

The problem: usbaudio does not create /dev/audio and /dev/audioin
files and crash when trying to access /dev/audioctl.

Here is what I have tried:

term% usb/usbd
term% usb/usbaudio
term% du -a /dev | grep audio
0   /dev/audioctl
0   /dev/audiostat
term% ls /dev/audioctl
148.4 strlen(a->s) < 1024: assertion failed
usbaudio 148: suicide: sys: trap: fault read addr=0x0 oc=0x00011804
ls: /dev/audioctl: i/o on hungup channel
term%

Do you have any idea to make Edirol UM-1EX working?

Thank you.

--

-- 
David du Colombier


Gmane