r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Linux] group for linux REBOL users

Graham
12-Oct-2008
[2411]
yes.
Dockimbel
12-Oct-2008
[2412]
http://www.rebol.net/cgi-bin/rambo.r?id=4306&
Graham
12-Oct-2008
[2413x5]
I'm listening on port 8001
I got some error about being unable to write some .configuration 
file
I downloaded it twice in case it was corrupted.
And it works on Ubuntu JeOS
I won't be physically near that box now for a couple of days.  I'll 
test it again when I'm able.
Dockimbel
12-Oct-2008
[2418]
Ok, when Cheyenne is started, it searches for a %httpd.cfg file in 
the same directory. If it doesn't find it, it writes down a default 
one. So if your cheyenne binary doesn't have the rights to write 
in its directory, that would the cause of the error.
Graham
12-Oct-2008
[2419x3]
oh no, it's quite a different file name ....
and httpd.cfg is present.
the file was of the form .xxxx.xxxx
Dockimbel
12-Oct-2008
[2422]
Did you checked the rights needed to be able to write that configuration 
file ?
Graham
12-Oct-2008
[2423]
I was sudo ./cheyenne
Dockimbel
12-Oct-2008
[2424]
So that's where you get encapsulation errors ?
Graham
12-Oct-2008
[2425x2]
yes, I think so.
It was 2 days ago and so I switched to using cheyenne.r instead
Dockimbel
12-Oct-2008
[2427]
You can use Gab's workaround for that : write a small shell script 
that run cheyenne and run the script with sudo.
Graham
12-Oct-2008
[2428x2]
I will try ...
Gab says it causes the same problem on all unixes, but on ubuntu 
jeos, i don't get the encapsulation error.
Dockimbel
12-Oct-2008
[2430]
maybe because you're logging as root ?
Gabriele
13-Oct-2008
[2431]
graham, you can also use "screen" if you want to be able to connect 
back and see the output. though, what you really need is just redirecting 
the input and output. rebol your-script.r >/dev/null </dev/null 2>/dev/null 
&
Graham
13-Oct-2008
[2432x3]
Tried again ...

./cheyenne - netstat says port 8001 is being listened, but I don't 
get any output using wget
sudo ./cheyenne - get the encapsulation error as you reported it
sudo rebol 
and then do %cheyenne.r works.
and wrapping it like ch.sh

#!/bin/sh 
./cheyenne &

sudo ./ch.sh

also works
not seeing this request to write a cofiguration file at present
Graham
14-Oct-2008
[2435]
I was installing ubuntu Jeos, and it seems to find the NICs, and 
gets the UTC time etc.  But when it starts up, ifconfig -a only shows 
the local loop adaptor.
And if I try and startup eth0, it says it doesn't exist.
Ideas?
Anton
14-Oct-2008
[2436]
Since Gutsy, the first couple of lines of /etc/iftab


# This file is no longer used and has been automatically replaced.

# See /etc/udev/rules.d/70-persistent-net.rules for more information.


The system for naming / managing eth0 eth1 has changed.  I had to 
mess a file in the path above to get my eth0 back.
Graham
14-Oct-2008
[2437]
oh gawd ...
Robert
14-Oct-2008
[2438x2]
Has anyone some experience with Truecrypt? I would like to fully 
encrypt my Linux system.
But  I don't want to get locked out ;-).
Sunanda
14-Oct-2008
[2440]
My experience of Truecrypt is that the code is excellent quality, 
and it has many well-engineered safeguards to prevent data loss.....But 
I've never used the Linux version, so I cannot vouch for that. Good 
luck!
Kaj
14-Oct-2008
[2441]
Graham, why do you say JeOS finds your NICs? ifconfig not showing 
them would seem to indicate it doesn't
Graham
14-Oct-2008
[2442x2]
well, it says fetching time etc and doesn't say it can't find them
Also if I have two nics, it asks which one I want to use as the primary 
adaptor.
Kaj
14-Oct-2008
[2444]
Does it fetch time through NTP or just from the system clock?
Graham
14-Oct-2008
[2445x2]
doesn't tell me
Also Iknow the nics work because I booted up in UBCD and was able 
to browse
Kaj
14-Oct-2008
[2447]
Usually just the hardare clock. NTP must be configured later
Graham
14-Oct-2008
[2448]
One is a Via Rhine and the other a Realtek chipset
Kaj
14-Oct-2008
[2449]
Sounds like it finds them on installation, but not afterwards. Odd
Graham
14-Oct-2008
[2450]
Yes exactly
Kaj
14-Oct-2008
[2451]
Is the ip command available? That's the modern replacement for ifconfig
Graham
14-Oct-2008
[2452x7]
dunno
have no problems installing JeOS under vmware
Here's another JeOS annoyance .. I installed on a  Compaq PC with 
USB keyboard. It asked me about keyboard type etc ... and I think 
I manually selected USA.

But when it boots up, it doesn't recognize the keyboard anymore :(
So, I am going to have to reinstall, give it a fixed ip address so 
that I can ssh into it
As far as I know, there is no USB module in JeOS. JeOS is designed 
to be run inside a Virtual Machine, not as a Virtual Machine Host.
So, big oops .. should not have used JeOS.
It probably only works with virtual network cards too.
BrianH
14-Oct-2008
[2459]
Or the real network cards that VM hosts emulate - that's how all 
of the VM hosts work.
Graham
14-Oct-2008
[2460]
Sad ...