[9fans] Permission Problem with p9p vnfs

2009-05-14 Thread Matthias Teege
Moin, I run "vnfs -L -i -b16k -c1k venti.score" on linux and mount it with "vmount 127.0.0.1 /dump". If I try to access a private file as root I've got "permission denied". # id uid=0(root) gid=0(root) # ls -al /dump/a/2009/0427/home/x/ drwx-- 2 2004 2004 1024 Feb 27 09:29 .ssh # ls -al /du

[9fans] /mail/ratify permissions

2009-06-21 Thread Matthias Teege
Moin, I try to get ratfs to work. I've created a mountpoint under /mail, run ratfs from cpurc and add "mount -c #s/ratify /mail/ratify" to /lib/namespace. Then I add a IP address to /mail/lib/blocked and reload the config with "echo reload > /mail/ratify/ctl". I can see the file under /mail/ratif

[9fans] Booting with mk

2009-10-17 Thread Matthias Teege
My friend Mike and I were talking a while back about Unix init systems and came to the conclusion that mk's dependency tracking could come in handy. I decided to implement it a few days ago using plan9port and thought that some of the folks here might be interested. Although, I still haven't decide

[9fans] Replace text in acme window with the plumber

2009-11-26 Thread Matthias Teege
Moin, occasionally I use textmacros in acme to save typing. I use something like _TMACRO. Its easy to catch this with a plumber rule and right click. It is easy to replace all macros in the whole file with its expansions. It is also easy to use '< expander _TMACRO' but it would be nice if I can ex

[9fans] DNS server domain

2008-03-28 Thread Matthias Teege
Moin, how do I set the "defaultdomain" an a Plan 9 DNS server? % ndb/dnsquery > cab !dns: resource does not exist > cab.mteege.de cab.mteege.de ip10.18.47.11 Would be nice if I can get % ndb/dnsquery > cab cab ip 10.18.47.11 Many thanks Matthias

Re: [9fans] DNS server domain

2008-03-28 Thread Matthias Teege
> the dnsdomain attribute is well-documented. what i didn't see > is the convention for where to hang it in the database. > generally, i do this by setting ipnet in /lib/ndb/local. e.g. I put it in my ndb/local and it works for the Plan 9 server % ndb/dnsquery > cab cab.mteege.de ip10.

Re: [9fans] DNS server domain

2008-03-28 Thread Matthias Teege
> by "other clients" do you mean plan 9 systems or non-plan9 systems? > the default domain is not communicated via dns mechanisms. I mean non-plan9 systems. Matthias

Re: [9fans] DNS server domain

2008-03-29 Thread Matthias Teege
> When I used my plan9 server as dns server, it was also my dhcp server, > which is quite handy. it communicates some info to the dhcp clents, Me too. > worked for me :-) It worked for me to. Looks like the dig command ignores the search domain in resolv.conf. ; dig cab +short ; nslookup cab .

[9fans] p9_errstr2errno unknown mode

2008-04-06 Thread Matthias Teege
Moin, I've mounted my Plan 9 fileserver via 9p from a linuxbox (2.6.23). I can create new files without problems. If I try to copy a file to the Plan 9 fileserver I got: p9_errstr2errno: errstr :unknown mode: not found p9_errstr2errno: errstr :unknown mode: not found How can I fix this? Matthias

Re: [9fans] p9_errstr2errno unknown mode

2008-04-06 Thread Matthias Teege
> It must be doing something in the twstat that isn't correct, can you > send me a 9p trace (either from the client by enabling debug > (debug=0x during mount) or the server. sudo /bin/mount -t 9p -o uid=1000,gid=1000,user,uname=xom,proto=unix,noextend,noauto,debug=0x /tmp/ns.m/rn /n/rn

Re: [9fans] p9_errstr2errno unknown mode

2008-04-07 Thread Matthias Teege
> Unless this file got truncated, all I see here are walks and stats and The file isn't truncated. > clunks of a file, nothing more (I used wireshark to walk the file -- > it breaks out 9p pretty nicely). I don't see any twstat or open or > create ... Am I missing something? I made a second dump

Re: [9fans] p9_errstr2errno unknown mode

2008-04-07 Thread Matthias Teege
> There's never any sign that the second command even happens. How are > you capturing this data? I don't see any bits from the second command. tcpdump -n -w /tmp/p93.dmp -s 0 -i eth0 port not 22 As root I can create a file but cant copy a file to the Plan 9 fileserver. % whoami matthias % cd /n

[9fans] standalone authserver on CF card

2008-04-14 Thread Matthias Teege
Moin, I have to upgrade parts of my Plan 9 system. I'm thinking of using a soekris 5501 or 48xx as my authentication server. It would be nice to use a CF Card for storage but I'm not sure about the read/write cycles. Does anyone run a Plan 9 server on a system without rotating parts? Many thanks

Re: [9fans] standalone authserver on CF card

2008-04-14 Thread Matthias Teege
> yes. it works fine. however, if you have an internet-facing network What is the best setup method? Because the soekris box hasn't a video output I have to use a serial console. I think of booting the box via pxe and running replica/pull. Or is it better to put the cf card in another box and s

Re: [9fans] standalone authserver on CF card

2008-04-15 Thread Matthias Teege
> me this last weekend. For low volume you might want to stick to 4801's, > although they are getting harder to find. If you need a 5501 you might > want to wait for the next BIOS upgrade. I have both systems "in stock" so I can try. Thanks for that hint. I have the CF booting problem on the 550

Re: [9fans] standalone authserver on CF card

2008-04-15 Thread Matthias Teege
> Isn't Mathias going to build stand alone _authserver_, but cpu server? Yes, I'm going to build a standalone authserver. I do not need it as a CPU Server. > If he wants to make authserver on CF card, I recommend him to use > kfs for CF card. I'm using this from may 2004 without any problem. T

[9fans] cut word out of a line with regexp

2008-06-01 Thread Matthias Teege
Moin! How do I cut a word out of a line with sed? The word end with a '_'. I don't know, how to match word boundaries. I need "sample" out of a sample_ line. Many thanks Matthias

[9fans] vbackup via ssh portforwarding

2008-09-09 Thread Matthias Teege
Moin, I can use vac with a port forwared via ssh. For the forwarding I use something like this: ssh -R17034:$venti:17034 [EMAIL PROTECTED] Vbackup hangs # vbackup -V -w 16 /dev/mapper/sys-a vbackup -> Thello tag 0 vers 02 uid anonymous strength 0 crypto 0: codec 0: vbackup <- Rhello tag 0 sid a

[9fans] Soekris 4801 bootp timeout

2008-10-27 Thread Matthias Teege
Moin, I have problems to boot a Soekris 4801 via PXE from my Plan 9 DHCP Server. Here the console output Plan 9 Bootstrap (serial console) ns83815: auto neg timed out ns83815: auto neg timed out ether#0: 83815: port 0xE100 irq 10: ether#1: 83815: port 0xE200 irq 10: ethe

[9fans] boot 9vx from Plan 9 cpu/fileserver

2009-01-07 Thread Matthias Teege
Moin, how do I have to call 9vx to get the root from a remote Plan 9 cpu/filserver? Matthias