View Single Post
  #1   (View Single Post)  
Old 27th January 2015
gpatrick gpatrick is offline
Spam Deminer
 
Join Date: Nov 2009
Posts: 245
Default Plan 9 network configuration

I am running Plan 9 From Bell Labs inside Virtualbox 4.3.20 r96996. It installed successfully and I've used acme to edit /lib/ndb/local to append my local network settings
Code:
ipnet=192.168.1.0 ipmask=255.255.255.0 ip=192.168.1.100
         ipgw=192.168.1.1
         dns=xxx.xxx.xxx.xxx
         dns=xxx.xxx.xxx.xxx
But I'm unable to ping www.yahoo.com. I've read the Network Configuration page for Plan 9 but I must be missing something. I login as user "glenda" and am using rio as the window manager.

Okay, I just rebooted and the network wasn't working so I ran
Code:
% ip/ipconfig -g 192.168.1.1 ether /net/ether0 192.168.1.100 255.255.255.0
% ndb/dns -r
And get
Code:
% ip/ping www.yahoo.com
sending 32 64 byte messages 1000 ms apart to icmp!www.yahoo.com!1
0: rtt 39824 us, avg rtt 39824 us, ttl = 254
1: rtt 45950 us, avg rtt 42887 us, ttl = 254
2: rtt 40231 us, avg rtt 42001 us, ttl = 254
Now if I want to update using http://www.plan9.bell-labs.com/wiki/...te/index.html:
Code:
% pull
% 9fs sources
Both give me
Code:
srv: dial tcp!sources.cs.bell-labs.com!9fs: cs: can't translate service
bind: /n/sources/plan9: '/n/sources/plan9' does not exist
servermount: bind 249: bind

Last edited by gpatrick; 27th January 2015 at 11:34 AM.
Reply With Quote