Re: [9fans] wifi interface

2012-03-21 Thread erik quanstrom
i'm inclined to extend the ethernet interface an etherx/ctl file that accepted commands along the lines of ssid, bssid, and channel to configure the connection. did the wavelan driver not do this for a reason beyond changing devether? any better ideas? there's already a ctl file. it's in the

Re: [9fans] wifi interface

2012-03-21 Thread Tristan
echo mtu 9000/net/ether0/clone interesting, i didn't realise clone had been overloaded like that, i just knew about the ctl file in the connection directory. that's plenty convenient, if a little strange. i'm sure you can do this with your wireless commands as well. you'll need to set

[9fans] removing spaces from filenames

2012-03-21 Thread Peter A. Cejchan
# remove spaces from file names /// does not work EXT=boo rm run for (old in `{9 ls *.$EXT}) { new=`{echo $old | tr -d ' ' } echo mv $old $new run } # this works, but is ugly: # remove unwanted chars from file names EXT=boo 9 ls *.$EXT foo 9 cat foo | 9 tr -c [0-9][a-z][A-Z]'.''\x0a'

Re: [9fans] removing spaces from filenames

2012-03-21 Thread yy
2012/3/21 Peter A. Cejchan tyap...@gmail.com: for (old in `{9 ls *.$EXT}) { Here you are iterating over the elements of `{9 ls *.$EXT}, sepparated by $ifs. Therefore, spaces are breaking your lines into word fields. This is not what you want. Your second example directly process whole lines

Re: [9fans] known working wifi cards

2012-03-21 Thread Richard Miller
PCMCIA: Wavelan PC24E-H-FC aka Avaya World Card Silver

Re: [9fans] known working wifi cards

2012-03-21 Thread Stanley Lieber
On Wed, Mar 21, 2012 at 10:42 AM, Richard Miller 9f...@hamnavoe.com wrote: PCMCIA: Wavelan PC24E-H-FC  aka Avaya World Card Silver aka Lucent Orinoco Silver aka IBM High Rate Wireless LAN etc. -sl

Re: [9fans] known working wifi cards

2012-03-21 Thread Richard Miller
aka Lucent Orinoco Silver aka IBM High Rate Wireless LAN etc. Firsthand experience only ?

Re: [9fans] known working wifi cards

2012-03-21 Thread Stanley Lieber
On Wed, Mar 21, 2012 at 11:02 AM, Richard Miller 9f...@hamnavoe.com wrote: aka Lucent Orinoco Silver aka IBM High Rate Wireless LAN etc. Firsthand experience only ? Perhaps it's a faulty assumption that all PC24E-H-FC cards are created equal. I've seen them branded many different ways. -sl

Re: [9fans] removing spaces from filenames

2012-03-21 Thread erik quanstrom
ifs=' ' for (old in `{9 ls *.$EXT}) { i think ls and the temporary file are getting in the way. if you use globbing and execing directly from the shell you can avoid quoting problems. for example, for(old in *^' '^*.$EXT) ifs=$nl mv $old `{echo $old | sed 's/ //g'}

Re: [9fans] Question about usage of Plan 9 based os systems

2012-03-21 Thread Ethan Grammatikidis
On Wed, 14 Mar 2012 22:08:57 +0100 Paschke Christoph c.pasc...@me.com wrote: for me very interesting question: who use a Plan 9 system productive? I now use Plan 9 for everything that does not involve 3D graphics, the www, or email. The latter is because as far as I'm aware there's no way to

Re: [9fans] Question about usage of Plan 9 based os systems

2012-03-21 Thread Mathieu Lonjaret
On Wed, Mar 21, 2012 at 6:54 PM, Ethan Grammatikidis eeke...@fastmail.fm wrote: I now use Plan 9 for everything that does not involve 3D graphics, the www, or email. The latter is because as far as I'm aware there's no way to get a threaded message view. I don't think it would be much effort

Re: [9fans] Question about usage of Plan 9 based os systems

2012-03-21 Thread Jack Norton
On 3/14/2012 4:08 PM, Paschke Christoph wrote: for me very interesting question: who use a Plan 9 system productive? who use it for research? who use it just because bored with Linux as a tec gaming site? who use it commercial in a business? who use it on an embedded device? who programs with

Re: [9fans] known working wifi cards

2012-03-21 Thread Jerome Ibanes
I use a Vonets USB WiFi Bridge vap11g I found on ebay for less than $10, I wrote a little driver to have it set its channel and ssid. I didn't have any documentation, so I snooped the usb traffic bridged to a windows instance running in virtualbox. Jerome On Wed, Mar 21, 2012 at 9:10 AM,

Re: [9fans] Regarding 9p based protocols message framing

2012-03-21 Thread Yaroslav
Perhaps initially: over an IP network, 9P used to run over IL. still does, including on the system i'm sending this from. What advantages does it have over TCP? Does it worths the effort of tailoring it back in, esp. for a fossil/venti site? -- - Yaroslav

Re: [9fans] Regarding 9p based protocols message framing

2012-03-21 Thread erik quanstrom
On Wed Mar 21 16:11:41 EDT 2012, yari...@gmail.com wrote: Perhaps initially: over an IP network, 9P used to run over IL. still does, including on the system i'm sending this from. What advantages does it have over TCP? Does it worths the effort of tailoring it back in, esp. for a

Re: [9fans] Regarding 9p based protocols message framing

2012-03-21 Thread Anthony Sorace
What advantages does it have over TCP? Significantly simpler implementation. Lower overhead, giving better speed over local links. Also, although not an advantage of IL per se, there are a few advantages to Plan 9 having another protocol in the stack, especially one which can run 9p. It helps

Re: [9fans] Regarding 9p based protocols message framing

2012-03-21 Thread erik quanstrom
What advantages does it have over TCP? Significantly simpler implementation. Lower overhead, giving better speed over local links. it's also message based. so things like rx depend on a protocol like il that preserves 0-byte writes. - erik

Re: [9fans] Regarding 9p based protocols message framing

2012-03-21 Thread Anthony Sorace
On Mar 21, 2012, at 16:27 , erik quanstrom wrote: (in fact, i'd go further than il. why do we need the ip in il?) I'd love to have an IP-free, 9p-capable network in the mix. Plan 9 had this, way back when, with nonet (?), but that didn't survive the removal of the streams system in the 3rd

Re: [9fans] Regarding 9p based protocols message framing

2012-03-21 Thread erik quanstrom
I'd love to have an IP-free, 9p-capable network in the mix. Plan 9 had this, way back when, with nonet (?), but that didn't survive the removal of the streams system in the 3rd edition (I know you know this already,but I'm not sure how widely it's known). i'm probablly missing something, but

Re: [9fans] Regarding 9p based protocols message framing

2012-03-21 Thread erik quanstrom
thanks, that's great. the retransmission interval is probally off by 3/4 orders of magnitude for today's local networks. 50-500µs would be a decent static retransmit interval. (goes to show that timing sleeps in ms anachronistic.) - erik

Re: [9fans] Regarding 9p based protocols message framing

2012-03-21 Thread cinap_lenrek
importing /net is possible. just recently replaced openwrt linux nat router with a plan9 machine importing its /net.alt to avoid problems with random tcp connection drops. wrote a simple socks server so windows can use it as a gateway too. even use bittorrent thru that thing with udp relay :)

Re: [9fans] Regarding 9p based protocols message framing

2012-03-21 Thread erik quanstrom
just recently replaced openwrt linux nat router with a plan9 machine importing its /net.alt to avoid problems with random tcp connection drops. where's it importing /net.alt from? - erik

Re: [9fans] Regarding 9p based protocols message framing

2012-03-21 Thread cinap_lenrek
gateway machine has two ethernet cards. /net.alt is the external internet facing side where i get ip over dhcp from cable modem. the /net is the internal local network. running import gateway /net.alt on random plan9 machine to import the internet. -- cinap