From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Sat, 16 Sep 2006 22:22:27 -0400 From: "Yosyp Bin Laden" To: 9fans@cse.psu.edu MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1733_10222828.1158459747525" Subject: [9fans] chmod /dev/consctl : Permission Denied Topicbox-Message-UUID: b712d64e-ead1-11e9-9d60-3106f5b1d025 ------=_Part_1733_10222828.1158459747525 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I need to be able to change permissions of /dev/consctl , and I get a permission denied. term% ls -l /dev/consctl ----------- M 111 glenda glenda 0 Jan 2 03:30 /dev/consctl term% chmod 0700 /dev/consctl chmod: can't wstat /dev/consctl: permission denied term% chmod 0200 /dev/consctl chmod: can't wstat /dev/consctl: permission denied Long story: I'm emulating Plan9 with qemu, and to get an internet connection I do the following in Plan9: ip/ipconfig ndb/dns -r ndb/cs I know that with this, ICMP will not be working, but `telnet tcp!www.google.com!80` should work: term% telnet tcp!www.google.com!80 connected to tcp!www.google.com!80 on /net/tcp/1 can't open consctl: '/dev/consctl' permission denied can't open consctl: '/dev/consctl' permission denied I might be going in a whole different direction as to how to get an internet connection in plan9 under qemu. But I'm lost. - Yosyp ------=_Part_1733_10222828.1158459747525 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I need to be able to change permissions of /dev/consctl , and I get a permission denied.

term% ls -l /dev/consctl
 ----------- M 111 glenda glenda 0 Jan 2 03:30 /dev/consctl

term% chmod 0700 /dev/consctl
chmod: can't wstat /dev/consctl: permission denied

term% chmod 0200 /dev/consctl
chmod: can't wstat /dev/consctl: permission denied


Long story:
I'm emulating Plan9 with qemu, and to get an internet connection I do the following in Plan9:
 ip/ipconfig
 ndb/dns -r
 ndb/cs

I know that with this, ICMP will not be working, but `telnet tcp!www.google.com!80` should work:
 term% telnet tcp!www.google.com!80
 connected to tcp!www.google.com!80 on /net/tcp/1
 can't open consctl: '/dev/consctl' permission denied
 can't open consctl: '/dev/consctl' permission denied



I might be going in a whole different direction as to how to get an internet connection in plan9 under qemu. But I'm lost.

- Yosyp
------=_Part_1733_10222828.1158459747525--