How can i get the network working with 9vx

113 views
Skip to first unread message

pmarin

unread,
Oct 2, 2011, 3:19:25 PM10/2/11
to 9front
Hi all.
I am trying to use the 9front iso image [1] with 9vx and I get the
following error:
grep: can't open /net/ipselftab: '/net/ipselftab' cs: file does not
exist
ndb/dns: can't read my ip address

With 9atom and plan9 the networking works out of the box.

[1] 9front-943.31a104b0a861.iso

Cheers.
pmarin

yy

unread,
Oct 2, 2011, 7:01:41 PM10/2/11
to 9fr...@googlegroups.com
2011/10/2 pmarin <paco...@gmail.com>:

Are you using any virtual ethernet device with 9vx? Because if you are
not, 9vx will use the ip stack of the host. In this case, 9vx /net
will include some files, but ipselftab is not one of them.

You will also get errors if you try to run ndb/dns or ip/ipconfig from
a 9vx booted with 9atom or plan9. The difference is that they do not
try to start the network by default.

You could comment a few lines in termrc to avoid the error. Networking
should be working fine.


--
- yiyus || JGL .

cinap_...@gmx.de

unread,
Oct 3, 2011, 12:04:28 AM10/3/11
to 9fr...@googlegroups.com
added issue to bugtracker here:

http://code.google.com/p/plan9front/issues/detail?id=93&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20Subsystem

i dont have a linux installation to test right now...

as you describe it, seems to be mostly a matter of detecting 9vx and not
doing ip/ipconfig and dns at all because 9vx provides these files for you
in #I right?

--
cinap

yy

unread,
Oct 3, 2011, 2:42:59 AM10/3/11
to 9fr...@googlegroups.com
2011/10/3 <cinap_...@gmx.de>:

A solution would be to test if $sysname is 'vx32' AND there is no
/net/eth0. You probably want to start the network if you are using
virtual ethernet devices.

I don't have a 9front tree in my 9vx machine just now, but I will try later.

Ethan Grammatikidis

unread,
Oct 3, 2011, 8:32:11 AM10/3/11
to 9fr...@googlegroups.com
On Mon, 3 Oct 2011 08:42:59 +0200
yy <yiyu...@gmail.com> wrote:

> A solution would be to test if $sysname is 'vx32' AND there is no
> /net/eth0. You probably want to start the network if you are using
> virtual ethernet devices.

$sysname may be set before any scripts are run. 9vx can use some
equivalent of plan9.ini.

yy

unread,
Oct 3, 2011, 1:30:37 PM10/3/11
to 9fr...@googlegroups.com
2011/10/3 Ethan Grammatikidis <eek...@fastmail.fm>:

You are right, an user could overwrite the value of sysname. A better
test to know if we are inside 9vx may be to check for '#Z'

Julius Schmidt

unread,
Oct 3, 2011, 2:23:28 PM10/3/11
to 9fr...@googlegroups.com
> You are right, an user could overwrite the value of sysname. A better
> test to know if we are inside 9vx may be to check for '#Z'

Let's just run 8l 10 times and see if it crashes at once point ...

cinap_lenrek

unread,
Oct 7, 2011, 3:08:48 PM10/7/11
to 9front
commited:

http://code.google.com/p/plan9front/source/detail?r=17c699f59338f6177de15d46ce736aeabd759354

please test, i dont have 9vx to try it out.

--
cinap
Reply all
Reply to author
Forward
0 new messages