[gentoo-user] Device not accepting address, error -110 and others

2010-07-13 Thread Leandro Melo de Sales
Hi list,
   since I updated to some of new linux kernels versions, I started
to experimenting many problems with my usb devices / hub, which makes
my computer works in a very strange manner. Researching on this
direction on the web, I noticed that many people have the same/similar
problem as mine, where always linux kernel kprints the following
message to the dmesg output using this template: usb X-X: device not
accepting address XX, error -XXX.
   Are kernel developers, mainly the usb team, aware of this problem?
What should I have to do to find a solution for my case? This is
happening with my laptop. I need to know if this could be a hardware
problem, because my laptop is still under guarantee and if it is a
hardware problem, I will contact the seller.
    Please, any suggestion/tip will be greatfully accepted. Thank you!

Kernel version:
# uname -r
2.6.32-23 x86_64

Example of dmes output:

[ 2029.790225] usb 7-1: new full speed USB device using uhci_hcd and address 10
[ 2044.910100] usb 7-1: device descriptor read/64, error -110
[ 2060.140082] usb 7-1: device descriptor read/64, error -110
[ 2060.370101] usb 7-1: new full speed USB device using uhci_hcd and address 11
[ 2075.492621] usb 7-1: device descriptor read/64, error -110
[ 2090.720082] usb 7-1: device descriptor read/64, error -110
[ 2090.950089] usb 7-1: new full speed USB device using uhci_hcd and address 12
[ 2101.370344] usb 7-1: device not accepting address 12, error -110
[ 2101.490132] usb 7-1: new full speed USB device using uhci_hcd and address 13
[ 2111.910085] usb 7-1: device not accepting address 13, error -110
[ 2111.910123] hub 7-0:1.0: unable to enumerate USB device on port 1
[ 2112.034915] usb 7-2: new full speed USB device using uhci_hcd and address 14
[ 2127.150161] usb 7-2: device descriptor read/64, error -110
[ 2142.380160] usb 7-2: device descriptor read/64, error -110
[ 2142.610230] usb 7-2: new full speed USB device using uhci_hcd and address 15
[ 2157.730188] usb 7-2: device descriptor read/64, error -110

lspci output:


00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory
Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series
Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset
Integrated Graphics Controller (rev 07)
00:03.0 Communication controller: Intel Corporation Mobile 4 Series
Chipset MEI Controller (rev 07)
00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network
Connection (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB
UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB
UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB
UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2
EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio
Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
Port 1 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
Port 3 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB
UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB
UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB
UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2
EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M-E LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI
Controller (rev 03)
01:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100
03:0b.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
03:0b.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04)
03:0b.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro
Host Adapter (rev 21)
03:0b.4 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host
Adapter (rev 11)
03:0b.5 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 11)

lspci -vvv output for usb hubs:

00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB
UHCI Controller #1 (rev 03)
       Subsystem: Toshiba America Info Systems Device 0001
       Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
       Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium TAbort-
TAbort- MAbort- SERR- PERR- INTx-
       Latency: 0
       Interrupt: pin A routed to IRQ 23
       Region 4: I/O ports at cf00 [size=32]
       Capabilities: [50] PCIe advanced features ?
       Kernel driver in use: uhci_hcd

00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB
UHCI Controller #2 (rev 03)
       Subsystem: Toshiba 

[gentoo-user] emerge: A file listed in the Manifest could not be found

2007-06-28 Thread Leandro Melo de Sales

Hi,

  I tried to emerge the latest portage version and I got it:

# emerge -uvDN portage

Emerging (1 of 31) sys-apps/portage-2.1.2.7 to /

!!! A file listed in the Manifest could not be found:
/usr/portage/sys-apps/portage/portage-2.1.3_rc6.ebuild
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] emerge: A file listed in the Manifest could not be found

2007-06-28 Thread Leandro Melo de Sales

Good! I'm in the Linux Symposium, tomorrow in the Gentoo BoF, I will
report that situation. I'm resync now...

2007/6/29, Randy Barlow [EMAIL PROTECTED]:

Leandro Melo de Sales wrote:
   I tried to emerge the latest portage version and I got it:

 # emerge -uvDN portage
 Emerging (1 of 31) sys-apps/portage-2.1.2.7 to /
 !!! A file listed in the Manifest could not be found:
 /usr/portage/sys-apps/portage/portage-2.1.3_rc6.ebuild

I've had this happen before twice, and both times re-syncing fixed the
problem, so try that out!

--
Randy Barlow
http://electronsweatshop.com

But you are a chosen race, a royal priesthood, a holy nation, a people
for his own possession, that you may proclaim the excellencies of him
who called you out of darkness into his marvelous light. Once you were
not a people, but now you are God's people; once you had not received
mercy, but now you have received mercy. ~1 Peter 2:9-10

--
[EMAIL PROTECTED] mailing list





--
Leandro Melo de Sales.
Pervasive and Embedded Computing Laboratory
http://embedded.ufcg.edu.br/
+55 083 3310-1404 (extension 208)

There are 10 types of people in this world: those who understand
binary, those who don't
--
[EMAIL PROTECTED] mailing list



[gentoo-user] Python version 2.5

2007-02-26 Thread Leandro Melo de Sales

Hi list,

I need to install python version 2.5, which in portage it is in hard
testing masked. If I install it anyway, is this mean problem to my
gentoo installation?

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



Re: [gentoo-user] off topic : Dolphin massacre in Japan

2007-02-22 Thread Leandro Melo de Sales

His arrogance is a desperation signal. He, in fact, knows and are
conscient of his mistake and because of a lack of justification to
give due to what he did, he act like this.
  I suggest to ignore such users and do what Neil said: wait for this
user need to use the list for its write propose and just ignore him.
In this way, he'll learn the real propose of this list. It would be
more sensible if this user realize (since the first reply, from
Nelson) that he made a mistake. In this way we would gain time instand
of discuss something not productive. In fact, dolphin massacre is
something not human, but it is also something not discussed here.

Leandro

2007/2/22, Neil Bothwick [EMAIL PROTECTED]:

On Thu, 22 Feb 2007 20:20:28 +0200, Aggelos wrote:

 I really don't care if consider the above as spam or not or watever, for
 this list or for any list. I am subscribed to this list so I posted it
 here.

What outstanding arrogance!

This list is primarily a vehicle for peer support. You total disregard
for the intent of the list and the wishes of other subscribers may well
come back to bite you the next time you need to use the list for its true
purpose.


--
Neil Bothwick

Keep your words soft and sweet in case you have to eat them.



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] off topic : Dolphin massacre in Japan

2007-02-22 Thread Leandro Melo de Sales

... for its **right** propose ...

2007/2/22, Leandro Melo de Sales [EMAIL PROTECTED]:

His arrogance is a desperation signal. He, in fact, knows and are
conscient of his mistake and because of a lack of justification to
give due to what he did, he act like this.
   I suggest to ignore such users and do what Neil said: wait for this
user need to use the list for its write propose and just ignore him.
In this way, he'll learn the real propose of this list. It would be
more sensible if this user realize (since the first reply, from
Nelson) that he made a mistake. In this way we would gain time instand
of discuss something not productive. In fact, dolphin massacre is
something not human, but it is also something not discussed here.

Leandro

2007/2/22, Neil Bothwick [EMAIL PROTECTED]:
 On Thu, 22 Feb 2007 20:20:28 +0200, Aggelos wrote:

  I really don't care if consider the above as spam or not or watever, for
  this list or for any list. I am subscribed to this list so I posted it
  here.

 What outstanding arrogance!

 This list is primarily a vehicle for peer support. You total disregard
 for the intent of the list and the wishes of other subscribers may well
 come back to bite you the next time you need to use the list for its true
 purpose.


 --
 Neil Bothwick

 Keep your words soft and sweet in case you have to eat them.






--
Leandro Melo de Sales.
Computer Science MSc Candidate
Pervasive Computing Lab - embedded.ufcg.edu.br
Center of Electrical Engineering and Informatics at Federal University
of Campina Grande - UFCG / Brazil
083 33101404 (extension 208)

O guerreiro é forte em lealdade, intensidade, determinação,
iniciativa, persistência, coragem e força de vontade. O guerreiro é
leve em sua calma, autoconfiança e compaixão. O guerreiro é
freqüentemente chamado para tomar a frente quando outros covardemente
dão um passo atrás. Guerreiros existem nos campos de batalha e na vida
cotidiana.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Network works OK internally but can't access Internet - very frustrated

2007-02-02 Thread Leandro Melo de Sales

If you just did emerge --sync, the problem that you have was not
caused by this command. Do you have your dns configuration correct?
please check you /etc/resolv.conf file. Does your DHCP server send
nameserver to the client?

2007/2/3, Richard Watson [EMAIL PROTECTED]:



Hi - After a last emerge --sync I've been having trouble accessing the
internet. My network interface comes up OK. I receive an address for the
DHCP server (i.e. eth1 received address 192.168.0.7/24) and I can see and
access my Intranet webpage on 192.168.0.xx and copy files to and from
various machines.

However if trying to access the Internet I keep getting unknown host when
pinging sites I know will respond. My machine dual boots into XP and runs
fine.

I've checked the Gentoo handbook and config files and confirmed my network
config files look OK (they seem to). Can anyone offer any suggestions?

Thanks, Richard




--
Leandro Melo de Sales.
Computer Science MSc Candidate
Pervasive Computing Lab - embedded.ufcg.edu.br
Center of Electrical Engineering and Informatics at Federal University
of Campina Grande - UFCG / Brazil
083 33101404 (extension 208)

O guerreiro é forte em lealdade, intensidade, determinação,
iniciativa, persistência, coragem e força de vontade. O guerreiro é
leve em sua calma, autoconfiança e compaixão. O guerreiro é
freqüentemente chamado para tomar a frente quando outros covardemente
dão um passo atrás. Guerreiros existem nos campos de batalha e na vida
cotidiana.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Php and Mysql 5 dependency

2007-01-25 Thread Leandro Melo de Sales

Hi list,

  I have PHP 5 installed and now I want to enable a new option for
this package (xsl option of /etc/portage/package.use), but when I type
emerge php emerge tell me that dev-db/mysql is blocking
mysql-community. It seems that emerge wants to install mysql5 (I have
mysql 4.0 installed and I don't want to install the new mysql
version).
  How can I enable xsl option without have to install mysql 5?

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



[gentoo-user] Re: Php and Mysql 5 dependency

2007-01-25 Thread Leandro Melo de Sales

# emerge -vp php

[blocks B ] dev-db/mysql (is blocking dev-db/mysql-community-5.0.27-r1)
[ebuild  N] dev-db/mysql-community-5.0.27-r1  USE=berkdb perl ssl
-big-tables -cluster -debug -embedded -extraengine -latin1
-max-idx-128 -minimal (-selinux) -static 25,261 kB
[ebuild  N] virtual/mysql-5.0  0 kB
[ebuild U ] dev-lang/php-5.1.6-r8 [5.1.6-r6] USE=apache2 berkdb
bzip2 calendar cli crypt ctype curl gd gdbm hash iconv imap kerberos
ldap mhash mysql ncurses nls pcre posix postgres readline reflection
sasl session spell spl sqlite ssl truetype unicode xml xmlreader xsl*
zip zlib (-adabas) -apache -bcmath (-birdstep) -cdb -cgi -cjk
-concurrentmodphp -curlwrappers -db2 -dbase (-dbmaker) -debug
-discard-path -doc (-empress) (-empress-bcs) (-esoob) -exif -fastbuild
(-fdftk) (-filepro) -firebird -flatfile -force-cgi-redirect
(-frontbase) -ftp -gd-external -gmp -hardenedphp -hyperwave-api
(-informix) -inifile -interbase -iodbc -ipv6 -java-external -libedit
-mcve -memlimit -ming -msql -mssql -mysqli -oci8
(-oci8-instant-client) -odbc -pcntl -pdo -pdo-external -pic -qdbm
-recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -sockets
(-solid) (-sybase) (-sybase-ct) -sysvipc -threads -tidy -tokenizer
-vm-goto -vm-switch -wddx -xmlrpc -xmlwriter -xpm -yaz 25 kB

2007/1/25, Leandro Melo de Sales [EMAIL PROTECTED]:

Hi list,

   I have PHP 5 installed and now I want to enable a new option for
this package (xsl option of /etc/portage/package.use), but when I type
emerge php emerge tell me that dev-db/mysql is blocking
mysql-community. It seems that emerge wants to install mysql5 (I have
mysql 4.0 installed and I don't want to install the new mysql
version).
   How can I enable xsl option without have to install mysql 5?

Leandro




--
Leandro Melo de Sales.
Computer Science MSc Candidate
Pervasive Computing Lab - embedded.ufcg.edu.br
Center of Electrical Engineering and Informatics at Federal University
of Campina Grande - UFCG / Brazil
083 33101404 (extension 208)

O guerreiro é forte em lealdade, intensidade, determinação,
iniciativa, persistência, coragem e força de vontade. O guerreiro é
leve em sua calma, autoconfiança e compaixão. O guerreiro é
freqüentemente chamado para tomar a frente quando outros covardemente
dão um passo atrás. Guerreiros existem nos campos de batalha e na vida
cotidiana.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Static ip address

2006-12-13 Thread Leandro Melo de Sales

Era o que eu ia te dizer agora! :p Eu tive esse mesmo problema. Se liga, é
tu que outro dia encontrei aqui na lista e que faz computação na UFCG?

2006/12/13, Felipe Ribeiro [EMAIL PROTECTED]:


On 12/13/06, Uwe Thiem [EMAIL PROTECTED] wrote:
 On 13 December 2006 17:38, Felipe Ribeiro wrote:

  i tried this, but still doesn't work
 
  modules=(ifconfig)

 Why do you insist on ifconfig? /etc/conf.d/net.example clearly indicates
 that iproute2 is the default - for good reason.

  config_eth0=(192.168.254.2)

 Try:

 config_eth0=( 192.168.254.2/24 )

 /24 tells the system to use the first 24 bits of the IP address as the
 network part and the remaining 8 bits as the host part. Simply a shorter
 notation than the netmask 255.255.255.0.

  routes_eth0=(default via 192.168.254.254)
  dns_servers_eth0=(192.168.254.254)

 Uwe

 --
 Mark Twain: I rather decline two drinks than a German adjective.
 http://www.SysEx.com.na
 --
 gentoo-user@gentoo.org mailing list



With iproute2 it worked! Thanks everybody!

[ ]s
--
Felipe Ribeiro
[EMAIL PROTECTED]
83 9979-3161
--
gentoo-user@gentoo.org mailing list





--
Leandro Melo de Sales.
Computer Science MSc Candidate
Pervasive Computing Lab - embedded.ufcg.edu.br
Federal University of Campina Grande - UFCG / Brazil
083 33101404 (extension 208)


[gentoo-user] ifconfig - SIOCSIFFLAGS: Cannot assign requested address

2006-12-11 Thread Leandro Melo de Sales

Hi list,

# ifconfig eth0:0 192.168.1.3
SIOCSIFADDR: File exists
SIOCSIFFLAGS: Cannot assign requested address

My /etc/conf.d/net is correct:

config_eth0=( 192.168.1.2 netmask 255.255.255.0
 192.168.1.3 netmask 255.255.255.0
 192.168.1.6 netmask 255.255.255.0
)
routes_eth0=( default gw 192.168.1.1 )

When I start /etc/init.d/net.eth0 (which is a sym link to net.lo) everything
seems to be ok, but when I type ifconfig I can see just eth0 interface. So,
I tried to execute the ifconfig command listen above but I got that error.
What is wrong?

Thank you,

Leandro


Re: [gentoo-user] ifconfig - SIOCSIFFLAGS: Cannot assign requested address

2006-12-11 Thread Leandro Melo de Sales

Hi Jerry, but the fact is that eth0 (the first ip, 192.168.1.2) is up...

Any other clue?

Leandro

2006/12/11, Jerry McBride [EMAIL PROTECTED]:


On Monday 11 December 2006 12:34, Leandro Melo de Sales wrote:
 Hi list,

 # ifconfig eth0:0 192.168.1.3
 SIOCSIFADDR: File exists
 SIOCSIFFLAGS: Cannot assign requested address

 My /etc/conf.d/net is correct:

 config_eth0=( 192.168.1.2 netmask 255.255.255.0
   192.168.1.3 netmask 255.255.255.0
   192.168.1.6 netmask 255.255.255.0
 )
 routes_eth0=( default gw 192.168.1.1 )

 When I start /etc/init.d/net.eth0 (which is a sym link to net.lo)
 everything seems to be ok, but when I type ifconfig I can see just eth0
 interface. So, I tried to execute the ifconfig command listen above but
I
 got that error. What is wrong?

 Thank you,

 Leandro

Normally this means you haven't loaded the required nic driver or have
loaded
the wrong one...

The lspci tool is your friend, if you need help figuring out which nic
driver
you need.

--

--

Jerry McBride
--
gentoo-user@gentoo.org mailing list




Re: [gentoo-user] ifconfig - SIOCSIFFLAGS: Cannot assign requested address

2006-12-11 Thread Leandro Melo de Sales

Well, I solve the problem as follows:

config_eth0=( 192.168.1.2 netmask 255.255.255.0
   192.168.1.3 netmask 255.255.255.0 label eth0:1
   192.168.1.6 netmask 255.255.255.0 label eth0:2
)

... and I think that ifconfig can assign more than one ip for a net
interface.

Thanks for all replies.
Leandro

2006/12/11, Mike Williams [EMAIL PROTECTED]:


On Monday 11 December 2006 17:34, Leandro Melo de Sales wrote:
 # ifconfig eth0:0 192.168.1.3
 SIOCSIFADDR: File exists
 SIOCSIFFLAGS: Cannot assign requested address

 My /etc/conf.d/net is correct:

 config_eth0=( 192.168.1.2 netmask 255.255.255.0
 192.168.1.3 netmask 255.255.255.0
 192.168.1.6 netmask 255.255.255.0
 )
 routes_eth0=( default gw 192.168.1.1 )

 When I start /etc/init.d/net.eth0 (which is a sym link to net.lo)
 everything seems to be ok, but when I type ifconfig I can see just eth0
 interface. So, I tried to execute the ifconfig command listen above but
I
 got that error. What is wrong?

You executed the ifconfig command above.

# ip addr list dev eth0

ifconfig can't assign multiple addresses to one interface, but iproute2
can.

--
Mike Williams

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation of openoffice in 4 hours or more?! :s

2006-12-06 Thread Leandro Melo de Sales

Good! I did it! :) Thanks!

2006/12/5, Hemmann, Volker Armin [EMAIL PROTECTED]:

Hi,

if you don't use openoffice a lot, it is not worth to compile it. Just use the
binary package. It will take some seconds more to start, but once it runs,
there is hardly any difference.
--
gentoo-user@gentoo.org mailing list





--
Leandro Melo de Sales.
Computer Science MSc Candidate
Pervasive Computing Lab - embedded.ufcg.edu.br
Federal University of Campina Grande - UFCG / Brazil
083 33101404 (extension 208)

O guerreiro é forte em lealdade, intensidade, determinação,
iniciativa, persistência, coragem e força de vontade. O guerreiro é
leve em sua calma, autoconfiança e compaixão. O guerreiro é
freqüentemente chamado para tomar a frente quando outros covardemente
dão um passo atrás. Guerreiros existem nos campos de batalha e na vida
cotidiana.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation of openoffice in 4 hours or more?! :s

2006-12-06 Thread Leandro Melo de Sales

Good explanation Alan, thanks! :)

2006/12/6, Alan McKinnon [EMAIL PROTECTED]:

On Wednesday 06 December 2006 00:03, Leandro Melo de Sales wrote:
 Can you please tell me the propose of screen?

 Thank you,

 Leandro

screen does many functions, but the most useful is probably being able
to disconnect and reconnect sessions. Here's a very simple explanation:

Imagine you have a session running in an xterm or on a vc. It's running
bash, and the output displays on the terminal. Normally, there is no
way you can log out, leave programs running in the background and come
back later to find everything just how you left it. There is nohup, but
what that puts the job in the background and it stays there - you can't
get it back onto a terminal and have to let it run, then look inside
nohup.out to see the result.

We use screen extensively here, I often start a bash session on the work
server, then log out and go home. From home I log back into the server,
reconnect screen and my full session is there just as I left it.

Behind the scenes, programs normally run attached to bash, which is
attached to a terminal and that's the way it stays. With screen,
programs are launched from bash, which is attached to a screen process.
The magic is that you can attached that screen process to whatever
terminal you like, and disconnect and reconnect them at will.

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



--
gentoo-user@gentoo.org mailing list



[gentoo-user] Installation of openoffice in 4 hours or more?! :s

2006-12-05 Thread Leandro Melo de Sales

Hi,

 # date
 Tue Dec  5 10:12:01 BRT 2006
 # emerge openoffice
 { in other terminal }
 # date
 Tue Dec  5 15:24:01 BRT 2006

and portage continues to compile openoffice, it didn't finished yet.
Is it so slow or there are something wrong? My machine is a P4 (with
HyperThreading enabled), 512Mb.

Thanks,

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



Re: [gentoo-user] Installation of openoffice in 4 hours or more?! :s

2006-12-05 Thread Leandro Melo de Sales

OK. The problem is that I typed emerge openoffice in a xterm. Is it
possible to turn X off and continue compilation on console?

Leandro

2006/12/5, Richard Fish [EMAIL PROTECTED]:

On 12/5/06, Daniel da Veiga [EMAIL PROTECTED] wrote:
 On 12/5/06, Leandro Melo de Sales [EMAIL PROTECTED] wrote:
  Hi,
 
# date
Tue Dec  5 10:12:01 BRT 2006
# emerge openoffice
{ in other terminal }
# date
Tue Dec  5 15:24:01 BRT 2006
 
  and portage continues to compile openoffice, it didn't finished yet.
  Is it so slow or there are something wrong? My machine is a P4 (with
  HyperThreading enabled), 512Mb.
 

 You may expect something between 5 and 10 hours of compilation...

/home/rjf  genlop -t openoffice
 * app-office/openoffice

 Mon Nov 13 01:35:33 2006  app-office/openoffice-2.0.4
   merge time: 2 hours, 39 minutes and 34 seconds.

 Fri Nov 17 05:21:32 2006  app-office/openoffice-2.0.4
   merge time: 2 hours, 33 minutes and 31 seconds.

That's on an Athlon X2 4400+ with 2GB of RAM, with MAKEOPTS=-j2 and
WANT_MP=true in the environment.  (Hmm, I should time this on my Core
Duo laptop also...)

But yeah, on a single-core P4 with 512MB, I'd expect on the order of
5-10 hours too.  You might want to shutdown memory-consuming apps
(like X!) while the compile is running.
--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation of openoffice in 4 hours or more?! :s

2006-12-05 Thread Leandro Melo de Sales

Ok... thanks Michael and Neil, I didn't know that compiling openoffice
take to many times. For next big emerges I'll do what you suggested.

Leandro

2006/12/5, Michael Sullivan [EMAIL PROTECTED]:

On Tue, 2006-12-05 at 16:46 -0300, Leandro Melo de Sales wrote:
 OK. The problem is that I typed emerge openoffice in a xterm. Is it
 possible to turn X off and continue compilation on console?

 Leandro

If you can get to your non-X console (Control+Alt+F1) and from there
issue /etc/init.d/xdm stop.  I'm not quite sure what would heppen to the
progress you've made, since it's in an xterm.  You should probably do
big emerges like that in a screen...

--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation of openoffice in 4 hours or more?! :s

2006-12-05 Thread Leandro Melo de Sales

Can you please tell me the propose of screen?

Thank you,

Leandro

2006/12/5, Neil Bothwick [EMAIL PROTECTED]:

On Tue, 05 Dec 2006 22:35:55 +, b.n. wrote:

 Why is using screen so recommended? I never used it, but I'd like to
 know about.

It's just so useful, give it a try.

There are two types of people in the world, those who thing screen is the
best thing since sliced bread and those who have never used it. I can't
recall ever reading a comment like I tried screen but didn't like it.


--
Neil Bothwick

-- random quotes




--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SegFault while compiling gcc 4.1.1

2006-11-23 Thread Leandro Melo de Sales

Thank you, I'll read it.

[]s
Leandro

2006/11/23, Etaoin Shrdlu [EMAIL PROTECTED]:

On Thursday 23 November 2006 14:39, Leandro Melo de Sales wrote:

 Hi,

  I'm trying to compile GCC 4.1.1-r1 but I got the following error
 message:
[cut]
 'main': /var/tmp/portage/gcc-4.1.1-r1/work/gcc-4.1.1/gcc/gcc.c:8043:
 internal compiler error: Segmentation fault
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See URL:http://bugs.gentoo.org/ for instructions.
 The bug is not reproducible, so it is likely a hardware or OS problem.
   ^

As the message says, you might have a hardware problem (usually bad RAM
or CPU). With this kind of errors, before submitting any bug reports,
try reemerging gcc: if it works, or breaks again but in another point
with the same error, it's very likely that the problem lies in your
hardware. There is a good article by Daniel Robbins which explains how
to troubleshoot such errors.

http://www.gentoo.org/doc/en/articles/hardware-stability-p1.xml
--
gentoo-user@gentoo.org mailing list


--
gentoo-user@gentoo.org mailing list



[gentoo-user] Nscd dies without reason

2006-11-16 Thread Leandro Melo de Sales

Hi,

 my system is configured to have a ldap based authentication. I put
bind_policy soft on /etc/ldap.conf file, so I need nscd running, but
after about 5 seconds that I start nscd, it dies. Why? I check log
files but I can't see any additional information. I prefer to use
bind_policy hard, but at the boot time the system hangs.
 Any suggestion?

Thank you,

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



[gentoo-user] firefox + macromedia flash plugin - I can't hear the sound

2006-11-10 Thread Leandro Melo de Sales

Hi,

 I have firefox 1.5 and macromedia flash plugin, but flash animation
with sound, the sound is not played, any clue?

Thank you,

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



[gentoo-user] Cups and USB

2006-10-31 Thread Leandro Melo de Sales

Hi,

 I installed cups and my printer is recognized by the kernel
(usblp.ko module), but when I try to add a new printer, cups doesn't
show usb option, why? How to solve this?

Thanks,

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



Re: [gentoo-user] Cups and USB

2006-10-31 Thread Leandro Melo de Sales

But there is no usb USE option for cups:

# equery u cups
[ Searching for packages matching cups... ]
[ Colour Code : set unset ]
[ Legend: Left column  (U) - USE flags from make.conf
  ]
[  : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for net-print/cups-1.2.4 ]
U I
+ - X : Adds support for X11
+ - dbus  : Enable dbus support for anything that needs it (gpsd,
gnomemeeting, etc)
+ + jpeg  : Adds JPEG image support
+ + nls   : Adds Native Language Support (using gettext - GNU locale utilities)
+ + pam   : Adds support PAM (Pluggable Authentication Modules) -
DANGEROUS to arbitrarily flip
+ + php   : Include support for php
+ + png   : Adds support for libpng (PNG images)
- - ppds  : Adds support for automatically generated ppd (printing
driver) files
+ + samba : Adds support for SAMBA (Windows File and Printer sharing)
+ + slp   : Adds Service Locator Protocol support
+ + ssl   : Adds support for Secure Socket Layer connections
+ + tiff  : Adds support for the tiff image format

... any other clue?

Leandro.

2006/10/31, Arnau Bria [EMAIL PROTECTED]:

On Tue, 31 Oct 2006 10:00:23 -0300
Leandro Melo de Sales wrote:

 Hi,

   I installed cups and my printer is recognized by the kernel
 (usblp.ko module), but when I try to add a new printer, cups doesn't
 show usb option, why? How to solve this?
add USE  usb:
usb Adds USB support to applications that have optional USB support (e.g. 
cups)

http://www.gentoo.org/dyn/use-index.xml
 Thanks,
 Leandro.

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



--
gentoo-user@gentoo.org mailing list



[gentoo-user] Qt installation error

2006-10-31 Thread Leandro Melo de Sales

Hi list,

I'm trying to install QT but I got the following error:


Emerging (1 of 3) x11-libs/qt-3.3.6-r4 to /

* qt-x11-free-3.3.6.tar.bz2 MD5 ;-) ...

   [ ok ]
* qt-x11-free-3.3.6.tar.bz2 RMD160 ;-) ...

   [ ok ]
* qt-x11-free-3.3.6.tar.bz2 SHA1 ;-) ...

   [ ok ]
* qt-x11-free-3.3.6.tar.bz2 SHA256 ;-) ...

   [ ok ]
* qt-x11-free-3.3.6.tar.bz2 size ;-) ...

   [ ok ]
* checking ebuild checksums ;-) ...

   [ ok ]
* checking auxfile checksums ;-) ...

   [ ok ]
* checking miscfile checksums ;-) ...

   [ ok ]
* checking qt-x11-free-3.3.6.tar.bz2 ;-) ...

   [ ok ]

Unpacking source...
Unpacking qt-x11-free-3.3.6.tar.bz2 to /var/tmp/portage/qt-3.3.6-r4/work

* Applying qt-3.3.6-uic-fix.patch ...

   [ ok ]
* Applying 0001-dnd_optimization.patch ...

   [ ok ]
* Applying 0002-dnd_active_window_fix.patch ...

   [ ok ]
* Applying 0038-dragobject-dont-prefer-unknown.patch ...

   [ ok ]
* Applying 0044-qscrollview-windowactivate-fix.diff ...

   [ ok ]
* Applying 0047-fix-kmenu-widget.diff ...

   [ ok ]
* Applying 0048-qclipboard_hack_80072.patch ...

   [ ok ]
* Applying qt-ulibc.patch ...

   [ ok ]
* Applying qt-3.3.6-CVE-2006-4811-bis.patch ...

(...)

XRandR auto-detection... (-L/usr/lib64 -L/usr/lib64/mysql -I/usr/include/mysql)
 Could not find XRandR lib anywhere in  /usr/lib64 /usr/lib64/mysql
/usr/X11R6/lib64 /usr/shlib /usr/lib /lib
XRandR disabled.
XRender auto-detection... (-L/usr/lib64 -L/usr/lib64/mysql -I/usr/include/mysql)
 Found XRender lib in /usr/lib64
 Could not find X11/extensions/Xrender.h anywhere in
/usr/include/mysql /usr/X11R6/include /usr/include /include
XRender disabled.
XRender support cannot be enabled due to functionality tests!
Turn on verbose messaging (-v) to ./configure to see the final report.
If you believe this message is in error you may use the continue
switch (-continue) to ./configure to continue.

!!! ERROR: x11-libs/qt-3.3.6-r4 failed.
Call stack:
 ebuild.sh, line 1546:   Called dyn_compile
 ebuild.sh, line 937:   Called src_compile
 qt-3.3.6-r4.ebuild, line 201:   Called die


Any clue?

--
Leandro Melo de Sales.
Computer Science MSc Candidate
Distributed System Lab - lsd.ufcg.edu.br
Pervasive Computing Lab - embedded.ufcg.edu.br
Federal University of Campina Grande - UFCG / Brazil
083 33101404 (extension 208)

O guerreiro é forte em lealdade, intensidade, determinação,
iniciativa, persistência, coragem e força de vontade. O guerreiro é
leve em sua calma, autoconfiança e compaixão. O guerreiro é
freqüentemente chamado para tomar a frente quando outros covardemente
dão um passo atrás. Guerreiros existem nos campos de batalha e na vida
cotidiana.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Qt installation error

2006-10-31 Thread Leandro Melo de Sales

OK. I tried to reemerge the packages you suggested but I got other error:


Emerging (1 of 2) x11-libs/libXrandr-1.1.1 to /

* libXrandr-1.1.1.tar.bz2 MD5 ;-) ...[ ok ]
* libXrandr-1.1.1.tar.bz2 RMD160 ;-) ... [ ok ]
* libXrandr-1.1.1.tar.bz2 SHA1 ;-) ...   [ ok ]
* libXrandr-1.1.1.tar.bz2 SHA256 ;-) ... [ ok ]
* libXrandr-1.1.1.tar.bz2 size ;-) ...   [ ok ]
* checking ebuild checksums ;-) ...  [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ...[ ok ]
* checking libXrandr-1.1.1.tar.bz2 ;-) ...   [ ok ]

Unpacking source...
Unpacking libXrandr-1.1.1.tar.bz2 to /var/tmp/portage/libXrandr-1.1.1/work

* Running elibtoolize in: libXrandr-1.1.1
*   Applying portage-1.5.10.patch ...
*   Applying max_cmd_len-1.5.20.patch ...
*   Applying sed-1.5.6.patch ...

(...)

checking for X... yes
checking for RANDR... configure: error: Package requirements
(randrproto = 1.1 xext xextproto xrender renderproto) were not met:

No package 'xrender' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables RANDR_CFLAGS
and RANDR_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/libXrandr-1.1.1/work/libXrandr-1.1.1/config.log

!!! ERROR: x11-libs/libXrandr-1.1.1 failed.
Call stack:
 ebuild.sh, line 1546:   Called dyn_compile
 ebuild.sh, line 937:   Called src_compile
 ebuild.sh, line 1255:   Called x-modular_src_compile
 x-modular.eclass, line 332:   Called x-modular_src_configure
 x-modular.eclass, line 319:   Called econf '--prefix=/usr'
'--datadir=/usr/share'
 ebuild.sh, line 540:   Called die


Any new clue?

Leandro

2006/10/31, Andrey [EMAIL PROTECTED]:


 XRandR auto-detection... (-L/usr/lib64 -L/usr/lib64/mysql
 -I/usr/include/mysql) Could not find XRandR lib anywhere in  /usr/lib64
 /usr/lib64/mysql /usr/X11R6/lib64 /usr/shlib /usr/lib /lib
 XRandR disabled.
 XRender auto-detection... (-L/usr/lib64 -L/usr/lib64/mysql
 -I/usr/include/mysql) Found XRender lib in /usr/lib64
   Could not find X11/extensions/Xrender.h anywhere in
 /usr/include/mysql /usr/X11R6/include /usr/include /include
 XRender disabled.
 XRender support cannot be enabled due to functionality tests!
  Turn on verbose messaging (-v) to ./configure to see the final report.
  If you believe this message is in error you may use the continue
  switch (-continue) to ./configure to continue.

 !!! ERROR: x11-libs/qt-3.3.6-r4 failed.
 Call stack:
   ebuild.sh, line 1546:   Called dyn_compile
   ebuild.sh, line 937:   Called src_compile
   qt-3.3.6-r4.ebuild, line 201:   Called die


 Any clue?

Check your link /usr/X11R6 - ../usr
Pehaps, you've fogotten copy files from /usr/X11R6/... to /usr before making
link.
And some libraries have lost.
Try to reemerge: libXrandr libXrender.
--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: GStreamer volume control problem!

2006-10-30 Thread Leandro Melo de Sales

Hi.

 In order to document this problem, I solve it installing
media-plugins/gst-plugins-alsa package. Thanks anyway.

[]s
Leandro

2006/10/30, Leandro Melo de Sales [EMAIL PROTECTED]:

Hi list...

   I configured alsa system and it detected my sound card. Alsamixer
can control the volume as well as aumix, but GStreamer (gnome) volume
control say No volume control GStreamer plugins and/or devices
found.. How do I solve this?

Any clue/suggestion will be greatfully accepted.

Thank you,

Leandro.


--
gentoo-user@gentoo.org mailing list



[gentoo-user] Usb sound and ALSA

2006-10-30 Thread Leandro Melo de Sales

Hi list...

  I have an usb sound system from Gradiente company (an eletronic
device factory) and I plugged it on my system. dmesg command shows
this:

   input: Gradiente AS-M5X0 as /class/input/input3
   input: USB HID v1.00 Device [Gradiente AS-M5X0] on usb-:00:1d.1-1

  But when I play a mp3 media the sound is not forwarded to my usb
device, instand, the sound is still played through my integrated
laptop device.
  On windows I use it without problem. So, what do I have to do to
forward the sound to my usb device?

[]s
Leandro.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Usb sound and ALSA

2006-10-30 Thread Leandro Melo de Sales

Hi... The device is configured and I type cat xxx  /dev/sound/dsp1
and I got an strange sound, but this prove that the device was
recognized by the kernel. I also can control volume of the second
audio device through alsamixer. The question is: how can I specify (on
alsa) that the default device is /dev/sound/dsp1 or something like
that?
  I tried to do what you said on Amarok, but the Alsa Device
Configuration section is disabled, why?

[]s
Leandro.

2006/10/31, Richard Fish [EMAIL PROTECTED]:

On 10/30/06, Leandro Melo de Sales [EMAIL PROTECTED] wrote:
 Hi list...

I have an usb sound system from Gradiente company (an eletronic
 device factory) and I plugged it on my system. dmesg command shows
 this:

 input: Gradiente AS-M5X0 as /class/input/input3
 input: USB HID v1.00 Device [Gradiente AS-M5X0] on usb-:00:1d.1-1

But when I play a mp3 media the sound is not forwarded to my usb
 device, instand, the sound is still played through my integrated
 laptop device.
On windows I use it without problem. So, what do I have to do to
 forward the sound to my usb device?

Probably windows is disabling any existing sound card or at least
making the USB the default sound device.  Unfortunately there is no
equivalent with alsa currently.

So assuming that you've got the alsa drivers loaded for this device
(/proc/asound/cards should contain two entries), you can usually
specify alsa device as hw1,0.  The exact method for doing this
depends on what app you are using.  For example on amarok with the
xine it is under Configure Amarok... - Engine - ALSA Device
Configuration.  If you enter hw1,0 for Stereo there, then 2 channel
audio should be played on the first pcm of the second sound card.

You should also be able to do this with a .asoundrc file, with an entry like:

pcm.default {
type hw
card 1
device 1
}

The above is really primitive, without any dmix plugin (software
mixing), so only one app could use the device at a time unless it does
hardware mixing.  Mostly this is just to give you an idea of where to
look! ;-)

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



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Usb sound and ALSA

2006-10-30 Thread Leandro Melo de Sales

Hi,

After I click on Apply button the Alsa Device Configuration section
become enabled, but when I specify hw1,0 in Stereo text field and play
a song amarok shows the message: Audio output unavailable; the device
is busy..

/proc/asound/ # ls
ASM5X0  Modem  card1  cardshwdeposs  seq version
ICH6card0  card2  devices  modules  pcm  timers

the file ASM5X0 is a symbolic link to card2.

/proc/asound/ # cat cards
0 [ICH6   ]: ICH4 - Intel ICH6
 Intel ICH6 with unknown codec at 0xc8000800, irq 18
1 [Modem  ]: ICH-MODEM - Intel ICH6 Modem
 Intel ICH6 Modem at 0x3400, irq 18
2 [ASM5X0 ]: USB-Audio - AS-M5X0
 Gradiente AS-M5X0 at usb-:00:1d.1-1, full speed

I also tried to specify hw2,0 but the message is the same, device is busy! :(

But a good news is that if I do:

mpg123 -a /dev/sound/dsp1 music.mp3

... the file is played on my usb device perfectly!!! So, this is the
proof that kernel recognize the device and I just don't know how
switch alsa default device do /dev/sound/dsp1.

Any clue? Thank you,

Leandro.

2006/10/31, Leandro Melo de Sales [EMAIL PROTECTED]:

Hi... The device is configured and I type cat xxx  /dev/sound/dsp1
and I got an strange sound, but this prove that the device was
recognized by the kernel. I also can control volume of the second
audio device through alsamixer. The question is: how can I specify (on
alsa) that the default device is /dev/sound/dsp1 or something like
that?
   I tried to do what you said on Amarok, but the Alsa Device
Configuration section is disabled, why?

[]s
Leandro.

2006/10/31, Richard Fish [EMAIL PROTECTED]:
 On 10/30/06, Leandro Melo de Sales [EMAIL PROTECTED] wrote:
  Hi list...
 
 I have an usb sound system from Gradiente company (an eletronic
  device factory) and I plugged it on my system. dmesg command shows
  this:
 
  input: Gradiente AS-M5X0 as /class/input/input3
  input: USB HID v1.00 Device [Gradiente AS-M5X0] on usb-:00:1d.1-1
 
 But when I play a mp3 media the sound is not forwarded to my usb
  device, instand, the sound is still played through my integrated
  laptop device.
 On windows I use it without problem. So, what do I have to do to
  forward the sound to my usb device?

 Probably windows is disabling any existing sound card or at least
 making the USB the default sound device.  Unfortunately there is no
 equivalent with alsa currently.

 So assuming that you've got the alsa drivers loaded for this device
 (/proc/asound/cards should contain two entries), you can usually
 specify alsa device as hw1,0.  The exact method for doing this
 depends on what app you are using.  For example on amarok with the
 xine it is under Configure Amarok... - Engine - ALSA Device
 Configuration.  If you enter hw1,0 for Stereo there, then 2 channel
 audio should be played on the first pcm of the second sound card.

 You should also be able to do this with a .asoundrc file, with an entry like:

 pcm.default {
 type hw
 card 1
 device 1
 }

 The above is really primitive, without any dmix plugin (software
 mixing), so only one app could use the device at a time unless it does
 hardware mixing.  Mostly this is just to give you an idea of where to
 look! ;-)

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



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] (SOLVED) Usb sound and ALSA

2006-10-30 Thread Leandro Melo de Sales

Hi...
 just to document. There are two options:

1) I created ~/.asoundrc file (as suggested by Richard) but with some
modification as shown next (I don't know if all this option is
necessary, but the sound is perfect):

- ~/.asoundrc

pcm.card0 {
   type hw
   card 1
}

pcm.!default {
   type plug
   slave.pcm dmixer
}

pcm.!output {
   type dmix
   ipc_key 1024
   ipc_key_add_uid 1
   slave {
   pcm card0
   period_time 0
   period_size 1024
   buffer_size 8192
   rate 192000
   }
   bindings {
   0 0
   1 1
   }
}

pcm.!input {
   type dsnoop
   ipc_key 28889
   ipc_key_add_uid 1
   slave {
   pcm card0
   channels 2
   period_time 0
   period_size 1024
   rate 192000
   }

pcm.!duplex {
   type asym
   playback.pcm output
   capture.pcm input
}

pcm.!default {
   type plug
   slave.pcm duplex
}

pcm.dsp0 {
   type plug
   slave.pcm duplex
}

ctl.mixer0 {
   type hw
   card 0
}

pcm.jackplug {
   type plug
   slave { pcm jack }
}

pcm.jack {
   type jack
   playback_ports {
  0 alsa_pcm:playback_1
  1 alsa_pcm:playback_2
   }
   capture_ports {
  0 alsa_pcm:capture_1
  1 alsa_pcm:capture_2
   }
}

2) change alsa configuration module to put my card1 to card0 and card0
to card1 (don't forget to restart alsa daemon):

-- /etc/modules.d/alsa
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

alias snd-card-0 snd-usb-audio
alias sound-slot-0 snd-usb-audio
alias snd-card-1 snd-intel8x0
alias sound-slot-1 snd-intel8x0
options snd-usb-audio index=0
options snd-intel8x0 index=1


... snd-intel8x0 is the module alias for my internal sound card and
snd-usb-audio for my external usb audio device.

BTW, thanks Richard.

[]s
Leandro.

--
Leandro Melo de Sales.
Computer Science MSc Candidate
Distributed System Lab - lsd.ufcg.edu.br
Pervasive Computing Lab - embedded.ufcg.edu.br
Federal University of Campina Grande - UFCG
083 33101404 (extension 208)

2006/10/31, Leandro Melo de Sales [EMAIL PROTECTED]:

Hi,

 After I click on Apply button the Alsa Device Configuration section
become enabled, but when I specify hw1,0 in Stereo text field and play
a song amarok shows the message: Audio output unavailable; the device
is busy..

/proc/asound/ # ls
ASM5X0  Modem  card1  cardshwdeposs  seq version
ICH6card0  card2  devices  modules  pcm  timers

the file ASM5X0 is a symbolic link to card2.

/proc/asound/ # cat cards
 0 [ICH6   ]: ICH4 - Intel ICH6
  Intel ICH6 with unknown codec at 0xc8000800, irq 18
 1 [Modem  ]: ICH-MODEM - Intel ICH6 Modem
  Intel ICH6 Modem at 0x3400, irq 18
 2 [ASM5X0 ]: USB-Audio - AS-M5X0
  Gradiente AS-M5X0 at usb-:00:1d.1-1, full speed

I also tried to specify hw2,0 but the message is the same, device is busy! :(

But a good news is that if I do:

mpg123 -a /dev/sound/dsp1 music.mp3

... the file is played on my usb device perfectly!!! So, this is the
proof that kernel recognize the device and I just don't know how
switch alsa default device do /dev/sound/dsp1.

Any clue? Thank you,

Leandro.

2006/10/31, Leandro Melo de Sales [EMAIL PROTECTED]:
 Hi... The device is configured and I type cat xxx  /dev/sound/dsp1
 and I got an strange sound, but this prove that the device was
 recognized by the kernel. I also can control volume of the second
 audio device through alsamixer. The question is: how can I specify (on
 alsa) that the default device is /dev/sound/dsp1 or something like
 that?
I tried to do what you said on Amarok, but the Alsa Device
 Configuration section is disabled, why?

 []s
 Leandro.

 2006/10/31, Richard Fish [EMAIL PROTECTED]:
  On 10/30/06, Leandro Melo de Sales [EMAIL PROTECTED] wrote:
   Hi list...
  
  I have an usb sound system from Gradiente company (an eletronic
   device factory) and I plugged it on my system. dmesg command shows
   this:
  
   input: Gradiente AS-M5X0 as /class/input/input3
   input: USB HID v1.00 Device [Gradiente AS-M5X0] on usb-:00:1d.1-1
  
  But when I play a mp3 media the sound is not forwarded to my usb
   device, instand, the sound is still played through my integrated
   laptop device.
  On windows I use it without problem. So, what do I have to do to
   forward the sound to my usb device?
 
  Probably windows is disabling any existing sound card or at least
  making the USB the default sound device.  Unfortunately there is no
  equivalent with alsa currently.
 
  So assuming that you've got the alsa drivers loaded for this device
  (/proc/asound/cards should contain two entries), you can usually
  specify alsa device as hw1,0.  The exact method

Re: [gentoo-user] Problems compiling cyrus-sasl

2006-10-26 Thread Leandro Melo de Sales

Felipe,
Eu mandei uma resposta ontem comentando o seu problema. Caso ainda
não tenha resolvido leia os seguintes links:


Please, for those one that has this same problem go to:

http://bugs.gentoo.org/show_bug.cgi?id=152544
http://bugs.gentoo.org/show_bug.cgi?id=152665

Leandro.
-

[]sLeandro

2006/10/25, Felipe Ribeiro [EMAIL PROTECTED]:

Have anyone had problems while compiling cyrus-sasl?
I got this:

/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld:
../sasldb/.libs/libsasldb.a(allockey.o): relocation R_X86_64_32S
against `a local symbol' can not be used when making a shared object;
recompile with -fPIC
../sasldb/.libs/libsasldb.a(allockey.o): could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libsasldb.la] Error 1
make[2]: Leaving directory
`/var/tmp/portage/dev-libs/cyrus-sasl-2.1.22/work/cyrus-sasl-2.1.22/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/dev-libs/cyrus-sasl-2.1.22/work/cyrus-sasl-2.1.22'
make: *** [all] Error 2

!!! ERROR: dev-libs/cyrus-sasl-2.1.22 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  cyrus-sasl-2.1.22.ebuild, line 166:   Called die


Any hints?
--
gentoo-user@gentoo.org mailing list





--
Leandro Melo de Sales.
Computer Science MSc Candidate
Distributed System Lab - lsd.ufcg.edu.br
Pervasive Computing Lab - embedded.ufcg.edu.br
Federal University of Campina Grande - UFCG
083 33101404 (extension 208)

O guerreiro é forte em lealdade, intensidade, determinação,
iniciativa, persistência, coragem e força de vontade. O guerreiro é
leve em sua calma, autoconfiança e compaixão. O guerreiro é
freqüentemente chamado para tomar a frente quando outros covardemente
dão um passo atrás. Guerreiros existem nos campos de batalha e na vida
cotidiana.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problems compiling cyrus-sasl

2006-10-26 Thread Leandro Melo de Sales

Sorry for my answer in portuguese. It is a private message to Felipe.


[]s
Leandro.

2006/10/26, Leandro Melo de Sales [EMAIL PROTECTED]:

Felipe,
 Eu mandei uma resposta ontem comentando o seu problema. Caso ainda
não tenha resolvido leia os seguintes links:


Please, for those one that has this same problem go to:

http://bugs.gentoo.org/show_bug.cgi?id=152544
http://bugs.gentoo.org/show_bug.cgi?id=152665

Leandro.
-

[]sLeandro

2006/10/25, Felipe Ribeiro [EMAIL PROTECTED]:
 Have anyone had problems while compiling cyrus-sasl?
 I got this:

 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld:
 ../sasldb/.libs/libsasldb.a(allockey.o): relocation R_X86_64_32S
 against `a local symbol' can not be used when making a shared object;
 recompile with -fPIC
 ../sasldb/.libs/libsasldb.a(allockey.o): could not read symbols: Bad value
 collect2: ld returned 1 exit status
 make[2]: *** [libsasldb.la] Error 1
 make[2]: Leaving directory
 `/var/tmp/portage/dev-libs/cyrus-sasl-2.1.22/work/cyrus-sasl-2.1.22/plugins'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory
 `/var/tmp/portage/dev-libs/cyrus-sasl-2.1.22/work/cyrus-sasl-2.1.22'
 make: *** [all] Error 2

 !!! ERROR: dev-libs/cyrus-sasl-2.1.22 failed.
 Call stack:
   ebuild.sh, line 1568:   Called dyn_compile
   ebuild.sh, line 937:   Called src_compile
   cyrus-sasl-2.1.22.ebuild, line 166:   Called die


 Any hints?
 --
 gentoo-user@gentoo.org mailing list




--
Leandro Melo de Sales.
Computer Science MSc Candidate
Distributed System Lab - lsd.ufcg.edu.br
Pervasive Computing Lab - embedded.ufcg.edu.br
Federal University of Campina Grande - UFCG
083 33101404 (extension 208)

O guerreiro é forte em lealdade, intensidade, determinação,
iniciativa, persistência, coragem e força de vontade. O guerreiro é
leve em sua calma, autoconfiança e compaixão. O guerreiro é
freqüentemente chamado para tomar a frente quando outros covardemente
dão um passo atrás. Guerreiros existem nos campos de batalha e na vida
cotidiana.



--
gentoo-user@gentoo.org mailing list



[gentoo-user] How to discover what is the package of a given file?

2006-10-25 Thread Leandro Melo de Sales
Hi list, How to discover what is the package of a given file? Should I use emerge command?Leandro


[gentoo-user] cyrus-sasl error.

2006-10-25 Thread Leandro Melo de Sales
Hi, I'm trying to update openldap and one of package dependency is cyrus-sasl, but when emerge compile cyrus-sasl package, it shows the following message:# emerge cyrus-saslCalculating dependencies... done!
 Emerging (1 of 1) dev-libs/cyrus-sasl-2.1.22 to /* cyrus-sasl-2.1.22.tar.gz MD5 ;-) ... ...
..x86_64-pc-linux-gnu-gcc -shared .libs/sasldb.o .libs/sasldb_init.o .libs/plugin_common.o -Wl,--whole-archive ../sasldb/.libs/libsasldb.a -Wl,--no-whole-archive /usr/lib64/libdb-
4.2.so -lresolv -march=athlon64 -Wl,-soname -Wl,libsasldb.so.2 -o .libs/libsasldb.so.2.0.22/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: ../sasldb/.libs/libsasldb.a(allockey.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
../sasldb/.libs/libsasldb.a(allockey.o): could not read symbols: Bad valuecollect2: ld returned 1 exit statusmake[2]: *** [libsasldb.la] Error 1make[2]: Leaving directory `/var/tmp/portage/cyrus-
sasl-2.1.22/work/cyrus-sasl-2.1.22/plugins'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.22/work/cyrus-sasl-2.1.22'make: *** [all] Error 2!!! ERROR: dev-libs/cyrus-
sasl-2.1.22 failed.Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile cyrus-sasl-2.1.22.ebuild, line 166: Called dieAny clue/suggestion will be greatfully accepted. Thank you.
Leandro


Re: [gentoo-user] How to discover what is the package of a given file?

2006-10-25 Thread Leandro Melo de Sales

Thank you Vikas and Justin. It works for me.

Leandro

26 Oct 2006 03:44:29 +0530, Vikas Kumar [EMAIL PROTECTED]:

On 18:58 Wed 25 Oct , Leandro Melo de Sales wrote:
Hi list,

  How to discover what is the package of a given file? Should I use emerge
command?

Leandro
if i've understood your question right then may be,

# equery belongs file

equery comes with gentoolkit.

# emerge gentoolkit

--
New crypt.  See /usr/news/crypt.

--
gentoo-user@gentoo.org mailing list





--
Leandro Melo de Sales.
Computer Science MSc Candidate
Distributed System Lab - lsd.ufcg.edu.br
Pervasive Computing Lab - embedded.ufcg.edu.br
Federal University of Campina Grande - UFCG
083 33101404 (extension 208)

O guerreiro é forte em lealdade, intensidade, determinação,
iniciativa, persistência, coragem e força de vontade. O guerreiro é
leve em sua calma, autoconfiança e compaixão. O guerreiro é
freqüentemente chamado para tomar a frente quando outros covardemente
dão um passo atrás. Guerreiros existem nos campos de batalha e na vida
cotidiana.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cyrus-sasl error.

2006-10-25 Thread Leandro Melo de Sales

Please, for those one that has this same problem go to:

http://bugs.gentoo.org/show_bug.cgi?id=152544
http://bugs.gentoo.org/show_bug.cgi?id=152665

Leandro.

2006/10/25, Jamie [EMAIL PROTECTED]:

Best guess it that one of the files is currupted or has an update. Try and
emerge --sync then try again.

 Hi,

   I'm trying to update openldap and one of package dependency is
 cyrus-sasl,
 but when emerge compile cyrus-sasl package, it shows the following
 message:

 # emerge cyrus-sasl
 Calculating dependencies... done!

 Emerging (1 of 1) dev-libs/cyrus-sasl-2.1.22 to /
  * cyrus-sasl-2.1.22.tar.gz MD5 ;-)
 ...
 ...
 ...
 ...
 x86_64-pc-linux-gnu-gcc -shared  .libs/sasldb.o .libs/sasldb_init.o
 .libs/plugin_common.o -Wl,--whole-archive ../sasldb/.libs/libsasldb.a
 -Wl,--no-whole-archive  /usr/lib64/libdb-4.2.so -lresolv  -march=athlon64
 -Wl,-soname -Wl,libsasldb.so.2 -o .libs/libsasldb.so.2.0.22
 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld:
 ../sasldb/.libs/libsasldb.a(allockey.o): relocation R_X86_64_32S against
 `a
 local symbol' can not be used when making a shared object; recompile with
 -fPIC
 ../sasldb/.libs/libsasldb.a(allockey.o): could not read symbols: Bad value
 collect2: ld returned 1 exit status
 make[2]: *** [libsasldb.la] Error 1
 make[2]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.22/work/cyrus-
 sasl-2.1.22/plugins'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.22/work/cyrus-
 sasl-2.1.22'
 make: *** [all] Error 2

 !!! ERROR: dev-libs/cyrus-sasl-2.1.22 failed.
 Call stack:
   ebuild.sh, line 1546:   Called dyn_compile
   ebuild.sh, line 937:   Called src_compile
   cyrus-sasl-2.1.22.ebuild, line 166:   Called die


 Any clue/suggestion will be greatfully accepted. Thank you.

 Leandro



--
gentoo-user@gentoo.org mailing list


--
gentoo-user@gentoo.org mailing list



[gentoo-user] NSS + LDAP: My nscd daemon dies periodically

2006-10-25 Thread Leandro Melo de Sales

Hi

my nscd daemon dies periodically and I don't know what is happening...
any suggestion? (nss_ldap: failed to bind to LDAP server
ldap://127.0.0.1: Can't contact LDAP server)

[]s
Leandro.
--
gentoo-user@gentoo.org mailing list



[gentoo-user] LDAP with no privileged login

2006-10-12 Thread Leandro Melo de Sales

Hi list,

 I'm configured a LDAP server to be used as a users database. Now, I
want to setup linux box clients to auth against LDAP server. I
installed ldap-pam and ldap-nss. In /etc/ldap.conf file I have to
inform rootdn password. What is the best way to do this since the
configuration file has to be readable to all. I think that use
privileged login in this situation (even if I use /etc/ldap.secret
file) is dangerous. So, should I created a LDAP user just to be used
as a rootdn login? how can I create a nonprivileged login?

Thank you,

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



[gentoo-user] pam eventually disconnect from ldap server

2006-10-12 Thread Leandro Melo de Sales

Hi,

   I configured my clients to auth against a LDAP server. Everything
works fine, but sometime nss_ldap disconnect and I can't connect
anymore. What it is happening? When this occurs I can't connect/auth
through ssh server, after type password I got a connection reset by
remote peer message. What should I have to do in order to login (as
root) even if the nss_ldap can't connect to ldap server?

Thank you in advance.

[]s
Leandro.
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Cups

2006-09-27 Thread Leandro Melo de Sales

Hi,

 I have my linux servers integrated with LDAP. I'm planning to setup
cups in order to store printers configurations on the LDAP server and
manage them. Is it a good alternative? How about printing quota, I
want to limit the number of pages printed per user in each month, is
it possible to do this using cups?

[]s
Leandro.

--
Leandro Melo de Sales.
Computer Science MSc Candidate
Distributed System Lab - lsd.ufcg.edu.br
Pervasive Computing Lab - embedded.ufcg.edu.br
Universidade Federal de Campina Grande - UFCG

O guerreiro é forte em lealdade, intensidade, determinação,
iniciativa, persistência, coragem e força de vontade. O guerreiro é
leve em sua calma, autoconfiança e compaixão. O guerreiro é
freqüentemente chamado para tomar a frente quando outros covardemente
dão um passo atrás. Guerreiros existem nos campos de batalha e na vida
cotidiana.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] NIS configuration

2006-08-22 Thread Leandro Melo de Sales

Hi!

 I configured my gentoo server box to authenticate users through LDAP
(nsswicth+pam_ldap). Everything are working fine and now I want to run
a ypserv and as a result I want the nis clients authenticating against
my server. I following the instructions in
http://gentoo-wiki.com/HOWTO_Setup_NIS but the clients (gentoo and
ubuntu boxes) don't find the ypserver, any clue?
 I was planning to make the clients authentication directly to LDAP
server, but in this case I have to install pam_ldap and create a
/etc/ldap.conf and put ldap bindpw into this file or in
/etc/ldap.secret. Even if I protect it with 600 the use can get this
file installing a windows application (the client machines have dual
boot) that read ext3 partitions and read the files, finally getting
the bindpw. Any comment about this? Am I thinking wrong about that?

Thank you. BTW, all suggestion will be greatfully accepted.

Leandro.

--
Leandro Melo de Sales.
Computer Science MSc Candidate
Distributed System Lab - lsd.ufcg.edu.br
Pervasive Computing Lab - embedded.ufcg.edu.br
Universidade Federal de Campina Grande - UFCG
--
gentoo-user@gentoo.org mailing list



[gentoo-user] mod_jk to connect apache and tomcat

2006-08-17 Thread Leandro Melo de Sales

Hi...

I'm trying to setup mod_jk to connect apache and tomcat. I installed
and configured but when I try to access http://mydomain/projc (where
projc is a tomcat application in webapps) I got Error 404, why?

[]s
Leandro.

--
Leandro Melo de Sales.
Computer Science MSc Candidate
Distributed System Lab - lsd.ufcg.edu.br
Pervasive Computing Lab - embedded.ufcg.edu.br
Universidade Federal de Campina Grande - UFCG
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Is the best solution still NIS+NFS?

2006-08-10 Thread Leandro Melo de Sales

Hi list,

 few years later I setup a environment which shares the /home using
NFS for the users and the authentication method was NIS. Is this still
the best solution?
 My current environment is based on LDAP where all services use it. I
configured PAM+NSSwitch, Postfix, and so on. Now, I want linux client
workstations be authenticated remotely on my LDAP server and mount the
users home. What do you recommend?

Thanks,

Leandro.

--
Leandro Melo de Sales.
Computer Science MSc Candidate
Distributed System Lab - lsd.ufcg.edu.br
Pervasive Computing Lab - embedded.ufcg.edu.br
Universidade Federal de Campina Grande - UFCG
--
gentoo-user@gentoo.org mailing list



[gentoo-user] samba + ldap + script php

2006-08-09 Thread Leandro Melo de Sales

Hi... I wrote a php script to add users on a LDAP directory. I setup
samba to auth against this directory. If I use smbldap-useradd, samba
authenticate the user, but if I use my script not! My script set all
attributes exactly like smbldap-useradd. What I am missing?

[]s
Leandro.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Disk quota and LDAP

2006-08-08 Thread Leandro Melo de Sales

For management issues! :)

2006/8/8, Dirk Heinrichs [EMAIL PROTECTED]:

Am Montag, 7. August 2006 19:43 schrieb ext Leandro Melo de Sales:

 Ok... but I can't you any good reason to not have this information on
 ldap.

You can get the information with the quota tools anytime, for any given
filesystem. This is the only place where the correct quota value is stored,
in the filesystems. Putting it into another database of any kind would mean
to make sure it's up to date every time quota changes for any user on any
filesystem on any machine you have. What for???

What's the difference in querying one db or the other?

Bye...

Dirk
--
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.capgemini.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net






--
Leandro Melo de Sales.
Computer Science MSc Candidate
Distributed System Lab - lsd.ufcg.edu.br
Pervasive Computing Lab - embedded.ufcg.edu.br
Universidade Federal de Campina Grande - UFCG

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Disk quota and LDAP

2006-08-08 Thread Leandro Melo de Sales

OK. :-(

2006/8/8, Dirk Heinrichs [EMAIL PROTECTED]:

Am Dienstag, 8. August 2006 08:14 schrieb ext Leandro Melo de Sales:

 For management issues! :)

You can't manage quota with LDAP.

Bye...

Dirk
--
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.capgemini.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net






--
Leandro Melo de Sales.
Computer Science MSc Candidate
Distributed System Lab - lsd.ufcg.edu.br
Pervasive Computing Lab - embedded.ufcg.edu.br
Universidade Federal de Campina Grande - UFCG

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Disk quota and LDAP

2006-08-07 Thread Leandro Melo de Sales

Hi all,

 I have nsswitch + ldap enabled on my linux system. I'd like to know
if it is possible to make the system get the user quota from a LDAP
attribute for a respective user.

Thank you,

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



Re: [gentoo-user] Disk quota and LDAP

2006-08-07 Thread Leandro Melo de Sales

Ok... but I can't you any good reason to not have this information on ldap.

2006/8/7, Dirk Heinrichs [EMAIL PROTECTED]:

Am Montag, 7. August 2006 15:07 schrieb ext Leandro Melo de Sales:

   I have nsswitch + ldap enabled on my linux system. I'd like to know
 if it is possible to make the system get the user quota from a LDAP
 attribute for a respective user.

AFAIK, user quota is a per fs setting. So having it in LDAP is useless.

Bye...

Dirk
--
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.capgemini.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net






--
Leandro Melo de Sales.
Computer Science MSc Candidate
Distributed System Lab - lsd.ufcg.edu.br
Pervasive Computing Lab - embedded.ufcg.edu.br
Universidade Federal de Campina Grande - UFCG

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Postfix + Auth with SASL

2006-07-19 Thread Leandro Melo de Sales

Hi! I'm trying to setup postfix with authentication. I have
PAM/NSSwitch configured to use LDAP backend. I also installed
cyrus-sasl, but when I test authentication I got some errors. What I'm
doing wrong? Some relevant information:

/etc/sasl2/smtpd.conf

pwcheck_method:pam

---

telnet port 25:

embedded postfix # telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 Servidor de E-Mail Embedded
EHLO mydomain.com
250-embedded.mydomain.com
250-PIPELINING
250-SIZE 1024
250-VRFY
250-ETRN
250-STARTTLS
250 8BITMIME
quit
221 Bye
Connection closed by foreign host.



log:

Jul 19 11:20:27 embedded postfix/smtpd[31410]: 
unknown[192.168.1.100]:
TlRMTVNTUAABB4IIogAFASgKDw==
Jul 19 11:20:27 embedded postfix/smtpd[31410]:
smtpd_sasl_authenticate: decoded response: NTLMSSP
Jul 19 11:20:27 embedded postfix/smtpd[31410]: NTLM server step 1
Jul 19 11:20:27 embedded postfix/smtpd[31410]: client flags: 8207
Jul 19 11:20:27 embedded postfix/smtpd[31410]:
smtpd_sasl_authenticate: uncoded challenge: NTLMSSP
Jul 19 11:20:27 embedded postfix/smtpd[31410]: 
unknown[192.168.1.100]: 334
TlRMTVNTUAACOgA6ADAFggIAxSfRzXMryGYARQBNAEIARQBEAEQARQBEAC4ARQBNAEIARQBEAEQARQBEAC4AVQBGAEMARwAuAEUARABVAC4AQgBSAA==
Jul 19 11:20:27 embedded postfix/smtpd[31410]: 
unknown[192.168.1.100]:
TlRMTVNTUAADGAAYAI4YABgApgAAACgAKABIDgAOAHAQABAAfgC+BYIAAgUBKAoPZQBtAGIAZQBkAGQAZQBkAC4AdQBmAGMAZwAuAGUAZAB1AC4AYgByAGwAZQBhAG4AZAByAG8AQwBPAE0AUABPAFIAMAA2AFhBruTJ7QP1D2kjfvHaMU0IHH0O2a0i6qfimYU8bx0zsRE2W3N/+wpohdPaH5f26Q==
Jul 19 11:20:27 embedded postfix/smtpd[31410]:
smtpd_sasl_authenticate: decoded response: NTLMSSP
Jul 19 11:20:27 embedded postfix/smtpd[31410]: NTLM server step 2
Jul 19 11:20:27 embedded postfix/smtpd[31410]: client user: leandro
Jul 19 11:20:27 embedded postfix/smtpd[31410]: client domain:
embedded.ufcg.edu.br
Jul 19 11:20:27 embedded postfix/smtpd[31410]: warning: SASL
authentication failure: no secret in database
Jul 19 11:20:27 embedded postfix/smtpd[31410]: warning:
unknown[192.168.1.100]: SASL NTLM authentication failed
Jul 19 11:20:27 embedded postfix/smtpd[31410]: 
unknown[192.168.1.100]: 535 Error: authentication failed
Jul 19 11:20:27 embedded postfix/smtpd[31410]: 
unknown[192.168.1.100]: AUTH NTLM
Jul 19 11:20:27 embedded postfix/smtpd[31410]:
smtpd_sasl_authenticate: sasl_method NTLM
Jul 19 11:20:27 embedded postfix/smtpd[31410]:
smtpd_sasl_authenticate: uncoded challenge:
Jul 19 11:20:27 embedded postfix/smtpd[31410]:  unknown[192.168.1.100]: 334

main.cf:

smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks, check_relay_domains

[]s
Leandro
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Tomcat installation

2006-07-18 Thread Leandro Melo de Sales

Hi,

I have problem in tomcat installation, please someone to help me?
When I type 'emerge tomcat' I got the following message:

./org/mozilla/jss/ssl/SSLTest.java:69: as of release 1.5, 'enum' is a
keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
   Enumeration enum = params.keys();
   ^
./org/mozilla/jss/ssl/SSLTest.java:71: as of release 1.5, 'enum' is a
keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
   while (enum.hasMoreElements() ) {
  ^
./org/mozilla/jss/ssl/SSLTest.java:72: as of release 1.5, 'enum' is a
keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
   String key = (String) enum.nextElement();
 ^
./org/mozilla/jss/ssl/SSLSocket.java:689: as of release 1.5, 'enum' is
a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
   private int enum;
   ^
./org/mozilla/jss/ssl/SSLSocket.java:690: as of release 1.5, 'enum' is
a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
   private CipherPolicy(int enum) { }
^
./org/mozilla/jss/ssl/SSLSocket.java:692: as of release 1.5, 'enum' is
a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
   int getEnum() { return enum; }
  ^
./org/mozilla/jss/pkcs12/SafeBag.java:120: warning: unmappable
character for encoding ASCII
* A bag containing a private key encrypted ? la PKCS #8.  The bag
   ^
6 errors
1 warning
Command failed (1)
make: *** [buildJava] Error 2

!!! ERROR: dev-java/jss-3.4 failed.
Call stack:
 ebuild.sh, line 1539:   Called dyn_compile
 ebuild.sh, line 939:   Called src_compile
 jss-3.4.ebuild, line 53:   Called die

The JVM version is Sun SDK 1.5.0_07.

# java -version
java version 1.5.0_07
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_07-b03, mixed mode)

Thank you,

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



[gentoo-user] Postix+SASL with LDAP

2006-07-11 Thread Leandro Melo de Sales

Hi,

 I configured my PAM (using nsswitch.conf) to auth against a LDAP
server. Everything works fine and now I want to setup postifix to
permit only authenticated users to send e-mail through my smtp server.
But when I try to auth via smtp client, I got the following message on
/var/log/message:

Jul 11 16:28:04 embedded postfix/smtpd[24105]: 
unknown[192.168.1.100]:
TlRMTVNTUAABB4IIogAFASgKDw==
Jul 11 16:28:04 embedded postfix/smtpd[24105]:
smtpd_sasl_authenticate: decoded response: NTLMSSP
Jul 11 16:28:04 embedded postfix/smtpd[24105]: NTLM server step 1
Jul 11 16:28:04 embedded postfix/smtpd[24105]: client flags: 8207
Jul 11 16:28:04 embedded postfix/smtpd[24105]:
smtpd_sasl_authenticate: uncoded challenge: NTLMSSP
Jul 11 16:28:04 embedded postfix/smtpd[24105]: 
unknown[192.168.1.100]: 334
TlRMTVNTUAACOgA6ADAFggIA6WWAtbNxa0MARQBNAEIARQBEAEQARQBEAC4ARQBNAEIARQBEAEQARQBEAC4AVQBGAEMARwAuAEUARABVAC4AQgBSAA==
Jul 11 16:28:04 embedded postfix/smtpd[24105]: 
unknown[192.168.1.100]:
TlRMTVNTUAADGAAYAGYYABgAfgBIDgAOAEgQABAAVgCWBYIAAgUBKAoPbABlAGEAbgBkAHIAbwBDAE8ATQBQAE8AUgAwADYARHEN7mzgGaygXDkCXVzTuqazkUkib2OfybAb9R10AJ/mF/gI2dSKNw0NIFxhMmhx
Jul 11 16:28:04 embedded postfix/smtpd[24105]:
smtpd_sasl_authenticate: decoded response: NTLMSSP
Jul 11 16:28:04 embedded postfix/smtpd[24105]: NTLM server step 2
Jul 11 16:28:04 embedded postfix/smtpd[24105]: client user: leandro
Jul 11 16:28:04 embedded postfix/smtpd[24105]: warning: SASL
authentication problem: unable to open Berkeley db /etc/sasl2/sasldb2:
Permission denied
Jul 11 16:28:04 embedded postfix/smtpd[24105]: warning: SASL
authentication failure: no secret in database
Jul 11 16:28:04 embedded postfix/smtpd[24105]: warning:
unknown[192.168.1.100]: SASL NTLM authentication failed
Jul 11 16:28:04 embedded postfix/smtpd[24105]: 
unknown[192.168.1.100]: 535 Error: authentication failed
Jul 11 16:28:04 embedded postfix/smtpd[24105]: 
unknown[192.168.1.100]: AUTH NTLM
Jul 11 16:28:04 embedded postfix/smtpd[24105]:
smtpd_sasl_authenticate: sasl_method NTLM
Jul 11 16:28:04 embedded postfix/smtpd[24105]:
smtpd_sasl_authenticate: uncoded challenge:
Jul 11 16:28:04 embedded postfix/smtpd[24105]:  unknown[192.168.1.100]: 334


Any clue?

--
Leandro Melo de Sales.
Computer Science MSc Candidate
Laboratório de Sistemas Distribuídos - lsd.ufcg.edu.br
Laboratório de Computação Pervasiva - embedded.ufcg.edu.br
Universidade Federal de Campina Grande - UFCG

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Java Installation: failed on MD5 verification

2006-07-11 Thread Leandro Melo de Sales

embedded distfiles # emerge -v =sun-jdk-1.5*
Calculating dependencies... done!

Emerging (1 of 1) dev-java/sun-jdk-1.5.0.07 to /
checking ebuild checksums ;-)
checking auxfile checksums ;-)
checking miscfile checksums ;-)
checking jdk-1_5_0_07-linux-amd64.bin

!!! Digest verification failed:
!!! /usr/portage/distfiles/jdk-1_5_0_07-linux-amd64.bin
!!! Reason: Failed on MD5 verification
!!! Got: 9dfbc464d20145a5f4e91534c01c5624
!!! Expected: 41c9d6bc3b2c0865d8c32ecb915d0091

How to solve this?

Thanks,
Leandro.

--
Leandro Melo de Sales.
Computer Science MSc Candidate
Laboratório de Sistemas Distribuídos - lsd.ufcg.edu.br
Laboratório de Computação Pervasiva - embedded.ufcg.edu.br
Universidade Federal de Campina Grande - UFCG

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Postix+SASL with LDAP

2006-07-11 Thread Leandro Melo de Sales

2006/7/11, Paulo Roberto Candido dos Santos [EMAIL PROTECTED]:

Show us your /etc/sasl2/smtp.conf.

Mine is:

pwcheck_method: authdaemond
log_level: 3
mech_list: PLAIN LOGIN
authdaemond_path: /var/lib/courier/authdaemon/socket

In my case, postfix authenticate on the Courier-imap authdaemond while
authdaemond authenticate users in a MS AD server.

There should be some way to auth postfix using pam... but I think
smtpd.conf should be something like:

pwcheck_method:pam

Good Luck

On 7/11/06, Leandro Melo de Sales [EMAIL PROTECTED] wrote:
 Hi,

   I configured my PAM (using nsswitch.conf) to auth against a LDAP
 server. Everything works fine and now I want to setup postifix to
 permit only authenticated users to send e-mail through my smtp server.
 But when I try to auth via smtp client, I got the following message on
 /var/log/message:

 Jul 11 16:28:04 embedded postfix/smtpd[24105]: 
 unknown[192.168.1.100]:
 TlRMTVNTUAABB4IIogAFASgKDw==
 Jul 11 16:28:04 embedded postfix/smtpd[24105]:
 smtpd_sasl_authenticate: decoded response: NTLMSSP
 Jul 11 16:28:04 embedded postfix/smtpd[24105]: NTLM server step 1
 Jul 11 16:28:04 embedded postfix/smtpd[24105]: client flags: 8207
 Jul 11 16:28:04 embedded postfix/smtpd[24105]:
 smtpd_sasl_authenticate: uncoded challenge: NTLMSSP
 Jul 11 16:28:04 embedded postfix/smtpd[24105]: 
 unknown[192.168.1.100]: 334
 
TlRMTVNTUAACOgA6ADAFggIA6WWAtbNxa0MARQBNAEIARQBEAEQARQBEAC4ARQBNAEIARQBEAEQARQBEAC4AVQBGAEMARwAuAEUARABVAC4AQgBSAA==
 Jul 11 16:28:04 embedded postfix/smtpd[24105]: 
 unknown[192.168.1.100]:
 
TlRMTVNTUAADGAAYAGYYABgAfgBIDgAOAEgQABAAVgCWBYIAAgUBKAoPbABlAGEAbgBkAHIAbwBDAE8ATQBQAE8AUgAwADYARHEN7mzgGaygXDkCXVzTuqazkUkib2OfybAb9R10AJ/mF/gI2dSKNw0NIFxhMmhx
 Jul 11 16:28:04 embedded postfix/smtpd[24105]:
 smtpd_sasl_authenticate: decoded response: NTLMSSP
 Jul 11 16:28:04 embedded postfix/smtpd[24105]: NTLM server step 2
 Jul 11 16:28:04 embedded postfix/smtpd[24105]: client user: leandro
 Jul 11 16:28:04 embedded postfix/smtpd[24105]: warning: SASL
 authentication problem: unable to open Berkeley db /etc/sasl2/sasldb2:
 Permission denied
 Jul 11 16:28:04 embedded postfix/smtpd[24105]: warning: SASL
 authentication failure: no secret in database
 Jul 11 16:28:04 embedded postfix/smtpd[24105]: warning:
 unknown[192.168.1.100]: SASL NTLM authentication failed
 Jul 11 16:28:04 embedded postfix/smtpd[24105]: 
 unknown[192.168.1.100]: 535 Error: authentication failed
 Jul 11 16:28:04 embedded postfix/smtpd[24105]: 
 unknown[192.168.1.100]: AUTH NTLM
 Jul 11 16:28:04 embedded postfix/smtpd[24105]:
 smtpd_sasl_authenticate: sasl_method NTLM
 Jul 11 16:28:04 embedded postfix/smtpd[24105]:
 smtpd_sasl_authenticate: uncoded challenge:
 Jul 11 16:28:04 embedded postfix/smtpd[24105]:  unknown[192.168.1.100]: 334


 Any clue?

 --
 Leandro Melo de Sales.
 Computer Science MSc Candidate
 Laboratório de Sistemas Distribuídos - lsd.ufcg.edu.br
 Laboratório de Computação Pervasiva - embedded.ufcg.edu.br
 Universidade Federal de Campina Grande - UFCG

 --
 gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list





Hi... my /etc/sasl2/smtpd.conf has the following:

pwcheck_method:pam

Since my system in already configured to authenticate against a LDAP
server via nsswitch.conf.

Any other clue?

Leandro

--
gentoo-user@gentoo.org mailing list



[gentoo-user] File manager via Web Browser

2006-07-04 Thread Leandro Melo de Sales

Hi list,

 Does someone can tell me a good tool to install on my server which
permit a user (local user) to manager him file via a web browser? Such
as remove, create, upload and so on. I don't want to give ssh access
to all users, just the basic operations over their files.

Thank you,

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



Re: [gentoo-user] File manager via Web Browser

2006-07-04 Thread Leandro Melo de Sales

2006/7/4, Mick [EMAIL PROTECTED]:

On 04/07/06, Leandro Melo de Sales [EMAIL PROTECTED] wrote:
 Hi list,

   Does someone can tell me a good tool to install on my server which
 permit a user (local user) to manager him file via a web browser? Such
 as remove, create, upload and so on. I don't want to give ssh access
 to all users, just the basic operations over their files.

Well you can give them a GUI interface (php based or otherwise) or you
could configure webDAV access, which over Konqueror at least is as
close to a file manager as yo ucan get.
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list




Can you give me more details, how can I setup this?

Thank you,

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



[gentoo-user] Best webmail

2006-06-25 Thread Leandro Melo de Sales

Hi all,

  I'm looking for a good webmail which I can use Courier IMAP/POP3
and QMail. I know Horde IMP, but does someone know others which is
better?

Thank you,
Leandro.
--
gentoo-user@gentoo.org mailing list



[gentoo-user] LDAP and PAM (strange and confuse, but interesting)

2006-06-22 Thread Leandro Melo de Sales

Hi,

 I'm trying to setup a environment where I want my users for main
services, such as sshd, samba and so on to auth on a LDAP server.
 I installed pam_ldap and I have my LDAP up. After following some
guides, I have a problem which I don't know how to solve. When I type
on shell:

# getent passwd
{the content of /etc/passwd file}
after this...
request done: ld 0x51cda0 msgid 1
request done: ld 0x5445e0 msgid 1
request done: ld 0x5445e0 msgid 1
request done: ld 0x5445e0 msgid 1
request done: ld 0x5445e0 msgid 1
request done: ld 0x5445e0 msgid 1
request done: ld 0x5445e0 msgid 1

When I check the syslogd file I can see:

Jun 22 03:17:02 embedded slapd[23890]: conn=22 fd=12 ACCEPT from
IP=150.165.63.1:57920 (IP=0.0.0.0:636)
Jun 22 03:17:02 embedded slapd[23890]: conn=22 fd=12 TLS established
tls_ssf=256 ssf=256
Jun 22 03:17:02 embedded slapd[23890]: conn=22 op=0 STARTTLS
Jun 22 03:17:02 embedded slapd[23890]: conn=22 op=0 RESULT oid= err=1
text=TLS already started
Jun 22 03:17:02 embedded getent: nss_ldap: reconnecting to LDAP server
(sleeping 8 seconds)...
Jun 22 03:17:02 embedded slapd[23890]: conn=22 op=1 UNBIND
Jun 22 03:17:02 embedded slapd[23890]: conn=22 fd=12 closed
Jun 22 03:17:02 embedded slapd[23890]: connection_read(12): no connection!

I'm using TLS and everything seems to works fine by using
phpldapadmin, lam and ldap command line, such as ldapsearch,
ldapadd, when I use -x option, in this last case.

Well, here are the main configuration:

/etc/openldap/ldap.conf

BASEdc=embedded,o=Embedded,c=BR
URI ldaps://myhost.mydomain.com
TLS_REQCERT  allow
PORT 636

/etc/ldap.conf

host myhost.mydomain.com
base o=Embedded,c=BR
uri ldaps://myhost.mydomain.com/
binddn cn=Manager,o=Embedded,c=BR
rootbinddn cn=Manager,o=Embedded,c=BR
port 636
pam_filter objectclass=account
pam_login_attribute uid
pam_password md5
debug 256
logdir /var/log/nss_ldap
nss_base_passwd ou=People,o=Embedded,c=BR
nss_base_shadow ou=People,o=Embedded,c=BR
nss_base_group  ou=Group,o=Embedded,c=BR
ssl start_tls
tls_checkpeer yes
tls_cacertfile /etc/ssl/ldap.pem
tls_cacertdir /etc/ssl

In which format should I enter the secret password in /etc/ldap.secret
file? I'm putting something like:

{MD5}md5-hash-here

Is it correct?

I also made proper chances in /etc/nsswitch.conf and /etc/pam.d/system-auth

Does someone can help me. Any pointer/suggestion will be greatufully accepted.

Thank you,

Leandro.


--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Package flag description

2006-06-17 Thread Leandro Melo de Sales

Hi,

 is there a place (URL) where can I find a description of a
particular package flag? For example, when I type:

# emerge -pv openldap
...
Calculating dependencies ...done!

[ebuild   R   ] net-nds/openldap-2.3.24-r1  +berkdb +crypt -debug
+gdbm -ipv6 -kerberos -minimal -odbc -overlays +perl +readline +samba
+sasl (-selinux) +slp +ssl +tcpd 0 kB

I'd like to know what the minimal flag include and its propose. I
know that I can control the flags in /etc/portage/package.use

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



[gentoo-user] Re: Missing back_ldbm.la file

2006-06-17 Thread Leandro Melo de Sales

My ./configure:

./configure --prefix=/usr --host=x86_64-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib --enable-static
--enable-shared --libexecdir=/usr/lib64/openldap --enable-slapd
--enable-slurpd --enable-ldbm --enable-bdb --with-ldbm-api=berkeley
--enable-hdb=mod --enable-passwd=mod --enable-phonetic=mod
--enable-dnssrv=mod --enable-ldap --enable-meta=mod
--enable-monitor=mod --enable-null=mod --enable-shell=mod
--enable-perl=mod --disable-sql --enable-syncprov --enable-crypt
--enable-slp --enable-rewrite --enable-rlookups --enable-aci
--enable-modules --enable-cleartext --enable-slapi --with-lmpasswd
--enable-dyngroup --enable-proxycache --enable-syslog --enable-dynamic
--enable-local --enable-proctitle --disable-ipv6 --enable-readline
--with-cyrus-sasl --enable-spasswd --enable-wrappers --with-tls
--disable-overlays --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu

2006/6/17, Leandro Melo de Sales [EMAIL PROTECTED]:

Hi,

 I configured my openldap and I run slaptest and got this:

# slaptest -d 10
lt_dlopenext failed: (back_ldbm.la) file not found
slaptest: bad configuration file!

How can I get back_ldbm.la file? The openldap version is 2.3.24-r1.

Thank you,

Leandro.

--

slapd.conf

include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema

password-hash {md5}
pidfile /var/run/openldap/slapd.pid
argsfile/var/run/openldap/slapd.args

modulepath  /usr/lib64/openldap/openldap
moduleload  back_ldbm.la

TLSCertificateFile /etc/ssl/ldap.pem
TLSCertificateKeyFile /etc/openldap/ssl/ldap.pem
TLSCACertificateFile /etc/ssl/ldap.pem

databaseldbm
suffix  dc=my,dc=domain
directory   /var/lib/openldap-ldbm
index   objectClass eq
rootdn  cn=Manager,dc=my,dc=domain
rootpw  {MD5}




--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Explore2fs and Gentoo

2006-06-14 Thread Leandro Melo de Sales

Hi,

  in my laptop I use linux and windows. Sometimes when I'm using
windows I need to access data from my linux ext3 partition. So I tried
to use Explore2fs application. It detects my two ext3 (hda3 and hda4)
partitions, but when I click to explore the hda3 partition (root
partition) I got the following message:

Error: Access violation at address 0009A8C9 in module
'explore2fs.exe'. Read of address 00E09084

But if I explore the hda4 partition, I can see the files. Does someone
can help me?

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



Re: [gentoo-user] Re: Daemons log on Gentoo

2006-06-06 Thread Leandro Melo de Sales

2006/6/6, Mick [EMAIL PROTECTED]:

On 06/06/06, Leandro Melo de Sales [EMAIL PROTECTED] wrote:
 Still not working... :( and now?

Sorry, no idea.  The daemon(s) you want to monitor may need to be
launched with particular options and/or config file parameters to
switch on logging.
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list




Apache, for instance... do you know?
--
gentoo-user@gentoo.org mailing list



[gentoo-user] SSH authentication attempts - serious issue

2006-06-05 Thread Leandro Melo de Sales

Hi,

  today when I was checking the server log I got many external
attempts to connect to my sshd service:

...
Jun  5 05:09:45 embedded sshd[4740]: Invalid user barbara from x.y.w.z
Jun  5 05:09:46 embedded sshd[4742]: Invalid user barb from x.y.w.z
Jun  5 05:09:48 embedded sshd[4744]: Invalid user barbie from x.y.w.z
Jun  5 05:09:50 embedded sshd[4746]: Invalid user barbra from x.y.w.z
Jun  5 05:09:51 embedded sshd[4748]: Invalid user barman from x.y.w.z
Jun  5 05:09:53 embedded sshd[4750]: Invalid user barney from x.y.w.z
...

this seems to be a brute force attack, but one thing that worried me
is why sshd didn't disconnect the remote host after 3 unsuccessful
attemps? If we see in the log, there are many attemps with time
interval between attemps of 2 or 3 seconds meaning that the sshd
didn't disconnect the remote host after 3 attempts.
So, first, Am I thinking correct about the sshd attempts?
Second, how can I setup sshd or the entire system to permit just 2 or
3 attempts of authentication? I was checking the /etc/login.defs file
and I see the following option:

#
# Max number of login retries if password is bad
#
LOGIN_RETRIES   3

but why this didn't work for the above connection attempts?

Thank you,

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



Re: [gentoo-user] SSH authentication attempts - serious issue

2006-06-05 Thread Leandro Melo de Sales

Yes, but how can I do it?

2006/6/5, Joseph [EMAIL PROTECTED]:

Try port knocking.  It is very effective.
Your ssh port will be closed until you successfully hit certain number
of ports and even though the ssh port will be open only to the IP
address that successfully opened the port all others will see ssh port
as closed.

--
#Joseph

On Mon, 2006-06-05 at 12:06 -0300, Leandro Melo de Sales wrote:
 Hi,

today when I was checking the server log I got many external
 attempts to connect to my sshd service:

 ...
 Jun  5 05:09:45 embedded sshd[4740]: Invalid user barbara from x.y.w.z
 Jun  5 05:09:46 embedded sshd[4742]: Invalid user barb from x.y.w.z
 Jun  5 05:09:48 embedded sshd[4744]: Invalid user barbie from x.y.w.z
 Jun  5 05:09:50 embedded sshd[4746]: Invalid user barbra from x.y.w.z
 Jun  5 05:09:51 embedded sshd[4748]: Invalid user barman from x.y.w.z
 Jun  5 05:09:53 embedded sshd[4750]: Invalid user barney from x.y.w.z
 ...

--
gentoo-user@gentoo.org mailing list





--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

Sometimes people fall in love, but a little bit of them really love
or find a truth love. Or sometimes they find it but for some reason
they let love pass without live it intensely. This is the free-well.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SSH authentication attempts - serious issue

2006-06-05 Thread Leandro Melo de Sales

2006/6/5, Leandro Melo de Sales [EMAIL PROTECTED]:

Yes, but how can I do it?

2006/6/5, Joseph [EMAIL PROTECTED]:
 Try port knocking.  It is very effective.
 Your ssh port will be closed until you successfully hit certain number
 of ports and even though the ssh port will be open only to the IP
 address that successfully opened the port all others will see ssh port
 as closed.

 --
 #Joseph

 On Mon, 2006-06-05 at 12:06 -0300, Leandro Melo de Sales wrote:
  Hi,
 
 today when I was checking the server log I got many external
  attempts to connect to my sshd service:
 
  ...
  Jun  5 05:09:45 embedded sshd[4740]: Invalid user barbara from x.y.w.z
  Jun  5 05:09:46 embedded sshd[4742]: Invalid user barb from x.y.w.z
  Jun  5 05:09:48 embedded sshd[4744]: Invalid user barbie from x.y.w.z
  Jun  5 05:09:50 embedded sshd[4746]: Invalid user barbra from x.y.w.z
  Jun  5 05:09:51 embedded sshd[4748]: Invalid user barman from x.y.w.z
  Jun  5 05:09:53 embedded sshd[4750]: Invalid user barney from x.y.w.z
  ...

 --
 gentoo-user@gentoo.org mailing list





I mean, setup it!
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SSH authentication attempts - serious issue

2006-06-05 Thread Leandro Melo de Sales

How can I recompiler openssh to support tcpwrapper? I can't find
/etc/hosts.allow neither /etc/hosts.deny. Is there something missing?
Is there a way to put tcpwrapper as a turned on option for all
programs that supports it?

Specifically for openssh I edit /etc/portage/package.use file and put:

net-misc/openssh tcpwrapper, but I got this:

# emerge --pretend openssh

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] net-misc/openssh-4.3_p2-r1

I want to see +tcpwrapper...

Leandro

2006/6/5, Oliver Schmidt [EMAIL PROTECTED]:

 Hi,

today when I was checking the server log I got many external
 attempts to connect to my sshd service:

 ...
 Jun  5 05:09:45 embedded sshd[4740]: Invalid user barbara from x.y.w.z
 Jun  5 05:09:46 embedded sshd[4742]: Invalid user barb from x.y.w.z
 Jun  5 05:09:48 embedded sshd[4744]: Invalid user barbie from x.y.w.z
 Jun  5 05:09:50 embedded sshd[4746]: Invalid user barbra from x.y.w.z
 Jun  5 05:09:51 embedded sshd[4748]: Invalid user barman from x.y.w.z
 Jun  5 05:09:53 embedded sshd[4750]: Invalid user barney from x.y.w.z
 ...

 this seems to be a brute force attack, but one thing that worried me
 is why sshd didn't disconnect the remote host after 3 unsuccessful
 attemps? If we see in the log, there are many attemps with time
 interval between attemps of 2 or 3 seconds meaning that the sshd
 didn't disconnect the remote host after 3 attempts.
  So, first, Am I thinking correct about the sshd attempts?
  Second, how can I setup sshd or the entire system to permit just 2 or
 3 attempts of authentication? I was checking the /etc/login.defs file
 and I see the following option:


Try use Denyhosts ... no problem with bruteforce attacks anymore. Denyhosts
add the IP of the attacker to the /etc/hosts.deny file.
Install it with:
ACCEPT_KEYWORDS=~x86 emerge denyhosts
and add to your /etc/crontab
*/10 * * * * root python /usr/bin/denyhosts -c /etc/denyhosts.conf

Use it now for more then a year... its perfect to block bruteforce attacks.

cheers
Oli


--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Daemons log on Gentoo

2006-06-05 Thread Leandro Melo de Sales

Still not working... :( and now?

2006/6/5, Mick [EMAIL PROTECTED]:

On 04/06/06, Leandro Melo de Sales [EMAIL PROTECTED] wrote:

 Yes, I restart syslog-ng... any clue?

Also restart the daemon you want to monitor.
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list





--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

Sometimes people fall in love, but a little bit of them really love
or find a truth love. Or sometimes they find it but for some reason
they let love pass without live it intensely. This is the free-well.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SSH authentication attempts - serious issue

2006-06-05 Thread Leandro Melo de Sales

2006/6/5, Jeremy Olexa [EMAIL PROTECTED]:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Leandro Melo de Sales wrote:
 How can I recompiler openssh to support tcpwrapper? I can't find
 /etc/hosts.allow neither /etc/hosts.deny. Is there something missing?
 Is there a way to put tcpwrapper as a turned on option for all
 programs that supports it?

You have to create those files yourself. Check the man pages for details.

 Specifically for openssh I edit /etc/portage/package.use file and put:

 net-misc/openssh tcpwrapper, but I got this:

 # emerge --pretend openssh

 These are the packages that I would merge, in order:

 Calculating dependencies ...done!
 [ebuild   R   ] net-misc/openssh-4.3_p2-r1

emerge -pv openssh to see the use flags

 I want to see +tcpwrapper...

 Leandro



- --
Jeremy Olexa
([EMAIL PROTECTED])
Office: EE/CS 1-201
CS/IT Systems Staff
University of Minnesota

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEhK5QFN7pD9kMi/URAjUOAJ9R8k2MFroPIARt416uCTYVBYKg+wCfdETZ
12tlmhjYe7G2FkI0lJvw/lI=
=KafU
-END PGP SIGNATURE-
--
gentoo-user@gentoo.org mailing list





OK. Thanks all, now it is working.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Daemons log on Gentoo

2006-06-04 Thread Leandro Melo de Sales

Hi Mark.. I made the proper changes and still not working.. :(

# vi /etc/syslog-ng/syslog-ng.conf
options {
   chain_hostnames(off);
   sync(0);
   perm(0640);
   dir_perm(0750);
   create_dirs(yes);
   stats(43200);
}

source src { unix-stream(/dev/log); internal(); pipe(/proc/kmsg); };
source kernsrc { pipe(/proc/kmsg); };
destination messages { file(/var/log/messages); };
destination daemon { file(/var/log/daemon.log); };
filter f_daemon { facility(daemon); };

destination console_all { file(/dev/tty12); };

log { source(src); filter(f_daemon); destination(daemon); };
log { source(src); destination(messages); };
log { source(src); destination(console_all); };


What is wrong?


2006/6/4, Mick [EMAIL PROTECTED]:

On 03/06/06, Leandro Melo de Sales [EMAIL PROTECTED] wrote:
 I'm using syslog-ng

 2006/6/3, Daniel da Veiga [EMAIL PROTECTED]:
  On 6/3/06, Leandro Melo de Sales [EMAIL PROTECTED] wrote:
   Hi,
  
  I can't find /var/log/daemon... Every time a service is stopped or

I have this in my /var/log/ directory:
==
-rw-r-  1 rootroot 116223 Jun  3 18:08 daemon.log
==

In addition, check the extract from my /etc/syslog-ng/syslog-ng.conf
(which created the daemon.log file in the first place):
==
options {
chain_hostnames(off);
sync(0);

perm(0640);
dir_perm(0750);
create_dirs(yes);

[snip . . . ]
stats(43200);
};

source src { unix-stream(/dev/log); internal(); pipe(/proc/kmsg); };
source kernsrc { pipe(/proc/kmsg); };

[snip . . . ]
destination daemon { file(/var/log/daemon.log); };

[snip . . . ]
#create filters
filter f_daemon { facility(daemon); };

[snip . . . ]
#connect filter and destination
log { source(src); filter(f_daemon); destination(daemon); };
==

Adding this in /etc/logrotate.conf ensures that the
/var/log/daemon.log file size does not get out of hand:
==
# when /var/log/daemon.log gets big
/var/log/daemon.log
{
rotate 1
weekly
size=1M
}
==

Of course the latter is only relevant if you are using logrotate.

HTH.
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



[gentoo-user] Perl Geo-IP

2006-06-04 Thread Leandro Melo de Sales

Hi
 I'm trying to compile dev-perl/Geo-IP and I got the following message:


Source unpacked.

* Using ExtUtils::MakeMaker
Checking if your kit is complete...
Looks good
Unrecognized argument in LIBS ignored: ''-L/usr/lib64''
Writing Makefile for Geo::IP
cp lib/Geo/Mirror.pm blib/lib/Geo/Mirror.pm
cp lib/Geo/IP/Record.pod blib/lib/Geo/IP/Record.pod
cp lib/Geo/IP/Record.pm blib/lib/Geo/IP/Record.pm
cp lib/Geo/IP.pm blib/lib/Geo/IP.pm
/usr/bin/perl5.8.8 /usr/lib64/perl5/5.8.8/ExtUtils/xsubpp  -typemap
/usr/lib64/perl5/5.8.8/ExtUtils/typemap -typemap typemap  IP.xs 
IP.xsc  mv IP.xsc IP.c
x86_64-pc-linux-gnu-gcc -c   -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -march=athlon64 -O2 -pipe   -DVERSION=\1.27\
-DXS_VERSION=\1.27\ -fPIC
-I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE   IP.c
Running Mkbootstrap for Geo::IP ()
chmod 644 IP.bs
rm -f blib/arch/auto/Geo/IP/IP.so
x86_64-pc-linux-gnu-gcc  -shared -L/usr/local/lib64 IP.o  -o
blib/arch/auto/Geo/IP/IP.so\
  -lGeoIP  \

/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld:
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../lib64/libGeoIP.a(GeoIP.o):
relocation R_X86_64_32 against `a local symbol' can not be used when
making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../lib64/libGeoIP.a:
could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/Geo/IP/IP.so] Error 1

!!! ERROR: dev-perl/Geo-IP-1.27 failed.
!!! Function perl-module_src_compile, Line 121, Exitcode 2


What's up?

Thank u,

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



Re: [gentoo-user] Daemons log on Gentoo

2006-06-04 Thread Leandro Melo de Sales

2006/6/4, Jeremy Olexa [EMAIL PROTECTED]:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Leandro Melo de Sales wrote:
 Hi Mark.. I made the proper changes and still not working.. :(

 # vi /etc/syslog-ng/syslog-ng.conf
 options {
chain_hostnames(off);
sync(0);
perm(0640);
dir_perm(0750);
create_dirs(yes);
stats(43200);
 }

 source src { unix-stream(/dev/log); internal(); pipe(/proc/kmsg); };
 source kernsrc { pipe(/proc/kmsg); };
 destination messages { file(/var/log/messages); };
 destination daemon { file(/var/log/daemon.log); };
 filter f_daemon { facility(daemon); };

 destination console_all { file(/dev/tty12); };

 log { source(src); filter(f_daemon); destination(daemon); };
 log { source(src); destination(messages); };
 log { source(src); destination(console_all); };


 What is wrong?

I assume that you restarted the service? ;-)


(PS. The standard convention on mailing lists is to post your reply on
the bottom of the message.)


- --
Jeremy Olexa
([EMAIL PROTECTED])
Office: EE/CS 1-201
CS/IT Systems Staff
University of Minnesota

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEg0t2FN7pD9kMi/URAl7ZAJ0edMyJBPMMmnA9l8sL9jt1QOw+RACfUXzi
IQmpfaaqX27LlFKwfqoqDZ8=
=SV4D
-END PGP SIGNATURE-
--
gentoo-user@gentoo.org mailing list




OK Jeremy, sorry... Now I'm posting on the bottom of the message! ;)

Yes, I restart syslog-ng... any clue?
--
gentoo-user@gentoo.org mailing list



[gentoo-user] /etc/DIR_COLORS

2006-06-03 Thread Leandro Melo de Sales

Hi,

 How can I set the proper ls configuration to show ls output colored?
I type dircolors -b /etc/DIR_COLORS and after this?

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



[gentoo-user] cvsd and Gentoo

2006-06-03 Thread Leandro Melo de Sales

Hi,

  I setup cvsd as shown in http://gentoo-wiki.com/HOWTO_CVS_Server.
When I test if I connect locally, in the shell everything works fine,
as it is shown in /var/log/message:

Jun  3 16:31:24 embedded cvsd[13679]: connection from 127.0.0.1 43619
Jun  3 16:31:24 embedded cvsd[13679]: cvs command exited with exit-status 0

 But when I try this from a remote machine (in the same network
range, no firewalls) I can't connect:

Jun  3 16:42:01 embedded cvsd[13679]: connection from 192.168.0.228 1290
Jun  3 16:42:01 embedded cvsd[13679]: cvs command exited with exit-status 1

Here are the netstat -na output:

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address   Foreign Address State
tcp0  0 127.0.0.1:3306  0.0.0.0:*   LISTEN
tcp0  0 0.0.0.0:80  0.0.0.0:*   LISTEN
tcp0  0 0.0.0.0:443 0.0.0.0:*   LISTEN
tcp0  0 :::2401 :::*LISTEN
tcp0  0 :::22   :::*LISTEN
tcp0  0 :::192.168.0.1:22  :::192.168.0.:1496 ESTABLISHED
tcp0  0 :::192.168.0.1:22  :::192.168.0.:1446 ESTABLISHED
tcp0128 :::192.168.0.1:22  :::192.168.0.:1153 ESTABLISHED

What I need to do? To certify that the remote machine can reach the
cvs server and connect to 2401 port I telned to 2401 port:

# telnet 192.168.0.1 2401
press enter

cvs [pserver aborted]: bad auth protocol start:

connection reset by peer.

So, what is the problem?

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



[gentoo-user] Daemons log on Gentoo

2006-06-03 Thread Leandro Melo de Sales

Hi,

  I can't find /var/log/daemon... Every time a service is stopped or
started I want to log it on /dev/log/daemon. In addition, I can't see
it on /var/log/message. I tried to stop apache for instance and the
system didn't log this event in /var/log/message, why?

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



Re: [gentoo-user] Daemons log on Gentoo

2006-06-03 Thread Leandro Melo de Sales

The filesystem doesn't have this directory... any clue?

2006/6/3, Teresa and Dale [EMAIL PROTECTED]:

Leandro Melo de Sales wrote:

 Hi,

   I can't find /var/log/daemon... Every time a service is stopped or
 started I want to log it on /dev/log/daemon. In addition, I can't see
 it on /var/log/message. I tried to stop apache for instance and the
 system didn't log this event in /var/log/message, why?

 Leandro.


Look in /var/log/everything/ and see if anything is in there.  One of
the logger puts it in there.

Dale
:-)
--
gentoo-user@gentoo.org mailing list





--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

Sometimes people fall in love, but a little bit of them really love
or find a truth love. Or sometimes they find it but for some reason
they let love pass without live it intensely. This is the free-well.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Daemons log on Gentoo

2006-06-03 Thread Leandro Melo de Sales

I'm using syslog-ng

2006/6/3, Daniel da Veiga [EMAIL PROTECTED]:

On 6/3/06, Leandro Melo de Sales [EMAIL PROTECTED] wrote:
 Hi,

I can't find /var/log/daemon... Every time a service is stopped or

Well, I don't know what logger uses this dir, but anyway, you should
be looking for logs, not for a specific dir.

 started I want to log it on /dev/log/daemon. In addition, I can't see
 it on /var/log/message. I tried to stop apache for instance and the

What is your logger?

 system didn't log this event in /var/log/message, why?

Hmmm, depends on your logger, syslog-ng does stuff like that, check
its man page...



--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--
--
gentoo-user@gentoo.org mailing list





--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

Sometimes people fall in love, but a little bit of them really love
or find a truth love. Or sometimes they find it but for some reason
they let love pass without live it intensely. This is the free-well.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help on gentoo 2.6

2006-06-01 Thread Leandro Melo de Sales

Hi Bob,

  type lspci and see what is your network card. After this, choose a
proper driver on kernel menuconfig and make the proper adjusts.
  If you put the driver as module, edit
/etc/modules.autoload.d/kernel-2.6 file and put the name of the module
there ( follow the example given ). If you compile the driver *built
in* you don't need to add the module name in kernel-2.6 file.
  Let us know the result.

Leandro.

2006/6/1, Bob Bao [EMAIL PROTECTED]:







Hi guys.

I installed 2.6.16-gentoo-r7 on a x86 desk top computer.

After reboot, I fond two problems.

The net work connection lost. I run the /etc/init.d/net.eth0 start, get a
eth0 does not exist error message. Is there any one can help me fix it. I
need to download more tools for the basic operating system.

Another problem is when I run rc -update there is an error message 
runlevel update is not existed .

Thanks.

Bob Bao

[EMAIL PROTECTED]



--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

Sometimes people fall in love, but a little bit of them really love
or find a truth love. Or sometimes they find it but for some reason
they let love pass without live it intensely. This is the free-well.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /etc/login.defs

2006-05-31 Thread Leandro Melo de Sales

Thank u Christian!

2006/5/31, Christian Limberg [EMAIL PROTECTED]:

Leandro Melo de Sales schrieb:
 I updated some programs and after this, everytime I go to a terminal,
 type my username I got the following messages:

 configuration error - unknown item 'FAILLOG_ENAB' (notify administrator)
 configuration error - unknown item 'LASTLOG_ENAB' (notify administrator)
 configuration error - unknown item 'MOTD_FILE' (notify administrator)
 configuration error - unknown item 'FTMP_FILE' (notify administrator)
 configuration error - unknown item 'ENV_ROOTPATH' (notify administrator)
 configuration error - unknown item 'PASS_MIN_LEN' (notify administrator)
 configuration error - unknown item 'CHFN_AUTH' (notify administrator

 How can I solve this?

 Leandro.

As far a I know by running etc-update. Some configs concerning the
login have changed a few weeks ago.


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





--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

Sometimes people fall in love, but a little bit of them really love
or find a truth love. Or sometimes they find it but for some reason
they let love pass without live it intensely. This is the free-well.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Domainname configuration

2006-05-31 Thread Leandro Melo de Sales

Hi,

 I set DNSDOMAIN variable to my domain in /etc/conf.d/domainname
file, but see it:

embedded etc # domainname
(none)

Am I doing something wrong? Or missing something?

--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

Sometimes people fall in love, but a little bit of them really love
or find a truth love. Or sometimes they find it but for some reason
they let love pass without live it intensely. This is the free-well.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Domainname configuration

2006-05-31 Thread Leandro Melo de Sales

embedded ~ # /etc/init.d/domainname status
* Caching service dependencies ...   [ ok ]
* status:  started
embedded ~ # domainname
(none)


2006/5/31, Teresa and Dale [EMAIL PROTECTED]:

Leandro Melo de Sales wrote:

 Hi,

  I set DNSDOMAIN variable to my domain in /etc/conf.d/domainname
 file, but see it:

 embedded etc # domainname
 (none)

 Am I doing something wrong? Or missing something?


Check this:

 /etc/init.d/domainname status


Make sure it is running it.

Dale
:-)  :-)

--
gentoo-user@gentoo.org mailing list





--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

Sometimes people fall in love, but a little bit of them really love
or find a truth love. Or sometimes they find it but for some reason
they let love pass without live it intensely. This is the free-well.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Log management

2006-05-31 Thread Leandro Melo de Sales

Hi,

 I'd like to know a good well-used tool to manage the system logs,
such as /var/log/* (such as apache, messages, mail, deamons, ssh,
...), /var/run/utmp, /var/log/wtmp and so on...

Thank you,

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



Re: [gentoo-user] Domainname configuration

2006-05-31 Thread Leandro Melo de Sales

Yes... thank you. The content of my resolv.conf is similar to yours.

[]s,

Leandro

2006/5/31, Nicolas MASSÉ [EMAIL PROTECTED]:

On Wednesday 31 May 2006 22:13, Leandro Melo de Sales wrote:
 embedded ~ # /etc/init.d/domainname status
  * Caching service dependencies ...   [
 ok ] * status:  started
 embedded ~ # domainname
 (none)


The problem is maybe in your /etc/resolv.conf
Can you show us its content ?

$ cat /etc/resolv.conf
domain nmasse.homeip.net
nameserver 192.168.3.1

$ dnsdomainname
nmasse.homeip.net

Does this help you ?

--
Nicolas MASSÉ
Pour récupérer ma clef GPG:
gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 0x2A18C433
Key fingerprint: 6621 FC23 5DC7 54BA B952 316A 50B1 BC3F 2A18 C433





--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Domainname configuration

2006-05-31 Thread Leandro Melo de Sales

Hi Ryan,

 thank you! You're right!

2006/5/31, Ryan Tandy [EMAIL PROTECTED]:

Leandro Melo de Sales wrote:
 Hi,

  I set DNSDOMAIN variable to my domain in /etc/conf.d/domainname
 file, but see it:

 embedded etc # domainname
 (none)

 Am I doing something wrong? Or missing something?


The command you're looking for is `dnsdomainname`.  `domainname` looks
up your NIS/YP domain name.

Also, the first listed alias for your hostname in /etc/hosts must
include your FQDN.  For example:

192.168.0.2 foo.bar.com foo
--
gentoo-user@gentoo.org mailing list





--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

Sometimes people fall in love, but a little bit of them really love
or find a truth love. Or sometimes they find it but for some reason
they let love pass without live it intensely. This is the free-well.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] SSH connection reset by peer

2006-05-31 Thread Leandro Melo de Sales

How can I control the idle time? I don't want ssh disconnection even
if the user is idle.

Read from remote host x.y.w.z: Connection reset by peer

Thank u,

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



[gentoo-user] Libwww

2006-05-31 Thread Leandro Melo de Sales

Hi,

  I'm trying to install Libwww but I got erros, please, see:

/bin/sh ../../libtool --mode=link x86_64-pc-linux-gnu-gcc
-march=athlon64 -O2 -pipe -Wall  -o head  head.o ../src/libwwwinit.la
../src/libwwwapp.la ../../Library/src/libwwwxml.la
../../modules/expat/xmlparse/libxmlparse.la
../../modules/expat/xmltok/libxmltok.la ../src/libwwwhtml.la
../src/libwwwtelnet.la  ../src/libwwwnews.la../src/libwwwhttp.la
../src/libwwwmime.la   ../src/libwwwgopher.la
../src/libwwwftp.la ../src/libwwwdir.la ../src/libwwwcache.la
../src/libwwwstream.la ../src/libwwwfile.la
../src/libwwwmux.la ../src/libwwwtrans.la   ../src/libwwwcore.la
../src/libwwwutils.la  ../../Library/src/SSL/libwwwssl.la
-lm ../../Library/src/libwwwzip.la
../../Library/src/libwwwsql.la ../../modules/md5/libmd5.la -ldl  -lz
-L/usr/lib64/mysql -lmysqlclient -L/usr/lib -lssl -lcrypto
/bin/sh ../../libtool --mode=link x86_64-pc-linux-gnu-gcc
-march=athlon64 -O2 -pipe -Wall  -o libapp_1  libapp_1.o
../src/libwwwinit.la   ../src/libwwwapp.la
../../Library/src/libwwwxml.la
../../modules/expat/xmlparse/libxmlparse.la
../../modules/expat/xmltok/libxmltok.la ../src/libwwwhtml.la
../src/libwwwtelnet.la  ../src/libwwwnews.la../src/libwwwhttp.la
   ../src/libwwwmime.la../src/libwwwgopher.la
../src/libwwwftp.la ../src/libwwwdir.la ../src/libwwwcache.la
   ../src/libwwwstream.la  ../src/libwwwfile.la
../src/libwwwmux.la ../src/libwwwtrans.la   ../src/libwwwcore.la
   ../src/libwwwutils.la   ../../Library/src/SSL/libwwwssl.la
-lm ../../Library/src/libwwwzip.la
../../Library/src/libwwwsql.la ../../modules/md5/libmd5.la -ldl  -lz
-L/usr/lib64/mysql -lmysqlclient -L/usr/lib -lssl -lcrypto
/bin/sh ../../libtool --mode=link x86_64-pc-linux-gnu-gcc
-march=athlon64 -O2 -pipe -Wall  -o libapp_2  libapp_2.o
../src/libwwwinit.la   ../src/libwwwapp.la
../../Library/src/libwwwxml.la
../../modules/expat/xmlparse/libxmlparse.la
../../modules/expat/xmltok/libxmltok.la ../src/libwwwhtml.la
../src/libwwwtelnet.la  ../src/libwwwnews.la../src/libwwwhttp.la
   ../src/libwwwmime.la../src/libwwwgopher.la
../src/libwwwftp.la ../src/libwwwdir.la ../src/libwwwcache.la
   ../src/libwwwstream.la  ../src/libwwwfile.la
../src/libwwwmux.la ../src/libwwwtrans.la   ../src/libwwwcore.la
   ../src/libwwwutils.la   ../../Library/src/SSL/libwwwssl.la
-lm ../../Library/src/libwwwzip.la
../../Library/src/libwwwsql.la ../../modules/md5/libmd5.la -ldl  -lz
-L/usr/lib64/mysql -lmysqlclient -L/usr/lib -lssl -lcrypto
mkdir .libs
x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -Wall -o
.libs/libapp_2 libapp_2.o  ../src/.libs/libwwwinit.so
-L/usr/lib64/mysql -L/usr/lib64 -L/usr/lib ../src/.libs/libwwwapp.so
../../Library/src/.libs/libwwwxml.so
../../modules/expat/xmlparse/.libs/libxmlparse.so
../../modules/expat/xmltok/.libs/libxmltok.so
../src/.libs/libwwwhtml.so ../src/.libs/libwwwtelnet.so
../src/.libs/libwwwnews.so ../src/.libs/libwwwhttp.so
../src/.libs/libwwwmime.so ../src/.libs/libwwwgopher.so
../src/.libs/libwwwftp.so ../src/.libs/libwwwdir.so
../src/.libs/libwwwcache.so ../src/.libs/libwwwstream.so
../src/.libs/libwwwfile.so ../src/.libs/libwwwmux.so
../src/.libs/libwwwtrans.so ../src/.libs/libwwwcore.so
../src/.libs/libwwwutils.so ../../Library/src/SSL/.libs/libwwwssl.so
../../Library/src/.libs/libwwwzip.so
../../Library/src/.libs/libwwwsql.so ../../modules/md5/.libs/libmd5.so
-ldl /usr/lib64/mysql/libmysqlclient.so -lz -lcrypt -lnsl -lm -lssl
-lcrypto -Wl,--rpath -Wl,/usr/lib64/mysql
x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -Wall -o .libs/head
head.o  ../src/.libs/libwwwinit.so -L/usr/lib64/mysql -L/usr/lib64
-L/usr/lib ../src/.libs/libwwwapp.so
../../Library/src/.libs/libwwwxml.so
../../modules/expat/xmlparse/.libs/libxmlparse.so
../../modules/expat/xmltok/.libs/libxmltok.so
../src/.libs/libwwwhtml.so ../src/.libs/libwwwtelnet.so
../src/.libs/libwwwnews.so ../src/.libs/libwwwhttp.so
../src/.libs/libwwwmime.so ../src/.libs/libwwwgopher.so
../src/.libs/libwwwftp.so ../src/.libs/libwwwdir.so
../src/.libs/libwwwcache.so ../src/.libs/libwwwstream.so
../src/.libs/libwwwfile.so ../src/.libs/libwwwmux.so
../src/.libs/libwwwtrans.so ../src/.libs/libwwwcore.so
../src/.libs/libwwwutils.so ../../Library/src/SSL/.libs/libwwwssl.so
../../Library/src/.libs/libwwwzip.so
../../Library/src/.libs/libwwwsql.so ../../modules/md5/.libs/libmd5.so
-ldl /usr/lib64/mysql/libmysqlclient.so -lz -lcrypt -lnsl -lm -lssl
-lcrypto -Wl,--rpath -Wl,/usr/lib64/mysql
../../Library/src/.libs/libwwwsql.so: undefined reference to `mysql_connect'
../../Library/src/.libs/libwwwsql.so: undefined reference to `mysql_create_db'
collect2: ld returned 1 exit status
make[3]: *** [head] Error 1
make[3]: *** Waiting for unfinished jobs
../../Library/src/.libs/libwwwsql.so: undefined reference to `mysql_connect'
../../Library/src/.libs/libwwwsql.so: undefined reference to `mysql_create_db'
collect2: ld returned 1 exit 

Re: [gentoo-user] udev rules and boot + SCSI disks

2006-05-30 Thread Leandro Melo de Sales

Richard,

 when I change any rules, should I have to execute a command in order
to update the udev rules?

Thank you,

Leandro.

2006/5/30, Richard Fish [EMAIL PROTECTED]:

On 5/29/06, Leandro Melo de Sales [EMAIL PROTECTED] wrote:
   BUS==scsi, SYSFS{model}==SAMSUNG SP123245, NAME=/dev/sda
   BUS==scsi, SYSFS{model}==SysOp   , NAME=/dev/sdb
   BUS==scsi, SYSFS{model}==Dados   , NAME=/dev/sdc

1. You probably need the := syntax to prevent later rules from
over-riding your settings.  For example, in 50-udev.rules, I see:
50-udev.rules:KERNEL==sd*,NAME=%k, GROUP=disk

2. You should not have the /dev/ part of NAME.

3. You probably also need to handle the partitions with the %n syntax

So those rules should be more like:

BUS==scsi, KERNEL==sd*, SYSFS{model}==SAMSUNG SP123245, NAME:=sda%n
BUS==scsi, KERNEL==sd*, SYSFS{model}==SysOp   , NAME:=sdb%n
BUS==scsi, KERNEL==sd*, SYSFS{model}==Dados   , NAME:=sdc%n

You might also consider using LVM on these disks, so you need not care
about sdX, or mounting them by fileystem label.

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



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] udev rules and boot + SCSI disks

2006-05-30 Thread Leandro Melo de Sales

Richard,

 You said that one rule can override other, but if you read udev
manual ( http://www.reactivated.net/writing_udev_rules.html ), you'll
realize that what you said I think is incorrect.

Files in /etc/udev/rules.d/ are parsed in lexical order. udev will
stop processing rules as soon as it finds a matching rule in a file
for the new item of hardware that has been detected. It is important
that your own rules get processed before the udev defaults, otherwise
your own naming schemes will not take effect! I suggest that you keep
your own rules in a file at /etc/udev/rules.d/10-local.rules (this
doesn't exist by default - create it). As 10 comes before 50, you know
that your rules will be looked at first. It is important that the
filenames of your rule files end with the .rules suffix, otherwise
they will not be used.

Let me know if I am wrong too? :-)

Leandro.

2006/5/30, Richard Fish [EMAIL PROTECTED]:

On 5/29/06, Leandro Melo de Sales [EMAIL PROTECTED] wrote:
   BUS==scsi, SYSFS{model}==SAMSUNG SP123245, NAME=/dev/sda
   BUS==scsi, SYSFS{model}==SysOp   , NAME=/dev/sdb
   BUS==scsi, SYSFS{model}==Dados   , NAME=/dev/sdc

1. You probably need the := syntax to prevent later rules from
over-riding your settings.  For example, in 50-udev.rules, I see:
50-udev.rules:KERNEL==sd*,NAME=%k, GROUP=disk

2. You should not have the /dev/ part of NAME.

3. You probably also need to handle the partitions with the %n syntax

So those rules should be more like:

BUS==scsi, KERNEL==sd*, SYSFS{model}==SAMSUNG SP123245, NAME:=sda%n
BUS==scsi, KERNEL==sd*, SYSFS{model}==SysOp   , NAME:=sdb%n
BUS==scsi, KERNEL==sd*, SYSFS{model}==Dados   , NAME:=sdc%n

You might also consider using LVM on these disks, so you need not care
about sdX, or mounting them by fileystem label.

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





--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

--
gentoo-user@gentoo.org mailing list



[gentoo-user] /etc/login.defs

2006-05-30 Thread Leandro Melo de Sales

I updated some programs and after this, everytime I go to a terminal,
type my username I got the following messages:

configuration error - unknown item 'FAILLOG_ENAB' (notify administrator)
configuration error - unknown item 'LASTLOG_ENAB' (notify administrator)
configuration error - unknown item 'MOTD_FILE' (notify administrator)
configuration error - unknown item 'FTMP_FILE' (notify administrator)
configuration error - unknown item 'ENV_ROOTPATH' (notify administrator)
configuration error - unknown item 'PASS_MIN_LEN' (notify administrator)
configuration error - unknown item 'CHFN_AUTH' (notify administrator

How can I solve this?

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



[gentoo-user] udev rules and boot + SCSI disks

2006-05-29 Thread Leandro Melo de Sales

Hi...

 I made a gentoo installation by reading gentoo installation guide.
When I boot from livecd the configuration of my disks is as follows:

  BUS=scsi
  /dev/sda  -  SYSFS{model}==SAMSUNG SP...

  BUS=scsi
  /dev/sdb  -  SYSFS{model}==SysOp   

  BUS=scsi
  /dev/sdc  -  SYSFS{model}==Dados   

  I got this information through udevinfo shell command.

  /dev/sdb has BIOS boot priority, so I installed grub on it.

 But when I boot the system with the kernel that I compiled (yes, I
put all modules/drivers required for my scsi controllers and sata on
it), the udev recognize the disks in a different order, such as:

  BUS=scsi
  /dev/sda  -  SYSFS{model}==SysOp   

  BUS=scsi
  /dev/sdb  -  SYSFS{model}==Dados   

  BUS=scsi
  /dev/sdc  -  SYSFS{model}==SAMSUNG SP123245

 so, when gentoo activate udev the system shows a message that the
boot device was not specified or not recognized. I go to shell and
type dmesg, the disks is recognized but in such order that I said, not
as the same as livecd. I started up the system with livecd again, than
I created the file /etc/udev/rules.d/10-local.rules with the following
rules:

 BUS==scsi, SYSFS{model}==SAMSUNG SP123245, NAME=/dev/sda
 BUS==scsi, SYSFS{model}==SysOp   , NAME=/dev/sdb
 BUS==scsi, SYSFS{model}==Dados   , NAME=/dev/sdc

 and finally I typed:

 # udevstartup
 # exit
 # umount /mnt/gentoo/dev/ /mnt/gentoo/proc /mnt/gentoo
 # reboot

 The system continue showing me the same message, after activate
udev, the boot device was not find or not recognized.

 So, what I'm doing wrong? All pointers/suggestion are accepted. When
I installed grub on /dev/sdb when I was on livecd everything went
fine.

Thank you,

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



[gentoo-user] Gentoo and SCSI + RAID

2006-05-24 Thread Leandro Melo de Sales

Hi list,

 I'm tired with my problem and I hope someone can help... the problem is:

 I have my / partition on /dev/sda1, including /boot. But 2 days ago
when I did the gentoo instalation I put it on a wrong disk. /
partition must be /dev/sdb2, that is connected to a SCSI controler
different than /dev/sda, that is connected in another one. Well, when
I had / on /dev/sda1 I setup lilo.conf and everything works fine:

image=/boot/kernel-genkernel-x86_64-2.6.16-gentoo-r7
   label = Gentoo
   read-only # read-only for checking
   root=/dev/ram0
   append=doscsi init=/linuxrc ramdisk=8192 real_root=/dev/sda1 udev
   initrd=/boot/initramfs-genkernel-x86_64-2.6.16-gentoo-r7

But as I said (due to my company rules) I have to put / partition on
/dev/sdb2. So, I boot from gentoo livecd and copy the entire /dev/sda1
data to /dev/sdb2. After this I change the lilo.conf as follows:

image=/boot/kernel-genkernel-x86_64-2.6.16-gentoo-r7
   label = Gentoo
   read-only # read-only for checking
   root=/dev/ram0
   append=doscsi init=/linuxrc ramdisk=8192 real_root=/dev/sdb2 udev
   initrd=/boot/initramfs-genkernel-x86_64-2.6.16-gentoo-r7

But, when I boot the computer I got the following message:


Mounting root...

mkdir: Cannot create directory '/newroot/tmp':Read-only file system
mkdir: //newroot/dev/console: No such file or directory
mknod: //newroot/dev/tty1: No such file or directory
Booting (initramfs)..
chroot: cannot execute /bin/sh: No such file or directory
Kernel panic - not syncing: Attempted to kill init!

I put Adaptec AARAID module *build in* in the kernel, without it the
/dev/sdb2 is not recognized. I generated the kernel using genkernel
--menuconfig all.

Any clue?

Thank you very much.

Leandro.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Gentoo and SCSI + RAID

2006-05-24 Thread Leandro Melo de Sales

Just to complete information about the previous e-mail that I sent to
the list...

livecd ~ # lspci
00:06.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8111 PCI (rev 07)
00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-8111 LPC (rev 05)
00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-8111 IDE (rev 03)
00:07.2 SMBus: Advanced Micro Devices [AMD] AMD-8111 SMBus 2.0 (rev 02)
00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-8111 ACPI (rev 05)
00:0a.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X Bridge (rev 12)
00:0a.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X IOAPIC (rev 01)
00:0b.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X Bridge (rev 12)
00:0b.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X IOAPIC (rev 01)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Miscellaneous Control
00:19.0 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] HyperTransport Technology Configuration
00:19.1 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Address Map
00:19.2 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] DRAM Controller
00:19.3 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Miscellaneous Control
01:03.0 RAID bus controller: Adaptec AAC-RAID (rev 01)
02:09.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5704
Gigabit Ethernet (rev 03)
02:09.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5704
Gigabit Ethernet (rev 03)
03:05.0 Mass storage controller: Silicon Image, Inc. SiI 3114
[SATALink/SATARaid] Serial ATA Controller (rev 02)
03:06.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
03:08.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro
100] (rev 10)

2006/5/24, Leandro Melo de Sales [EMAIL PROTECTED]:

Hi list,

  I'm tired with my problem and I hope someone can help... the problem is:

  I have my / partition on /dev/sda1, including /boot. But 2 days ago
when I did the gentoo instalation I put it on a wrong disk. /
partition must be /dev/sdb2, that is connected to a SCSI controler
different than /dev/sda, that is connected in another one. Well, when
I had / on /dev/sda1 I setup lilo.conf and everything works fine:

image=/boot/kernel-genkernel-x86_64-2.6.16-gentoo-r7
label = Gentoo
read-only # read-only for checking
root=/dev/ram0
append=doscsi init=/linuxrc ramdisk=8192 real_root=/dev/sda1 udev
initrd=/boot/initramfs-genkernel-x86_64-2.6.16-gentoo-r7

But as I said (due to my company rules) I have to put / partition on
/dev/sdb2. So, I boot from gentoo livecd and copy the entire /dev/sda1
data to /dev/sdb2. After this I change the lilo.conf as follows:

image=/boot/kernel-genkernel-x86_64-2.6.16-gentoo-r7
label = Gentoo
read-only # read-only for checking
root=/dev/ram0
append=doscsi init=/linuxrc ramdisk=8192 real_root=/dev/sdb2 udev
initrd=/boot/initramfs-genkernel-x86_64-2.6.16-gentoo-r7

But, when I boot the computer I got the following message:

Mounting root...
mkdir: Cannot create directory '/newroot/tmp':Read-only file system
mkdir: //newroot/dev/console: No such file or directory
mknod: //newroot/dev/tty1: No such file or directory
Booting (initramfs)..
chroot: cannot execute /bin/sh: No such file or directory
Kernel panic - not syncing: Attempted to kill init!

I put Adaptec AARAID module *build in* in the kernel, without it the
/dev/sdb2 is not recognized. I generated the kernel using genkernel
--menuconfig all.

Any clue?

Thank you very much.

Leandro.




--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

--
gentoo-user@gentoo.org mailing list



[gentoo-user] SMP

2006-05-22 Thread Leandro Melo de Sales

Hi,

 I installed gentoo on a AMD64 Opteron dual. When I use livecd the
kernel detects 2 cpu's, but when I boot using the installed system (I
use genkernel), the system detects just 1 cpu. What should I need to
do?

Leandro

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Portage + Package Version

2006-05-22 Thread Leandro Melo de Sales

Hi,

 I want to install an previous version of a package. I need to mask
it at /etc/portage/package.mask, but how can I know the available
gentoo packages in order to mask the right one?

Thanks
Leandro

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Portage + Package Version

2006-05-22 Thread Leandro Melo de Sales

Ok. The package in question is mysql. I what to install version 3, but
I masked the oldest 4.0 and emerge search returns mysql version 5. How
can I install version 3?

Thanks,

Leandro

2006/5/22, Gian Domeni Calgeer [EMAIL PROTECTED]:

Am Montag 22 Mai 2006 20.53 schrieb Leandro Melo de Sales:
 Hi,

   I want to install an previous version of a package. I need to mask
 it at /etc/portage/package.mask, but how can I know the available
 gentoo packages in order to mask the right one?

 Thanks
 Leandro

The simplest method is to have a look at http://packages.gentoo.org/ .

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




--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation AMD64 with SCSI

2006-05-21 Thread Leandro Melo de Sales

Hi Ryan,
 The / partition is ext3. The ufs message is just a warning. I don't
need UFS support. Any other clue?

Leandro.

2006/5/21, Ryan Tandy [EMAIL PROTECTED]:

Leandro Melo de Sales wrote:
 ramdisk compressed image found at block
 ufs: was compiled with read-only support, can't be mounted as read-write
 udf-fs: no particition found (1)
 xfs: bad magic number
 xfs: sb validate failed
 kernel panic - not synching: vfs: unable to mount root fs on unknown
 block (8,18)

What filesystem is your / partition?  Do you have support for it *built
in* to your kernel?  It looks like it found a valid UFS partition, but
failed because it couldn't mount it RW... try making UFS RWable and see
if it helps.
--
gentoo-user@gentoo.org mailing list





--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation AMD64 with SCSI

2006-05-21 Thread Leandro Melo de Sales

Hi Hemmann,

  well, I don't have a good reason to use initrd, but this is an
attempt to try putting gentoo running on my server. I'll kick out ufs
but I don't think that this is the problem.
 Yes, before try to use initrd I put everthing I need *built in* but
didn't work. Any other clue?

Thanks,

Leandro.

2006/5/21, Hemmann, Volker Armin [EMAIL PROTECTED]:

On Sunday 21 May 2006 04:31, Leandro Melo de Sales wrote:
 Ok... now I'm stuck here:

 ramdisk compressed image found at block
 ufs: was compiled with read-only support, can't be mounted as read-write
 udf-fs: no particition found (1)
 xfs: bad magic number
 xfs: sb validate failed
 kernel panic - not synching: vfs: unable to mount root fs on unknown
 block (8,18)



is there any GOOD reason for using an initrd?

Really? I can't imagine any.

Second, what is this ufs stuff? This is linux. Kick out ufs, make the
partitions linux, with ext3 or reiserfs or xfs or jfs. Make a udf, iso9660
and fat module, and don't build the other fs (except sysfs,proc etc).

Build everything needed to boot INTO the kernel. Again, what are the
advantages of a initrd? Except that it is another instance in boot that costs
time and may be introduce a cause of failure?
--
gentoo-user@gentoo.org mailing list





--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation AMD64 with SCSI

2006-05-21 Thread Leandro Melo de Sales

Hi Hemmann,

 thanks to answer. I re-check /etc/fstab and everything seems to be
ok. Yes, I have ext2/3 in the kernel. I think that problem stay in
SCSI support, is there something that I need to check? About
pc-partition support, what you really want to say about it?

Thank you once again,

Leandro.

2006/5/21, Hemmann, Volker Armin [EMAIL PROTECTED]:

On Sunday 21 May 2006 19:01, Leandro Melo de Sales wrote:
 Hi Hemmann,

well, I don't have a good reason to use initrd, but this is an
 attempt to try putting gentoo running on my server. I'll kick out ufs
 but I don't think that this is the problem.
   Yes, before try to use initrd I put everthing I need *built in* but
 didn't work. Any other clue?

your fstab is correct?
you HAVE ext2/3 in your kernel?
you did not accidentally remove pc-partition support?
--
gentoo-user@gentoo.org mailing list





--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation AMD64 with SCSI

2006-05-21 Thread Leandro Melo de Sales

Ok.. I put it. And yes, scsi drivers is in the kernel. Any other clue?

[]s

Leandro.

2006/5/21, Hemmann, Volker Armin [EMAIL PROTECTED]:

On Sunday 21 May 2006 20:19, Leandro Melo de Sales wrote:
 Hi Hemmann,

   thanks to answer. I re-check /etc/fstab and everything seems to be
 ok. Yes, I have ext2/3 in the kernel. I think that problem stay in
 SCSI support, is there something that I need to check? About
 pc-partition support, what you really want to say about it?

 Thank you once again,

I mean this:
  │ │[*]   PC BIOS (MSDOS partition tables) support (NEW)

under Advanced Partition support.

btw, scsi harddisk support is compiled into the kernel?

--
gentoo-user@gentoo.org mailing list





--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation AMD64 with SCSI

2006-05-21 Thread Leandro Melo de Sales

Yes... for both.

2006/5/21, Hemmann, Volker Armin [EMAIL PROTECTED]:

On Sunday 21 May 2006 21:39, Leandro Melo de Sales wrote:
 Ok.. I put it. And yes, scsi drivers is in the kernel. Any other clue?

with drivers you mean the drivers for the card and the scsi disk driver?

--
gentoo-user@gentoo.org mailing list





--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation AMD64 with SCSI

2006-05-21 Thread Leandro Melo de Sales

Exactly... AACRAID one.

2006/5/21, Hemmann, Volker Armin [EMAIL PROTECTED]:

On Sunday 21 May 2006 22:20, Leandro Melo de Sales wrote:
 Yes... for both.

which driver? the aacraid one?

--
gentoo-user@gentoo.org mailing list





--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

--
gentoo-user@gentoo.org mailing list



  1   2   >