Re: [gentoo-user] Oracle on Gentoo Linux

2005-03-08 Thread Chris Boot
Hi,
There's an article on the Gentoo Wiki:
http://gentoo-wiki.com/HOWTO_Install_Oracle_10g
HTH,
Chris
simply change wrote:
i need to install Oracle 10g on Linux @ my office new production
server. i planed to download it free from oracle site.
is it possible to deploy Oracle 10g on Gentoo 2004.3? if 'yes'. pls
tell me way of installing Oracle 10g on Gentoo Linux.
help me!
- 
___

Linux everywhere
--
gentoo-user@gentoo.org mailing list
 



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] gnu time command

2005-03-07 Thread Chris Boot
Hi,
If you're using bash, it has its own built-in version of 'time. Try to 
use the full path to the command:
/usr/bin/time -a -o log ls

HTH,
Chris
Niall Moran wrote:
Hi,
Im trying to write some scripts to record some times for creating
graphs. Im trying to use the time command and have it output to a
file. In the man page it gives details of how one can use the -o and
-a switches to output to and append to a file. However the utility
does not seem to recognise these switches. It does mention that these
are GNU options but I thought the version I had was the GNU version.
Any help is greatly appreciated.
Thanks,
Niall
Below is the output I get when trying 

[EMAIL PROTECTED] ~ $ time -a -o log ls
-bash: -a: command not found
real0m0.001s
user0m0.000s
sys 0m0.001s
Below is the relevent section of the man page for time
  -o FILE, --output=FILE
 Do not send the results to stderr, but overwrite the
specified file.
  -a, --append
 (Used together with -o.) Do not overwrite but append.
--
gentoo-user@gentoo.org mailing list
 

--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Installing Oracle 9iR2

2005-02-28 Thread Chris Boot
Hi,
If I remember correctly, you'll have a hard time installing the database 
unless you can run the older version of Java: the NetCA that runs to 
create your database and setup your tnsnames.ora file requires JDK 1.1 
and won't work on any newer version (it will complain about permissions 
or something). Unless you really have to stick with Gentoo, I would 
recommend going to an older version of some other distro (with a 
compatible libc), or upgrading to Database 10g. That being said I have 
managed to install DB 9i on Gentoo, but only after installing gcc 2.95, 
compiling an older glibc somewhere else without NPTL, and I still had to 
build my tnsnames.ora manually.

Good luck!
Chris
PS: I'm doing an internship at Oracle, if that's any help.
Frank Schafer wrote:
Hi,
did you check all the Oracle prerequisites? I had very similar behaviour
on a machine with insufficient amount of (physical) memory.
Regards
Frank
PS: You could try installing via ``automatic response file'' avoiding
the ``Universal Installer'' which is (hmm, Java) simply a ressource
eater.
On Sun, 2005-02-27 at 21:19 +, Konstantinos Agouros wrote:
 

Hi,
I am trying to install Oracle 9i Release2. I had to change the java-binary
and replace it with a link to the blackdown jdk because of LIBC 
incompatibilities. Now when I start runInstaller a window opens after 
the splash screen, I have a whole lot of java processes of which 
(according to top) none is doing anything, and the window stays grey 
(remotelogin via ssh). 

Did anybody install this and have success?
Cheers,
Konstantin
   



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Weird dmesg message

2005-02-05 Thread Chris Boot
Hi,
From the last two lines:
Out of Memory: Killed process 22297 (links).
oom-killer: gfp_mask=0x1d2
This is saying the kernel's Out of Memory system has kicked in and 
killed a process to free up some memory (in this case 'links'). 
Basically, you've run out of free memory (RAM + SWAP) and it's nuked 
something to free up a little. I haven't personally seen this since I 
mistyped my swap mounts in /etc/fstab, so you might like to take a look 
at 'top' and/or /proc/meminfo to see that you actually have your swap 
mounted.

I'm not sure about the other messages, but I would guess they're related 
to the above.

HTH,
Chris
Robert S wrote:
I recently got this in my dmesg.  What the dickens does it mean??  It looks
bad.  I got a funny message while running links.
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
ld-linux.so.2[32745]: segfault at 556c rip 5655a9bf rsp

8c78 error 7
ld-linux.so.2[32747]: segfault at 556c rip 5655a9bf rsp

8c78 error 7
ld-linux.so.2[32751]: segfault at 5584 rip 5655a9bf rsp

8c68 error 7
ld-linux.so.2[32753]: segfault at 5584 rip 5655a9bf rsp

8c68 error 7
oom-killer: gfp_mask=0x1d2
DMA per-cpu:
cpu 0 hot: low 2, high 6, batch 1
cpu 0 cold: low 0, high 2, batch 1
Normal per-cpu:
cpu 0 hot: low 32, high 96, batch 16
cpu 0 cold: low 0, high 32, batch 16
HighMem per-cpu: empty
Free pages: 668kB (0kB HighMem)
Active:58096 inactive:58890 dirty:0 writeback:0 unstable:0 free:167
slab:4636 mapped:115
347 pagetables:2069
DMA free:20kB min:20kB low:40kB high:60kB active:5588kB inactive:5540kB
present:16384kB
protections[]: 0 0 0
Normal free:648kB min:700kB low:1400kB high:2100kB active:226796kB
inactive:230020kB pre
sent:507840kB
protections[]: 0 0 0
HighMem free:0kB min:128kB low:256kB high:384kB active:0kB inactive:0kB
present:0kB
protections[]: 0 0 0
DMA: 1*4kB 0*8kB 1*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB
0*2048kB 0*4096kB
= 20kB
Normal: 0*4kB 1*8kB 2*16kB 1*32kB 3*64kB 1*128kB 1*256kB 0*512kB 0*1024kB
0*2048kB 0*409
6kB = 648kB
HighMem: empty
Swap cache: add 524382, delete 524381, find 120080/166021, race 2+2
Out of Memory: Killed process 22297 (links).
oom-killer: gfp_mask=0x1d2
 


--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Creating xorg.conf automagically

2005-01-31 Thread Chris Boot
Hi,
On 31 Jan 2005, at 18:44, Dave Nebinger wrote:
However, don't expect too much from the output of this command.  On my
system it couldn't recognize the ATI Radeon card I have (it elected to 
use
the ati driver rather than the radeon driver).
That's because the ATI driver detects your card and then loads the 
radeon driver when it finds a radeon. It's normal.

Chris
--
Chris Boot
[EMAIL PROTECTED]
http://www.bootc.net/


smime.p7s
Description: S/MIME cryptographic signature


Re: [gentoo-user] Apache Mysql Backup System

2005-01-28 Thread Chris Boot
Hi,
If I'm not mistaken, this has been done and is in constant use on big 
sites like SourceForge and the like. I'm not sure of the details of the 
operation, but I seem to remember reading an overview about it on the 
site somewhere. They do, however, have lots of money to burn on load 
balancers. While there are free solutions to do this sort of thing, I 
don't know about them.

I suggest reading up on the MySQL docs to find out how to set up the 
MySQL side of things. As for Apache, it might be harder without a 
dedicated piece of kit to decide which server to send packets to. If the 
only problem you're having is Apache / MySQL crashing, you chould have a 
look at monit, which does a great job of restarting services that fall 
over and can notify you of what's happening by email.

HTH,
Chris
Seunghyun. Cho wrote:
Hi,
I am running apache/php and Mysql on my gentoo server.
I just backup tar copies everyday.
When the system is down, it is very difficult to recover it.
So I'd like to make automatic backup(or load ballancing) system for my site.
How can I implement this on gentoo machine.
One is main webdb server. and there is second server sync data in real
time.
When main server is down, second server should do the job of main server.
And data needs to be backuped in realtime(or everyday... real time
syncing is much better~)
Is anybody implemeted this?
Give me some ideas...
Thanks.
--
gentoo-user@gentoo.org mailing list
 



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Procmail and mail aliasses

2005-01-27 Thread Chris Boot
Hi,
Patrick Marquetecken wrote:
On Thu, 2005-01-27 at 10:34 +0100, Patrick Marquetecken wrote:
   

Hi,
I'm a bit stuck with procmail, i have one email account and several mail
aliasses at my ISP.
I use fetchmail in a cron on user level to get my emails.
I whan't now mails that are for a mail alias (other to address) deliverd
to another local .maildir. The problem is that they are pickup by the
fetchmail script of my main user. I don't know of it is possible with
procmail to point to a different home/.maildir but even then the uid
would
be worng of that email.
Whats the best way to deliver those emails?
TIA
 

Well, best way is in fact procmail. On the account that receives the 
emails you can do:

:0
* [EMAIL PROTECTED]
! [EMAIL PROTECTED]
:0 [EMAIL PROTECTED]
! [EMAIL PROTECTED]
And so on. Then your MTA will do the job of delivering the mail to the 
other users, invoking their own procmail and so on. I use Postfix so I 
can share my config with you if you wish.

AFAIK, this won't work for BCCs since the address that was BCCed doesn't 
end up in the mail headers.

HTH,
Chris
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] hosting plan? [OT]

2005-01-27 Thread Chris Boot
Hi,
Well, I've been toying with the idea of getting a server colocated for a 
while, and the only way to make that pay off for myself would be to 
offer hosting for people.

How many people on this list would be interested in joining such a scheme?
The server would be colocated in the UK, and the specs would probably be 
as follows:
- 1/2 GB RAM or more
- RAID 1 or RAID 0+1 storage, depending on the size of the case and cost
- Debian Sarge (sorry guys, I don't think Gentoo cuts it on a server!)
- Apache 2  PHP 4.3 (other Apache / PHP modules as per request)
- MySQL and/or PostgreSQL and/or Firebird, depending on demand
- Virtual email hosting (i.e. different accounts on different domains, 
aliases, etc...)

Any other requests welcome. I don't think I would set up a control 
panel, and I wouldn't want to host too many sites. This would be a 
highly personalised service, for those who have outgrown hosting at home 
/ under some plan, but don't have the resources to go colo by 
themselves. And of course, this service wouldn't be available for quite 
some time, so I won't be signing anyone on or taking any money at the 
moment.

How many takers? What sort of money would you pay?
Regards,
Chris
PS: My fiancee can drink me under the table!
Zhang Weiwu wrote:
Hello. I am using my home gentoo box hosting my webpage and several 
forums. Now the ISP keep dropping my line once a day, so I am thinking 
of using another host.

I need xml, iconv, mbstring, gd2, zlib, Option mutliview apache and 
scp/sftp access with public key authentication. I don't need stupid 
things like pop3 account, embeded chatroom and pre-configured forum. 
However, after a hard search I found even many 'professional' hosting 
company either cannot offer all of them, or provided extra service I 
don't need. Many of them don't have iconv (they don't expect Asian 
users). I don't like to choose Chinese hosting companies, most of them 
don't even have a list of supported php modules.

So, where do the people on this list look for a real professional 
hosting support for geeks? Further more, the hosting company should 
not be too slow from China. Any suggestions?

Or if any friendly people on this list maintain an always-on host that 
could be used for web, and feel your box is pretty stable, I can buy 
hosting from you. I think gentoo list people are even more trustworthy 
than some commercial support. If your box is small I consider only put 
my homepage (very low traffic) on it which is the only thing I wish to 
keep stable, forums are not important. I can pay you EUR or USD but 
only by credit card (in some cases, money isn't easy to transfer to 
individual, so I can order beer and let the shop ship it to you:) 
Otherwise, if you have the chance to come to China I'll treat you with 
Chinese goods:)

about beer: With all respects to Women on this list: in that case tell 
me what I can order for you.

--
gentoo-user@gentoo.org mailing list


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] iptables: block full ip-range

2005-01-26 Thread Chris Boot
Hi,
There you go! That's very cool that calculator.
Chris
On 25 Jan 2005, at 20:02, Ralph Slooten wrote:
Thanks Chris ... it's not all 100% clear now, but slowly understanding 
more. When I eventually get it I'll create a php script to do it for 
me *g*.

Thanks again for your time.
I did find this though: http://logi.cc/nw/NetBitCalc.html (using the 
netaddr option).

Maybe it'll interest others too.
Ralph
Chris Boot wrote:
Hi,
I used the IP Address Converter section.
I got the binary for the first IP (218.144.0.0), which is:
11011010 1001  
Then for the second (218.159.255.255), which is
11011010 1001  
Notice how the first 12 bits stay the same, and the last 12 change? 
12 is the magic number in this case. :-)
There should be an easier tool for this, but it does the trick.
Chris
--
gentoo-user@gentoo.org mailing list

--
Chris Boot
[EMAIL PROTECTED]
http://www.bootc.net/
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Connection to Courier IMAP server

2005-01-26 Thread Chris Boot
Hi,
You need to create the folder as a subfolder of INBOX. You can either 
force yourself to do that manually, or set your mail client's IMAP 
Server Directory or mail prefix or whatever it calls it to INBOX. 
This is because Courier-IMAP has various shared folders capabilities and 
root directories are reserved.

HTH,
Chris
Patrick Marquetecken wrote:
Hi, 
I have setup at home a Courier IMAPserver with SSL. I can read my emails
with squirrel webmail but with Sylpeed 1.0.0 it won't work.

My setup is: 
Auhentication method =automatic
SSl - Imap4= Use SSL for IMAP4
Advanced port ssl = 993

when i click on the IMAP4 account i see very quick: 
Opening Folder(null)

When i try to create a folder i get (in the log):
[21:08:25] IMAP4 6 NOOP
[21:08:25] IMAP4 6 OK NOOP completed
[21:08:25] IMAP4 7 LIST  NieuweMap
[21:08:25] IMAP4 7 OK LIST completed
[21:08:25] IMAP4 8 CREATE NieuweMap
[21:08:25] IMAP4 8 NO Invalid mailbox name.
[21:08:25] ** warning: kan geen mailbox maken
[21:15:40] IMAP4 9 NOOP
[21:15:40] IMAP4 9 OK NOOP completed
[21:15:40] IMAP4 10 LIST  NewFolder
[21:15:40] IMAP4 10 OK LIST completed
[21:15:40] IMAP4 11 CREATE NewFolder
[21:15:40] IMAP4 11 NO Invalid mailbox name.
[21:15:40] ** warning: kan geen mailbox maken
The plugin maildir ++is active
Anyone a idee
--
gentoo-user@gentoo.org mailing list
 



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] OT: freetype vs. m$

2005-01-26 Thread Chris Boot
Hi,
Ah, but then you compare it to Mac OS X and you get disappointed... It 
seems to bring out the font shapes so much better! For example, I take a 
TT font from my Mac, and install it on both Windows and Linux, and it 
just doesn't look the same, no matter how hard I try.

Chris
George Garvey wrote:
  Using VMware the other day I noticed something. I was running a
program I develop on both Linux and in VMware with 2000 Pro.
  The font rendering is noticeably better on Linux. It is darker,
and less blurry.
--
gentoo-user@gentoo.org mailing list
 



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] APC UPS

2005-01-25 Thread Chris Boot
Hi there,
I quite like apcupsd myself.
HTH,
Chris
Chris Young wrote:
I have received an old UPS ( APC Smart-UPS 1000Va (670W) ) ( DB9/RS232 
Cable )

What should I use to Monitor the UPS?
CRY



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] nVidia GeForce4 MX 4000 - X doesn't work

2005-01-25 Thread Chris Boot
Hi Nick,
Nick Rout wrote:
On Mon, 2005-01-24 at 22:05 +, Chris Boot wrote:
 

Hi,
I added a DefaultDepth 24 statement to my config and now I get the 
pretty nVidia logo, but my X is still no go! Any ideas?

Many thanks,
Chris
On 24 Jan 2005, at 19:19, Chris Boot wrote:
   

Hi all,
I just got a GeForce4 MX 4000 and I'm having trouble getting it 
working with Xorg 6.8.0-r4. Ideally I'd like to have it only connected 
to my TV, and not have a monitor or keyboard.

When I start X using the 'nvidia' driver (nvidia-glx 1.0.6629-r1) my 
screen initialises correctly, and I get a mouse pointer appearing as 
well. I see a white line in the top left corner of the screen, going 
right about 200px. If I move the mouse up towards the line the mouse 
turns into resize / move pointers depending on where it is. All 
programs seem to load, I get no errors in .gnomerc-errors, and all 
processes seem to be running. If I connect using VNC (either the vnc 
extension or x0vncserver) I see exactly the same as on the screen.

If I change the driver from 'nvidia' to 'vesa' everything works fine, 
except I obviously can't configure TV and it's slow.

lspci -v output for my card:
:01:00.0 VGA compatible controller: nVidia Corporation NV18 
[GeForce4 MX 4000 AGP 8x] (rev c1) (prog-if 00 [VGA])
   Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 201
   Memory at dc00 (32-bit, non-prefetchable)
   Memory at d000 (32-bit, prefetchable) [size=128M]
   Capabilities: [60] Power Management version 2
   Capabilities: [44] AGP version 3.0

Every time I start X using the nvidia driver the kernel says:
agpgart: Found an AGP 2.0 compliant device at :00:00.0.
agpgart: Putting AGP V2 device at :00:00.0 into 4x mode
agpgart: Putting AGP V2 device at :01:00.0 into 4x mode
Of course, I've merged and loaded nvidia-kernel-1.0.6629-r1, and it 
seems to load fine.

My xorg.conf and Xorg.0.log (-logverbose 5) are posted online:
http://www.bootc.net/xorg/
I hope someone has an idea or two!
 


what does /var/log/Xorg.0.log say? 
 

http://www.bootc.net/xorg/Xorg.0.log
It shows no errors, just doesn't get past the logo screen. My xorg.conf 
is also in that directory.

 

Many thanks,
Chris
--
Chris Boot
[EMAIL PROTECTED]
http://www.bootc.net/
--
gentoo-user@gentoo.org mailing list
 



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Moving e-mail

2005-01-25 Thread Chris Boot
Hi,
The actual filename of the emails doesn't have to be the same, as long 
as it's rougly the same format. My emails look like:

1106132326.25836_0.tarquin.lan:2,RS
The 'tarquin.lan' bit varies from host to host, depending on which 
machine put the mail in the maildir. The first portion is always a 
different sequence of numbers, if I'm not mistaken it's the received 
date or something. The last portion is some flags like Seen, Replied, 
etc... So as long as they are similar courier-imap will understand them.

HTH,
Chris
Patrick Marquetecken wrote:
Hi,
I followed a virtual mail server howto in the forums, fetchmail - procmail - courier -imap - postfix - squirrelmail and it works perfect.
The only question i have is, i'm gathering mail for years with sylpheed-claws in a maildir, it are several thousend of mails in sub dirs. 
How do i get them into the new mailserver, the server has also a .maildir but the filename of the emails are different.

TIA
Patrick
--
gentoo-user@gentoo.org mailing list
 



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] nVidia GeForce4 MX 4000 - X doesn't work

2005-01-25 Thread Chris Boot
Hi,
I did that. Before I added that DefaultDepth it was just black with a 
mouse pointer. Afterwards, it's the logo with a mouse pointer.

Since then I've downgraded drivers and it works like a charm.
Chris
Bastian Balthazar Bux wrote:

[snip]
what does /var/log/Xorg.0.log say? 
http://www.bootc.net/xorg/Xorg.0.log
It shows no errors, just doesn't get past the logo screen. My 
xorg.conf is also in that directory.

[snip]
It seems to me that it's trying to start with a 8 bpp (256 colors)
from log
(==) NVIDIA(0): Depth 8, (==) framebuffer bpp 8
(WW) NVIDIA(0): OpenGL is only supported in depths 16 and 24
/from log
try add DefaultDepth 24 at Section Screen before SubSection 
Display in xorg.conf maybe it work

francesco

--
gentoo-user@gentoo.org mailing list


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] nVidia GeForce4 MX 4000 - X doesn't work

2005-01-25 Thread Chris Boot
Hi Nick,
Nick Rout wrote:
On Tue, 2005-01-25 at 10:21 +, Chris Boot wrote:
 

Hi,
I did that. Before I added that DefaultDepth it was just black with a 
mouse pointer. Afterwards, it's the logo with a mouse pointer.

Since then I've downgraded drivers and it works like a charm.
Chris
   

something else i spotted on the log was this:
(II) NVIDIA(0): Connected display device(s): CRT-0, TV-0
(WW) NVIDIA(0): Multiple displays connected, but only one display
allowed;
(WW) NVIDIA(0):  using first display
(II) NVIDIA(0): Enabled display device(s): CRT-0
(II) NVIDIA(0): Mapping display device 0 (CRT-0) to CRTC 0
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at  8 bpp: 350
MHz
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 16 bpp: 350
MHz
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 32 bpp: 350
MHz
IIRC you wanted to get TV going, but it seemed to be wanting to do CRT
only??
but if you've got it going now that probably doesn't matter!
 

Yeah, I just yanked the CRT and it worked. Might look into mirroring the 
picture later, we'll see. Should be able to handle it! Not that I need 
it now.

Chris


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] iptables: block full ip-range

2005-01-25 Thread Chris Boot
Hi,
I found a nice IP address calculator at 
http://www.telusplanet.net/public/sparkman/netcalc.htm

Using that, we get 218.144.0.0/12.
HTH,
Chris
Ralph Slooten wrote:
Hello fellow gentoo users,
I run my own dedicated internet server from home with of course 
gentoo. What I have noticed, as probably many of you have, is that 
users from certain ISP's do daily attempts to relay mail, log into ssh 
etc etc ... Ok, so I'm pretty well secured as they don't even come 
close, but I'm still not happy.

Most of these attempts come from kornet, as with most of my spam. What 
I would like to do is drop their whole entire ip-range with 
iptables... but how? I know how with a simple subnet, but some (they 
have several) of their ranges are given as:
218.144.0.0 - 218.159.255.255

Is there any way to add this range in iptables easily, without having 
to do each from 218.144* 218.145* etc etc 

Greetings
Ralph
--
gentoo-user@gentoo.org mailing list


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Mounting a Network Drive

2005-01-25 Thread Chris Boot
Hi,
The file name must be /etc/exports (with the s) for this to work.
Also, make sure you have nfs-utils installed and started 
(/etc/init.d/nfs start). This will start portmap, you need this too 
(should be taken care of by dependencies). Needless to day you need NFS 
server and probably NFS client support compiled in the kernel or as a 
module.

Then, run 'exportfs -arv', I find this is the best to use.
HTH,
Chris
Nicholas Pappas wrote:
Thanks Mike.  I changed around a few things, but still am unable 
to get a response out of 'exportfs'.
Here is my /etc/export (changed slightly to match yours):

/export01 linna(rw,sync,no_root_squash)
Here is the output of 'rc-udpate -s' (to point out where nfs and 
portmap are):

netmount |  default
 nfs |  default
nfsmount |
nscd |
  ntp-client |
ntpd |  default
 numlock |
 portmap |  default
 postfix |  default
Here is a 'ls -la' of my /export01 directory, what I am trying to 
make shared:

[EMAIL PROTECTED] export01 # ls -la
total 28
drwxr-xr-x   4 root root   4096 Jan 21 16:37 .
drwxr-xr-x  21 root root   4096 Dec 22 20:32 ..
drwxrwxr-x   3 root users  4096 Jan 21 16:37 Multimedia
drwx--   2 root root  16384 Dec 20 14:28 lost+found
When I type in 'exportfs -av' I get nothing in return.  Another 
prompt pops up with no output from the command. =(

Thanks for all the help!
--
gentoo-user@gentoo.org mailing list


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Mounting a Network Drive

2005-01-25 Thread Chris Boot
Hi,
Oops! Sorry! Didn't completely read your message! I see you've started 
portmap and nfs, I'll shut up now. :-P

Chris
Chris Boot wrote:
Hi,
The file name must be /etc/exports (with the s) for this to work.
Also, make sure you have nfs-utils installed and started 
(/etc/init.d/nfs start). This will start portmap, you need this too 
(should be taken care of by dependencies). Needless to day you need 
NFS server and probably NFS client support compiled in the kernel or 
as a module.

Then, run 'exportfs -arv', I find this is the best to use.
HTH,
Chris
Nicholas Pappas wrote:
Thanks Mike.  I changed around a few things, but still am unable 
to get a response out of 'exportfs'.
Here is my /etc/export (changed slightly to match yours):

/export01 linna(rw,sync,no_root_squash)
Here is the output of 'rc-udpate -s' (to point out where nfs and 
portmap are):

netmount |  default
 nfs |  default
nfsmount |
nscd |
  ntp-client |
ntpd |  default
 numlock |
 portmap |  default
 postfix |  default
Here is a 'ls -la' of my /export01 directory, what I am trying to 
make shared:

[EMAIL PROTECTED] export01 # ls -la
total 28
drwxr-xr-x   4 root root   4096 Jan 21 16:37 .
drwxr-xr-x  21 root root   4096 Dec 22 20:32 ..
drwxrwxr-x   3 root users  4096 Jan 21 16:37 Multimedia
drwx--   2 root root  16384 Dec 20 14:28 lost+found
When I type in 'exportfs -av' I get nothing in return.  Another 
prompt pops up with no output from the command. =(

Thanks for all the help!
--
gentoo-user@gentoo.org mailing list


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] problems with pgaccess

2005-01-25 Thread Chris Boot
Hi,
I think it's part of tk. What USE flags did you use to build tcltk?
Chris
Rumen Yotov wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
Using pgaccess-~x86 (frontend to postgresql) till now w/o problems.
Now can't start it, error follows:
...BEGIN...
Application initialization failed: this isn't a Tk applicationunknown
color name Black
Error in startup script: can't invoke image command:  application has
been destroyed
~while executing
image create bitmap dnarw -data  {
#define down_arrow_width 15
#define down_arrow_height 15
static char down_arrow_bits[] = {
~0x00,0x80,0x00,0x80,0x0...
~(file /usr/X11R6/bin/pgaccess line 17)
...END...
As i rebuild tcl,tk a day or two ago think the problem is with 'image'
binary file. Don't have it and don't know which package it belongs to.
After searching: gentoo-portage, rpmfind, google only found some
suggestion that it may belong to MESA' package, but all are masked and
even more pgacces don't depend on it.
Could someone tell me which package 'image' belongs to?
PS: also searched in imagemagick,imlib2
pgaccess depends on:
~=dev-db/postgresql-7.3  dev-db/postgresql-8.0.0
~=dev-lang/tcl-8.3.4 dev-lang/tcl-8.4.6-r1
~=dev-lang/tk-8.3.4  dev-lang/tk-8.4.6-r1
~dev-tcltk/tcllib dev-tcltk/tcllib-1.6.1
~!bootstrap? sys-devel/patch  sys-devel/patch-2.5.9-r1
~virtual/libc
sys-libs/glibc-2.3.4.20041102
TIA
Rumen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0-ecc0.1.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFB9mwww4vKYiLy/AsRAmDyAJwJWaNHZTypTMDqbeN2znciD8nJaACffwrg
SWSWkSLT2oE36TWpM6YA9hY=
=dP+/
-END PGP SIGNATURE-
--
gentoo-user@gentoo.org mailing list


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] iptables: block full ip-range

2005-01-25 Thread Chris Boot
Hi,
I used the IP Address Converter section.
I got the binary for the first IP (218.144.0.0), which is:
11011010 1001  
Then for the second (218.159.255.255), which is
11011010 1001  
Notice how the first 12 bits stay the same, and the last 12 change? 12 
is the magic number in this case. :-)

There should be an easier tool for this, but it does the trick.
Chris
Ralph Slooten wrote:
Wow, thanks Chris for the link  I just asked my boss to explain it 
to me (without showing him your answer) and he manually worked it out 
to be exactly the same. The issue I have is binary etc ... it's still 
greek to me (I will try learn it soon though).

Ok, now for the real n00b question :-) In which section did you work 
it out on that page (possibly a screenshot sent to my email if 
explaining is hard)?

Thanks for the help,
Greetings
Ralph
Chris Boot wrote:
Hi,
I found a nice IP address calculator at 
http://www.telusplanet.net/public/sparkman/netcalc.htm

Using that, we get 218.144.0.0/12.
HTH,
Chris
Ralph Slooten wrote:
Hello fellow gentoo users,
I run my own dedicated internet server from home with of course 
gentoo. What I have noticed, as probably many of you have, is that 
users from certain ISP's do daily attempts to relay mail, log into 
ssh etc etc ... Ok, so I'm pretty well secured as they don't even 
come close, but I'm still not happy.

Most of these attempts come from kornet, as with most of my spam. 
What I would like to do is drop their whole entire ip-range with 
iptables... but how? I know how with a simple subnet, but some (they 
have several) of their ranges are given as:
218.144.0.0 - 218.159.255.255

Is there any way to add this range in iptables easily, without 
having to do each from 218.144* 218.145* etc etc 

Greetings
Ralph


--
gentoo-user@gentoo.org mailing list


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] problems with pgaccess

2005-01-25 Thread Chris Boot
Hi,
Sorry, I mean just 'tk', as in dev-lang/tk. An emerge -pv dev-lang/tk 
should show us.

HTH,
Chris
Chris Boot wrote:
Hi,
I think it's part of tk. What USE flags did you use to build tcltk?
Chris
Rumen Yotov wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
Using pgaccess-~x86 (frontend to postgresql) till now w/o problems.
Now can't start it, error follows:
...BEGIN...
Application initialization failed: this isn't a Tk applicationunknown
color name Black
Error in startup script: can't invoke image command:  application has
been destroyed
~while executing
image create bitmap dnarw -data  {
#define down_arrow_width 15
#define down_arrow_height 15
static char down_arrow_bits[] = {
~0x00,0x80,0x00,0x80,0x0...
~(file /usr/X11R6/bin/pgaccess line 17)
...END...
As i rebuild tcl,tk a day or two ago think the problem is with 'image'
binary file. Don't have it and don't know which package it belongs to.
After searching: gentoo-portage, rpmfind, google only found some
suggestion that it may belong to MESA' package, but all are masked and
even more pgacces don't depend on it.
Could someone tell me which package 'image' belongs to?
PS: also searched in imagemagick,imlib2
pgaccess depends on:
~=dev-db/postgresql-7.3  dev-db/postgresql-8.0.0
~=dev-lang/tcl-8.3.4 dev-lang/tcl-8.4.6-r1
~=dev-lang/tk-8.3.4  dev-lang/tk-8.4.6-r1
~dev-tcltk/tcllib dev-tcltk/tcllib-1.6.1
~!bootstrap? sys-devel/patch  sys-devel/patch-2.5.9-r1
~virtual/libc
sys-libs/glibc-2.3.4.20041102
TIA
Rumen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0-ecc0.1.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFB9mwww4vKYiLy/AsRAmDyAJwJWaNHZTypTMDqbeN2znciD8nJaACffwrg
SWSWkSLT2oE36TWpM6YA9hY=
=dP+/
-END PGP SIGNATURE-
--
gentoo-user@gentoo.org mailing list


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] problems with pgaccess

2005-01-25 Thread Chris Boot
Hi,
Have you also got tkx? that might help... At least, that's what I can 
see from debian's package list on http://packages.debian.org/

HTH,
Chris
Rumen Yotov wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
No binary-file 'image' in tcl,tcllib or tk packages, only
image-resources in tk.
Here's the USE-flags, but think they aren't the problem here:
[ebuild   R   ] dev-lang/tcl-8.4.6-r1  +threads 0 kB
[ebuild   R   ] dev-lang/tk-8.4.6-r1  +threads 0 kB
[ebuild   R   ] dev-tcltk/tcllib-1.6.1  +X -doc 0 kB
...END...
Thanks
Rumen
Chris Boot wrote:
| Hi,
|
| I think it's part of tk. What USE flags did you use to build tcltk?
|
| Chris
|
| Rumen Yotov wrote:
|
| Hi,
| Using pgaccess-~x86 (frontend to postgresql) till now w/o problems.
| Now can't start it, error follows:
| ...BEGIN...
| Application initialization failed: this isn't a Tk applicationunknown
| color name Black
| Error in startup script: can't invoke image command:  application has
| been destroyed
| ~while executing
| image create bitmap dnarw -data  {
| #define down_arrow_width 15
| #define down_arrow_height 15
| static char down_arrow_bits[] = {
| ~0x00,0x80,0x00,0x80,0x0...
| ~(file /usr/X11R6/bin/pgaccess line 17)
| ...END...
| As i rebuild tcl,tk a day or two ago think the problem is with 'image'
| binary file. Don't have it and don't know which package it belongs to.
| After searching: gentoo-portage, rpmfind, google only found some
| suggestion that it may belong to MESA' package, but all are masked and
| even more pgacces don't depend on it.
| Could someone tell me which package 'image' belongs to?
| PS: also searched in imagemagick,imlib2
| pgaccess depends on:
| ~=dev-db/postgresql-7.3  dev-db/postgresql-8.0.0
| ~=dev-lang/tcl-8.3.4 dev-lang/tcl-8.4.6-r1
| ~=dev-lang/tk-8.3.4  dev-lang/tk-8.4.6-r1
| ~dev-tcltk/tcllib dev-tcltk/tcllib-1.6.1
| ~!bootstrap? sys-devel/patch  sys-devel/patch-2.5.9-r1
| ~virtual/libc
| sys-libs/glibc-2.3.4.20041102
| TIA
| Rumen
|
- --
gentoo-user@gentoo.org mailing list
|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0-ecc0.1.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFB9nlRw4vKYiLy/AsRArUlAKCAH9EPI3Px1pVPROwoo2VdAf2+lwCePr0y
0/C2iN6zMfIrbjR89+Az4y0=
=4Wzs
-END PGP SIGNATURE-
--
gentoo-user@gentoo.org mailing list


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] /var/tmp/portage ?

2005-01-25 Thread Chris Boot
Hi,
On 25 Jan 2005, at 18:09, Dave Nebinger wrote:
Feel free to whack at will (assuming there's no emerge actively 
running).

/var/tmp/portage is where portage builds packages; once their built and
installed the contents are not needed.
Don't whack the /var/tmp/portage directory itself, just the contents.
No, you can whack the whole directory. Probably even the whole contents 
of /var/tmp if you're careful.

-Original Message-
From: raptor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 25, 2005 1:01 PM
To: [EMAIL PROTECTED]
Subject: [gentoo-user] /var/tmp/portage ?
I see that my /var/tmp/portage is about 500 MB, can I erase its 
contents
or there
is something that is important there ?

tia
Chris
--
Chris Boot
[EMAIL PROTECTED]
http://www.bootc.net/
--
gentoo-user@gentoo.org mailing list


[gentoo-user] nVidia GeForce4 MX 4000 - X doesn't work

2005-01-24 Thread Chris Boot
Hi all,
I just got a GeForce4 MX 4000 and I'm having trouble getting it working 
with Xorg 6.8.0-r4. Ideally I'd like to have it only connected to my 
TV, and not have a monitor or keyboard.

When I start X using the 'nvidia' driver (nvidia-glx 1.0.6629-r1) my 
screen initialises correctly, and I get a mouse pointer appearing as 
well. I see a white line in the top left corner of the screen, going 
right about 200px. If I move the mouse up towards the line the mouse 
turns into resize / move pointers depending on where it is. All 
programs seem to load, I get no errors in .gnomerc-errors, and all 
processes seem to be running. If I connect using VNC (either the vnc 
extension or x0vncserver) I see exactly the same as on the screen.

If I change the driver from 'nvidia' to 'vesa' everything works fine, 
except I obviously can't configure TV and it's slow.

lspci -v output for my card:
:01:00.0 VGA compatible controller: nVidia Corporation NV18 
[GeForce4 MX 4000 AGP 8x] (rev c1) (prog-if 00 [VGA])
Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 201
Memory at dc00 (32-bit, non-prefetchable)
Memory at d000 (32-bit, prefetchable) [size=128M]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 3.0

Every time I start X using the nvidia driver the kernel says:
agpgart: Found an AGP 2.0 compliant device at :00:00.0.
agpgart: Putting AGP V2 device at :00:00.0 into 4x mode
agpgart: Putting AGP V2 device at :01:00.0 into 4x mode
Of course, I've merged and loaded nvidia-kernel-1.0.6629-r1, and it 
seems to load fine.

My xorg.conf and Xorg.0.log (-logverbose 5) are posted online:
http://www.bootc.net/xorg/
I hope someone has an idea or two!
Many thanks,
Chris
--
Chris Boot
[EMAIL PROTECTED]
http://www.bootc.net/
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] OT: AMD64 vs P4 w/HT

2005-01-24 Thread Chris Boot
Hi there,
On 24 Jan 2005, at 19:25, Bob Sanders wrote:

In this case it's one of the 50 largest Oracle installtions in the
country... or was when I worked there. I don't think they can avoid
Oracle at this point, though moving to amd64/Linux/10g would
significantly cut their hardware costs.
I wonder if Oracle's customers ever notice that Oricle itself doesn't 
run
it's business on it's latest software - 11i (iirc), rather back on 9 
something?

But it's sure happy to let it's customers pay for the privledge for 
testing
the software.
Ah, this is where the marketing folk lag behind a little! I work for 
Oracle, in Apps IT, and I can say that our GSI production environment 
is in fact running on Database 10g and Applications 11i. This is, 
admittedly, something that only happened quite recently, but it's a 
long shot away from 9i.

Regards,
Chris
--
Chris Boot
[EMAIL PROTECTED]
http://www.bootc.net/
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] OT: AMD64 vs P4 w/HT

2005-01-24 Thread Chris Boot
Hi,
On 24 Jan 2005, at 19:58, Bob Sanders wrote:
Hi Chris,
Ah, this is where the marketing folk lag behind a little! I work for
Oracle, in Apps IT, and I can say that our GSI production environment
is in fact running on Database 10g and Applications 11i. This is,
admittedly, something that only happened quite recently, but it's a
long shot away from 9i.
That's good to know.  Didn't you start the move to Linux on 8 or 9?  
Or have
you been running 10g/11i all along?  fwiw - we've been running 11i for 
a few
years now.
That I don't know, I've only joined pretty recently. I know we've been 
running 11i for a long time, we just moved to Database 10g and 11.5.10 
(AFAIK it's not released to customers yet) after Christmas.

Not sure how much of this I can actually speak about! :-)
Chris
--
Chris Boot
[EMAIL PROTECTED]
http://www.bootc.net/
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] nVidia GeForce4 MX 4000 - X doesn't work

2005-01-24 Thread Chris Boot
Hi,
I added a DefaultDepth 24 statement to my config and now I get the 
pretty nVidia logo, but my X is still no go! Any ideas?

Many thanks,
Chris
On 24 Jan 2005, at 19:19, Chris Boot wrote:
Hi all,
I just got a GeForce4 MX 4000 and I'm having trouble getting it 
working with Xorg 6.8.0-r4. Ideally I'd like to have it only connected 
to my TV, and not have a monitor or keyboard.

When I start X using the 'nvidia' driver (nvidia-glx 1.0.6629-r1) my 
screen initialises correctly, and I get a mouse pointer appearing as 
well. I see a white line in the top left corner of the screen, going 
right about 200px. If I move the mouse up towards the line the mouse 
turns into resize / move pointers depending on where it is. All 
programs seem to load, I get no errors in .gnomerc-errors, and all 
processes seem to be running. If I connect using VNC (either the vnc 
extension or x0vncserver) I see exactly the same as on the screen.

If I change the driver from 'nvidia' to 'vesa' everything works fine, 
except I obviously can't configure TV and it's slow.

lspci -v output for my card:
:01:00.0 VGA compatible controller: nVidia Corporation NV18 
[GeForce4 MX 4000 AGP 8x] (rev c1) (prog-if 00 [VGA])
Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 201
Memory at dc00 (32-bit, non-prefetchable)
Memory at d000 (32-bit, prefetchable) [size=128M]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 3.0

Every time I start X using the nvidia driver the kernel says:
agpgart: Found an AGP 2.0 compliant device at :00:00.0.
agpgart: Putting AGP V2 device at :00:00.0 into 4x mode
agpgart: Putting AGP V2 device at :01:00.0 into 4x mode
Of course, I've merged and loaded nvidia-kernel-1.0.6629-r1, and it 
seems to load fine.

My xorg.conf and Xorg.0.log (-logverbose 5) are posted online:
http://www.bootc.net/xorg/
I hope someone has an idea or two!
Many thanks,
Chris
--
Chris Boot
[EMAIL PROTECTED]
http://www.bootc.net/
--
gentoo-user@gentoo.org mailing list

--
Chris Boot
[EMAIL PROTECTED]
http://www.bootc.net/
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] nVidia GeForce4 MX 4000 - X doesn't work

2005-01-24 Thread Chris Boot
Hi,
No, that's actually because I'm using Message Signaled Interrupts (MSI  
and MSI-X) or maybe it's IO-APIC, I'm not sure. But that isn't the  
cause, I'm sure of it.

In fact, I've just emerged nvidia-glx-1.0.6111 along with nvidia-kernel  
of the same version and it works fine now. It must be something with  
the new version of the driver, I might look into it later, or just wait  
for an upgrade.

Any more ideas?
Chris
On 24 Jan 2005, at 22:28, Peter Ruskin wrote:
On Monday 24 January 2005 19:19, Chris Boot wrote:
lspci -v output for my card:
:01:00.0 VGA compatible controller: nVidia Corporation NV18
[GeForce4 MX 4000 AGP 8x] (rev c1) (prog-if 00 [VGA])
         Flags: bus master, 66Mhz, medium devsel, latency 248,
IRQ 201 Memory at dc00 (32-bit, non-prefetchable)
         Memory at d000 (32-bit, prefetchable) [size=128M]
         Capabilities: [60] Power Management version 2
         Capabilities: [44] AGP version 3.0
All looks OK except IRQ at 201.  I have three machines with
different nVidia cards, all at IRQ 16.  Perhaps you can set it in
your BIOS?
--  
Peter
=== 
=
Gentoo Linux: Portage 2.0.51-r14. kernel-2.6.10-gentoo-r5.
i686 AMD Athlon(tm) XP 3200+.  gcc(GCC): 3.3.5.
KDE: 3.3.2.Qt: 3.3.3.
=== 
=

--
gentoo-user@gentoo.org mailing list

--
Chris Boot
[EMAIL PROTECTED]
http://www.bootc.net/
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] nVidia GeForce4 MX 4000 - X doesn't work

2005-01-24 Thread Chris Boot
Hi,
On 24 Jan 2005, at 19:41, rodrigo ahumada wrote:
On Mon, 24 Jan 2005 19:19:59 +
Chris Boot [EMAIL PROTECTED] wrote:
If I change the driver from 'nvidia' to 'vesa' everything works fine,
except I obviously can't configure TV and it's slow.
lspci -v output for my card:
:01:00.0 VGA compatible controller: nVidia Corporation NV18
[GeForce4 MX 4000 AGP 8x] (rev c1) (prog-if 00 [VGA])
 Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 201
 Memory at dc00 (32-bit, non-prefetchable)
 Memory at d000 (32-bit, prefetchable) [size=128M]
 Capabilities: [60] Power Management version 2
 Capabilities: [44] AGP version 3.0
Every time I start X using the nvidia driver the kernel says:
agpgart: Found an AGP 2.0 compliant device at :00:00.0.
agpgart: Putting AGP V2 device at :00:00.0 into 4x mode
agpgart: Putting AGP V2 device at :01:00.0 into 4x mode
(i know that it's not exactly the same problem, but can help...)
in the README of official drivers says that nvidia has conflicts with 
agpgart and nvagp,
when i was using ubuntu, when nvidia,agpgart  nvagp loaded, the whole 
system hanged after a second startx.
right now in gentoo i got agpgart loaded but it seems being not used 
and have no problems:

To use the Linux AGPGART module, it will need to be compiled with
 your kernel, either statically linked in, or built as a module.
 NVIDIA AGP support cannot be used if AGPGART is loaded in the kernel.
 It is recommended that you compile AGPGART as a module and make sure 
that
 it is not loaded when trying to use NVIDIA AGP.

there's some options for nvidia all in the README, so you can try with 
the official drivers:
Option NvAGP integer
Configure AGP support. Integer argument can be one of:
0 : disable agp
1 : use NVIDIA's internal AGP support, if possible
2 : use AGPGART, if possible
3 : use any agp support (try AGPGART, then NVIDIA's 
AGP)
Please note that NVIDIA's internal AGP support cannot
work if AGPGART is either statically compiled into your
kernel or is built as a module, but loaded into your
kernel (some distributions load AGPGART into the kernel
at boot up).  Default: 3 (the default was 1 until after
1.0-1251).
I must admit I haven't tried with NvAGP, but that seems unlikely since 
it isn't a crashing problem, rather just what seems like either a bug 
or configuration problem. I'm edging towards the bug option, especially 
since the 1.0.6111 drivers seem to work fine at the moment. If you 
think otherwise I'll give it a go!

Thanks,
Chris
--
Chris Boot
[EMAIL PROTECTED]
http://www.bootc.net/
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Searching for mysqlcc replacement

2005-01-23 Thread Chris Boot
Hi there,
I quite like Aqua Data Studio (dev-db/aqua-data-studio). I've used it 
on Oracle, PostgreSQL, and MySQL databases and it works nicely. Of 
course it might not be what you want at all, and it doesn't have 
anything MySQL-specific.

HTH,
Chris
On 23 Jan 2005, at 19:22, Stoian Ivanov wrote:
I'm looking for good replacement of mysqlcc not only because it is no 
longer
mentained but because it began to break recently (rebuilding does not 
help).
I've tried gmysqlclient which has the needed functionality but brakes 
too
easy (sometimes even can't login before a seg fault)...I've even try a
wine-ed mysqlcc but it has some UI problems... so if anyone is using
something he/she finds good please share!

--
gentoo-user@gentoo.org mailing list

--
Chris Boot
[EMAIL PROTECTED]
http://www.bootc.net/
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] whos got the time?

2005-01-22 Thread Chris Boot
Hi,
dig and nslookup are in net-dns/bind-tools.
HTH,
Chris
On 22 Jan 2005, at 15:05, Uwe Thiem wrote:
On Saturday 22 January 2005 15:35, Sarpy Sam wrote:
You can use any NTP server. Of course, it make sense to use one 
close to
you. Best would be to use your ISP's NPT server. Just ask them. If 
they
won't tell you launch nslookup. Inside nslookup, you do:

set type=any
ntp.your.isp.domain
nslookup?
bash-2.05b# nslookup
bash: nslookup: command not found
Hmm... No nslookup in gentoo. No dig either or so it seems. :-(
Alright, use net-dns/dnsquery.
Uwe
--
Alternative phrasing of the First Law of Thermodynamics:
If you eat it, and you don't burn it off, you'll sit on it.
http://www.uwix.iway.na (last updated: 20.06.2004)
--
gentoo-user@gentoo.org mailing list

--
Chris Boot
[EMAIL PROTECTED]
http://www.bootc.net/
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Mounting a Network Drive

2005-01-22 Thread Chris Boot
Hi,
If I'm not mistaken you don't want a space between the * and (:
/export01 *(rw,sync)
HTH,
Chris
On 22 Jan 2005, at 16:18, Nicholas Pappas wrote:
Thanks Mike,
	I ran through the list of commands you sent, on both the client and 
server, and added the following to /etc/export:

/export01 * (rw,sync)
	Then I hop back onto the client and run the following command, and 
get the following error:

linna nick # mount -t nfs sylia:/export01 /mnt/export01
mount: sylia:/export01 failed, reason given by server: Permission 
denied

	So, I'm closer! :)  Do I need special permissions set up on 
sylia:/export01 in order to mount it?  I am trying to mount it as root 
on the client, and only the subdirectories are readable by users.
	Thanks for the help!

Nick
--
gentoo-user@gentoo.org mailing list

--
Chris Boot
[EMAIL PROTECTED]
http://www.bootc.net/
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Making a disk image

2005-01-21 Thread Chris Boot
Hi,
If you're running Mac OS X Server on your G4 servers, you'd probably be 
best to use LDAP for authentication, if I'm not mistaken. I've set up 
LDAP authentication on Linux many a time, so if you need help feel free 
to contact me (or this list, of course!).

Chris
Phill wrote:
Kevin Philp wrote:
I guess the ultimate would be setting up your computers as 30 
terminal servers without hardrives (www.ltsp.org).
 

I doubt we'd have the resources to be able to pull a thin-client model 
off :P, but it's a valid suggestion.

What I do on my network is have each machine setup with enough stuff 
to get it running and talking to the network and then bring in the 
/opt, /usr/local and /home stuff via NFS. You don't need /usr/portage 
for booting so why not import that as well? Its a lot easier than 
dowloading via ftp.

 

How do you adjust for patching? I.e., openoffice-1.1.3 vs 1.1.4 would 
probably change all of the symlinks in, say, the links on user's 
desktops to the programs - or any other folder accessed by libraries 
and the ilk. How do you go about updating, say, X (i.e. changes in 
/etc/ and so on)?

However, we don't have enough x86 hardware to justify a central server 
like that - although I can see it pretty much eliminating a lot of 
complications. Cool stuff you've got there.

Secondly use NIS for central administration of users and groups.
Both of these can be administered quite nicely using webmin.
 

A quick google brought me up what I think you were talking about.
And it seems to be the fixin' of our integration woes - we run about 
80 or so iMacs running OS 9.2 controlled centraly via an OS 10.3 dual 
G4 server. In a perfect world, you'd have people login directly to 
that machine but in the lack of that ability (apparently one can only 
share a directly either over NFS (as far as we can tell incompatible 
with our current system for the iMacs) or AppleTalk, meaning we need 
to do a little man page looking before being able to pull it off), 
sharing the same user accounts and passwords sounds just about right.

--
gentoo-user@gentoo.org mailing list


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Cron Jobs.

2005-01-20 Thread Chris Boot
Hi,
Best way is to run 'crontab -e' as the user you want to set the crontab 
up for. You'll need to add that user to the 'cron' group in /etc/groups 
before it allow you to do it, unless you do it as root.

Then, the line you want is probably:
10 */3 * * * wget -q -O /usr/share/xplanet/images/clouds_2000.jpg 
http://www.wizabit.eclipse.co.uk/xplanet/files/local/clouds_2000.jpg

First field is 10 minutes past each our, next one is a trick for every 3 
hours, you can do this with all other fields. For example, instead of 
doing 0,10,20,30,40,50 you can just do */10 in the minutes field. The 
next 3 are day of month, month, and day of week, but you already knew that.

as for wget: almost right. Your command will have downloaded the image 
in the current working directory, probably /root if you put it in 
/etc/crontab. You need the -O to tell wget to put it elsewhere. To pipe 
to stdout, use '-', but since you're just putting it in a file you can 
put the file's path right in there.

HTH,
Chris
Tony Boom wrote:
Hello gentoo-user,
 Can someone please tell me how to set up a cron job? I've been reading
 about it all day but can't get it to work.
 I want to download a jpg at 10 past the hour every three hours. I tried
 this in /etc/crontab but it won't work.
10 15 * * *  wget -q 
http://www.wizabit.eclipse.co.uk/xplanet/files/local/clouds_2000.jpg  
/usr/share/xplanet/images/clouds_2000.jpg
I know it's just for 15:10 but it still don't work.
 



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Cron Jobs.

2005-01-20 Thread Chris Boot
Hi,
On 20 Jan 2005, at 16:52, Tony Boom wrote:
Hello Chris,
Thursday, January 20, 2005, 3:52:18 PM, you wrote:
CB Hi,
CB Best way is to run 'crontab -e' as the user you want to set the 
crontab
CB up for. You'll need to add that user to the 'cron' group in 
/etc/groups
CB before it allow you to do it, unless you do it as root.

I'd already done that, added myself to the cron group. When I run 
crontab
-e where do I put it? It want'sto save into a temp folder?
Yes, the crontab command makes a copy of your crontab in the temp 
folder, then it checks it for syntax and other problems when you exit 
the editor, before installing it for you. That's correct.

CB 10 */3 * * * wget -q -O /usr/share/xplanet/images/clouds_2000.jpg
CB 
http://www.wizabit.eclipse.co.uk/xplanet/files/local/clouds_2000.jpg

So I wasn't for off, just got the source and destination the wrong way
round... Oh yes, missed a -O as well.
I have this in my /etc/crontab
10 */3 * * * wget -q -O /usr/share/xplanet/images/clouds_2000.jpg 
http://www.wizabit.eclipse.co.uk/xplanet/files/local/clouds_2000.jpg

When I run it direct it works perfect, put it in crontab and it 
doesn't.
If you put it in /etc/crontab you may need to restart your cron daemon. 
For vixie-cron (the default) you would do that using 
'/etc/init.d/vixie-cron restart'.

Am I starting the cron daemon correct with crontab /etc/crontab ?
To start the cron daemon itself you just use '/etc/init.d/vixie-cron 
start'. This should be started at boot for you, it's required for lots 
of regular maintenance work! To make sure it is, run 'rc-update add 
vixie-cron default'.

The crontab command is used only for editing cron tabs. Running 
'crontab /etc/crontab' would fill your own crontab with the contents of 
/etc/crontab, probably not what you want.

Hope this helps!
--
Chris Boot
[EMAIL PROTECTED]
http://www.bootc.net/
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] [OT] ipv6 addresses in browser bar

2005-01-18 Thread Chris Boot
Hi,
If memory serves, you need to wrap the IPv6 address in square brackets: [ ]
For example, mirror.switch.ch would be: 
http://[2001:620:0:8:203:baff:fe52:38e5]/

But I haven't done this for a long time, and don't have IPv6 set up on 
my newer machines

HTH,
Chris
Etaoin Shrdlu wrote:
I want to connect to a test web server in my subnet, running ipv6. How do I 
write an ipv6 address in the address bar of, say, konqueror or firefox? Using 
the classical notation doesn't work (error: malformed url).

Thanks
 



smime.p7s
Description: S/MIME Cryptographic Signature


[gentoo-user] Hauppauge WinTV GO 2 (34705) - snowy picture and no sound

2005-01-17 Thread Chris Boot
Hi all,
I'm having a strange problem getting my TV card working...
I've compiled kernel 2.6.10-gentoo-r4 (will upgrade to r5 this evening 
to check too) with the cx8800 modules for my TV card, and it seems to be 
recognised without any trouble at all. The tuner is detected correctly, 
the TV standard set correctly, and everything. I've tried tuning the 
card in tvtime and I manage to get a picture, but it's very snowy, black 
and white, and I get white noise instead of the channel audio. I've got 
the 'Norm' set to 'PAL' in tvtime and the aerial signal is pretty good. 
I've even tried connecting a PlayStation's RF adapter right into the 
video card and when I tune that I get a similar effect, except I get a 
hint of colour in the picture. I would have tried with xawtv as well, 
but I can't get it to compile with gcc-3.4, but since that was updated 
this morning I might give it another shot.

I'm living in the UK so the TV standard is PAL-I. Below is what the 
kernel logs when I load the module:

Linux video capture interface: v1.00
cx2388x v4l2 driver version 0.0.4 loaded
ACPI: PCI interrupt :00:0a.0[A] - GSI 17 (level, low) - IRQ 209
cx88[0]: subsystem: 0070:3401, board: Hauppauge WinTV 34xxx models 
[card=1,autodetected]
tveeprom: Hauppauge: model = 34705, rev = E111, serial# = 6197781
tveeprom: tuner = Philips FI1246 MK2 (idx = 11, type = 1)
tveeprom: tuner fmt = PAL(I) (eeprom = 0x10, v4l2 = 0x0010)
tveeprom: audio_processor = MSP3425 (type = 15)
cx88[0]: registered IR remote control
cx88[0]/0: found at :00:0a.0, rev: 3, irq: 209, latency: 32, mmio: 
0xec00
tuner: chip found at addr 0xc2 i2c-bus cx88[0]
tuner: type set to 1 (Philips PAL_I (FI1246 and compatibles)) by cx88[0]
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx88[0]/0: registered device radio0
cx88[0]/0: set_audio_standard_BTSC (status: known-good)
cx88[0]/0: cx88: tvaudio thread started
cx88[0]/0: AUD_STATUS: 0xffe2 [mono/no pilot] ctl=BTSC_AUTO_STEREO
cx88[0]/0: AUD_STATUS: 0x72 [mono/no pilot] ctl=BTSC_AUTO_STEREO
cx88[0]/0: AUD_STATUS: 0xb2 [mono/no pilot] ctl=BTSC_AUTO_STEREO
cx88[0]/0: AUD_STATUS: 0xf2 [mono/no pilot] ctl=BTSC_AUTO_STEREO
cx88[0]/0: AUD_STATUS: 0x32 [mono/no pilot] ctl=BTSC_AUTO_STEREO

I've also tried with and without the v4l patches at 
http://dl.bytesex.org/patches/2.6.10-2/All-2.6.10.diff.gz.

Does anyone else have this card? Any ideas?
Many thanks!
Chris
--
gentoo-user@gentoo.org mailing list


[gentoo-user] Which Video Card for TV Out?

2005-01-17 Thread Chris Boot
Hi all,
I need to connect my computer, running Gentoo of course, to my TV. I'd 
like to get everyone's opinion as to what graphics card I should use to 
get decent TV output. I live in the UK, so the card must be capable of 
doing PAL. Another **requirement** is that I can start X **without a 
monitor attached**, i.e. just the TV.

I have a Radeon 7000/VE that, after lots and lots of hacking, shows a 
lovely picture on the TV but X refuses to start up without a monitor 
attached. The S3 ProSavage8 built-in to my motherboard works, but 
doesn't play nice with the system, eats my RAM, and doesn't use the 
whole of the TV screen (I get big black borders around the edge). I'm 
considering getting a nVidia GeForce MX4000 as people seem to be having 
more luck with these, but I'm not sure about the monitor requirement. 
And does it work on an AGP 4X bus?

Can anybody comment at all? Maybe you guys have an idea how to force X 
to start without a monitor?

Many thanks,
Chris


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Which Video Card for TV Out?

2005-01-17 Thread Chris Boot
Hi,
On 17 Jan 2005, at 17:44, n_powell wrote:
I use an nVidia card as well.  I try to support nVidia as they seem to
support linux with quality drivers.
Good point, but I already had the ATI kicking around... :-P
I bought a GForceMX 4000 64M (33 US dollars on newegg).  It works 
great, and I also have no monitor
attached. (I just have two xorg.conf files in the event I should need 
to
connect a monitor for some reason, but the main one just usues the
tv-out). I am not 100% on this, but the PAL standard only matters to
the capture card I believe, not the output card.
That's all I wanted to hear! Great stuff!
PAL wouldn't matter except that the TV I have doesn't do NTSC very well 
(grainy and BW), so PAL is really my only option. Maybe when I shell 
out on a new TV it won't matter! ;-) But I'd rather just upgrade my 
computer.

Many thanks,
Chris
--
Chris Boot
[EMAIL PROTECTED]
http://www.bootc.net/


smime.p7s
Description: S/MIME cryptographic signature


Re: [gentoo-user] problems with euse

2005-01-17 Thread Chris Boot
Hi,
On 17 Jan 2005, at 19:31, Holly Bostick wrote:
Jadex wrote:
Yes, and what are the permissions of /etc/make.profile/../use.desc 
and /etc/make.profile/../use.local.desc, and what user is trying to 
access these files via euse (root, member of the root group, or 
neither/other)?
The funny thing is I'm calling euse as root and the
files  /etc/make.profile/../use.desc doesn't exist (make.profile is a
symlink in /etc and /etc/use.desc doesn't exist)
No, no, no... do you see those /.../ in the path? That's because the 
path is really long, and variable, and not so suitable to type out in 
it's entirety.

use.desc and use.local/desc are in the folder that /etc/make.profile 
are symlinked to, which is /usr/portage/profiles/your_profile_version 
.

So that's where you want to check for the permissions.
Actually, use.desc and use.local.desc are only stored in 
/usr/portage/profiles. So, I'd look for permissions in there, but 
something tells me that EUSE is just being foolish. I assume your 
make.profile is a modern style symlink to something in 
/usr/portage/profiles/default-linux/ If you had an old-style link 
this would work, but with the new deeper directories this won't work.

HTH,
Chris
--
Chris Boot
[EMAIL PROTECTED]
http://www.bootc.net/


smime.p7s
Description: S/MIME cryptographic signature