[gentoo-user] Re: Messed up mail access rights

2005-09-24 Thread Mick
Pupeno wrote:

> Providing some basic information such as what mail servers are you using
> would be a big plus to get an answer from someone.

Thanks Pupeno,

Unfortunately it's a sendmail setup on a hosted account and no info is
forthcoming from the admin.  It seems like an mbox style mail
implementation.  That's all I know about it I'm afraid.


> On Friday 23 September 2005 20:52, Mick wrote:
>> Hi All,
>>
>> Could you please advise what the access rights ought to be for my mail
>> directory?  I restored from a backup and things went downhill from
>> there.  :-(
>>
>> The structure currently is as follows:
>> ===
>> mail770
>>
>>  +-->domain.com 755
>>
>>  |+-->user  750
>>  |
>>  | +-->.cppop.cache 600
>>  | .cppop.cache.msgs600
>>  | .mailboxlist 600
>>  | INBOX.Drafts 660
>>  | INBOX.Sent   660
>>  | INBOX.Trash  660
>>  | inbox660
>>
>> inbox  0660
>> INBOX.Drafts   0660
>> INBOX.Sent 0660
>> INBOX.Trash0660
>> saved-messages 0660
>> sent-mail  0660
>> ===
>>
>> Any idea what they should be like?  Also, what are the .cppop.cache and
>> cppop.cache.msgs for?
>> --
>> Regards,
>> Mick
> 

-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] gentoo workstation x/kde: disk size requirement...

2005-09-24 Thread Jarry
Hi,

I want to make my notebook dual-bootable (i must keep win because of
some software), and I would like to know how big partition do I need
for gentoo (basic workstation install, with X/KDE).

Would single (except for swap) 10 GB partition be enough to handle
updating and compiling? I would not like to see how portage eats all
my disk space and leaves me stuck in the middle of update process...

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



Re: [gentoo-user] Lots of network collisions - can I eliminate them?

2005-09-24 Thread Jonathan Wright

Mark Knecht wrote:

Note that there is no link for any of the 100Mb settings. This is
verified looking at the switch itself as the link light turns off.
Actually, I had never noticed that the 100 light was not turning on
before today. so much for plug and play! (My bad...me stupido...) ;-)


Hehehe. Until you push the network, you probably would never really 
notice. :)



dragonfly ~ # mii-tool -r
restarting autonegotiation...
dragonfly ~ # mii-tool -v
eth0: autonegotiation failed, link ok


I must admit - this I find quite interesting. Somewhere along the line, 
the switch and the interface aren't talking to each other.



OK, so something is having trouble with this negotiation stuff. I'll
drag out some new cables after I send this and see what happens with
that. I looked at the LinkSys switch docs again. There are no user
settings that I see to get the switch to support 100Mb/S. It's
supposed to be automatic.


Your cables could be an issue. For 100MBps you really need Cat5, 
although Cat4 may be able to handle it (just not ideal). Cat5e is 
generally the best as (IIRC) it supports up to Gigabit ethernet.



Again, thanks very much. mii-tool is very helpful. I'll also have to
look at mii-diag to see if it can help with this problem.


Depending on the two computer locations, you could try connecting the 
two computers together via a crossover cable and seeing how the 
autonegoition works.


I think there are some switches which require all ports/nodes to be on 
the same speed/duplex settings as it can't handle the differences, 
although I find that unlikely with any modern switch (personally, I'm 
running two Netgear Switches - FS105, 5-port & FS108, 8-port, and they 
can handle multiple node-types - all systems are on 100baseTx-FD whereas 
my VoIP phone is 10base-HD, and they all work without a problem).


Try disconnecting one system and restarting the switch to see if one 
node is causing a problem. Also, if you can, try a crossover cable to 
see if it's the switch causing the problem and not the computers.


--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r6-djnauk-b2 AMD Athlon(tm) XP 2100+
 up 23:59,  4 users,  load average: 3.98, 4.22, 4.32
--
 "Earlier today, President Bush said gay marriage is immoral  and
 that heterosexual marriage must  be  defended,  that's  what  he
 said."

 "You can tell Bush is serious because he said the  new  Axis  of
 Evil is Cher, Bette Middler and Clay Aiken."

  ~ Conan O'Brien
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lots of network collisions - can I eliminate them? - SOLVED

2005-09-24 Thread Jonathan Wright

Mark Knecht wrote:

The switch was stuck in some strange state. Power down and back up fixed it.

Time to get a UPS for the media center...


Opps. Just clicked send on the reply and I saw this! :) Ah well! hehehe.

I'm using a UPS myself for my two servers the master switch and the 
wireless router:


http://catalog.belkin.com/IWCatProductPage.process?Merchant_Id=&Section_Id=202840&pcount=&Product_Id=201050&Section.Section_Path=%2FRoot%2FPowerProtection%2FUPSUninterr%2E%2E%2EerSupply%2FUninterr%2E%2E%2EerSupply%2FBelkinSu%2E%2E%2EeriesUPS%2F

I prefer that one as it has standard plugs, allowing you to connect 
extra items (such as the switch and wireless router) and keep the 
network running! :)



Thanks for the invaluable help with mii-tool. Very, very helpful.


NP. Glad to help :)

--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r6-djnauk-b2 AMD Athlon(tm) XP 2100+
 up 23:59,  4 users,  load average: 3.98, 4.22, 4.32
--
 "You can tell Bush is serious because he said the  new  Axis  of
 Evil is Cher, Bette Middler and Clay Aiken."

 "Earlier today, President Bush said gay marriage is immoral  and
 that heterosexual marriage must  be  defended,  that's  what  he
 said."

  ~ Conan O'Brien
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Adding Linux clients to samba primary domain controller

2005-09-24 Thread Ryan Viljoen
I am currently helping out my old high school.
They have just got some "new" pc's and they are wanting to run a dual
boot setup on them with windows 2k and gentoo. The profile and home
directories are all on a server and are mounted once the user has
logged on and authenticated... nothing out of the ordinary there.


Now how does one do the same thing with a linux client ie: the user
log in is authenticated on the server and once that is done their home
directory is mounted on the client for them?-- "When
you say "I wrote a program that crashed Windows", people just stare at
you blankly and say "Hey, I got those with the system, for free". -
Linus Torvalds, 1995


Re: [gentoo-user] gentoo workstation x/kde: disk size requirement...

2005-09-24 Thread Paul Varner
On Sat, 2005-09-24 at 11:14 +0200, Jarry wrote:
> I want to make my notebook dual-bootable (i must keep win because of
> some software), and I would like to know how big partition do I need
> for gentoo (basic workstation install, with X/KDE).
> 
> Would single (except for swap) 10 GB partition be enough to handle
> updating and compiling? I would not like to see how portage eats all
> my disk space and leaves me stuck in the middle of update process...

That should be fine, one of my machines has an 8GB disk and I run run
X/KDE and Openoffice-bin just fine.

Regards,
Paul
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] weird samba problem

2005-09-24 Thread Red
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

i tried to setup samba, but i just can't get it to work right. i can
write files - but i can't read them ?!?

please help!!!

some example of my problem:

[EMAIL PROTECTED] ~ % smbmount //silverserver/public /home/red/public
Password:
[EMAIL PROTECTED] ~ % ls -l /home/red/public
total 12
- -rwxr-xr-x  1 red users 2 Sep 24 14:25 Textdatei
- -rwxr-xr-x  1 red users 4 Sep 24 14:27 bla
- -rwxr-xr-x  1 red users 4 Sep 22 18:24 test
[EMAIL PROTECTED] ~ % echo "foo" >> /home/red/public/testfile
[EMAIL PROTECTED] ~ % ls -l /home/red/public
total 16
- -rwxr-xr-x  1 red users 2 Sep 24 14:25 Textdatei
- -rwxr-xr-x  1 red users 4 Sep 24 14:27 bla
- -rwxr-xr-x  1 red users 4 Sep 22 18:24 test
- -rwxr-xr-x  1 red users 4 Sep 24 14:31 testfile
[EMAIL PROTECTED] ~ % cat /home/red/public/testfile
cat: /home/red/public/testfile: Permission denied



my smb.conf:

# Samba config file created using SWAT
# from 192.168.0.101 (192.168.0.101)
# Date: 2005/09/24 14:24:27

# Global parameters
[global]
workgroup = SAMBA
server string = Samba Server %v
interfaces = lo, eth0
bind interfaces only = Yes
guest account = samba
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
wins support = Yes
vscan-clamav:config-file = /etc/samba/vscan-clamav.conf
guest ok = Yes
hosts allow = 127.0.0.1, 192.168.0.
hosts deny = 0.0.0.0/0
vfs objects = vscan-clamav

[print$]
comment = Printer Drivers
path = /etc/samba/printer # this path holds the driver structure
write list = root

[HPLJ1100]
comment = HP LaserJet 1100 Network Printer
path = /var/spool/samba
printer admin = root
printable = Yes

[printers]
comment = All Printers
path = /var/spool/samba
printer admin = root
printable = Yes
browseable = No

[public]
comment = Public Files
path = /mnt/files/shares
valid users = red
admin users = root, red
read list = red
write list = red
read only = No
create mask = 0766
directory mask = 0777

[homes]
comment = Home Directories
path = /home/%u
read only = No
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDNUl+146cP2GmnVMRAoyQAJ9YzenR74ExrMwOpA4WnhcbSFvrcwCeM+TO
k0tNBNMgIuHAzCTN8fqjthU=
=GP3y
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Firefox crashes over Flash

2005-09-24 Thread Graham Murray
Martin S <[EMAIL PROTECTED]> writes:

> I find that Firefox has become much more unstable, but i can't figure
> out what i installed latest. haven't really installed much of anything
> at all lately.
> it crashes on most pages sooner or later - even those it has rendered before 
> :(
> Anyone else seen this?

Yes, I have seen the same. It does seem to happen more often if either
the page has a java applet or flash, or if I have previously visited
such pages in the same browser session. It is only quite a recent
thing, firefox used to rock solid, but I cannot say what change caused
this as I run ~x86 and frequently `emerge -Du world`.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Incompatible gcc

2005-09-24 Thread Rupert Young (Restart)








I have emerged gcc-3.4.4, but emerge --info, see below,
still shows 3.4.1. There was a PORTDIR_OVERLAY="/usr/local/portage" in
make.conf and 3.4.1 was in this dir. I commented out the PORTDIR_OVERLAY, but
no change

 

Do I need to reboot or something for changes to become
apparent?

Is there something else I should be doing?

 

emerge --info

Portage
2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.1, glibc-2.3.5-r0,
2.6.7-gentoo-r14 x86_64)
=
System uname: 2.6.7-gentoo-r14 x86_64 AMD Opteron(tm) Processor 250
Gentoo Base System version 1.6.13
dev-lang/python: 2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=opteron -march=opteron -O3 -funroll-loops
-fomit-frame-pointer -fprefetch-loop-arrays -pipe -ftracer -mmmx -msse -msse2
-m3dnow -mfpmath=sse"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mtune=opteron -march=opteron -O3 -funroll-loops
-fomit-frame-pointer -fprefetch-loop-arrays -pipe -ftracer -mmmx -msse -msse2
-m3dnow -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa apache2 avi bitmap-fonts crypt cups dga eds emboss
encode fam fbcon foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imlib ipv6
java jikes jpeg libwww lzw lzw-tiff mailwrapper mng mozilla mp3 mpeg mysql
ncurses nptl oggvorbis opengl pam pdflib png python quicktime readline samba
sdl slang spell ssl tcpd tetex tiff truetype truetype-fonts type1-fonts usb
userlocales xml2 xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

 








Re: [gentoo-user] Incompatible gcc

2005-09-24 Thread Dave Nebinger

I have emerged gcc-3.4.4, but emerge --info, see below, still shows 3.4.1.
There was a PORTDIR_OVERLAY="/usr/local/portage" in make.conf and 3.4.1 
was

in this dir. I commented out the PORTDIR_OVERLAY, but no change


I'm no portage expert but I think you have to re-emerge the meta "emerge 
meta" as the overlay stuff has been cached in the repository.



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] transfer large files via samba cause system freeze

2005-09-24 Thread Holly Bostick
Qiangning Hong schreef:
> Bryan Whitehead wrote:
> 
>> Can't you also use the iocharset=utf8 and codepage=utf8?
>> 
>> something like: mount -t smbfs -o 
>> user=,iocharset=utf8,codepage=utf8 \\server\path /mnt/samba
>> 
>> This doesn't work?
> 
> 
> It doesn't work. There are "?"s in the filenames.
> 

That's actually a good thing I take it you're doing this in a
terminal? Which one? Was it compiled with UTF8 support?What font is the
terminal using for display? A "?" replacing characters tends to mean (in
font-speak) that the character is 'known', but no actual character
exists to render under the selected font, or font encoding. So you kinda
get a"?" literally because the display doesn't know what to show there,
if you see what I'm getting at.

Are you able to actually use any of the files properly, even if the
filenames are not displayed correctly? Or are you unable to try that,
because you just can't read any of the filenames?

If your Winbox is Chinese, does your terminal, and the display font
chosen for the terminal support Chinese characters?

I've gotta tell you, getting UTF8 and font encoding properly set up so
that 'special characters' appear correctly across programs and terms can
be a pain in the butt, and I'm only needing it for another Latin-based
language, not any of the Asian or Cyrillic languages that use a
completely different character set. But it's well worth doing, because
it's more of a pain to not be able to read filenames or messages because
of these stupid '?'s or other 'placeholder' characters that must be used
in place of the correct ones when the system is not set up to support
the correct ones.

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



Re: [gentoo-user] gentoo workstation x/kde: disk size requirement...

2005-09-24 Thread Willie Wong
On Sat, Sep 24, 2005 at 11:14:01AM +0200, Jarry wrote:
> Hi,
> 
> I want to make my notebook dual-bootable (i must keep win because of
> some software), and I would like to know how big partition do I need
> for gentoo (basic workstation install, with X/KDE).
> 
> Would single (except for swap) 10 GB partition be enough to handle
> updating and compiling? I would not like to see how portage eats all
> my disk space and leaves me stuck in the middle of update process...
> 

That should be more than enough. My laptop has a 8GB / partition
(/home is mounted in a separate one), and I never get less than 1.5G
free as long as I made sure to unmerge unneeded versions of the
kernels. 

W
-- 
These are things people "actually said" in court
+++
Q: What is your date of birth?
A: July fifteenth.
Q: What year?
A: Every year.
+++
Q: What gear were you in at the moment of the impact?
A: Gucci sweats and Reeboks.
+++
Q: Sir, what is your IQ?
A: Well, I can see pretty well, I think.
+++
Q: Did you blow your horn or anything?
A: After the accident?
Q: Before the accident.
A: Sure, I played for ten years. I even went to school for it.
+++
Q: Trooper, when you stopped the defendant, were your red and blue 
   lights flashing?
A: Yes.
Q: Did the defendant say anything when she got out of her car?
A: Yes, sir.
Q: What did she say?
A: What disco am I at?
+++
Q: Now doctor, isn't it true that when a person dies in his sleep,
   he doesn't know about it until the next morning?
+++
Q: The youngest son, the twenty-year old, how old is he?
+++
Q: Were you present when your picture was taken?
+++
Q: She had three children, right?
A: Yes.
Q: How many were boys?
A: None.
Q: Were there any girls?
+++
Q: How was your first marriage terminated?
A: By death.
Q: And by whose death was it terminated?
+++
Q: Is you appearance here this morning pursuant to a deposition notice
   which I sent to your attorney?
A: No, this is how I dress when I go to work.
+++
Q: Doctor, how many autopsies have you performed on dead people?
A: All my autopsies are performed on dead people.
+++
Q: Doctor, before you performed the autopsy, did you check for a pulse?
A: No.
Q: Did you check for blood pressure?
A: No.
Q: Did you check for breathing?
A: No.
Q: So, then it is possible that the patient was alive when you began
   the autopsy?
A: No.
Q: How can you be so sure, Doctor?
A: Because his brain was sitting on my desk in a jar.
Q: But could the patient have still been alive nevertheless?
A: Yes, it is possible that he could have been alive and practicing
   law somewhere.
Sortir en Pantoufles: up 43 days, 17:33
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Adding Linux clients to samba primary domain controller

2005-09-24 Thread Willie Wong
On Sat, Sep 24, 2005 at 02:03:52PM +0200, Ryan Viljoen wrote:
> I am currently helping out my old high school. They have just got some "new"
> pc's and they are wanting to run a dual boot setup on them with windows 2k
> and gentoo. The profile and home directories are all on a server and are
> mounted once the user has logged on and authenticated... nothing out of the
> ordinary there.
> 
> Now how does one do the same thing with a linux client ie: the user log in
> is authenticated on the server and once that is done their home directory is
> mounted on the client for them?
> 

how many clients? AFAIK, on the linux computers in my department in a
university just has a file server, which gets mounted by every linux
box as NFS, and /home/user is just a link to /mountpoint/user

I've never administered a large network before, so I don't know how
relevant this information is, but the above solution seems to work for
our department and supports about 500 people, 150 machines or so. 

W
-- 
News headline: 
The man who fell into an upholstery machine was fully recovered.
Sortir en Pantoufles: up 43 days, 17:35
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Adding Linux clients to samba primary domain controller

2005-09-24 Thread Ryan Viljoen
there should be 100 or so computers. 

How do the linux clients authenticate when the user logs on?On 9/24/05, Willie Wong <[EMAIL PROTECTED]> wrote:
On Sat, Sep 24, 2005 at 02:03:52PM +0200, Ryan Viljoen wrote:> I am currently helping out my old high school. They have just got some "new"
> pc's and they are wanting to run a dual boot setup on them with windows 2k> and gentoo. The profile and home directories are all on a server and are> mounted once the user has logged on and authenticated... nothing out of the
> ordinary there.>> Now how does one do the same thing with a linux client ie: the user log in> is authenticated on the server and once that is done their home directory is> mounted on the client for them?
>how many clients? AFAIK, on the linux computers in my department in auniversity just has a file server, which gets mounted by every linuxbox as NFS, and /home/user is just a link to /mountpoint/user
I've never administered a large network before, so I don't know howrelevant this information is, but the above solution seems to work forour department and supports about 500 people, 150 machines or so.
W--News headline:The man who fell into an upholstery machine was fully recovered.Sortir en Pantoufles: up 43 days, 17:35--gentoo-user@gentoo.org mailing list
-- "When
you say "I wrote a program that crashed Windows", people just stare at
you blankly and say "Hey, I got those with the system, for free". -
Linus Torvalds, 1995


[gentoo-user] gentoo ebuild for munin

2005-09-24 Thread martin hudec
Hello,

  are there any ebuilds for munin (http://www.linpro.no/projects/munin/)
  available for gentoo? Only relevant information I found was Bug #76018
  on bugs.gentoo.org, but it seems to be cold track at least for last
  months.

  If there is no ebuild available, what should one do to create an
  ebuild?

cheers,

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

"Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws."

   Douglas Adams, "The Hitchhiker's Guide to the Galaxy"


pgpVsQDV7cZlC.pgp
Description: PGP signature


Re: [gentoo-user] Firefox crashes over Flash

2005-09-24 Thread Dimitar Toshev
On Sat, 2005-09-24 at 14:13 +0100, Graham Murray wrote:
> Martin S <[EMAIL PROTECTED]> writes:
> 
> > I find that Firefox has become much more unstable, but i can't figure
> > out what i installed latest. haven't really installed much of anything
> > at all lately.
> > it crashes on most pages sooner or later - even those it has rendered 
> > before :(
> > Anyone else seen this?
> 
> Yes, I have seen the same. It does seem to happen more often if either
> the page has a java applet or flash, or if I have previously visited
> such pages in the same browser session. It is only quite a recent
> thing, firefox used to rock solid, but I cannot say what change caused
> this as I run ~x86 and frequently `emerge -Du world`.

It used to happen here. Most probably it has something to do with Flash,
as Firefox hasn't crashed even once since I removed it. Can't say
anything about JavaApplets, though. So few websites seem to have them
nowadays.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Security Updates and Portage Trees

2005-09-24 Thread Fernando Meira
On 9/22/05, Neil Bothwick <[EMAIL PROTECTED]> wrote:
On Wed, 21 Sep 2005 23:03:53 +0200, Fernando Meira wrote:> I might be wrong, but I have the idea that E-cvs packages are always> updated during an emerge world.Only if you run it without -p or -a. I never run emerge world without
fiorst checking exactly what it is going to do.
I was not meaning that, but instead that CVS packages were always
updated in a emerge -u world. If I would update my world, a re-run
would re-update those packages. I added the whole list of packages to
the world file and it seems that my idea was wrong. None of the E-CVS
packages are getting updated. Which also means that I can "clean" my
"depclean" functionality. :)





[gentoo-user] Filesystem error...

2005-09-24 Thread Keats
Hi, 
i have input/output errors 
i cannot remove files neither replace them 
for example : 
emerge gentoolkit 
cannot replace eclean-dist so it breaks
 
ls -l /usr/bin 
ls: /usr/bin/date: Erreur d'entr�/sortie
ls: /usr/bin/dd: Erreur d'entr�/sortie
ls: /usr/bin/df: Erreur d'entr�/sortie
ls: /usr/bin/dir: Erreur d'entr�/sortie
ls: /usr/bin/dircolors: Erreur d'entr�/sortie
ls: /usr/bin/dirname: Erreur d'entr�/sortie
ls: /usr/bin/disable: Erreur d'entr�/sortie
ls: /usr/bin/dot2gxl: Erreur d'entr�/sortie
ls: /usr/bin/du: Erreur d'entr�/sortie
ls: /usr/bin/dvigif: Erreur d'entr�/sortie
ls: /usr/bin/dvilj6: Erreur d'entr�/sortie
ls: /usr/bin/ebrowse: Erreur d'entr�/sortie
ls: /usr/bin/ebuild: Erreur d'entr�/sortie
ls: /usr/bin/echo: Erreur d'entr�/sortie
ls: /usr/bin/eclean-dist: Erreur d'entr�/sortie
ls: /usr/bin/eclean-pkg: Erreur d'entr�/sortie
ls: /usr/bin/emacs: Erreur d'entr�/sortie
ls: /usr/bin/emacsclient: Erreur d'entr�/sortie
ls: /usr/bin/emerge: Erreur d'entr�/sortie
ls: /usr/bin/enable: Erreur d'entr�/sortie
ls: /usr/bin/env: Erreur d'entr�/sortie
ls: /usr/bin/eplain: Erreur d'entr�/sortie
ls: /usr/bin/erb: Erreur d'entr�/sortie
ls: /usr/bin/esearch: Erreur d'entr�/sortie
ls: /usr/bin/etags: Erreur d'entr�/sortie
ls: /usr/bin/evolution: Erreur d'entr�/sortie
ls: /usr/bin/expr: Erreur d'entr�/sortie
ls: /usr/bin/f77: Erreur d'entr�/sortie
ls: /usr/bin/false: Erreur d'entr�/sortie
ls: /usr/bin/fdf2tan: Erreur d'entr�/sortie
ls: /usr/bin/fdf2tex: Erreur d'entr�/sortie
ls: /usr/bin/fdp: Erreur d'entr�/sortie
ls: /usr/bin/flex++: Erreur d'entr�/sortie
ls: /usr/bin/foomatic-datafile: Erreur d'entr�/sortie
ls: /usr/bin/fuser: Erreur d'entr�/sortie
ls: /usr/bin/g++: Erreur d'entr�/sortie
ls: /usr/bin/g++32: Erreur d'entr�/sortie
ls: /usr/bin/g77: Erreur d'entr�/sortie
-rwxr-xr-x  1 root root 26244 sep  4 00:42 /usr/bin/[*
-rwxr-xr-x  1 root root  6456 sep  5 21:40 /usr/bin/411toppm*
-rwxr-xr-x  1 root root112420 sep 23 04:28 /usr/bin/a2p*
-rwxr-xr-x  1 root root 94232 sep 23 06:09 /usr/bin/a2ping*
-rwxr-xr-x  1 root root322952 sep 15 09:02 /usr/bin/a2ps*
-rwxr-xr-x  1 root root 19960 jui 19 04:31 /usr/bin/a52dec*
lrwxrwxrwx  1 root root25 jui 18 03:58 /usr/bin/aclocal
...

i 've tried : 
navi ~ # fsck.reiser4 /dev/hda4
Fatal: The partition (/dev/hda4) is mounted with write permissions,
cannot fsck it.

i ve tried to umount it but there is no way to do that 
i've tried with init 1 or 2 put it can't be done...

thanx if someone gives me an idea...
 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Font sizes very small in KDE

2005-09-24 Thread Stewart Taylor

Hi Tim

Thanks for the reply, just printing the 
info, hopefully this will solve the problem.


Thanks again

Stewart

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Adding Linux clients to samba primary domain controller

2005-09-24 Thread Willie Wong
On Sat, Sep 24, 2005 at 05:02:07PM +0200, Ryan Viljoen wrote:
> there should be 100 or so computers.
> 
> How do the linux clients authenticate when the user logs on?
> 

It doesn't. It mounts the NFS volume at boot up. The user homedirs
points to the directories on the NFS volume. The user logs in
normally... just that his/her home directory resides on a networked
volume. 

W
-- 
Keep American clean. Eat a pigeon.
Sortir en Pantoufles: up 43 days, 19:11
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Filesystem error...

2005-09-24 Thread Willie Wong
On Sat, Sep 24, 2005 at 05:40:36PM +0200, Keats wrote:
> i 've tried : 
> navi ~ # fsck.reiser4 /dev/hda4
> Fatal: The partition (/dev/hda4) is mounted with write permissions,
> cannot fsck it.
> 
> i ve tried to umount it but there is no way to do that 

try

  mount -o ro,remount /dev/hda4

W

> i've tried with init 1 or 2 put it can't be done...
> 
> thanx if someone gives me an idea...
>  
> -- 
> gentoo-user@gentoo.org mailing list

-- 
It's one o them musics with little sticky prongs all over it
so it can cling to the inside of your head for days.
   ~S
Sortir en Pantoufles: up 43 days, 19:14
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Font sizes very small in KDE

2005-09-24 Thread Stewart Taylor

Hi Tim

Printed the info, read half way down 
first page of Mozilla DPI issues, 
problem fixed in 5 minutes.


Thanks again for your help

Stewart


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Incompatible gcc

2005-09-24 Thread Nagatoro

Rupert Young (Restart) wrote:
I have emerged gcc-3.4.4, but emerge --info, see below, still shows 
3.4.1. There was a PORTDIR_OVERLAY="/usr/local/portage" in make.conf and 
3.4.1 was in this dir. I commented out the PORTDIR_OVERLAY, but no change


gcc along with some other packages are _slotted_. That means that you 
can have more that one version installed at once. To chose what 
version to use there is a program called gcc-config.
Try and run "gcc-config -c" to see what compiler your system currently 
use, and try and run "gcc-config -l" to see what compliers are 
currently installed on your system. Finally run "gcc-config #" where # 
is the number of the complier listed above that you want to use.


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



Re: [gentoo-user] gentoo ebuild for munin

2005-09-24 Thread Nagatoro

martin hudec wrote:

Hello,

  are there any ebuilds for munin (http://www.linpro.no/projects/munin/)
  available for gentoo? Only relevant information I found was Bug #76018
  on bugs.gentoo.org, but it seems to be cold track at least for last
  months.

  If there is no ebuild available, what should one do to create an
  ebuild?


Did you look at the attachment list for that bug? There is an ebuild...

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



[gentoo-user] [OT] CD-R(W)/DVD-R(W) manufacturer info tool

2005-09-24 Thread Andrew Gaydenko
Is there such kind of CD/DVD tool?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] transfer large files via samba cause system freeze

2005-09-24 Thread Qiangning Hong
Holly Bostick wrote:
> Qiangning Hong schreef:
> 
>>Bryan Whitehead wrote:
>>
>>
>>>Can't you also use the iocharset=utf8 and codepage=utf8?
>>>
>>>something like: mount -t smbfs -o 
>>>user=,iocharset=utf8,codepage=utf8 \\server\path /mnt/samba
>>>
>>>This doesn't work?
>>
>>
>>It doesn't work. There are "?"s in the filenames.
>>
> 
> 
> That's actually a good thing I take it you're doing this in a
> terminal? Which one? Was it compiled with UTF8 support?What font is the
> terminal using for display? A "?" replacing characters tends to mean (in
> font-speak) that the character is 'known', but no actual character
> exists to render under the selected font, or font encoding. So you kinda
> get a"?" literally because the display doesn't know what to show there,
> if you see what I'm getting at.

My gentoo system's locale is set to en_US.UTF8 and my
xfce-extra/terminal is fully support UTF-8 encoding.  As my previous
post says, I can see the Chinese filenames using CIFS with the following
command switches:

# mount -t cifs //winbox/movies /mnt/samba -o iocharset=utf8

But if I mount the path using smbfs, even specified
iocharset=utf8,codepage=utf8, the filename is shown incorrectly.  I
don't think it's because of my terminal encoding setting.

-- 
Qiangning Hong
http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)

Registered Linux User #396996
Get Firefox! 
Thunderbird! 
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Blackscreen on Xorg-X11 after monitor and video card change

2005-09-24 Thread - -
I just inserted an NVidia 7800GT and put the computer on a 2000FP monitor and adjusted xorg.conf to the correct refresh rates for my monitor but I just get an unresponsive blackscreen after doing startx. I had X11 properly running with an NVidia QuadroFX 1400 and with a gateway CRT.
 
Here is my xorg.conf:
 

# File generated by xorgconfig.
## Copyright 2004 The X.Org Foundation## Permission is hereby granted, free of charge, to any person obtaining a# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation# the rights to use, copy, modify, merge, publish, distribute, sublicense,# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:## The above copyright notice and this permission notice shall be included in# all copies or substantial portions of the Software.#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# The X.Org Foundation BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.## Except as contained in this notice, the name of The X.Org Foundation shall# not be used in advertising or otherwise to promote the sale, use or other# dealings in this Software without prior written authorization from
# The X.Org Foundation.#
# **# Refer to the xorg.conf(5x) man page for details about the format of# this file.# **

# **# Module section -- this  section  is used to specify# which dynamically loadable modules to load.# **
#Section "Module"
# This loads the DBE extension module.
    Load    "dbe"   # Double buffer extension
# This loads the miscellaneous extensions module, and disables# initialisation of the XFree86-DGA extension within that module.    SubSection  "extmod"  Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
# This loads the font modules    Load    "type1"
#    Load    "speedo"    Load    "freetype"#    Load    "xtt"
# This loads the GLX module    Load   "glx"# This loads the DRI module#    Load   "dri"
EndSection
# **# Files section.  This allows default font and rgb paths to be set# **

Section "Files"
# The location of the RGB database.  Note, this is the name of the# file minus the extension (like ".txt" or ".db").  There is normally# no need to change the default.
    RgbPath "/usr/X11R6/lib/X11/rgb"
# Multiple FontPath entries are allowed (which are concatenated together),# as well as specifying multiple comma-separated entries in one FontPath# command (or a combination of both methods)##
    FontPath   "/usr/share/fonts/misc/"    FontPath   "/usr/share/fonts/TTF/"    FontPath   "/usr/share/fonts/Type1/"#    FontPath   "/usr/share/fonts/CID/"    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"    FontPath   "/usr/share/fonts/local/"#    FontPath   "/usr/share/fonts/Speedo/"#    FontPath   "/usr/share/fonts/TrueType/"
#    FontPath   "/usr/share/fonts/freefont/"
# The module search path.  The default path is shown here.
#    ModulePath "/usr/X11R6/lib/modules"
EndSection
# **# Server flags section.# **
Section "ServerFlags"
# Uncomment this to cause a core dump at the spot where a signal is# received.  This may leave the console in an unusable state, but may# provide a better stack trace in the core dump to aid in debugging
#    Option "NoTrapSignals"
# Uncomment this to disable the  VT switch sequence# (where n is 1 through 12).  This allows clients to receive these key# events.
#    Option "DontVTSwitch"
# Uncomment this to disable the  server abort sequence# This allows clients to receive this key event.
#    Option "DontZap"
# Uncomment this to disable the / mode switching# sequences.  This allows clients to receive these key events.
#    Option "Dont Zoom"
# Uncomment this to disable tuning with the xvidtune client. With# it the client can still run and fetch card and monitor attributes,# but it will not be allowed to change them. If it tries it will# receive a protocol error.

#    Option "DisableVidModeExtension"
# Uncomment this to enable the

[gentoo-user] mmx use flag on Pentium 4

2005-09-24 Thread Robert Persson
Should I enable the mmx use flag when I am compiling stuff (e.g. mplayer) for 
a pentium 4?  I'm confused because I've kind of got the idea that mmx is 
obsolete, but I'm not clear exactly how obsolete.

Many thanks
Robert
-- 
Robert Persson

"Don't use nuclear weapons to troubleshoot faults."
(US Air Force Instruction 91-111, 1 Oct 1997)

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Blackscreen on Xorg-X11 after monitor and video card change

2005-09-24 Thread Mark Knecht
On 9/24/05, - - <[EMAIL PROTECTED]> wrote:
> I just inserted an NVidia 7800GT and put the computer on a 2000FP monitor
> and adjusted xorg.conf to the correct refresh rates for my monitor but I
> just get an unresponsive blackscreen after doing startx. I had X11 properly
> running with an NVidia QuadroFX 1400 and with a gateway CRT.
>

/var/log/Xorg.log?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mmx use flag on Pentium 4

2005-09-24 Thread Jonathan Wright
Robert Persson wrote:
> Should I enable the mmx use flag when I am compiling stuff (e.g. mplayer) for 
> a pentium 4?  I'm confused because I've kind of got the idea that mmx is 
> obsolete, but I'm not clear exactly how obsolete.

In theory, yes it is sort of obsolete - sse and sse2 are the preferred
method. However, so long as you have specified -march=pentium4 (and
-mcpu=pentium4 or -mtune=pentium4 with >=gcc-3.4) mmx/sse/sse2 will be
implied as part of the compilation process.

As for mplayer - unless you set the appropriate use flag, then almost
all C(XX)FLAGS will be remove from the process as (like gaim) it is
notoriously flaky with anything other than the basic settings.

-- 
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r10-djnauk-b2 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
 up 2 days, 22 min,  3 users,  load average: 0.19, 0.21, 0.37
--
 "Bisexuality  immediately  doubles  your  chances  for  a  date  on
 Saturday night."

   ~ Woody Allen
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] multiple gcc versions

2005-09-24 Thread Matthias Langer
I'm mainly in x86 and thus using gcc-3.3.6. However, as i do some 
programming, i want to know if it is without greater problems possible, 
to install gcc-3.4.4 additionally, so that i can make sure that the code 
i'm writing is accepted by gcc-3.4.x too [i know that i can't expect my 
code to work, as it is c++ stuff and the libs i'm using are compiled 
with 3.3.6 - i only want to be sure that the code compiles cleanly].


Thanks,
Matthias Langer
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gentoo workstation x/kde: disk size requirement...

2005-09-24 Thread John J. Foster
Please, please don't include a 65 line signature.


pgpA6Tfc0G5om.pgp
Description: PGP signature


[gentoo-user] Can't get iptables to work on AMD64, 2.6.12-gentoo-r10

2005-09-24 Thread Michael Kjorling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

My system is AMD64, Linux 2.6.12-gentoo-r10 (from gentoo-sources),
iptables 1.3.2 and generally up-to-date. I can't seem to get iptables
to work. Netfilter support is compiled into the kernel (compiling it
as a module and loading that gave the same result), as evidenced by:

$ zgrep -i iptables /proc/config.gz
CONFIG_IP_NF_IPTABLES=y
$ 

but iptables refuses to run:

# iptables -L -n
FATAL: Module ip_tables not found.
iptables v1.3.2: can't initialize iptables table `filter': Table does not exist 
(do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
# 

`iptables -X filter' gives me the same error message.

Any suggestions as for how to get packet filtering working (including
kernel configuration options to try) would be greatly appreciated.

- -- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDNcQzdY+HSb3praYRAmkVAJ4+l7uFwHsfQc5McejmrljuSLoWlwCgnjQP
eXGRvHKghiIcqXZephmOvn0=
=4Iep
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mmx use flag on Pentium 4

2005-09-24 Thread Walter Dnes
On Sat, Sep 24, 2005 at 09:45:30PM +0100, Jonathan Wright wrote

> In theory, yes it is sort of obsolete - sse and sse2 are the preferred
> method. However, so long as you have specified -march=pentium4 (and
> -mcpu=pentium4 or -mtune=pentium4 with >=gcc-3.4) mmx/sse/sse2 will be
> implied as part of the compilation process.
> 
> As for mplayer - unless you set the appropriate use flag, then almost
> all C(XX)FLAGS will be remove from the process as (like gaim) it is
> notoriously flaky with anything other than the basic settings.

  I'm running gcc 3.3.6.  I just ran "emerge --sync" a few minutes ago.
Running "emerge --ask --deep --update --world" doesn't mention gcc.  Are
you unmasking a test version?

-- 
Walter Dnes <[EMAIL PROTECTED]>
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mmx use flag on Pentium 4

2005-09-24 Thread Jonathan Wright

Walter Dnes wrote:

  I'm running gcc 3.3.6.  I just ran "emerge --sync" a few minutes ago.
Running "emerge --ask --deep --update --world" doesn't mention gcc.  Are
you unmasking a test version?


I think gcc-3.4* is still marked ~x86; however since that version -mcpu 
has been depreciated in favor for -mtune.


As for the mmx information, that's valid across all gcc versions. If you 
specify -march=pentium4 and -mcpu=pentium4 as part of your CFLAGS, -mmmx 
and -msse, etc., will be implied by the compiler, and any programs built 
to take advantage of the extensions will be able to do so.


--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r6-djnauk-b2 AMD Athlon(tm) XP 2100+
 up 1 day, 11:54,  1 user,  load average: 0.57, 0.89, 2.04
--
 "Wouldn't it be great if you could only  get  AIDS  from  giving
 money to television preachers?"

 ~ Elayne Boosler
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Blackscreen on Xorg-X11 after monitor and video card change

2005-09-24 Thread Norberto Bensa
- - wrote:
> Section "Monitor"
>
> Identifier "2000FP"
>
> HorizSync 31-80
> VertRefresh 56-76
> EndSection

try removing those if you didn't

-- 
Norberto Bensa
4544-9692
Ciudad de Buenos Aires, Argentina
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Default font for X

2005-09-24 Thread visualnoise

Users,

I just emerge'd --newuse --update --deep world then went to work.  When
I returned to GDM I had a different (and uglier) font at the prompt.
This change has also affected Firefox, perhaps more.  So how do I set
something more pleasing to the eye as a default font for all X apps?
Also, why did this happen?  I thought emerge left config files alone
when updating.  Also, I have checked out /etc/fonts/local.conf and to my
limited knowledge it seems to be in order.

Thanks,
matthew

ps - Also just found out that Abiword complains about not detecting 
fonts, though again /etc/fonts/local.conf look right to me

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] weird samba problem

2005-09-24 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Red wrote:

> i tried to setup samba, but i just can't get it to work right. i can
> write files - but i can't read them ?!?
>
> please help!!!
>
> some example of my problem:
>
> [EMAIL PROTECTED] ~ % smbmount //silverserver/public /home/red/public
> Password:
> [EMAIL PROTECTED] ~ % ls -l /home/red/public
> total 12
> -rwxr-xr-x 1 red users 2 Sep 24 14:25 Textdatei
> -rwxr-xr-x 1 red users 4 Sep 24 14:27 bla
> -rwxr-xr-x 1 red users 4 Sep 22 18:24 test
> [EMAIL PROTECTED] ~ % echo "foo" >> /home/red/public/testfile
> [EMAIL PROTECTED] ~ % ls -l /home/red/public
> total 16
> -rwxr-xr-x 1 red users 2 Sep 24 14:25 Textdatei
> -rwxr-xr-x 1 red users 4 Sep 24 14:27 bla
> -rwxr-xr-x 1 red users 4 Sep 22 18:24 test
> -rwxr-xr-x 1 red users 4 Sep 24 14:31 testfile
> [EMAIL PROTECTED] ~ % cat /home/red/public/testfile
> cat: /home/red/public/testfile: Permission denied
>
What are the NT file permissions of the share you're trying to mount?
You might also want to check the share permissions.  Depending on
which Windows OS you're mounting from, they may be different.  If I
remember correctly, NT permissions override share permissions.


[ ... snip samba.conf ... ]
- --
gentux
echo "hfouvyAdpy/ofu" | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint ==> 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDNdfYLYGSSmmWCZMRAi94AJ9NnZVt40wrlkPV7RINtGwXdNaVtgCg184K
EDF7dSDetR8+h4c+9bkboDk=
=sLVi
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Blackscreen on Xorg-X11 after monitor and video card change

2005-09-24 Thread Peter O'Connor

- - wrote:

(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.6629
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX
(II) LoadModule: "nvidia"
(II) Loading /usr/lib64/modules/drivers/nvidia_drv.o
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.6629


The 6629 driver version doesn't support 78 series of cards.

Add

media-video/nvidia-kernel ~x86
media-video/nvidia-glx ~x86

to /etc/portage/package.keywords

# emerge nvidia-kernel nvidia-glx
# eselect opengl set nvidia

Then try starting X again
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Cannot merge mozilla or mozilla-firefox

2005-09-24 Thread Zac Medico
fire-eyes wrote:
> 
> p.s. - ntplonly USE flag is bad news, stay away from it.
> 

Why blame random things when you have no clue what the actual problem is?  I 
for one have used nptlonly for a while with no problems.

Your build logs show that in both cases you got segmentation faults when 
running perl.  I suggest that you roll back to the last working version of perl 
that you had.

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



Re: [gentoo-user] multiple gcc versions

2005-09-24 Thread Peter O'Connor

Matthias Langer wrote:
I'm mainly in x86 and thus using gcc-3.3.6. However, as i do some 
programming, i want to know if it is without greater problems possible, 
to install gcc-3.4.4 additionally, so that i can make sure that the code 
i'm writing is accepted by gcc-3.4.x too [i know that i can't expect my 
code to work, as it is c++ stuff and the libs i'm using are compiled 
with 3.3.6 - i only want to be sure that the code compiles cleanly].


Thanks,
Matthias Langer


It shouldn't be too much of a problem since they are different branches 
of gcc and should be default install side by side. I run 3.4.4-r1 and 
when I pretend to install 3.3.6


# emerge -p =gcc-3.3.6
[ebuild  NS   ] sys-devel/gcc-3.3.6

(from man emerge)   
  N = new, (not yet installed)
  S = new, slot installation (side-by-side versions)

First of all you would need to make the 3.4.4 version available

echo "sys-devel/gcc ~x86" >> /etc/portage/package.keywords

Then try # emerge -p gcc to test how it will install the new version. If 
it shows NS, it won't remove 3.3.6 at all. Otherwise you may want to 
hold off installing.


Use gcc-config -l to check what version it is using after the install 
and make sure it's set for 3.3.6, otherwise change it (that is assuming 
you are still wanting 3.3.6 as default).


Depending on how you compile your programs you can use the gcc-3.4.4 and 
 g++-3.4.4 (ie g++-3.4.4 -o foo foo.cc) commands if you do it manually.


Or else you can use gcc-config to set 3.4.4 before compiling your code 
to test if it compiles and then change back to 3.3.6 when you're done.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] weird samba problem

2005-09-24 Thread Red
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

gentuxx wrote:
> 
> What are the NT file permissions of the share you're trying to mount?
> You might also want to check the share permissions.  Depending on
> which Windows OS you're mounting from, they may be different.  If I
> remember correctly, NT permissions override share permissions.

i dont have windows machines includet yet. i just want to try it from my
pc's first, which both are runnung gentoo.

permissions of the directory:
ls -l /mnt/files/
drwxr-xr-x  2 red  users   216 Sep 24 14:31 shares

no acl's setup yet either.

any ideas?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDNgjH146cP2GmnVMRAquiAJ92PJmukC26BVHjoR457hntQ4sDLwCeLSfr
vTRIFmZPpd7B7MrnGfxLdvs=
=JPK4
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mmx use flag on Pentium 4

2005-09-24 Thread Walter Dnes
On Sat, Sep 24, 2005 at 11:10:35PM +0100, Jonathan Wright wrote

> however since that version -mcpu has been depreciated in favor for -mtune.

  I use -march, so that point is moot.

> As for the mmx information, that's valid across all gcc versions. If
> you specify -march=pentium4 and -mcpu=pentium4 as part of your
> CFLAGS, -mmmx and -msse, etc., will be implied by the compiler,
> and any programs built to take advantage of the extensions will be
> able to do so.

  The docs for 3.4.X are a lot more detailed than 3.3.X docs.  3.3.6
docs say that -march implies -mcpu but don't say in so many words that
certain values of -march imply -sse, etc.

  While we're talking about compilers and sparse documentation, I've got
an AMD64 K8.  The docs for an AMD64-bit install scared me off to 32-bit
land.  Later I found out that the 64-bit install docs are out-of-date
and the problems they mention seem to have been solved.  However, since
I have things humming along, I don't really want to tear my install down
and rebuild from scratch.  One question... I'm running
> CFLAGS="-O2 -pipe -fomit-frame-pointer -march=athlon -m3dnow -mmmx -msse 
> -msse2 -mfpmath=sse"

  Is there a way to figure out if I can use a higher version of Athlon
in my CFLAGS line in 32-bit mode?

-- 
Walter Dnes <[EMAIL PROTECTED]>
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Can I make dhcpcd run in background when trying to get an ip address?

2005-09-24 Thread michael

I have a computer with both a wired and wireless network card. At home I
use the wired connection, but when out I use the wireless.

Normally, I use the default net.eth0 for my wired connection, and my own
script for wireless :

ifconfig eth1 up
iwconfig eth1 essid "foo"
dhcpcd eth1

If I enable them both using rc-update, then if one isn't available (I
only plug in the wired network when I know wireless is not available)
the init process will wait until the dhcpcd times out, which is quite 
long (and it needs to be, because some access points seem to take a 
long time).


Is there some way I can have dhcpcd to run in the background, and to
provide an IP address to my interface when it gets a response from the
server? I seem to remember busybox had script that did this; is there a
general solution?

Thanks,
Michael
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can I make dhcpcd run in background when trying to get an ip address?

2005-09-24 Thread Iain Buchanan
On Sat, 2005-09-24 at 20:52 -0700, [EMAIL PROTECTED] wrote:
> I have a computer with both a wired and wireless network card. At home I
> use the wired connection, but when out I use the wireless.
[snip]
> Is there some way I can have dhcpcd to run in the background, and to
> provide an IP address to my interface when it gets a response from the
> server? I seem to remember busybox had script that did this; is there a
> general solution?

The first thing that comes to mind is to set
RC_PARALLEL_STARTUP="yes"
in /etc/conf.d/rc

However, lots of things rely on the net.* scripts before they start.
Have a look at the output of
`egrep need.*net /etc/init.d/*`
and you'll see every service that will wait for your network script to
start (which means waiting for a dhcp response)

The second thing that came to my mind, and this would probably rely on
you only getting a dhcp for the wireless, and not the wired lan, would
be to "roll your own" /etc/init.d/net.eth1 script.  Make it exactly the
same as /etc/init.d/net.lo, but in the depend() function, add something
like "provide mywireless".  This, coupled with parallel startup, should
mean that no other init script will require your net.eth1 connection and
it can take time without holding other scripts up.

I've never tried this idea, so it could be fundamentally flawed, but its
just a thought!

HTH,
-- 
Iain Buchanan <[EMAIL PROTECTED]>

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Blackscreen on Xorg-X11 after monitor and video card change

2005-09-24 Thread Peter O'Connor

- - wrote:

I think we're going somewhere because even though I blackscreened, the 7676
drivers gave me this:
(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please ensure
(EE) NVIDIA(0): that there is a supported NVIDIA GPU in this system, and
(EE) NVIDIA(0): that the NVIDIA device files have been created properly.
(EE) NVIDIA(0): Please consult the NVIDIA README for details.
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found



Well checking the supported products, only the 7800GTX is supported, not 
the 7800GT.


The first drivers to include 7800GT support were version 77.77 (windows 
only release) to coincide with the release of the 7800GT (also on August 11)


Windows XP/2000
Version: 77.77
Release Date: August 11, 2005


The latest Linux drivers were released 2 days prior to the 7800GT being 
available, therefore no support for that card.


Linux Display Driver - IA32
Version: 1.0-7676
Operating System: Linux IA32
Release Date: August 9, 2005

You would assume it would be fixed up in the next driver version, but 
that's no consolation. People have given benchmarks from a 7800GT on 
linux (gentoo even), but nothing on getting it to work.



It does also mention the NVIDIA device files so I suppose you should 
check that as well.


ls /dev | grep nvidia

Should give these two results
nvidia0
nvidiactl

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't get iptables to work on AMD64, 2.6.12-gentoo-r10

2005-09-24 Thread Rumen Yotov
On Sat, 24 Sep 2005 21:25:07 +
Michael Kjorling <[EMAIL PROTECTED]> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> My system is AMD64, Linux 2.6.12-gentoo-r10 (from gentoo-sources),
> iptables 1.3.2 and generally up-to-date. I can't seem to get iptables
> to work. Netfilter support is compiled into the kernel (compiling it
> as a module and loading that gave the same result), as evidenced by:
> 
> $ zgrep -i iptables /proc/config.gz
> CONFIG_IP_NF_IPTABLES=y
> $ 
> 
> but iptables refuses to run:
> 
> # iptables -L -n
> FATAL: Module ip_tables not found.
> iptables v1.3.2: can't initialize iptables table `filter': Table does
> not exist (do you need to insmod?) Perhaps iptables or your kernel
> needs to be upgraded. # 
> 
> `iptables -X filter' gives me the same error message.
> 
> Any suggestions as for how to get packet filtering working (including
> kernel configuration options to try) would be greatly appreciated.
> 
> - -- 
> Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
> * ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
> * . No bird soars too high if he soars with his own wings . *
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.1 (GNU/Linux)
> 
> iD8DBQFDNcQzdY+HSb3praYRAmkVAJ4+l7uFwHsfQc5McejmrljuSLoWlwCgnjQP
> eXGRvHKghiIcqXZephmOvn0=
> =4Iep
> -END PGP SIGNATURE-
Hi,
Not very much info i'm afraid, but a working solution.
Choose to use shorewall and in their site-docs (pdf including) there is
a graphical example of kernel config to use with shorewall.
As their's intentions are for shorewall to be mostly used for quite
everything with iptables, it has IIRC quite all options turned ON under
iptables. Use this for some 2,5 years (with very small changes).
Think you can also check the iptables site/docs (Google too).
There was some site (easyiptables/easyfirewall) with a web-page menu
driven config, don't know about kernel-config (check this ML archives).
HTH. Rumen


pgpf5osYPWp0o.pgp
Description: PGP signature


Re: [gentoo-user] Can't get iptables to work on AMD64, 2.6.12-gentoo-r10

2005-09-24 Thread A. Khattri
On Sat, 24 Sep 2005, Michael Kjorling wrote:

> My system is AMD64, Linux 2.6.12-gentoo-r10 (from gentoo-sources),
> iptables 1.3.2 and generally up-to-date. I can't seem to get iptables
> to work. Netfilter support is compiled into the kernel (compiling it
> as a module and loading that gave the same result), as evidenced by:
>
> $ zgrep -i iptables /proc/config.gz
> CONFIG_IP_NF_IPTABLES=y
> $
>
> but iptables refuses to run:
>
> # iptables -L -n
> FATAL: Module ip_tables not found.
> iptables v1.3.2: can't initialize iptables table `filter': Table does not 
> exist (do you need to insmod?)
> Perhaps iptables or your kernel needs to be upgraded.

If you run "dmesg | grep filter" do you see:

ip_tables: (C) 2000-2002 Netfilter core team

???

Can we assume you did "make modules_install" when building the current
kernel?

Did you run "emerge iptables" (Im assuming yes) ?

Do you have any IP tables modules too? ("grep IP_NF_
/usr/src/linx/.config" should tell you).


-- 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] udev-070: cannot find dvd drive

2005-09-24 Thread fire-eyes
Hello, I am using udev-070 and I cannot find my dvd drive.

The kernel certainly finds it:

hdd: PLEXTOR DVDR PX-708A, ATAPI CD/DVD-ROM drive

However /dev/hdd doesn't even exist. Furthermore, neither do /dev/dvd or
/dev/dvdrom or /dev/cdrom or anything of the sort. Leaving me zero
access to read or write cd's or dvd's.

Any ideas out there? I have tried udevstart several times.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] klibc fails

2005-09-24 Thread Martin S
Doing a update of my system I get the following error:

/usr/src/linux/include/linux/times.h:60:28: division by zero in #if
/usr/src/linux/include/linux/times.h: In function `nsec_to_clock_t':
/usr/src/linux/include/linux/times.h:61: error: `x' undeclared (first
use in this function)
/usr/src/linux/include/linux/times.h:61: error: (Each undeclared
identifier is reported only once
/usr/src/linux/include/linux/times.h:61: error: for each function it
appears in.)
/usr/src/linux/include/linux/times.h:61: error: `NSEC_PER_SEC'
undeclared (first use in this function)
/usr/src/linux/include/linux/times.h:61: error: `USER_HZ' undeclared
(first use in this function)
make[1]: *** [eval.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/klibc-1.1/work/klibc-1.1/ash'
make: *** [all] Error 2

!!! ERROR: dev-libs/klibc-1.1 failed.


Tried looking through the forums, but I failed to find something. Any
suggestions as how to solve this.


Regards,

Martin S

-- 
gentoo-user@gentoo.org mailing list