Re: [gentoo-user] PAM issues

2006-11-14 Thread Alan McKinnon
On Monday 13 November 2006 16:12, Alexander Skwar wrote:
> Nov 13 14:56:01 dewup-ww02 cron[5469]: PAM adding faulty module:
> /lib/security/pam_unix.so Nov 13 14:56:01 dewup-ww02 cron[5469]: PAM
> unable to dlopen(/lib/security/pam_limits.so) Nov 13 14:56:01
> dewup-ww02 cron[5469]: PAM [dlerror: /lib/security/pam_limits.so:
> symbol pam_syslog, version LIBPAM_EXTENSION_1.0 not defined in file
> libpam.so.0 with link time reference]
> Nov 13 14:56:01 dewup-ww02 cron[5469]: PAM adding faulty module:
> /lib/security/pam_limits.so Nov 13 14:56:01 dewup-ww02 cron[5469]:
> Module is unknown
>
> sudo also doesn't work anymore.
>
> Anyone else experiencing these problems?

Yes, I ran into this when my e17 session's screensaver kicked in and it 
wanted a password. I could start a new X server and it would work 
properly, new console sessions on a vt worked fine, but the open one 
wouldn't authenticate me.

Closing that session and starting a new was all I could do, so I have to 
assume the upgrade from pam-0.78-r5 to 0.99.6.3-r1 unlinked some pam 
stuff that the running entrance was still wanting to use. Strange that, 
I was under the impression that files are only fully unlinked once the 
last running process using it releases it.

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



Re: [gentoo-user] ipw3945 and 128 bit WEP encryption

2006-11-14 Thread Daniel Barkalow
On Sat, 11 Nov 2006, Peter Kelly wrote:

> Holas!
> 
> I recently bought a Dell Inspiron e1505 laptop.  I purposely got an Intel 
> 3945 
> wireless card installed, because I read that it was more linux friendly than 
> the dell wireless card.
> 
> I emerge'd  ipw3945, but can't get it to work.  I get an error 
> 
> error for wireless request "Set Encode" (8B2A) 
> Operation not supported
> 
> when I run 
> # iwconfig eth1 key "26 hex character key"
> 
> when trying to set the the encryption key for my home network.  I'm certainly 
> not going to turn off WEP encryption, so I need to fix this.

Maybe you need to modprobe ieee80211_crypt_wep and the relevant crypto 
algorithm modules? That's what I remember being the issue when the card 
generally works but WEP doesn't. I think the older wifi supporting code 
doesn't let you separate this stuff out, while the new code doesn't 
automatically handle loading modules when necessary. I remember dmesg 
being more informative than iwconfig when it fails, also.

-Daniel
*This .sig left intentionally blank*
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] syslog-ng facility

2006-11-14 Thread Arnau Bria
Hi,

I've installed syslog-ng and I was configuring it.
I'd like to separate ssh and named logs from messages, so I thought
each of that services had a "facilty", so I defined them and restarted
syslog-ng, but it fails saying that it does not know those facilities...

#filter f_named { facility(named); };
#filter f_sshd { facility(sshd); };

I have testes with named, sshd, bind, ssh...

So, how may I separate this services logs?
I used metalog and there you can use reg expressions, may I use it here
too?

Where may I find a list of facilities?


Cheers!

-- 
Arnau Bria
http://blog.emergetux.net
Wiggum: Dispara a las ruedas Lou.
Lou: eee, es un tanque jefe.
Wiggum: Me tienes hartito con todas tus excusas.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] syslog-ng facility

2006-11-14 Thread Arnau Bria
On Tue, 14 Nov 2006 14:04:00 +0200
Daniel Iliev wrote:

> Arnau Bria wrote:
Hi Daniel,

[...]
> > Where may I find a list of facilities?

> Yes, you can separate the logs.
> Take a look at this example. I think it would be helpful.
> 
> http://ben.muppethouse.com/SYSLOG-DOC.html

I was looking for a list of facilities, cause I was wondering if named
and ssh were ones or not. I finally separated it with "program" filter
rule.

I finally found facility list in metalog man page:

Facility names  are  :  "auth",  "authpriv", "cron", "daemon", "ftp",
"kern", "lpr", "mail", "news", "security", "syslog", "user", "uucp",
"local0", "local1" ... "local7"

thanks for your reply.

-- 
Arnau Bria
http://blog.emergetux.net
Wiggum: Dispara a las ruedas Lou.
Lou: eee, es un tanque jefe.
Wiggum: Me tienes hartito con todas tus excusas.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: PAM issues

2006-11-14 Thread Alan McKinnon
On Tuesday 14 November 2006 14:04, Alexander Skwar wrote:
> Alexander Skwar <[EMAIL PROTECTED]>:
> > Instead, I rebuilt vixie-cron, which helped as well.
>
> Hm. I'm now having issues with SSH and sudo as well :(
>
> When I try to login with SSH, I find the following in syslog:
>
> Nov 14 13:00:30 dewup-ww02 sshd[25175]: error: PAM: Authentication
> failure for vz6tml from localhost
>
> When I do sudo, I get:
>
> Nov 14 13:01:50 dewup-ww02 sudo: pam_unix(sudo:auth): authentication
> failure; logname=vz6tml uid=0 euid=0 tty=pts/40 ruser= rhost= 
> user=vz6tml
>
> /etc/pam.d/sudo is the default file; ie:

[snip pam file contents]

I have exactly the same package versions as you and my files are 
identical to yours, and it works my end. So you don't have a config 
issue.

> Even after rebuilding openssh (4.5_p1) and sudo (1.6.8_p12-r1), I
> still cannot use those applications.

Do they have the pam USE flag set? Here's my settings for those apps:

nazgul ~ # eix openssh
[I] net-misc/openssh
 Available versions:  3.9_p1-r3 (~)4.0_p1-r2 (~)4.1_p1-r1 4.2_p1-r1 
4.3_p2-r1 4.3_p2-r5 4.4_p1-r6 (~)4.5_p1
 Installed:   4.5_p1(09:36:16 11/09/06)(X -X509 chroot 
hpn -kerberos -ldap -libedit pam -selinux -skey -smartcard -static 
tcpd)

nazgul ~ # eix sudo
[I] app-admin/sudo
 Available versions:  1.6.8_p9 1.6.8_p9-r2 (~)1.6.8_p11 (~)1.6.8_p12 
(~)1.6.8_p12-r1
 Installed:   1.6.8_p12-r1(13:59:46 09/21/06)(-ldap 
offensive pam -selinux -skey)

nazgul ~ # eix ^pam$
[I] sys-libs/pam
 Available versions:  0.78-r3 (~)0.78-r5 (~)0.99.6.3-r1
 Installed:   0.99.6.3-r1(20:48:18 11/13/06)(-elibc_FreeBSD 
nls -selinux -vim-syntax)


Any clues from revdep-rebuild?
I take it you did log out and in again, I find that pam updates often 
require that or even a reboot (dunno why, it just seems to work like 
that for me)


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



[gentoo-user] Re: PAM issues

2006-11-14 Thread Alexander Skwar
Alexander Skwar <[EMAIL PROTECTED]>:

> Instead, I rebuilt vixie-cron, which helped as well.

Hm. I'm now having issues with SSH and sudo as well :(

When I try to login with SSH, I find the following in syslog:

Nov 14 13:00:30 dewup-ww02 sshd[25175]: error: PAM: Authentication failure for 
vz6tml from localhost

When I do sudo, I get:

Nov 14 13:01:50 dewup-ww02 sudo: pam_unix(sudo:auth): authentication failure; 
logname=vz6tml uid=0 euid=0 tty=pts/40 ruser= rhost=  user=vz6tml

/etc/pam.d/sudo is the default file; ie:

# File autogenerated by pamd_mimic_system in pam eclass


authinclude system-auth
account include system-auth
passwordinclude system-auth
session include system-auth

/etc/pam.d/sshd is also default:

#%PAM-1.0

auth   include  system-auth
auth   required pam_shells.so
auth   required pam_nologin.so
accountinclude  system-auth
password   include  system-auth
sessioninclude  system-auth

And /etc/pam.d/system-auth is also default:

#%PAM-1.0

auth   required pam_env.so
auth   sufficient   pam_unix.so try_first_pass likeauth nullok
auth   required pam_deny.so

accountrequired pam_unix.so

password   required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 
try_first_pass retry=3
password   sufficient   pam_unix.so try_first_pass use_authtok nullok md5 shadow
password   required pam_deny.so

sessionrequired pam_limits.so
sessionrequired pam_unix.so

Even after rebuilding openssh (4.5_p1) and sudo (1.6.8_p12-r1), I still
cannot use those applications.

Alexander Skwar
-- 
Oblivion together does not frighten me, beloved.
-- Thalassa (in Anne Mulhall's body), "Return to Tomorrow",
   stardate 4770.3.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] local rsync mirror problem

2006-11-14 Thread Bo Ørsted Andresen
On Tuesday 14 November 2006 13:13, John Blinka wrote:
> Hi, all,
>
> I'm rebuilding a gentoo box from a disk failure, and everything is working
> (I think) except restoring its ability to act as my local rsync mirror.
> I've
> followed the instructions in http://www.gentoo.org/doc/en/rsync.xml,
> (and they worked fine, of course, before the disk crash)
> but clients trying to sync with it get this error message:
[SNIP]
> @ERROR: Unknown module 'gentoo-portage'
> rsync error: error starting client-server protocol (code 5) at
> main.c(1296) [rec
> eiver=2.6.8]
[SNIP]
> The /etc/rsyncd.conf file contains:
[SNIP]
> #[gentoo-portage]
[SNIP]

That shouldn't be commented. Remove the leading #.

> Any ideas about what's going on?

Also there's a guide at http://www.gentoo.org/doc/en/rsync.xml

-- 
Bo Andresen


pgpetm942mv1e.pgp
Description: PGP signature


Re: [gentoo-user] LDAP + Samba as PDC

2006-11-14 Thread Raphael Melo de Oliveira Bastos Sales

On 11/13/06, Cameron Lowe <[EMAIL PROTECTED]> wrote:

Raphael Melo de Oliveira Bastos Sales wrote:
> Hi everyone,
>
>   I've been trying to set up an authentication server for a mixed LAN
> (Windows and Linux clientes ) and I'm having problems with Samba.
>
>   The way it is today, the Windows clients can access the Samba
> server and each user can access it's home, by double-clicking on the
> server icon on the screen that shows all the machines on the network.
>
>   But I'm unable to register the client workstations on the server.
> It says something like "user name not found" when I try to do it. But
> the odd thing is, when I look in the LDAP server, there is a registry
> of the client there.
>
>   I'd like to know if anyone has managed to do this type of thing
> and, if possible, could send me the Samba config file (smb.conf) so I
> can see what I'm doing wrong.
>
>  Here is my smb.conf file. If anyone detects what I'm doing wrong,
> I'd be grateful.  :)
>
> [global]
> server string = %L
> workgroup = WORKGROUP
> announce as = NT Server
>
> hosts allow = 192.168.0.0/24
> security = user
> encrypt passwords = yes
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> interfaces = lo eth1
> bind interfaces only = yes
>
> local master = yes
> os level = 100
> domain master = yes
> preferred master = yes
>
> null passwords = no
> #hide unreadable = yes
>
> enable privileges = yes
>
> domain logons = yes
> logon script = login.bat
> logon path = \\%L\profiles\%U
> logon drive = H:
> logon home = \\%L\%U\.9xprofile
>
> wins support = yes
> name resolve order = wins lmhosts host bcast
> dns proxy = no
>
> time server = yes
> log file = /var/log/samba/log.%m
> max log size = 50
>
> passdb backend = ldapsam:ldaps://127.0.0.1:636/
>
> ldap admin dn = cn=Laboratorio,dc=lara,dc=cic,dc=unb,dc=br
> ldap port = 636
> ldap suffix = dc=lara,dc=cic,dc=unb,dc=br
> ldap server = ldaps://127.0.0.1:636/
> ldap machine suffix = ou=Computers
> ldap user suffix = ou=Users
> ldap group suffix = ou=Groups
> ldap idmap suffix = ou=Idmap
> ldap delete dn = Yes
> ldap password sync = yes
>
> add group script = /usr/sbin/smbldap-groupadd -p "%g"
> add machine script = /usr/sbin/smbldap-useradd -w "%u"
> add user script = /usr/sbin/smbldap-useradd -m "%u"
> add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
> delete group script = /usr/sbin/smbldap-groupdel "%g"
> delete user script = /usr/sbin/smbldap-userdel "%u"
> delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
> passwd program = /usr/sbin/smbldap-passwd
> passwd chat = "*New password:*" %n\r "*New password (again):*" %n\r \
> "*Password changed*"
> set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
>
> idmap backend = ldap:ldaps://127.0.0.1:636/
> idmap uid = 1-2
> idmap gid = 1-2
>
> unix charset = ISO8859-1
>
> profile acls = yes
>
> [netlogon]
> path = /var/lib/samba/netlogon
> guest ok = no
> read only = yes
> browseable = no
>
> [profiles]
> path = /var/lib/samba/profiles
> browseable = no
> writeable = yes
> default case = lower
> preserve case = no
> short preserve case = no
> case sensitive = no
> hide files = /desktop.ini/ntuser.ini/NTUSER.*/
> write list = @smbusers @root
> create mask = 0600
> directory mask = 0700
> csc policy = disable
>
> [homes]
> path = /home/%U
> browseable = no
> valid users = %S
> read only = no
> guest ok = no
> inherit permissions = yes
Last time I had to do something similar (no LDAP). I had to put a reg
hack on the XP machines. A quick search in Google shoud come up with the
reg hack.


Hi Cameron,

   thanks for the reply. Unfortunately, all the reg hacks I found
didn't work. If I find one that does, I'll post it here. :)

Regards,

Raphael


--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] local rsync mirror problem

2006-11-14 Thread Daniel Iliev
John Blinka wrote:
> Hi, all,
>
> I'm rebuilding a gentoo box from a disk failure, and everything is working
> (I think) except restoring its ability to act as my local rsync mirror. 
> I've
> followed the instructions in http://www.gentoo.org/doc/en/rsync.xml,
> (and they worked fine, of course, before the disk crash)
> but clients trying to sync with it get this error message:
>
> [EMAIL PROTECTED]:~--> emerge --sync
>   
 Starting rsync with rsync://192.168.1.104/gentoo-portage...
 Checking server timestamp ...
 
> @ERROR: Unknown module 'gentoo-portage'
> rsync error: error starting client-server protocol (code 5) at
> main.c(1296) [rec
> eiver=2.6.8]
>   
 Retrying...
 
>
> The /etc/rsyncd.conf file contains:
>
> # /etc/rsyncd.conf
>
> # Minimal configuration file for rsync daemon
> # See rsync(1) and rsyncd.conf(5) man pages for help
>
> # This line is required by the /etc/init.d/rsyncd script
> pid file = /var/run/rsyncd.pid
> max connections = 5
> use chroot = yes
> uid = nobody
> gid = nobody
>
> # Simple example for enabling your own local rsync server
> #[gentoo-portage]
> path = /usr/portage
> comment = Gentoo Portage
> exclude = distfiles/ packages/
>
> The system log contains only a similar "unknown module" message.
>
> Any ideas about what's going on?
>
> John Blinka
>
>   

Well, if your config is exactly the same as posted here, I think you
should uncomment the line "#[gentoo-portage]" ;-)

-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] syslog-ng facility

2006-11-14 Thread Daniel Iliev
Arnau Bria wrote:
> Hi,
>
> I've installed syslog-ng and I was configuring it.
> I'd like to separate ssh and named logs from messages, so I thought
> each of that services had a "facilty", so I defined them and restarted
> syslog-ng, but it fails saying that it does not know those facilities...
>
> #filter f_named { facility(named); };
> #filter f_sshd { facility(sshd); };
>
> I have testes with named, sshd, bind, ssh...
>
> So, how may I separate this services logs?
> I used metalog and there you can use reg expressions, may I use it here
> too?
>
> Where may I find a list of facilities?
>
>
> Cheers!
>
>   


Yes, you can separate the logs.
Take a look at this example. I think it would be helpful.

http://ben.muppethouse.com/SYSLOG-DOC.html

-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: PAM issues

2006-11-14 Thread Alexander Skwar
Alan McKinnon <[EMAIL PROTECTED]>:

> On Tuesday 14 November 2006 14:04, Alexander Skwar wrote:
>> Alexander Skwar <[EMAIL PROTECTED]>:
>> > Instead, I rebuilt vixie-cron, which helped as well.
>>
>> Hm. I'm now having issues with SSH and sudo as well :(
>>
>> When I try to login with SSH, I find the following in syslog:
>>
>> Nov 14 13:00:30 dewup-ww02 sshd[25175]: error: PAM: Authentication
>> failure for vz6tml from localhost
>>
>> When I do sudo, I get:
>>
>> Nov 14 13:01:50 dewup-ww02 sudo: pam_unix(sudo:auth): authentication
>> failure; logname=vz6tml uid=0 euid=0 tty=pts/40 ruser= rhost= 
>> user=vz6tml
>>
>> /etc/pam.d/sudo is the default file; ie:
> 
> [snip pam file contents]
> 
> I have exactly the same package versions as you and my files are 
> identical to yours, and it works my end. So you don't have a config 
> issue.

Thanks for confirming this.

>> Even after rebuilding openssh (4.5_p1) and sudo (1.6.8_p12-r1), I
>> still cannot use those applications.
> 
> Do they have the pam USE flag set?

Yes, they do.

[ebuild   R   ] app-admin/sudo-1.6.8_p12-r1  USE="-ldap offensive pam 
(-selinux) -skey" 0 kB
[ebuild   R   ] net-misc/openssh-4.5_p1  USE="-X -X509 -chroot hpn -kerberos 
-ldap libedit pam (-selinux) -skey -smartcard -static tcpd" 0 k

> Any clues from revdep-rebuild?
> I take it you did log out and in again,

Yes.

Reboot: No. 

Alexander Skwar
-- 
 "Who would have though hell would really exist? And that it would be in New
Jersey?" -Leela 
"Actually..." - Fry


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] local rsync mirror problem

2006-11-14 Thread John Blinka
Daniel Iliev wrote:
> Well, if your config is exactly the same as posted here, I think you
> should uncomment the line "#[gentoo-portage]" ;-)
>
>   

Sigh  of course, that worked.  Thanks to all who pointed out
the obvious.

John

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] local rsync mirror problem

2006-11-14 Thread John Blinka
Hi, all,

I'm rebuilding a gentoo box from a disk failure, and everything is working
(I think) except restoring its ability to act as my local rsync mirror. 
I've
followed the instructions in http://www.gentoo.org/doc/en/rsync.xml,
(and they worked fine, of course, before the disk crash)
but clients trying to sync with it get this error message:

[EMAIL PROTECTED]:~--> emerge --sync
>>> Starting rsync with rsync://192.168.1.104/gentoo-portage...
>>> Checking server timestamp ...
@ERROR: Unknown module 'gentoo-portage'
rsync error: error starting client-server protocol (code 5) at
main.c(1296) [rec
eiver=2.6.8]
>>> Retrying...

The /etc/rsyncd.conf file contains:

# /etc/rsyncd.conf

# Minimal configuration file for rsync daemon
# See rsync(1) and rsyncd.conf(5) man pages for help

# This line is required by the /etc/init.d/rsyncd script
pid file = /var/run/rsyncd.pid
max connections = 5
use chroot = yes
uid = nobody
gid = nobody

# Simple example for enabling your own local rsync server
#[gentoo-portage]
path = /usr/portage
comment = Gentoo Portage
exclude = distfiles/ packages/

The system log contains only a similar "unknown module" message.

Any ideas about what's going on?

John Blinka

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: PAM issues

2006-11-14 Thread Alan McKinnon
On Tuesday 14 November 2006 15:23, Alexander Skwar wrote:
> > Any clues from revdep-rebuild?
> > I take it you did log out and in again,
>
> Yes.
>
> Reboot: No.

That's worth a try. I know it goes against the grain but at this stage 
what do you have to lose? At least you are guaranteed that every unlink 
really is unlinked. It might just be similar to the weird thing I have 
with every kdelibs update (I use e17 with konsole and konqueror, every 
update changes the on-screen font sizes till I reboot - which always 
fixes it. Yeah, go figure :-)

alan

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] virtual servers/services: which one?

2006-11-14 Thread jarry
Hi,

I would like to implement some sort of "virtual servers"
(mail, www, ftp) on my small gentoo server as a way of
increasing security...

Now the only problem is (so typical for linux :-)
which solution to use, because there are many:

Vserver? 
OpenVZ? 
Xen? 
Maybe VMware?
Or something else, supported by Gentoo?

I do not know them and I do not have time to test them
all, so I would be thankful for any opinion, experiences,
comparison, etc...

Jarry
-- 
"Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Re: PAM issues

2006-11-14 Thread Alexander Skwar
· Alan McKinnon <[EMAIL PROTECTED]>:

> On Tuesday 14 November 2006 15:23, Alexander Skwar wrote:
>> > Any clues from revdep-rebuild?
>> > I take it you did log out and in again,
>>
>> Yes.
>>
>> Reboot: No.
> 
> That's worth a try. I know it goes against the grain but at this stage 
> what do you have to lose?

Rebooting is hard. That's a server, after all. And right now, I downgraded
to Pam 78.

> At least you are guaranteed that every unlink  
> really is unlinked. 

Hm. But why should this do something? I mean, I re-compiled
PAM and sudo now several times. 

Alexander Skwar
-- 
Only someone with nothing to be sorry for smiles back at the rear of an
elephant.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Re: PAM issues

2006-11-14 Thread Lorenzo Marussi




but, with pam-0.99.6.3-r1, have you tried to make a "revdep-rebuild -p -i" ?

Lorenzo Marussi


Il giorno mar, 14/11/2006 alle 17.40 +0100, Alexander Skwar ha scritto:


· Alan McKinnon <[EMAIL PROTECTED]>:

> On Tuesday 14 November 2006 15:23, Alexander Skwar wrote:
>> > Any clues from revdep-rebuild?
>> > I take it you did log out and in again,
>>
>> Yes.
>>
>> Reboot: No.
> 
> That's worth a try. I know it goes against the grain but at this stage 
> what do you have to lose?

Rebooting is hard. That's a server, after all. And right now, I downgraded
to Pam 78.

> At least you are guaranteed that every unlink  
> really is unlinked. 

Hm. But why should this do something? I mean, I re-compiled
PAM and sudo now several times. 

Alexander Skwar
-- 
Only someone with nothing to be sorry for smiles back at the rear of an
elephant.








Re: [gentoo-user] virtual servers/services: which one?

2006-11-14 Thread Lorenzo Marussi




Have you got an Intel Virtualization Technology (Intel VT) - compatible CPU?

Lorenzo Marussi



Il giorno mar, 14/11/2006 alle 15.44 +0100, [EMAIL PROTECTED] ha scritto:


Hi,

I would like to implement some sort of "virtual servers"
(mail, www, ftp) on my small gentoo server as a way of
increasing security...

Now the only problem is (so typical for linux :-)
which solution to use, because there are many:

Vserver? 
OpenVZ? 
Xen? 
Maybe VMware?
Or something else, supported by Gentoo?

I do not know them and I do not have time to test them
all, so I would be thankful for any opinion, experiences,
comparison, etc...

Jarry
-- 
"Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!






Re: [gentoo-user] virtual servers/services: which one?

2006-11-14 Thread Hans de Hartog

[EMAIL PROTECTED] wrote:

Hi,

I would like to implement some sort of "virtual servers"
(mail, www, ftp) on my small gentoo server as a way of
increasing security...

Now the only problem is (so typical for linux :-)
which solution to use, because there are many:

Vserver? 
OpenVZ? 
Xen? 
Maybe VMware?

Or something else, supported by Gentoo?

I do not know them and I do not have time to test them
all, so I would be thankful for any opinion, experiences,
comparison, etc...

Jarry


In order of preference for your purpose:

Openvz, the most lighthweight virtualization.
   One kernel for all systems.
   Virtualization starts with the init process

Xen, real separate kernels.
   Other major Linux distro's possible.
   Only if you want to upgrade a system but need
   to keep the services available.

Vmware, the real stuff. Not needed for your purpose.

All free and supported by Gentoo.

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



[gentoo-user] pet peeve: sending normal output to stderr (env-update)

2006-11-14 Thread David Talkington

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Why on earth does env-update send this:


Regenerating /etc/ld.so.cache...


to stderr instead of stdout?  This makes it very difficult to see only 
abnormal output in a cron job.


I stopped using wget because of precisely that irritation.  I cannot for 
the life of me think of a good reason to do this.


- --
David Talkington

PGP key: http://www.prairienet.org/~dtalk/004B8F8B.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFWgIB5FKhdwBLj4sRAvR+AKCCNDISnN0SQZQTo3Piu3yCEoYP0QCfTZxD
7/sMMrJEkY91a5sw5VR3W5Q=
=ELRL
-END PGP SIGNATURE-
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Basic Vmware setup

2006-11-14 Thread Mark Shields
On 11/11/06, Hans de Hartog <[EMAIL PROTECTED]> wrote:
Hi,Due to circumstances beyond my control I haveto run (once a month) Windows (98 or 2000) :-(I guess that vmware can do the job. In windowsI need internet access with IE and I must beable to print some webpages to a printserver
(gentoo+cups).What to use? Vmware server, workstation orplayer? The descriptions are not clear aboutthe differences.I'm running Linux 2.6.17.13 (vanilla-sources)on i686 Intel(R) Celeron(R) CPU 
2.66GHz with768 Mb and only stable stuff.Thanks in advance!Hans.--gentoo-user@gentoo.org mailing listIf all you're using is IE and printing, you maybe be able to just run IE under wine.  See: ies4linux, 
http://www.tatanka.com.br/ .  There isn't an ebuild for it, but one isn't needed anyways.  The browser functions fine under wine (ie7 works too, but you don't get the fancy interface, just the new engine), but I don't have a printer, so have yet to test printer functionality.
-- - Mark Shields


[gentoo-user] Grub problem. Gentoo doesn't boot. VFS Cannot start...

2006-11-14 Thread Isern Palaus Montasell

Hello all,

This is the first time I install Gentoo Linux. This is my grub.conf file:


default 0
timeout 10
splashimage=(hd0,2)/boot/grub/splash.xpm.gz

title=Gentoo Linux 2.6.18-r2
root (hd0,2)
kernel /boot/kernel-2.6.18-gentoo-r2 root=/dev/hda4

title=Gentoo Linux 2.6.18 (Rescate)
root (hd0,2)
kernel /boot/kernel-2.6.18-gentoo-r2 root=/dev/hda4 init=/bin/bb
boot

#Windows XP Profesional
title=Windows XP Profesional
rootnoverify (hd0,0)
chainloader +1



Windows XP boots well but Gentoo Linux no. Start booting but prints this:


[...]
VFS: Cannot opent root device "hda4" or unknow-block(0,0)
Please append a correct "root=" boot option.
Kernel panic - not syncing: VFS: Unable to mount root fs or 
unknow-block(0,0)

 <6> Time: tsc clocksource has been installed.


I don't know where is the problem, here is my /etc/fstab file configuration:


# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally 
aren't
# needed; notail increases performance of ReiserFS (at the expense of 
storage

# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# 
  


# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda3   /boot   ext2
noauto,noatime  1 2
/dev/hda4   /   ext3
noatime 0 1
/dev/hda7   noneswap
sw  0 0
/dev/cdroms/cdrom0  /mnt/cdrom  iso9660 
noauto,ro   0 0
#/dev/fd0   /mnt/floppy auto
noauto  0 0


# NOTE: The next line is critical for boot!
proc/proc   proc
defaults0 0


# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm /dev/shmtmpfs   
nodev,nosuid,noexec 0 0


/dev/hda1 is a Windows Partition
/dev/hda3 is a Linux Partition for boot
/dev/hda4 is a Linux Partition for root
/dev/hda4 is a Linux Partition for swap.

Thanks in advance and sorry for my school English.

See you,
-- Isern Palaus


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Grub problem. Gentoo doesn't boot. VFS Cannot start...

2006-11-14 Thread Mark Breddemann
Hi,
i don't think that grub is your problem but the kernel config. Ensure
that your (S)ATA-Controller is supported by your kernel

Mark Breddemann

Isern Palaus Montasell wrote:
> Hello all,
>
> This is the first time I install Gentoo Linux. This is my grub.conf file:
>
>> default 0
>> timeout 10
>> splashimage=(hd0,2)/boot/grub/splash.xpm.gz
>>
>> title=Gentoo Linux 2.6.18-r2
>> root (hd0,2)
>> kernel /boot/kernel-2.6.18-gentoo-r2 root=/dev/hda4
>>
>> title=Gentoo Linux 2.6.18 (Rescate)
>> root (hd0,2)
>> kernel /boot/kernel-2.6.18-gentoo-r2 root=/dev/hda4 init=/bin/bb
>> boot
>>
>> #Windows XP Profesional
>> title=Windows XP Profesional
>> rootnoverify (hd0,0)
>> chainloader +1
>
>
> Windows XP boots well but Gentoo Linux no. Start booting but prints this:
>
>> [...]
>> VFS: Cannot opent root device "hda4" or unknow-block(0,0)
>> Please append a correct "root=" boot option.
>> Kernel panic - not syncing: VFS: Unable to mount root fs or
>> unknow-block(0,0)
>>  <6> Time: tsc clocksource has been installed.
>
> I don't know where is the problem, here is my /etc/fstab file
> configuration:
>
>> # /etc/fstab: static file system information.
>> #
>> # noatime turns off atimes for increased performance (atimes normally
>> aren't
>> # needed; notail increases performance of ReiserFS (at the expense of
>> storage
>> # efficiency).  It's safe to drop the noatime options if you want and to
>> # switch between notail / tail freely.
>> #
>> # The root filesystem should have a pass number of either 0 or 1.
>> # All other filesystems should have a pass number of 0 or greater
>> than 1.
>> #
>> # See the manpage fstab(5) for more information.
>> #
>>
>> #
>>   
>>
>> # NOTE: If your BOOT partition is ReiserFS, add the notail option to
>> opts.
>> /dev/hda3   /boot   ext2   
>> noauto,noatime  1 2
>> /dev/hda4   /   ext3   
>> noatime 0 1
>> /dev/hda7   noneswap   
>> sw  0 0
>> /dev/cdroms/cdrom0  /mnt/cdrom  iso9660
>> noauto,ro   0 0
>> #/dev/fd0   /mnt/floppy auto   
>> noauto  0 0
>>
>> # NOTE: The next line is critical for boot!
>> proc/proc   proc   
>> defaults0 0
>>
>> # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
>> # POSIX shared memory (shm_open, shm_unlink).
>> # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
>> #  use almost no memory if not populated with files)
>> shm /dev/shmtmpfs  
>> nodev,nosuid,noexec 0 0
>
> /dev/hda1 is a Windows Partition
> /dev/hda3 is a Linux Partition for boot
> /dev/hda4 is a Linux Partition for root
> /dev/hda4 is a Linux Partition for swap.
>
> Thanks in advance and sorry for my school English.
>
> See you,
> -- Isern Palaus
>
>

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: [OT] printing protocols

2006-11-14 Thread James
Iain Buchanan  netspace.net.au> writes:

> I'm playing around with a new printer at work (Xerox Document Center
> C360).  It's a bit of a monster, but it does have some good features.
> Anyway, I'm wondering what protocol I should use to talk to it? I did a
> port scan and found these ports open:
>   80 http
>  111 sunrpc
>  139 netbios-ssn
>  515 printer
>  631 ipp
> 1025 ?
> 1605 ?


Hello Iain,
ipp (631) gets my vote. You can use cups with ipp and here's some docs, 
should you not be successful via the cups gui interfaces
[1,2]

Here's a simple example I use to get printing up on new systems:
(/etc/cups/printers.conf)


Info LaserJet
DeviceURI socket://192.168.2.3
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0


The gui in cups then picks up the config and you can
use the gui to manage the printer hereafter. The gui
via cups is not fully robust, in my experience. YMMV.

More elaborate configs are often warranted. This simple config
gets the ethernet on a HP laserjet working, very quickly. 
After it initially prints, I usually comb the net for 
support of the advanced features you want/need.

> I've so far tried printing via a samba share on our server, which seems
> to work; and direct using ipp, which worked.

> My question is really what's the difference?  Are some features
> supported better on some protocols? Are some faster / less resource
> intensive?

Dunno if anyone has benchmarked these choices

> I'm using cups and gimp-print to get the driver for it.
> I'd appreciate any info. Thanks!

Here are a few more resources to ponder:


[1] http://www.gentoo.org/doc/en/printing-howto.xml#cups
[2] http://localhost:631/sam.html
[3] http://docs.kde.org/stable/en/kdebase/kdeprint/cups-ipp-support.html
[4] http://linuxprinting.org/printer_list.cgi
[5] http://www.owlfish.com/thoughts/winipp-cups-2003-07-20.html
[6] http://www.cups.org/windows/


hth,

James




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] pet peeve: sending normal output to stderr (env-update)

2006-11-14 Thread Glenn McCarthy
On Wed Nov 15 2006 6:50 am, David Talkington wrote:
> Why on earth does env-update send this:
> >>> Regenerating /etc/ld.so.cache...
>
> to stderr instead of stdout?  This makes it very difficult to see only
> abnormal output in a cron job.
>
> I stopped using wget because of precisely that irritation.  I cannot for
> the life of me think of a good reason to do this.
>
> --
> David Talkington
>
> PGP key: http://www.prairienet.org/~dtalk/004B8F8B.asc
You can redirect stderr to stdout like this.

env-update 2>&1

Glenn McCarthy
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] virtual servers/services: which one?

2006-11-14 Thread Brian Davis

What are these buying the OP over chroot for what he wants to do?

Hans de Hartog wrote:

[EMAIL PROTECTED] wrote:

Hi,

I would like to implement some sort of "virtual servers"
(mail, www, ftp) on my small gentoo server as a way of
increasing security...

Now the only problem is (so typical for linux :-)
which solution to use, because there are many:

Vserver? OpenVZ? Xen? Maybe VMware?
Or something else, supported by Gentoo?

I do not know them and I do not have time to test them
all, so I would be thankful for any opinion, experiences,
comparison, etc...

Jarry


In order of preference for your purpose:

Openvz, the most lighthweight virtualization.
   One kernel for all systems.
   Virtualization starts with the init process

Xen, real separate kernels.
   Other major Linux distro's possible.
   Only if you want to upgrade a system but need
   to keep the services available.

Vmware, the real stuff. Not needed for your purpose.

All free and supported by Gentoo.

Hans.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Grub problem. Gentoo doesn't boot. VFS Cannotstart...

2006-11-14 Thread millerhe1
Sorry for top post but if /dev/hda4. If root can't be swap also check cfdisk 
and if roots not /dev/hda5.
Sent via BlackBerry from Cingular Wireless  

-Original Message-
From: Mark Breddemann <[EMAIL PROTECTED]>
Date: Tue, 14 Nov 2006 20:13:37 
To:gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Grub problem. Gentoo doesn't boot. VFS Cannot
 start...

Hi,
i don't think that grub is your problem but the kernel config. Ensure
that your (S)ATA-Controller is supported by your kernel

Mark Breddemann

Isern Palaus Montasell wrote:
> Hello all,
>
> This is the first time I install Gentoo Linux. This is my grub.conf file:
>
>> default 0
>> timeout 10
>> splashimage=(hd0,2)/boot/grub/splash.xpm.gz
>>
>> title=Gentoo Linux 2.6.18-r2
>> root (hd0,2)
>> kernel /boot/kernel-2.6.18-gentoo-r2 root=/dev/hda4
>>
>> title=Gentoo Linux 2.6.18 (Rescate)
>> root (hd0,2)
>> kernel /boot/kernel-2.6.18-gentoo-r2 root=/dev/hda4 init=/bin/bb
>> boot
>>
>> #Windows XP Profesional
>> title=Windows XP Profesional
>> rootnoverify (hd0,0)
>> chainloader +1
>
>
> Windows XP boots well but Gentoo Linux no. Start booting but prints this:
>
>> [...]
>> VFS: Cannot opent root device "hda4" or unknow-block(0,0)
>> Please append a correct "root=" boot option.
>> Kernel panic - not syncing: VFS: Unable to mount root fs or
>> unknow-block(0,0)
>>  <6> Time: tsc clocksource has been installed.
>
> I don't know where is the problem, here is my /etc/fstab file
> configuration:
>
>> # /etc/fstab: static file system information.
>> #
>> # noatime turns off atimes for increased performance (atimes normally
>> aren't
>> # needed; notail increases performance of ReiserFS (at the expense of
>> storage
>> # efficiency).  It's safe to drop the noatime options if you want and to
>> # switch between notail / tail freely.
>> #
>> # The root filesystem should have a pass number of either 0 or 1.
>> # All other filesystems should have a pass number of 0 or greater
>> than 1.
>> #
>> # See the manpage fstab(5) for more information.
>> #
>>
>> #
>>   
>>
>> # NOTE: If your BOOT partition is ReiserFS, add the notail option to
>> opts.
>> /dev/hda3   /boot   ext2   
>> noauto,noatime  1 2
>> /dev/hda4   /   ext3   
>> noatime 0 1
>> /dev/hda7   noneswap   
>> sw  0 0
>> /dev/cdroms/cdrom0  /mnt/cdrom  iso9660
>> noauto,ro   0 0
>> #/dev/fd0   /mnt/floppy auto   
>> noauto  0 0
>>
>> # NOTE: The next line is critical for boot!
>> proc/proc   proc   
>> defaults0 0
>>
>> # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
>> # POSIX shared memory (shm_open, shm_unlink).
>> # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
>> #  use almost no memory if not populated with files)
>> shm /dev/shmtmpfs  
>> nodev,nosuid,noexec 0 0
>
> /dev/hda1 is a Windows Partition
> /dev/hda3 is a Linux Partition for boot
> /dev/hda4 is a Linux Partition for root
> /dev/hda4 is a Linux Partition for swap.
>
> Thanks in advance and sorry for my school English.
>
> See you,
> -- Isern Palaus
>
>

-- 
gentoo-user@gentoo.org mailing list


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] virtual servers/services: which one?

2006-11-14 Thread Jarry

Brian Davis wrote:

What are these buying the OP over chroot for what he wants to do?


Sometimes chrooting is not so easy. I tried it for
apache + mysql + php + some cgi-scripts, and it did not work.
I have spent over month with it, and still a lot of things
were broken, libraries/links missing, etc.

On the other hand, most of applications should be able to
run on virtual server with none or very little modification.
Maybe that is one point...

I use chroot for bind and ftp, because the support it directly.
But I do not know how to do chroot for mail-server, web-server,
or some game-servers...

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



[gentoo-user] Re: Re: Re: PAM issues

2006-11-14 Thread Alexander Skwar
· Lorenzo Marussi <[EMAIL PROTECTED]>:

> but, with pam-0.99.6.3-r1, have you tried to make a "revdep-rebuild -p
> -i" ?

Oh, right, no, I have not, but I'll do so tomorrow morning. Thanks
for reminding me again!

Alexander Skwar
-- 
"Never laugh at live dragons, Bilbo you fool!" he said to himself, and it became
a favourite saying of his later, and passed into a proverb. "You aren't nearly
through this adventure yet," he added, and that was pretty true as well.
-- Bilbo Baggins, "The Hobbit" by J.R.R. Tolkien, Chapter XII


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] virtual servers/services: which one?

2006-11-14 Thread Alan McKinnon
On Tuesday 14 November 2006 21:08, Jarry wrote:
> Brian Davis wrote:
> > What are these buying the OP over chroot for what he wants to do?
>
> Sometimes chrooting is not so easy. I tried it for
> apache + mysql + php + some cgi-scripts, and it did not work.
> I have spent over month with it, and still a lot of things
> were broken, libraries/links missing, etc.

I feel your pain :-)

Make life easy for yourself, and do what I'm doing to get a proprietary 
app running on glibc-2.5 that was linked against glibc-2.3:

create a full blown chroot with it's own portage tree. I'm adapting the 
32 bit chroot on AMD64 howto to my needs (and keeping an eye on the 
stage 3 install handbook as well). You do this:

mount -o bind the various bogo file systems as per the AMD64 howto, and 
extract a stage 3 tarball into it. Select a minimal profile like 
default-linux/x86/2006.1/server, mask any packages you know you need to 
lock to certain versions and 'emerge apache mysql php'. Let portage 
figure out the libs and stuff, you have better things to do with your 
time.

True, you do end up with 300M more disk space consumed than you would 
like, but weigh that up against the cost of a month of struggling and 
it's a no-brainer.

It turns out to be a lot easier than one would think. I'm almost done 
and it's taken me about three hours. I reckon anyone who knows portage 
well enough to keep a ~arch gentoo box up for three months should 
breeze through it

alan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Semi OT: hotplug / coldplug / udev ...

2006-11-14 Thread Mark Shields
On 11/9/06, Arnau Bria <[EMAIL PROTECTED]> wrote:
Hi,this is a general question about GNU/Linux.I have some doubts about the way hotplug / coldplug / udev work.I mean, some distros do not use hotplug (I'm not sure if it's basicin gentoo) and are able to plug a (
i.e) pendrive and kernel detects it,udev creates its device, someone mounts it, etc...An my question is that. What really happen when you plug a (again,i.e.) pendrive in your computer? Which programs take care in that
process? What about kernel?Sorry if you fell spammed, but I do not find a good guide fordummies :-)Cheers!--Arnau Briahttp://blog.emergetux.net
Wiggum: Dispara a las ruedas Lou.Lou: eee, es un tanque jefe.Wiggum: Me tienes hartito con todas tus excusas.--gentoo-user@gentoo.org mailing list
Ivman is what you want to get the 'automounting' accomplished# esearch ivman[ Results for search key : ivman ][ Applications found : 1 ]*  sys-apps/ivman  Latest version available: 
0.6.12  Latest version installed: 0.6.12  Size of downloaded files: 914 kB  Homepage:    http://ivman.sf.net  Description: Daemon to mount/unmount devices, based on info from HAL
  License: GPL-2 QPLIt works for automounting cds, dvds, and should work for pendrives (although I have yet to get it automounting a pendrive under a user account)-- - Mark Shields


[gentoo-user] python segfault

2006-11-14 Thread Andrey
Hi, guys!I'm emering python and recieving:[ebuild   R   ] dev-lang/python-2.4.3-r4  USE="ssl -berkdb -bootstrap -build -doc -gdbm -ipv6 -ncurses -nocxx -readline -tk -ucs2" 0 kB running build
running build_extdb.h: found (4, 2) in /usr/includedb.h: found (4, 1) in /usr/include/db4.1db lib: using (4, 2) db-4.2INFO: Can't locate Tcl/Tk libs and/or headers running build_scriptsCreating directory /usr/lib/python2.4/config
/bin/install -c -m 644 Modules/config.c /var/tmp/portage/python-2.4.3-r4/image//usr/lib/python2.4/config/config.c/bin/install -c -m 644 Modules/python.o /var/tmp/portage/python- 2.4.3-r4/image//usr/lib/python2.4/config/python.o
/bin/install -c -m 644 ./Modules/config.c.in /var/tmp/portage/python-2.4.3-r4/image//usr/lib/python2.4/config/config.c.in/bin/install -c -m 644 Makefile /var/tmp/portage/python- 2.4.3-r4/image//usr/lib/python2.4/config/Makefile
/bin/install -c -m 644 Modules/Setup /var/tmp/portage/python-2.4.3-r4/image//usr/lib/python2.4/config/Setup/bin/install -c -m 644 Modules/Setup.local /var/tmp/portage/python- 2.4.3-r4/image//usr/lib/python2.4/config/Setup.local
/bin/install -c -m 644 Modules/Setup.config /var/tmp/portage/python-2.4.3-r4/image//usr/lib/python2.4/config/Setup.config/bin/install -c ./Modules/makesetup /var/tmp/portage/python- 2.4.3-r4/image//usr/lib/python2.4/config/makesetup
/bin/install -c ./install-sh /var/tmp/portage/python-2.4.3-r4/image//usr/lib/python2.4/config/install-shLD_LIBRARY_PATH=/var/tmp/portage/python-2.4.3-r4/work/Python- 2.4.3: ./python -E ./setup.py install \--prefix=/usr \
--install-scripts=/usr/bin \--install-platlib=/usr/lib/python2.4/lib-dynload \--root=//var/tmp/portage/python- 2.4.3-r4/image/running installrunning build
running build_extdb.h: found (4, 2) in /usr/includedb.h: found (4, 1) in /usr/include/db4.1db lib: using (4, 2) db-4.2INFO: Can't locate Tcl/Tk libs and/or headers make: *** [sharedinstall] Segmentation fault
!!! ERROR: dev-lang/python-2.4.3-r4 failed.Call stack:  ebuild.sh, line 1546:   Called dyn_install  ebuild.sh, line 1020:   Called src_install  python-2.4.3-r4.ebuild , line 190:   Called die
!!! (no error message)!!! If you need support, post the topmost build error, and the call stack if relevant.Any ideas?


Re: [gentoo-user] Semi OT: hotplug / coldplug / udev ...

2006-11-14 Thread Neil Bothwick
On Tue, 14 Nov 2006 14:45:32 -0500, Mark Shields wrote:

> Ivman is what you want to get the 'automounting' accomplished

Unless you use KDE, which has its own automounting for removable storage.

> It works for automounting cds, dvds, and should work for pendrives
> (although I have yet to get it automounting a pendrive under a user
> account)

Is your user a member of the plugdev group? Automounting won't work
otherwise.


-- 
Neil Bothwick

Bus: (n.) a connector you plug money into, something like a slot machine.


signature.asc
Description: PGP signature


Re: [gentoo-user] Grub problem. Gentoo doesn't boot. VFS Cannot start...

2006-11-14 Thread Jon M

Hi Isern,

I actually have the exact same problem, and someone was kind enough to 
help me so I'll pass on the same info.  Basically my problem was that I 
hadn't enabled the proper IDE Chipset (or SCSI if you use S-ATA) in the 
kernel.  When I booted off my Gentoo install cd, I can 'lspci -v' which 
showed me what type of chipset I was looking for to enable in the 
kernel.  Give that a try and it should solve your problem.


Isern Palaus Montasell wrote:

Hello all,

This is the first time I install Gentoo Linux. This is my grub.conf file:


default 0
timeout 10
splashimage=(hd0,2)/boot/grub/splash.xpm.gz

title=Gentoo Linux 2.6.18-r2
root (hd0,2)
kernel /boot/kernel-2.6.18-gentoo-r2 root=/dev/hda4

title=Gentoo Linux 2.6.18 (Rescate)
root (hd0,2)
kernel /boot/kernel-2.6.18-gentoo-r2 root=/dev/hda4 init=/bin/bb
boot

#Windows XP Profesional
title=Windows XP Profesional
rootnoverify (hd0,0)
chainloader +1



Windows XP boots well but Gentoo Linux no. Start booting but prints this:


[...]
VFS: Cannot opent root device "hda4" or unknow-block(0,0)
Please append a correct "root=" boot option.
Kernel panic - not syncing: VFS: Unable to mount root fs or 
unknow-block(0,0)

 <6> Time: tsc clocksource has been installed.


I don't know where is the problem, here is my /etc/fstab file 
configuration:



# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally 
aren't
# needed; notail increases performance of ReiserFS (at the expense of 
storage

# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# 
  


# NOTE: If your BOOT partition is ReiserFS, add the notail option to 
opts.
/dev/hda3   /boot   ext2
noauto,noatime  1 2
/dev/hda4   /   ext3
noatime 0 1
/dev/hda7   noneswap
sw  0 0
/dev/cdroms/cdrom0  /mnt/cdrom  iso9660 
noauto,ro   0 0
#/dev/fd0   /mnt/floppy auto
noauto  0 0


# NOTE: The next line is critical for boot!
proc/proc   proc
defaults0 0


# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm /dev/shmtmpfs   
nodev,nosuid,noexec 0 0


/dev/hda1 is a Windows Partition
/dev/hda3 is a Linux Partition for boot
/dev/hda4 is a Linux Partition for root
/dev/hda4 is a Linux Partition for swap.

Thanks in advance and sorry for my school English.

See you,
-- Isern Palaus



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] pet peeve: sending normal output to stderr (env-update)

2006-11-14 Thread Richard Fish

On 11/14/06, David Talkington <[EMAIL PROTECTED]> wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Why on earth does env-update send this:

>>> Regenerating /etc/ld.so.cache...


env-update.sh outputs this message with a simple "echo", so no output
to stdout here.  However portage writes most ">>>" messages to stderr.

You can either file a bug report on bugs.gentoo.org to try and get the
behavior changed, or use "emerge ... 2>&1 >/dev/null | grep -v -e '>>>
Regenerating '".  This will send stdout to /dev/null, and stderr to
the pipe where grep can filter out whatever messages annoy you.

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



Re: [gentoo-user] [OT] pet peeve: sending normal output to stderr (env-update)

2006-11-14 Thread Daniel Iliev
Richard Fish wrote:
> On 11/14/06, David Talkington <[EMAIL PROTECTED]> wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>>
>> Why on earth does env-update send this:
>>
>> >>> Regenerating /etc/ld.so.cache...
>
> env-update.sh outputs this message with a simple "echo", so no output
> to stdout here.  However portage writes most ">>>" messages to stderr.
>
> You can either file a bug report on bugs.gentoo.org to try and get the
> behavior changed, or use "emerge ... 2>&1 >/dev/null | grep -v -e '>>>
> Regenerating '".  This will send stdout to /dev/null, and stderr to
> the pipe where grep can filter out whatever messages annoy you.
>
> -Richard


"emerge ... 2>&1 >/dev/null | grep -v -e '>>> Regenerating '"

Isn't '>/dev/null' here by "typing habit" ? I think the right way is:

command 2>&1 | grep...


-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] pet peeve: sending normal output to stderr (env-update)

2006-11-14 Thread Etaoin Shrdlu
On Tuesday 14 November 2006 22:40, Daniel Iliev wrote:

> "emerge ... 2>&1 >/dev/null | grep -v -e '>>> Regenerating '"
>
> Isn't '>/dev/null' here by "typing habit" ? I think the right way is:
>
> command 2>&1 | grep...

Your version does not suppress standard output, Richard's version does 
(I'm not saying that one is better than the other though...).
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] NFS Wont mount

2006-11-14 Thread timothy johnson
Having a little issue with NFSmount 10.250.107.10:/home /mnt/pdc1Homereturnsmount: 10.250.107.10:/home failed, reason given by server: Permission denied/etc/exports/home   (no_root_squash,rw)
/var/log/messagesNov 14 05:51:32 MOSSPDC1 rpc.mountd: refused mount request from 10.250.108.10 for /home (/): not exportedThe only thing special about this box is its a PDC using Samba/LDAP, the client the I am trying to mount the export on is able to mount exports from other machines, just not this one.



Re: [gentoo-user] NFS Wont mount

2006-11-14 Thread Flophouse Joe

On Tue, 14 Nov 2006, timothy johnson wrote:


Having a little issue with NFS

mount 10.250.107.10:/home /mnt/pdc1Home
returns
mount: 10.250.107.10:/home failed, reason given by server: Permission denied

/etc/exports
/home   (no_root_squash,rw)


Try explicitly listing the IP address of the host(s) that need to be
able to mount this filesystem.  man exports(5) will give you the
details, but you'd probably want something like the following:

/etc/exports:
/home   192.168.1.100(no_root_squash,rw)

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



Re: [gentoo-user] [OT] pet peeve: sending normal output to stderr (env-update)

2006-11-14 Thread Daniel Iliev
Etaoin Shrdlu wrote:
> On Tuesday 14 November 2006 22:40, Daniel Iliev wrote:
>
>   
>> "emerge ... 2>&1 >/dev/null | grep -v -e '>>> Regenerating '"
>>
>> Isn't '>/dev/null' here by "typing habit" ? I think the right way is:
>>
>> command 2>&1 | grep...
>> 
>
> Your version does not suppress standard output, Richard's version does 
> (I'm not saying that one is better than the other though...).
>   

Ooops! My mistake. Sorry.

It is written "command 2>&1 >/dev/null" but I read "command >/dev/null 2>&1"


Richard is right (as usual) :)


-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: NFS Wont mount

2006-11-14 Thread Regis Decamps

timothy johnson wrote:

Having a little issue with NFS

mount 10.250.107.10:/home /mnt/pdc1Home
returns
mount: 10.250.107.10:/home failed, reason given by server: Permission 
denied


/etc/exports
/home   (no_root_squash,rw)



Stupid question: What about /etc/host.allow and /etc/host.deny ?
--
Régis

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] LDAP + Samba as PDC

2006-11-14 Thread Joshua Schmidlkofer

Hi Cameron,

thanks for the reply. Unfortunately, all the reg hacks I found
didn't work. If I find one that does, I'll post it here. :)

Regards,

Raphael



This sounds exactly like you do not have the nsswitch.conf environment
correct on your Linux box.   Are you using Winbind or nss_ldap?  Once
you verify that, does getent find the user/workstation?   Are you
using nscd?


Sincerely,
 Joshua
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] NFS Wont mount

2006-11-14 Thread timothy johnson
Joe, I have tried this and got the same resultsOn 11/14/06, Flophouse Joe <[EMAIL PROTECTED]
> wrote:On Tue, 14 Nov 2006, timothy johnson wrote:> Having a little issue with NFS
>> mount 10.250.107.10:/home /mnt/pdc1Home> returns> mount: 10.250.107.10:/home failed, reason given by server: Permission denied>> /etc/exports> /home   (no_root_squash,rw)
Try explicitly listing the IP address of the host(s) that need to beable to mount this filesystem.  man exports(5) will give you thedetails, but you'd probably want something like the following:/etc/exports:
/home   192.168.1.100(no_root_squash,rw)Joe--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Re: NFS Wont mount

2006-11-14 Thread timothy johnson
Regis, I dont have anything in those files, nor do I on the NFS server that lets me mountOn 11/14/06, Regis Decamps <
[EMAIL PROTECTED]> wrote:timothy johnson wrote:> Having a little issue with NFS
>> mount 10.250.107.10:/home /mnt/pdc1Home> returns> mount: 10.250.107.10:/home failed, reason given by server: Permission> denied>> /etc/exports> /home   (no_root_squash,rw)
>Stupid question: What about /etc/host.allow and /etc/host.deny ?--Régis--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] NFS Wont mount

2006-11-14 Thread Flophouse Joe

On Tue, 14 Nov 2006, timothy johnson wrote:


Joe, I have tried this and got the same results

On 11/14/06, Flophouse Joe <[EMAIL PROTECTED]>
wrote:


 On Tue, 14 Nov 2006, timothy johnson wrote:

>  mount 10.250.107.10:/home /mnt/pdc1Home
>  returns
>  mount: 10.250.107.10:/home failed, reason given by server: Permission
 denied
> 
>  /etc/exports

>  /home   (no_root_squash,rw)

 Try explicitly listing the IP address of the host(s) that need to be
 able to mount this filesystem.  man exports(5) will give you the
 details, but you'd probably want something like the following:

 /etc/exports:
 /home   192.168.1.100(no_root_squash,rw)


I'm going out on a limb here, but it's worth asking if the spacing in
/etc/exports is "sane".  It's notoriously easy to misconfigure NFS due
to an errant space, as whitespace is significant in exports(5).

/home   192.168.1.100(no_root_squash,rw)

means something very different from

/home   192.168.1.100 (no_root_squash,rw)

So, is it possible that there's a misplaced space, anywhere on the line?

You might also get a "sanity check" with the command exportfs(8).  This
will parse your /etc/exports as NFS sees it and report back to you how
NFS interprets it.

If those don't turn up any leads, then I don't immediately have any
ideas that spring out.

If you're going into sanity check mode, it never hurts to temporarily 
throw out your firewall rulesets on each machine (but I don't really see 
how that could be an issue in this case).


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



Re: [gentoo-user] python segfault

2006-11-14 Thread Bo Ørsted Andresen
On Tuesday 14 November 2006 21:09, Andrey wrote:
> Hi, guys!
> I'm emering python and recieving:
> [ebuild R ] dev-lang/python-2.4.3-r4 USE="ssl -berkdb -bootstrap -build
> -doc -gdbm -ipv6 -ncurses -nocxx -readline -tk -ucs2" 0 kB
> 
[SNIP]
> db.h: found (4, 2) in /usr/include
> db.h: found (4, 1) in /usr/include/db4.1
> db lib: using (4, 2) db-4.2
> INFO: Can't locate Tcl/Tk libs and/or headers
> make: *** [sharedinstall] Segmentation fault
>
> !!! ERROR: dev-lang/python-2.4.3-r4 failed.
[SNIP]
> Any ideas?

So what are your CFLAGS? Please just provide the output of:

# emerge --info

-- 
Bo Andresen


pgp7XiCHw6rsw.pgp
Description: PGP signature


Re: [gentoo-user] Problems getting started with vmware

2006-11-14 Thread Walter Dnes
On Mon, Nov 13, 2006 at 11:23:14PM -0500, Brett I. Holcomb wrote
> It is free however, you still need a license number. Go to their
> site and get one.

  Do I really have to give all that personal info to create an account
to get a licence which *MIGHT* run OS/2?  May as well buy Parallels,
instead.

-- 
Walter Dnes <[EMAIL PROTECTED]> In linux /sbin/init is Job #1
My musings on technology and security at http://techsec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] How do I get KDE to start on boot?

2006-11-14 Thread Daevid Vincent
This seems like a newb question. I've been using my Gentoo for a few years
now, and since X/KDE/Gnome/etc. never seemed to be quite stable, I always
booted into command lines and then manually 'startx' JICSH.

But I find myself almost always doing that these days, so I suppose it's
time to make the plunge so that X starts when I boot up. I'm still a bit
worried about hibernation (which I don't have working anyways - yet), I
recall there were issues with nvidia and suspending to HD/RAM if you were in
X. That could be old news?

Anyways, I can't get this to work. When I boot up, the screen is BLACK. Not
just back-lit black, but like there's no power black. If I CTRL+ALT+1, I get
to a shell prompt.

Here are some interesting areas:

*  kde-base/kde
  Latest version available: 3.5.5
  Latest version installed: 3.5.5

locutus ~ # ll /etc/X11/Sessions/   
total 28
drwxr-xr-x  2 root root 4096 Nov 14 16:01 .
drwxr-xr-x 21 root root 4096 Oct 23 18:02 ..
-rwxr-xr-x  1 root root 2464 Nov  8 17:31 Gnome
-rwxr-xr-x  1 root root 2187 Oct 23 16:56 Xsession
-rwxr-xr-x  1 root root   33 Apr 26  2006 icewm
-rwxr-xr-x  1 root root   41 Nov  8 16:19 kde-3.5
-rwxr-xr-x  1 root root   29 Aug 20  2004 xfce

locutus ~ # cat /etc/inittab 
...
# Default runlevel.
id:5:initdefault:
# That was '3' before and I thought I remembered it was supposed to be '5'
?!

locutus daevid # cat /home/daevid/.xinitrc 
exec startkde

locutus daevid # cat /etc/rc.conf 
XSESSION="kde-3.5"
DISPLAYMANAGER="kdm"

locutus daevid # rc-update show
...
 xdm |  default   
...


ÐÆ5ÏÐ 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How do I get KDE to start on boot?

2006-11-14 Thread Craig Michael Wayman
Hi,

This is what I use to start kde on boot.

I let the xdm startup script launch kdm for me.

localhost ~ # cat /etc/conf.d/xdm
# Tell X to always start on VT7. Otherwise it autodetects the first available
# VT, which means it has to wait until all gettys are started so it doesn't 
suck
# up a VT that should have had a login prompt (very slow).
# If XSTATICVT is on, the login manager will start as soon as possible during
# the boot process. If you want X to dynamically start on the first unoccupied
# VT after all gettys have started and you are using xdm, also remove 
the "vt7"
# from /etc/X11/xdm/Xservers.
XSTATICVT="yes"

# What display manager do you use ?  [ xdm | gdm | kdm | entrance ]
# NOTE: If this is set in /etc/rc.conf, that setting will override this one.
DISPLAYMANAGER="kdm"

The XSESSION variable in /etc/rc.conf is commented.

I then have xdm start in the default runlevel.

localhost ~ # rc-update show default
...
 xdm | default

to add use 'rc-update add xdm default' as root

localhost ~ # rc-update add xdm default

I also have this session script in /etc/X11/Sessions:

localhost ~ # cat /etc/X11/Sessions/kde-3.5
#!/bin/sh
exec /usr/kde/3.5/bin/startkde

Hope this helps,
Craig

PS. My First Post To This List! Hello Everyone!

On Wednesday 15 November 2006 00:32, Daevid Vincent wrote:
> This seems like a newb question. I've been using my Gentoo for a few years
> now, and since X/KDE/Gnome/etc. never seemed to be quite stable, I always
> booted into command lines and then manually 'startx' JICSH.
>
> But I find myself almost always doing that these days, so I suppose it's
> time to make the plunge so that X starts when I boot up. I'm still a bit
> worried about hibernation (which I don't have working anyways - yet), I
> recall there were issues with nvidia and suspending to HD/RAM if you were
> in X. That could be old news?
>
> Anyways, I can't get this to work. When I boot up, the screen is BLACK. Not
> just back-lit black, but like there's no power black. If I CTRL+ALT+1, I
> get to a shell prompt.
>
> Here are some interesting areas:
>
> *  kde-base/kde
>   Latest version available: 3.5.5
>   Latest version installed: 3.5.5
>
> locutus ~ # ll /etc/X11/Sessions/
> total 28
> drwxr-xr-x  2 root root 4096 Nov 14 16:01 .
> drwxr-xr-x 21 root root 4096 Oct 23 18:02 ..
> -rwxr-xr-x  1 root root 2464 Nov  8 17:31 Gnome
> -rwxr-xr-x  1 root root 2187 Oct 23 16:56 Xsession
> -rwxr-xr-x  1 root root   33 Apr 26  2006 icewm
> -rwxr-xr-x  1 root root   41 Nov  8 16:19 kde-3.5
> -rwxr-xr-x  1 root root   29 Aug 20  2004 xfce
>
> locutus ~ # cat /etc/inittab
> ...
> # Default runlevel.
> id:5:initdefault:
> # That was '3' before and I thought I remembered it was supposed to be '5'
> ?!
>
> locutus daevid # cat /home/daevid/.xinitrc
> exec startkde
>
> locutus daevid # cat /etc/rc.conf
> XSESSION="kde-3.5"
> DISPLAYMANAGER="kdm"
>
> locutus daevid # rc-update show
>   ...
>  xdm |  default
>   ...
>
>
> ÐÆ5ÏÐ

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How do I get KDE to start on boot?

2006-11-14 Thread Neil Bothwick
On Tue, 14 Nov 2006 16:32:10 -0800, Daevid Vincent wrote:

> # Default runlevel.
> id:5:initdefault:
> # That was '3' before and I thought I remembered it was supposed to be
> '5' ?!

It should be 3. The Red Hat derived distros use runlevel 5 for a
graphical boot, Gentoo uses level 3 and controls which services start with
its softlevels.


-- 
Neil Bothwick

Beware of the opinion of someone without any facts.


signature.asc
Description: PGP signature


Re: [gentoo-user] python segfault

2006-11-14 Thread Mike Ferry
Andrey wrote:
> Hi, guys!
> I'm emering python and recieving:
> [ebuild R ] dev-lang/python-2.4.3-r4 USE="ssl -berkdb -bootstrap -build
> -doc
> -gdbm -ipv6 -ncurses -nocxx -readline -tk -ucs2" 0 kB
> 
> running build
> running build_ext
> db.h: found (4, 2) in /usr/include
> db.h: found (4, 1) in /usr/include/db4.1
> db lib: using (4, 2) db-4.2
> INFO: Can't locate Tcl/Tk libs and/or headers
> running build_scripts
> Creating directory /usr/lib/python2.4/config
> /bin/install -c -m 644 Modules/config.c /var/tmp/portage/python-2.4.3-r4
> /image//usr/lib/python2.4/config/config.c
> /bin/install -c -m 644 Modules/python.o /var/tmp/portage/python- 2.4.3-r4
> /image//usr/lib/python2.4/config/python.o
> /bin/install -c -m 644 ./Modules/config.c.in /var/tmp/portage/python-
> 2.4.3-r4/image//usr/lib/python2.4/config/config.c.in
> /bin/install -c -m 644 Makefile /var/tmp/portage/python- 2.4.3-r4
> /image//usr/lib/python2.4/config/Makefile
> /bin/install -c -m 644 Modules/Setup /var/tmp/portage/python-2.4.3-r4
> /image//usr/lib/python2.4/config/Setup
> /bin/install -c -m 644 Modules/Setup.local /var/tmp/portage/python-
> 2.4.3-r4
> /image//usr/lib/python2.4/config/Setup.local
> /bin/install -c -m 644 Modules/Setup.config
> /var/tmp/portage/python-2.4.3-r4
> /image//usr/lib/python2.4/config/Setup.config
> /bin/install -c ./Modules/makesetup /var/tmp/portage/python- 2.4.3-r4
> /image//usr/lib/python2.4/config/makesetup
> /bin/install -c ./install-sh /var/tmp/portage/python-2.4.3-r4
> /image//usr/lib/python2.4/config/install-sh
> LD_LIBRARY_PATH=/var/tmp/portage/python-2.4.3-r4/work/Python- 2.4.3:
> ./python -E ./setup.py install \
> --prefix=/usr \
> --install-scripts=/usr/bin \
> --install-platlib=/usr/lib/python2.4/lib-dynload \
> --root=//var/tmp/portage/python- 2.4.3-r4/image/
> running install
> running build
> running build_ext
> db.h: found (4, 2) in /usr/include
> db.h: found (4, 1) in /usr/include/db4.1
> db lib: using (4, 2) db-4.2
> INFO: Can't locate Tcl/Tk libs and/or headers
> make: *** [sharedinstall] Segmentation fault
> 
> !!! ERROR: dev-lang/python-2.4.3-r4 failed.
> Call stack:
> ebuild.sh, line 1546: Called dyn_install
> ebuild.sh, line 1020: Called src_install
> python-2.4.3-r4.ebuild , line 190: Called die
> 
> !!! (no error message)
> !!! If you need support, post the topmost build error, and the call
> stack if
> relevant.
> 
> Any ideas?
> 

Try enabling the tk use flag:

euse -E tk

Then install dev-lang/tk and dev-lang/python:

emerge -Dva dev-lang/tk dev-lang/python
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problems getting started with vmware

2006-11-14 Thread Norman Rieß

Walter Dnes schrieb:

On Mon, Nov 13, 2006 at 11:23:14PM -0500, Brett I. Holcomb wrote
  

It is free however, you still need a license number. Go to their
site and get one.



  Do I really have to give all that personal info to create an account
to get a licence which *MIGHT* run OS/2?  May as well buy Parallels,
instead.

  

No, you can uninstall vmware, too.
--
gentoo-user@gentoo.org mailing list



[gentoo-user] sshd issues

2006-11-14 Thread Jon M

Hey all,

I've been using other distributions for a while (CentOS, Slackware, Red 
Hat, etc) and finally switching to Gentoo, however this oddness with SSH 
is getting to me.  It seems when I SSH into my machine it uses "keyboard 
interative" mode, where as I'm used to every other distro using just 
"password" mode I think it is.  I'm wondering if there is any way to 
change this.  I tried comparing /etc/ssh/ssh_config between my CentOS 
machine and my Gentoo machine, and both files are pretty much the same, 
and everything is commented out anyway.


Any light someone could shed on this would be much appreciated.  Thanks 
in advance!

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Grub problem. Gentoo doesn't boot. VFS Cannot start...

2006-11-14 Thread Greg Morin
I second this one. Exact same problem initially. Someone here helped - ensure the necessary drivers are compiled into the kernel (not modules). It took me several trials to get the right driver. Once I got the right one, life got better.
GpmOn 11/14/06, Jon M <[EMAIL PROTECTED]> wrote:
Hi Isern,I actually have the exact same problem, and someone was kind enough tohelp me so I'll pass on the same info.  Basically my problem was that Ihadn't enabled the proper IDE Chipset (or SCSI if you use S-ATA) in the
kernel.  When I booted off my Gentoo install cd, I can 'lspci -v' whichshowed me what type of chipset I was looking for to enable in thekernel.  Give that a try and it should solve your problem.Isern Palaus Montasell wrote:
> Hello all,>> This is the first time I install Gentoo Linux. This is my grub.conf file:>>> default 0>> timeout 10>> splashimage=(hd0,2)/boot/grub/splash.xpm.gz
 title=Gentoo Linux 2.6.18-r2>> root (hd0,2)>> kernel /boot/kernel-2.6.18-gentoo-r2 root=/dev/hda4 title=Gentoo Linux 2.6.18 (Rescate)>> root (hd0,2)
>> kernel /boot/kernel-2.6.18-gentoo-r2 root=/dev/hda4 init=/bin/bb>> boot #Windows XP Profesional>> title=Windows XP Profesional>> rootnoverify (hd0,0)>> chainloader +1
>>> Windows XP boots well but Gentoo Linux no. Start booting but prints this:>>> [...]>> VFS: Cannot opent root device "hda4" or unknow-block(0,0)>> Please append a correct "root=" boot option.
>> Kernel panic - not syncing: VFS: Unable to mount root fs or>> unknow-block(0,0)>>  <6> Time: tsc clocksource has been installed.>> I don't know where is the problem, here is my /etc/fstab file
> configuration:>>> # /etc/fstab: static file system information.>> #>> # noatime turns off atimes for increased performance (atimes normally>> aren't>> # needed; notail increases performance of ReiserFS (at the expense of
>> storage>> # efficiency).  It's safe to drop the noatime options if you want and to>> # switch between notail / tail freely.>> #>> # The root filesystem should have a pass number of either 0 or 1.
>> # All other filesystems should have a pass number of 0 or greater than 1.>> #>> # See the manpage fstab(5) for more information.>> # #   
>>    # NOTE: If your BOOT partition is ReiserFS, add the notail option to>> opts.>> /dev/hda3   /boot   ext2
>> noauto,noatime  1 2>> /dev/hda4   /   ext3>> noatime 0 1>> /dev/hda7   noneswap>> sw  0 0>> /dev/cdroms/cdrom0  /mnt/cdrom  iso9660
>> noauto,ro   0 0>> #/dev/fd0   /mnt/floppy auto>> noauto  0 0 # NOTE: The next line is critical for boot!>> proc/proc   proc
>> defaults0 0 # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for>> # POSIX shared memory (shm_open, shm_unlink).>> # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
>> #  use almost no memory if not populated with files)>> shm /dev/shmtmpfs>> nodev,nosuid,noexec 0 0>> /dev/hda1 is a Windows Partition> /dev/hda3 is a Linux Partition for boot
> /dev/hda4 is a Linux Partition for root> /dev/hda4 is a Linux Partition for swap.>> Thanks in advance and sorry for my school English.>> See you,> -- Isern Palaus>
>--gentoo-user@gentoo.org mailing list-- GpmThe Morins of Plantsville


RE: [gentoo-user] sshd issues

2006-11-14 Thread Daevid Vincent
Change/Add this:

PasswordAuthentication yes

In /etc/ssh/sshd_config

DÆVID  

> -Original Message-
> From: Jon M [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, November 14, 2006 6:04 PM
> To: gentoo-user@lists.gentoo.org
> Subject: [gentoo-user] sshd issues
> 
> Hey all,
> 
> I've been using other distributions for a while (CentOS, 
> Slackware, Red 
> Hat, etc) and finally switching to Gentoo, however this 
> oddness with SSH 
> is getting to me.  It seems when I SSH into my machine it 
> uses "keyboard 
> interative" mode, where as I'm used to every other distro using just 
> "password" mode I think it is.  I'm wondering if there is any way to 
> change this.  I tried comparing /etc/ssh/ssh_config between my CentOS 
> machine and my Gentoo machine, and both files are pretty much 
> the same, 
> and everything is commented out anyway.
> 
> Any light someone could shed on this would be much 
> appreciated.  Thanks 
> in advance!
> -- 
> gentoo-user@gentoo.org mailing list
> 
> 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sshd issues

2006-11-14 Thread Jon M

Hi Daevid,

I tried playing around with some options in there and didn't seem to do 
much, but not sure if I tried changing that specifically.  I do have a 
question though..  My ssh_config looks something along the lines of this:


#  Host *
#PasswordAuthentication yes

My question is, should they actually have # symbols in front as if 
they're commented out?  My gut is telling me no..


Thanks again


Daevid Vincent wrote:

Change/Add this:

PasswordAuthentication yes

In /etc/ssh/sshd_config

DÆVID  


-Original Message-
From: Jon M [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 14, 2006 6:04 PM

To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] sshd issues

Hey all,

I've been using other distributions for a while (CentOS, 
Slackware, Red 
Hat, etc) and finally switching to Gentoo, however this 
oddness with SSH 
is getting to me.  It seems when I SSH into my machine it 
uses "keyboard 
interative" mode, where as I'm used to every other distro using just 
"password" mode I think it is.  I'm wondering if there is any way to 
change this.  I tried comparing /etc/ssh/ssh_config between my CentOS 
machine and my Gentoo machine, and both files are pretty much 
the same, 
and everything is commented out anyway.


Any light someone could shed on this would be much 
appreciated.  Thanks 
in advance!

--
gentoo-user@gentoo.org mailing list






--
gentoo-user@gentoo.org mailing list



Re: Re: [gentoo-user] sshd issues

2006-11-14 Thread brettholcomb
I think that tells you that this is the default setting if you don't change it.

> 
> From: Jon M <[EMAIL PROTECTED]>
> Date: 2006/11/14 Tue PM 09:35:13 EST
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] sshd issues
> 
> Hi Daevid,
> 
> I tried playing around with some options in there and didn't seem to do 
> much, but not sure if I tried changing that specifically.  I do have a 
> question though..  My ssh_config looks something along the lines of this:
> 
> #  Host *
> #PasswordAuthentication yes
> 
> My question is, should they actually have # symbols in front as if 
> they're commented out?  My gut is telling me no..
> 
> Thanks again
> 
> 
> Daevid Vincent wrote:
> > Change/Add this:
> > 
> > PasswordAuthentication yes
> > 
> > In /etc/ssh/sshd_config
> > 
> > DÆVID  
> > 
> >> -Original Message-
> >> From: Jon M [mailto:[EMAIL PROTECTED] 
> >> Sent: Tuesday, November 14, 2006 6:04 PM
> >> To: gentoo-user@lists.gentoo.org
> >> Subject: [gentoo-user] sshd issues
> >>
> >> Hey all,
> >>
> >> I've been using other distributions for a while (CentOS, 
> >> Slackware, Red 
> >> Hat, etc) and finally switching to Gentoo, however this 
> >> oddness with SSH 
> >> is getting to me.  It seems when I SSH into my machine it 
> >> uses "keyboard 
> >> interative" mode, where as I'm used to every other distro using just 
> >> "password" mode I think it is.  I'm wondering if there is any way to 
> >> change this.  I tried comparing /etc/ssh/ssh_config between my CentOS 
> >> machine and my Gentoo machine, and both files are pretty much 
> >> the same, 
> >> and everything is commented out anyway.
> >>
> >> Any light someone could shed on this would be much 
> >> appreciated.  Thanks 
> >> in advance!
> >> -- 
> >> gentoo-user@gentoo.org mailing list
> >>
> >>
> > 
> > 
> -- 
> gentoo-user@gentoo.org mailing list
> 
> 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sshd issues

2006-11-14 Thread Jon M

Ohh okay that makes sense.

For everyones information, I got it to work properly.  First of all, I'm 
an idiot and was edited /etc/ssh/ssh_config, not /etc/ssh/sshD_config :P


Secondly, I had to enable PasswordAuthentication yes as well as 
ChallengeResponseAuthentication no


This works perfectly now.  Thanks again everyone, sorry for wasting your 
time.


[EMAIL PROTECTED] wrote:

I think that tells you that this is the default setting if you don't change it.


From: Jon M <[EMAIL PROTECTED]>
Date: 2006/11/14 Tue PM 09:35:13 EST
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] sshd issues

Hi Daevid,

I tried playing around with some options in there and didn't seem to do 
much, but not sure if I tried changing that specifically.  I do have a 
question though..  My ssh_config looks something along the lines of this:


#  Host *
#PasswordAuthentication yes

My question is, should they actually have # symbols in front as if 
they're commented out?  My gut is telling me no..


Thanks again


Daevid Vincent wrote:

Change/Add this:

PasswordAuthentication yes

In /etc/ssh/sshd_config

DÆVID  


-Original Message-
From: Jon M [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 14, 2006 6:04 PM

To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] sshd issues

Hey all,

I've been using other distributions for a while (CentOS, 
Slackware, Red 
Hat, etc) and finally switching to Gentoo, however this 
oddness with SSH 
is getting to me.  It seems when I SSH into my machine it 
uses "keyboard 
interative" mode, where as I'm used to every other distro using just 
"password" mode I think it is.  I'm wondering if there is any way to 
change this.  I tried comparing /etc/ssh/ssh_config between my CentOS 
machine and my Gentoo machine, and both files are pretty much 
the same, 
and everything is commented out anyway.


Any light someone could shed on this would be much 
appreciated.  Thanks 
in advance!

--
gentoo-user@gentoo.org mailing list





--
gentoo-user@gentoo.org mailing list





--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How do I get KDE to start on boot?

2006-11-14 Thread Philip Webb
061114 Daevid Vincent wrote:
> I've been using my Gentoo for a few years
> and since X/KDE/Gnome/etc never seemed to be quite stable,
> I always booted into command lines and then manually 'startx' JICSH.

This is what I've been doing for  > 3 years  quite happily.
It seems more in the true spirit of Gentoo (smile).

> But I find myself almost always doing that these days,
> so I suppose it's time to make the plunge so that X starts when I boot up.

Well, Gentoo is also about choice, so do it your way,
but very occasionally there is a need to do things outside X
& your previous & my own continuing approach preserves that option.

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban & Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How do I get KDE to start on boot?

2006-11-14 Thread Richard Fish

On 11/14/06, Daevid Vincent <[EMAIL PROTECTED]> wrote:

This seems like a newb question. I've been using my Gentoo for a few years
now, and since X/KDE/Gnome/etc. never seemed to be quite stable, I always
booted into command lines and then manually 'startx' JICSH.

But I find myself almost always doing that these days, so I suppose it's
time to make the plunge so that X starts when I boot up. I'm still a bit
worried about hibernation (which I don't have working anyways - yet), I
recall there were issues with nvidia and suspending to HD/RAM if you were in
X. That could be old news?


For me, suspend-to-ram works better from X than from a console, using
the proprietary drivers.  In fact if I suspend from a console, the
graphics card will fail to resume correctly.

Suspend-to-disk may or may not work better for you from X.  Neither of
my systems are working with STD currently...


Anyways, I can't get this to work. When I boot up, the screen is BLACK. Not
just back-lit black, but like there's no power black. If I CTRL+ALT+1, I get
to a shell prompt.


Hmm, is this a laptop?  X/Nvidia can sometimes decide to drive only
the external video instead of the LCD, which appears as the symptoms
you describe.  I guess this could also happen on a desktop if the
graphics card has multiple outputs.

Anyway, on the console, run "ps auwx | grep X" and make sure that X is
running.  Also check /var/log/kdm.log and /var/log/Xorg.0.log for
error messages.

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



Re: [gentoo-user] Re: [OT] printing protocols

2006-11-14 Thread Iain Buchanan
Thanks for the replies.  it appears the reason acroread didn't see the
ipp printer is because... *ahem* ... I had deleted it :)

Now that it's back again, acroread can see it fine.

Thanks for the links James - it looks like IPP is the way to go.

Alan - I usually use evince, but I have been having some printing issues
with it lately, as well as performance issues (it crashes a lot!) But I
think I've solved those now, so I'll go back to it an emerge -C
acroread!

thanks!
-- 
Iain Buchanan 

Honesty is for the most part less profitable than dishonesty.
-- Plato

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ipw3945 and 128 bit WEP encryption

2006-11-14 Thread Ryan Tandy

Peter Kelly wrote:

Yes, the daemon is running.  It starts when you modprobe ipw3945.


Are you sure about that?  It doesn't do that for me.  Try a 'ps ax | 
grep ipw'.  In addition to the kernel daemons [ipw3945/0] and 
[ipw3945/1], there should be an instance of the userspace daemon 
/sbin/ipw3945d, which for me is not started except through 
/etc/init.d/ipw3945d.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] NFS Wont mount

2006-11-14 Thread Alan McKinnon
On Wednesday 15 November 2006 00:06, timothy johnson wrote:
> Having a little issue with NFS
>
> mount 10.250.107.10:/home /mnt/pdc1Home
> returns
> mount: 10.250.107.10:/home failed, reason given by server: Permission
> denied
>
> /etc/exports
> /home   (no_root_squash,rw)
>
> /var/log/messages
> Nov 14 05:51:32 MOSSPDC1 rpc.mountd: refused mount request from
> 10.250.108.10 for /home (/): not exported
>
> The only thing special about this box is its a PDC using Samba/LDAP,
> the client the I am trying to mount the export on is able to mount
> exports from other machines, just not this one.

Perhaps you have omitted to do the 'exportfs -ra' step on the server. 
Even if the entry is in /etc/exports, it's not actually exported till 
you run that command. 

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