[gentoo-user] permission denied (13)

2008-03-26 Thread Kaushal Shriyan
I am running the command

/usr/bin/rsync -avO /var/lib/mysql [EMAIL PROTECTED]:/var/lib/ 
/tmp/rsync-${TIMESTAMP}.log 21

I am getting the below error in the log file

mysql/
rsync: failed to set permissions on /var/lib/mysql: Operation not
permitted (1)
rsync: failed to open /var/lib/mysql/ib_logfile0, continuing: Permission
denied (13)
mysql/ib_logfile0
rsync: failed to open /var/lib/mysql/ib_logfile1, continuing: Permission
denied (13)
mysql/ib_logfile1
rsync: failed to open /var/lib/mysql/ibdata1, continuing: Permission
denied (13)
mysql/ibdata1
rsync: failed to open /var/lib/mysql/master.info, continuing: Permission
denied (13)
mysql/master.info
rsync: failed to open /var/lib/mysql/SCHEDULER/ScheduleTasks.MYD,
continuing: Permission denied (13)

I set the setfacl command using the below command for the user ssp

sudo setfacl -R -m g:ssp:rwx /var/lib/mysql
sudo setfacl -R -m u:ssp:rwx /var/lib/mysql

Am i missing any thing

Thanks and Regards

Kaushal


[gentoo-user] libmad sound artifacts

2008-03-26 Thread Canek Peláez Valdés
Hi; sorry to crosspost, but I know for a fact that gentoo-amd64 has a
much lower traffic than gentoo-user.

Some weeks ago I noticed serious artifacts in the sound quality of my
desktop machine, when playing MP3's with Rhythmbox. It actually sounds
like a hardware problem; a speaker cable which is shorting, or a
speaker with a broken diaphragm, so at first I though my hardware was
broken.

But then I noticed that mpg123 and MPlayer don't have the artifacts,
with the same MP3's, so then I shifted the blame to GStreamer, because
Totem has also the problem. Finally, I was able to locate the problem:
it's libmad, because madplay have the artifacts too.

Everything that uses libmad sounds like crap, and I've recompiled the
library with any option that it offers, but to no avail: the artifacts
are still there (I can make them WORSE, with the default fixed point
math). I see bug reports that *seems* to be similar, but for ppc and
sparc, and those solutions didn't work for me.

Other thing: if I decode the MP3 to a WAV file with madplay
--output=wave:file.wav, the artifacts disappear.

Anyone has *any* idea of what can I do? I'm not using normal speakers;
I'm using an old stereo system, plugging the output from my sound card
to the video input of the stereo. But it sounds really nice if I'm not
using libmad.

Any help will be *really* appreciated.
-- 
Canek Peláez Valdés
Facultad de Ciencias, UNAM


Re: [gentoo-user] Linux Motherboard

2008-03-26 Thread ionut cucu
On Wed, 26 Mar 2008 00:45:21 +
Neil Bothwick [EMAIL PROTECTED] wrote:

 On Wed, 26 Mar 2008 02:09:19 +0200, Alan McKinnon wrote:
 
  I can't remember a single ethernet device in the last several years
  that wasn't fully supported and JustWorked(tm) straight out the box
  on any old arb Linux system. 
 
 When I bought my Asus P5B-E board last year, the drivers for the
 Attansic L1 gigabit NIC hadn't made it into the kernel and no live CD
 would enable it. I ended up putting a spare PCI NIC in to install
 Gentoo, then patching the kernel to enable the on-board one.
 
 It appeared in the next kernel release, so is not problem now, but
 that was less than a year ago.
Something similar to that I was referring myself: less than a year ago
some cheap realtek model was not kernel supported. I was lucky though:
only after  2 weeks it got in to the mm kernel(or was it git?)
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: Re: rhythmbox plays silently

2008-03-26 Thread Michael Schmarck
Alan McKinnon [EMAIL PROTECTED] wrote:

 Now, onto your actual problem. It is exceptionally hard to even attempt
 to provide a solution unless someone else fixed the exact same problem
 before, as you have not provided any configuration at all and very
 little useful information.

What would you have wanted to see? I wrote that sound works. You
don't need more information.

 Hence your post was as much noise as mine 
 was. 

That's why other people, or at least Andrey, was able to help, where as
you were just a moron.

 Nonetheless I shall try, so please provide the following: 

How nice from you, now that the problem has been solved.

 1. the output of lspci as it relates to audio so we can see what
 hardware you have

Why should that matter? After all, sound playback works (in other
programs).

 2. What engine does rhythmbox use? gstreamer? If so, do other gstreamer
 apps work correctly on your box?

That was the million dollar question.

 3. With what options did you compile rhythmbox and gstreamer (if
 applicable)?

Does not matter.

 4. Lastly, this is out on left field, please confirm that rhythmbox is
 indeed using alsa and not oss

Question 2 covers that.

Michael

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



Re: [gentoo-user] permission denied (13)

2008-03-26 Thread Dirk Heinrichs
Am Mittwoch, 26. März 2008 schrieb ext Kaushal Shriyan:
 I am running the command

 /usr/bin/rsync -avO /var/lib/mysql [EMAIL PROTECTED]:/var/lib/ 
 /tmp/rsync-${TIMESTAMP}.log 21

 I set the setfacl command using the below command for the user ssp

 sudo setfacl -R -m g:ssp:rwx /var/lib/mysql
 sudo setfacl -R -m u:ssp:rwx /var/lib/mysql

 Am i missing any thing

ssp != sms

HTH...

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


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Recovering root password

2008-03-26 Thread Dirk Heinrichs
Am Dienstag, 25. März 2008 schrieb ext Wael Nasreddine:
 This One Time, at Band Camp, Dirk Heinrichs [EMAIL PROTECTED] 
said, On Tue, Mar 25, 2008 at 07:02:59PM +0100:
  I use LUKS encrypted logical volumes. Root fs is encrypted with a
  password, all other volumes are encrypted with a keyfile located on /.

 Why not encrypt a big fat partition and then have an LVM array over it
 for all your partitions including swap ??

Hmm, could do it this way also, yes.

 Suspend2 will work with this 
 setup just in case you are wondering.

I don't use it.

Bye...

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


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Recovering root password

2008-03-26 Thread Dirk Heinrichs
Am Dienstag, 25. März 2008 schrieb ext Uwe Thiem:

 On Tuesday 25 March 2008, Grant wrote:
 
  Would the type of filesystem encryption you guys are talking about
  be unsuitable for a high-traffic server because of performance
  considerations?

 Yes, and it isn't necessary. You lock your servers away so that nobody
 has physical access to them.

What if you sell them or give them back (leased machines)? Do you erase your 
discs beforehand.

Bye...

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


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re: Re: Gnome: No sound - No volume control GStreamer plugins and/or devices found

2008-03-26 Thread Michael Schmarck
Alan McKinnon [EMAIL PROTECTED] wrote:

 Perhaps you could file a feature request at b.g.o. to get the old
 behaviour back. It seems entirely reasonable to me that rhythmbox
 should DEPENDs on gst-plugins-base which should conditionally DEPEND
 on -alsa or -oss (or other sound systems).

Isn't that what the gst-plugins-meta package does?

RDEPEND=oss? ( =media-plugins/gst-plugins-oss-0.10 )
alsa? ( =media-plugins/gst-plugins-alsa-0.10 )
esd? ( =media-plugins/gst-plugins-esd-0.10 )
X? ( =media-plugins/gst-plugins-x-0.10 )
xv? ( =media-plugins/gst-plugins-xvideo-0.10 )
dvb? ( media-plugins/gst-plugins-dvb
   =media-libs/gst-plugins-bad-0.10.6
   =media-plugins/gst-plugins-fluendo-mpegdemux-0.10.15 )
mythtv? ( media-plugins/gst-plugins-mythtv )

I filed a bug report at http://bugs.gentoo.org/show_bug.cgi?id=214831.

Michael

PS: Now you're being helpful. Thanks a lot for that!

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



Re: [gentoo-user] uvesafb and screen resolution

2008-03-26 Thread Alexander Meinke

Ian Lee wrote:

i always thought vga= was only used by the old vesafb driver
i use video=uvesafb:1024x768-32
i cant get any wide screen modes to work at all, anybody else know how??


Did you tried to find out what resolutions are supported by your graphic card 
(e.g. hwinfo --framebuffer)? I only know this tool to get the necessary hex code.

So I don't really know if the vga= option works with uvesafb too.
I have to correct my statement that I am using uvesafb. It seems that I am using 
vesafb. This is because I don't want either any additional userspace application 
(v86d) nor bootsplash etc.



acm.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] permission denied (13)

2008-03-26 Thread Kaushal Shriyan
On Wed, Mar 26, 2008 at 1:25 PM, Dirk Heinrichs [EMAIL PROTECTED]
wrote:

 Am Mittwoch, 26. März 2008 schrieb ext Kaushal Shriyan:
  I am running the command
 
  /usr/bin/rsync -avO /var/lib/mysql [EMAIL PROTECTED]:/var/lib/ 
  /tmp/rsync-${TIMESTAMP}.log 21
 
  I set the setfacl command using the below command for the user ssp
 
  sudo setfacl -R -m g:ssp:rwx /var/lib/mysql
  sudo setfacl -R -m u:ssp:rwx /var/lib/mysql
 
  Am i missing any thing

 ssp != sms

 HTH...

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



Hi Dirk

I did not understand your email

Thanks and Regards

Kaushal


Re: [gentoo-user] permission denied (13)

2008-03-26 Thread Dirk Heinrichs
Am Mittwoch, 26. März 2008 schrieb ext Kaushal Shriyan:
 On Wed, Mar 26, 2008 at 1:25 PM, Dirk Heinrichs
 [EMAIL PROTECTED]

 wrote:
  Am Mittwoch, 26. März 2008 schrieb ext Kaushal Shriyan:
   I am running the command
  
   /usr/bin/rsync -avO /var/lib/mysql [EMAIL PROTECTED]:/var/lib/ 
   /tmp/rsync-${TIMESTAMP}.log 21
  
   I set the setfacl command using the below command for the user ssp
  
   sudo setfacl -R -m g:ssp:rwx /var/lib/mysql
   sudo setfacl -R -m u:ssp:rwx /var/lib/mysql
  
   Am i missing any thing
 
  ssp != sms

 I did not understand your email

In the command above, you used user sms, but you changed the ACL to allow 
access for user ssp. sms is not equal to (!=) ssp. 

Bye...

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


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Recovering root password

2008-03-26 Thread Uwe Thiem
On Wednesday 26 March 2008, Dirk Heinrichs wrote:
 Am Dienstag, 25. März 2008 schrieb ext Uwe Thiem:

  Yes, and it isn't necessary. You lock your servers away so that
  nobody has physical access to them.

 What if you sell them or give them back (leased machines)? Do you
 erase your discs beforehand.

Depends on the content of the disks. If it is sensitive, I wipe them 
(not just rm or mkfs). But then, this problem has never occurred to 
me. I don't lease servers, nor do I sell them. Usually, my servers 
aren't sellable by the time I can't use them any more. ;-)

Uwe 

-- 
Informal Linux Group Namibia:
http://www.linux.org.na/
SysEx (Pty) Ltd.:
http://www.SysEx.com.na/
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] [OT] ATX PS recommendation

2008-03-26 Thread masterprometheus
maxim wexler wrote:

 Hi group,
 
 I bought a Coolmax PS which was touted as the latest
 and greatest and then it died. When I opened it up I
 found the output crowded with puffy, oozing
 electrolytic caps, most made by Fuhjyyu. A search for
 Fuhjyyu on Google revealed that I'm not alone.
 
 Can somebody recommend a *reliable*, up-to-date PS,
=400W with a 120mm fan?
 
 Maxim
 

That one is a good choice if you really need 400+W PSU :
http://www.newegg.com/Product/Product.aspx?Item=N82E16817139003

Note : This is my first post to this list. If anything wrong please
inform me (character encoding , fonts, line length)  


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



[gentoo-user] Boot Gentoo to clean windows

2008-03-26 Thread Mikie
Does anyone know of a product (hopefully free) that can clean a Windows
PC while booted on Gentoo?

I guess I need a good malware tool that runs on Linux and cleans NTFS
volumes.

Thanks.
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Boot Gentoo to clean windows

2008-03-26 Thread Dirk Heinrichs
Am Mittwoch, 26. März 2008 schrieb ext Mikie:

 Does anyone know of a product (hopefully free) that can clean a Windows
 PC while booted on Gentoo?

 I guess I need a good malware tool that runs on Linux and cleans NTFS
 volumes.

What do you mean with clean? Remove Windows? Use fdisk.

Bye...

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


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Boot Gentoo to clean windows

2008-03-26 Thread Davi Vidal
Em Wednesday 26 March 2008, Mikie escreveu:
 Does anyone know of a product (hopefully free) that can clean a Windows
 PC while booted on Gentoo?

 I guess I need a good malware tool that runs on Linux and cleans NTFS
 volumes.


AFAIK, AVG runs on Linux. And you can use ntfs-3g.


Best regards,
-- 
Davi Vidal
--
E-mail: [EMAIL PROTECTED]
MSN   : [EMAIL PROTECTED]
GTalk : [EMAIL PROTECTED]
Skype : davi vidal
YIM   : davi_vidal
ICQ   : 138815296
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] PRNG is not seeded

2008-03-26 Thread Kaushal Shriyan
Hi

when i restart sshd I get PRNG is not seeded

# /etc/init.d/sshd restart
PRNG is not seeded
 #

No idea as what is going on

Thanks and Regards

Kaushal


[gentoo-user] problem with 2 partition installation from gentoo minimal system

2008-03-26 Thread Fei Liu
Hello Group, I spend a whole day trying to get this to work. Here is my 
setup


/dev/sda1 / ext3   noatime  0 1
/dev/sda2 swap  


grub is installed using the 'root (hd0,0)' and 'setup (hd0)', no problem.

emerge kernel-sources worked fine.

However everytime the system boots, it reports the VFS panic (no root 
system found problem). The kernel has built in ext2 and ext3 support. 
The error hint is to supply root option during boot, but my boot command 
is this

kernel /boot/kernel root=/dev/sda1

Is there something missing that I didn't think of that's causing the 
failures? I followed the steps outlined here:

http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml

except I am using a 2 partition setup.

Fei
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] PRNG is not seeded

2008-03-26 Thread Alex Schuster
Kaushal Shriyan writes:

 when i restart sshd I get PRNG is not seeded

 # /etc/init.d/sshd restart
 PRNG is not seeded
  #

 No idea as what is going on

I can reproduce this behaviour when I rename both /dev/random 
and /dev/urandom. Are they perhaps both missing on your system?

Wonko
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] PRNG is not seeded

2008-03-26 Thread Neil Bothwick
On Wed, 26 Mar 2008 21:17:07 +0530, Kaushal Shriyan wrote:

 when i restart sshd I get PRNG is not seeded
 
 # /etc/init.d/sshd restart
 PRNG is not seeded

Does /dev/urandom exist? What are it's permissions?


-- 
Neil Bothwick

Never eat more than you can lift.


signature.asc
Description: PGP signature


Re: [gentoo-user] problem with 2 partition installation from gentoo minimal system

2008-03-26 Thread Neil Bothwick
On Wed, 26 Mar 2008 11:40:10 -0400, Fei Liu wrote:

 However everytime the system boots, it reports the VFS panic (no root 
 system found problem). The kernel has built in ext2 and ext3 support. 
 The error hint is to supply root option during boot, but my boot
 command is this
 kernel /boot/kernel root=/dev/sda1


Do  you have support for your drive controller built into the kernel (not
as a module)?


-- 
Neil Bothwick

If this were an actual tagline, it would be funny.


signature.asc
Description: PGP signature


Re: [gentoo-user] problem with 2 partition installation from gentoo minimal system

2008-03-26 Thread Alex Schuster
Fei Liu writes:

 Hello Group, I spend a whole day trying to get this to work. Here is my
 setup

 /dev/sda1 / ext3   noatime  0 1
 /dev/sda2 swap

 grub is installed using the 'root (hd0,0)' and 'setup (hd0)', no problem.

 emerge kernel-sources worked fine.

 However everytime the system boots, it reports the VFS panic (no root
 system found problem). The kernel has built in ext2 and ext3 support.

Does it also have the right IDE drivers? This /dev/sda drive is SATA I 
assume, is this configured correctly in the kernel, and is the SCSI stuff 
also compiled directly into the kerne? Do you see kernel messages 
identifying your IDE chipset, does sda appear there somewhere?

Wonko
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] openchrome, xvmc and mplayer

2008-03-26 Thread Marc Blumentritt

Hi,

I just read on this list, that the x11 driver openchrome for via 
chipsets hit the tree. Does anyone know, if mplayer in portage tree is 
patched to work with openchrome and xvmc?


Regards,
Marc

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



[gentoo-user] 2 dispatch-conf questions

2008-03-26 Thread Alex Schuster
Hi there!

Question 1: We all have replace-cvs enabled in /etc/dispatch.conf, do we, 
because this makes it easy to re-create old config versions. But how 
exactly would I get back an older version of a file? I've never seen an 
example yet. Would s.o. like to post a little example or point to some set 
that actually mentions this?

Question 2: I also have replace-unmodified=yes, but I often see files that I 
never even looked at before. What about that?

Thanks,

Wonko
-- 
gentoo-user@lists.gentoo.org mailing list



RE: [gentoo-user] problem with 2 partition installation from gent oo minimal system

2008-03-26 Thread Prado, Renato (R.)
I had this problem too... the problem was SCSI not being compiled in my
kernel alongside the SATA driver. Remember to ensure none of them are being
built into modules.

Renato Borges A. Prado
Product Engineer - Software Validation Team
Visteon Automotive Systems - MSX International
[EMAIL PROTECTED]
+55 (11) 6465-9144

-Original Message-
From: Fei Liu [mailto:[EMAIL PROTECTED] 
Sent: quarta-feira, 26 de março de 2008 12:40
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] problem with 2 partition installation from gentoo
minimal system

Hello Group, I spend a whole day trying to get this to work. Here is my 
setup

/dev/sda1 / ext3   noatime  0 1
/dev/sda2 swap  

grub is installed using the 'root (hd0,0)' and 'setup (hd0)', no problem.

emerge kernel-sources worked fine.

However everytime the system boots, it reports the VFS panic (no root 
system found problem). The kernel has built in ext2 and ext3 support. 
The error hint is to supply root option during boot, but my boot command 
is this
kernel /boot/kernel root=/dev/sda1

Is there something missing that I didn't think of that's causing the 
failures? I followed the steps outlined here:
http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml

except I am using a 2 partition setup.

Fei
-- 
gentoo-user@lists.gentoo.org mailing list
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] problem with 2 partition installation from gentoo minimal system

2008-03-26 Thread Uwe Thiem
On Wednesday 26 March 2008, Fei Liu wrote:
 Hello Group, I spend a whole day trying to get this to work. Here
 is my setup

 /dev/sda1 / ext3   noatime 
 0 1 /dev/sda2 swap

 grub is installed using the 'root (hd0,0)' and 'setup (hd0)', no
 problem.

 emerge kernel-sources worked fine.

 However everytime the system boots, it reports the VFS panic (no
 root system found problem). The kernel has built in ext2 and ext3
 support. The error hint is to supply root option during boot, but
 my boot command is this
 kernel /boot/kernel root=/dev/sda1

Please post your whole grub config.

Uwe

-- 
Informal Linux Group Namibia:
http://www.linux.org.na/
SysEx (Pty) Ltd.:
http://www.SysEx.com.na/
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] openchrome, xvmc and mplayer

2008-03-26 Thread Uwe Thiem
On Wednesday 26 March 2008, Marc Blumentritt wrote:
 Hi,

 I just read on this list, that the x11 driver openchrome for via
 chipsets hit the tree. Does anyone know, if mplayer in portage tree
 is patched to work with openchrome and xvmc?

It doesn't need to be patched. Just emerge it with xvmc and use the 
the right vo.

Uwe

-- 
Informal Linux Group Namibia:
http://www.linux.org.na/
SysEx (Pty) Ltd.:
http://www.SysEx.com.na/
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] PRNG is not seeded

2008-03-26 Thread Kaushal Shriyan
On Wed, Mar 26, 2008 at 9:46 PM, Neil Bothwick [EMAIL PROTECTED] wrote:

 On Wed, 26 Mar 2008 21:17:07 +0530, Kaushal Shriyan wrote:

  when i restart sshd I get PRNG is not seeded
 
  # /etc/init.d/sshd restart
  PRNG is not seeded

 Does /dev/urandom exist? What are it's permissions?


 --
 Neil Bothwick

 Never eat more than you can lift.


Hi

Thanks for the clue,

Both the files /dev/random and /dev/urandom are missing in my system.

How do i go ahead in fixing this issue

Thanks and Regards

Kaushal


Re: [gentoo-user] PRNG is not seeded

2008-03-26 Thread Dale

Kaushal Shriyan wrote:
On Wed, Mar 26, 2008 at 9:46 PM, Neil Bothwick [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


On Wed, 26 Mar 2008 21:17:07 +0530, Kaushal Shriyan wrote:

 when i restart sshd I get PRNG is not seeded

 # /etc/init.d/sshd restart
 PRNG is not seeded

Does /dev/urandom exist? What are it's permissions?


--
Neil Bothwick

Never eat more than you can lift.


Hi

Thanks for the clue,

Both the files /dev/random and /dev/urandom are missing in my system.

How do i go ahead in fixing this issue

Thanks and Regards

Kaushal



I just noticed this on mine.  Do you have the service urandom in the 
boot runlevel? 


[EMAIL PROTECTED] / # eselect rc list boot
Init scripts to be started by runlevel boot
 bootmisc
 checkfs
 checkroot
 clock
 consolefont
 hostname
 keymaps
 localmount
 modules
 net.lo
 rmnologin
 serial
 urandom
[EMAIL PROTECTED] / #


That may help.  If it is there, try restarting it and see if you get any 
errors.  Make sure you don't have anything important running just in 
case it stops other services when restarting this service.


Dale

:-)  :-) 
--

gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] iwl4965 performance

2008-03-26 Thread José Pedro Saraiva
Hi,

Have you tried using the driver from the 2.6.24* series kernel? I've been
using iwl3945 from tuxonice-sources 2.6.24-r3 without any performance or
stability problems whatsoever.
Good luck.

Regards,
José Pedro

On Mon, Mar 24, 2008 at 4:28 PM, Thomas Kahle [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi,

 I am using the iwl4965 driver which is included in the kernel
 2.6.25-rc6. Everything works fine (Networkmanager, WPA2, etc.) The only
 thing I experience is a very bad performance.
 I cannot get more than around 30 kb/s. Also the responses are rather
 slow. If I open some new tabs in firefox it takes up to 5 seconds before
 there is enough data to render something.
 When using wired network its much faster.
 The router is also not the source of the problem, with my old airo card
 i could get up to 200 kb/s, the macbook running gentoo gets to around
 500kb/s.

 Any ideas where to start investigation ?

 Thanks
 Thomas
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.7 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQFH59amrpEWPKIUt7MRAqdhAJ9+QC796Ru3Gy3QxnEbpuSopk2FEgCfXCDA
 wYRlsepf7rwt+5FgzlaUw2M=
 =k17g
 -END PGP SIGNATURE-
 --
 gentoo-user@lists.gentoo.org mailing list




Re: [gentoo-user] iwl4965 performance

2008-03-26 Thread Florian Philipp

On Mon, 2008-03-24 at 17:28 +0100, Thomas Kahle wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi,
 
 I am using the iwl4965 driver which is included in the kernel
 2.6.25-rc6. Everything works fine (Networkmanager, WPA2, etc.) The only
 thing I experience is a very bad performance.
 I cannot get more than around 30 kb/s. Also the responses are rather
 slow. If I open some new tabs in firefox it takes up to 5 seconds before
 there is enough data to render something.
 When using wired network its much faster.
 The router is also not the source of the problem, with my old airo card
 i could get up to 200 kb/s, the macbook running gentoo gets to around
 500kb/s.
 
 Any ideas where to start investigation ?
 
 Thanks
 Thomas

When I switched to iwl3945 I had problems with a very unstable
connection (just stable enough to allow wpa_supplicant to recover),
decreasing effective bandwidth a lot. Enabling every suboption except of
debugging for Intel Wireless WiFi Link Drivers in the kernel 
resolved it.

Does it work with kernel 2.6.24?

Maybe you could try wpa_supplicant with debugging enabled?

wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -d

or even
wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -dd


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Re: Re: Gnome: No sound - No volume control GStreamer plugins and/or devices found

2008-03-26 Thread Alan McKinnon
On Wednesday 26 March 2008, Michael Schmarck wrote:
 Alan McKinnon [EMAIL PROTECTED] wrote:
  Perhaps you could file a feature request at b.g.o. to get the old
  behaviour back. It seems entirely reasonable to me that rhythmbox
  should DEPENDs on gst-plugins-base which should conditionally
  DEPEND on -alsa or -oss (or other sound systems).

 Isn't that what the gst-plugins-meta package does?

 RDEPEND=oss? ( =media-plugins/gst-plugins-oss-0.10 )
 alsa? ( =media-plugins/gst-plugins-alsa-0.10 )
 esd? ( =media-plugins/gst-plugins-esd-0.10 )
 X? ( =media-plugins/gst-plugins-x-0.10 )
 xv? ( =media-plugins/gst-plugins-xvideo-0.10 )
 dvb? ( media-plugins/gst-plugins-dvb

=media-libs/gst-plugins-bad-0.10.6

=media-plugins/gst-plugins-fluendo-mpegdemux-0.10
.15 )

 mythtv? ( media-plugins/gst-plugins-mythtv )

 I filed a bug report at
 http://bugs.gentoo.org/show_bug.cgi?id=214831.

It all makes sense in a kind of roundabout way:

gst-plugins-meta installs everything, so rhythmbox does not DEPEND on 
it - that would force a user to have every possible plugin with no 
option to not have them (very much a gentoo no-no). -meta packages tend 
to not be DEPENDED on, they are there as a convenience for user that 
want everything and can't be bothered to put the whole shebang in 
world.

rhythmbox DEPENDS on gst-plugins-base to give you the required framework 
that will handle the plugins you want (you get to pick and install them 
manually...)

The question now is why were the alsa, oss and other drivers removed 
from the -base ebuild? I recall something similar with another sound 
app a while ago, the reason is that it could be used as a networked 
sound delivery server and there's no good reason to require the user to 
have sound driver support on the local machine. I suspect your bug will 
be closed WONTFIX, with luck the dev will justify their reasoning.



-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] PRNG is not seeded

2008-03-26 Thread Alex Schuster
Dale writes:

 Kaushal Shriyan wrote:

  Both the files /dev/random and /dev/urandom are missing in my system.
 
  How do i go ahead in fixing this issue
 
  Thanks and Regards
 
  Kaushal

 I just noticed this on mine.  Do you have the service urandom in the
 boot runlevel?

Looking at the init script it seems like if the character 
device /dev/urandom does not exist, it exits directly.

Does anyone know what exactly creates these device nodes and why it could 
fail? 
You could try to create them manually, but I doubt that this helps:
  mknod /dev/random  c 1 8
  mknod /dev/urandom c 1 9

Kayshal, do you remember doing anything spoecial before this happened? 
Booting a new kernel, updating things like hotplug / udev stuff?

Wonko
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Wireless: Limit rate to strengthen connection?

2008-03-26 Thread Grant
I'm trying to strengthen a wireless connection that spans about 150
feet and has to go through about 5 walls.  I bought two of these:

http://www.newegg.com/Product/Product.aspx?Item=N82E16833164110

for either end of the connection, but I'm having trouble making it
work well.  I've noticed the connection will be perfect for a short
time, but then disappear.  When watching iwconfig during this process,
it looks like the connection is good when on a low rate, but when it
goes to 54 Mbps it falls apart.

Should limiting the rate solve this problem?  If so, how can I do
that?  I'm using hostapd on the AP and wpa_supplicant on the client.

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Wireless: Limit rate to strengthen connection?

2008-03-26 Thread Jerry McBride
On Wednesday 26 March 2008 04:53:24 pm Grant wrote:
 I'm trying to strengthen a wireless connection that spans about 150
 feet and has to go through about 5 walls.  I bought two of these:

 http://www.newegg.com/Product/Product.aspx?Item=N82E16833164110

 for either end of the connection, but I'm having trouble making it
 work well.  I've noticed the connection will be perfect for a short
 time, but then disappear.  When watching iwconfig during this process,
 it looks like the connection is good when on a low rate, but when it
 goes to 54 Mbps it falls apart.

 Should limiting the rate solve this problem?  If so, how can I do
 that?  I'm using hostapd on the AP and wpa_supplicant on the client.

 - Grant

Grant,

Yes, lowering the rate to a slower speed will help greatly.  The lower rates 
use less compression and modulation... less complex wave forms better 
connects over long hauls. 

The antennas look very good, but what's driving them? I use and whole 
heartedly endorse SENAO products and have had very good luck with these 
models:   ECB-3220 (400 mw) or 2611CB3 PLUS (200 mw) at: 
http://www.wlansolution.com. Either unit with the high gain antennas you 
have,  will penetrate what you stated and probably go pretty high on the 
speed scale doing it too.


Cheers.




-- 


From the Desk of: Jerome D. McBride
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Wireless: Limit rate to strengthen connection?

2008-03-26 Thread Mark Knecht
On Wed, Mar 26, 2008 at 1:53 PM, Grant [EMAIL PROTECTED] wrote:
 I'm trying to strengthen a wireless connection that spans about 150
  feet and has to go through about 5 walls.  I bought two of these:

  http://www.newegg.com/Product/Product.aspx?Item=N82E16833164110

  for either end of the connection, but I'm having trouble making it
  work well.  I've noticed the connection will be perfect for a short
  time, but then disappear.  When watching iwconfig during this process,
  it looks like the connection is good when on a low rate, but when it
  goes to 54 Mbps it falls apart.

  Should limiting the rate solve this problem?  If so, how can I do
  that?  I'm using hostapd on the AP and wpa_supplicant on the client.

  - Grant

It might but it didn't for me. I eventually bought 4 of these LinkSys
Wireless Access Point units and placed them in strategic locations to
get around the problems I was having.

http://www.newegg.com/Product/Product.aspx?Item=N82E16833124012

They have worked very well for me but occasionally I have folks in my
neighborhood getting attached to my network and I have to forcibly
drive them off. I run these in their 'bridging' mode and don't use any
Linux wireless. All my Gentoo machines use wired networks talking to
these boxes or the router directly.

Hope this helps,
Mark
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Wireless: Limit rate to strengthen connection?

2008-03-26 Thread Grant
   I'm trying to strengthen a wireless connection that spans about 150
   feet and has to go through about 5 walls.  I bought two of these:
  
   http://www.newegg.com/Product/Product.aspx?Item=N82E16833164110
  
   for either end of the connection, but I'm having trouble making it
   work well.  I've noticed the connection will be perfect for a short
   time, but then disappear.  When watching iwconfig during this process,
   it looks like the connection is good when on a low rate, but when it
   goes to 54 Mbps it falls apart.
  
   Should limiting the rate solve this problem?  If so, how can I do
   that?  I'm using hostapd on the AP and wpa_supplicant on the client.
  
   - Grant

  Grant,

  Yes, lowering the rate to a slower speed will help greatly.  The lower 
 rates
  use less compression and modulation... less complex wave forms better
  connects over long hauls.

  The antennas look very good, but what's driving them? I use and whole
  heartedly endorse SENAO products and have had very good luck with these
  models:   ECB-3220 (400 mw) or 2611CB3 PLUS (200 mw) at:
  http://www.wlansolution.com. Either unit with the high gain antennas you
  have,  will penetrate what you stated and probably go pretty high on the
  speed scale doing it too.

I'm using a Netgear PCI adapter on the AP and an Edimax USB adapter on
the client.  Do you know how I can limit the rate?  Should it be done
on the Gentoo AP or the client?

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Wireless: Limit rate to strengthen connection?

2008-03-26 Thread Jerry McBride
On Wednesday 26 March 2008 05:21:50 pm Grant wrote:
I'm trying to strengthen a wireless connection that spans about 150
feet and has to go through about 5 walls.  I bought two of these:
   
http://www.newegg.com/Product/Product.aspx?Item=N82E16833164110
   
for either end of the connection, but I'm having trouble making it
work well.  I've noticed the connection will be perfect for a short
time, but then disappear.  When watching iwconfig during this process,
it looks like the connection is good when on a low rate, but when it
goes to 54 Mbps it falls apart.
   
Should limiting the rate solve this problem?  If so, how can I do
that?  I'm using hostapd on the AP and wpa_supplicant on the client.
   
- Grant
 
   Grant,
 
   Yes, lowering the rate to a slower speed will help greatly.  The lower
  rates use less compression and modulation... less complex wave forms
  better connects over long hauls.
 
   The antennas look very good, but what's driving them? I use and whole
   heartedly endorse SENAO products and have had very good luck with these
   models:   ECB-3220 (400 mw) or 2611CB3 PLUS (200 mw) at:
   http://www.wlansolution.com. Either unit with the high gain antennas you
   have,  will penetrate what you stated and probably go pretty high on the
   speed scale doing it too.

 I'm using a Netgear PCI adapter on the AP and an Edimax USB adapter on
 the client.  Do you know how I can limit the rate?  Should it be done
 on the Gentoo AP or the client?

 - Grant

I use wireless-tools from portage. In it is iwconfig. A simple man iwconfig 
will show you what you need. Other thing you could do is configure the 
Wireless AP for a fixed rate... works for me.

Cheers.







-- 


From the Desk of: Jerome D. McBride
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] iwl4965 performance

2008-03-26 Thread Thomas Kahle

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi again,

the problem seems to be related to WEP Encryption. Today I tried in a
WPA-Enterprise Network and it was much faster and more responsive too...

I will give the subobtions and 2.6.24 kernel a try anyway.
Thanks
Tom

Thomas Kahle wrote:
| Hi,
|
| I am using the iwl4965 driver which is included in the kernel
| 2.6.25-rc6. Everything works fine (Networkmanager, WPA2, etc.) The only
| thing I experience is a very bad performance.
| I cannot get more than around 30 kb/s. Also the responses are rather
| slow. If I open some new tabs in firefox it takes up to 5 seconds before
| there is enough data to render something.
| When using wired network its much faster.
| The router is also not the source of the problem, with my old airo card
| i could get up to 200 kb/s, the macbook running gentoo gets to around
| 500kb/s.
|
| Any ideas where to start investigation ?
|
| Thanks
| Thomas

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

iD8DBQFH6spurpEWPKIUt7MRAlv5AJ4lACGXHrPoe+bKDQ1sjaSiDzAv8wCgkfgV
0rkT3/aA2mA9NW6Rc8B+M4g=
=n+Oo
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] libmad sound artifacts

2008-03-26 Thread Canek Peláez Valdés
Hi; sorry to crosspost, but I know for a fact that gentoo-amd64 has a
much lower traffic than gentoo-user.

Some weeks ago I noticed serious artifacts in the sound quality of my
desktop machine, when playing MP3's with Rhythmbox. It actually sounds
like a hardware problem; a speaker cable which is shorting, or a
speaker with a broken diaphragm, so at first I though my hardware was
broken.

But then I noticed that mpg123 and MPlayer don't have the artifacts,
with the same MP3's, so then I shifted the blame to GStreamer, because
Totem has also the problem. Finally, I was able to locate the problem:
it's libmad, because madplay have the artifacts too.

Everything that uses libmad sounds like crap, and I've recompiled the
library with any option that it offers, but to no avail: the artifacts
are still there (I can make them WORSE, with the default fixed point
math). I see bug reports that *seems* to be similar, but for ppc and
sparc, and those solutions didn't work for me.

Other thing: if I decode the MP3 to a WAV file with madplay
--output=wave:file.wav, the artifacts disappear.

Anyone has *any* idea of what can I do? I'm not using normal speakers;
I'm using an old stereo system, plugging the output from my sound card
to the video input of the stereo. But it sounds really nice if I'm not
using libmad.

Any help will be *really* appreciated.
-- 
Canek Peláez Valdés
Facultad de Ciencias, UNAM


Re: [gentoo-user] libmad sound artifacts

2008-03-26 Thread Neil Bothwick
On Wed, 26 Mar 2008 17:24:10 -0600, Canek Peláez Valdés wrote:

 Hi; sorry to crosspost, but I know for a fact that gentoo-amd64 has a
 much lower traffic than gentoo-user.

Why apologise? If you know it's wrong, don't do it.

Reposting the same day is also poor netiquette. If someone knows the
answer and wants to share it with you, they will do so. Reposting, and
cross-posting, only serves to annoy them and others.


-- 
Neil Bothwick

Back Up My Hard Drive? How do I Put it in Reverse?


signature.asc
Description: PGP signature


[gentoo-user] Re: problem with 2 partition installation from gentoo minimal system

2008-03-26 Thread Fei Liu

Fei Liu wrote:
Hello Group, I spend a whole day trying to get this to work. Here is 
my setup


/dev/sda1 / ext3   noatime  0 1
/dev/sda2 swap 
grub is installed using the 'root (hd0,0)' and 'setup (hd0)', no problem.


emerge kernel-sources worked fine.

However everytime the system boots, it reports the VFS panic (no root 
system found problem). The kernel has built in ext2 and ext3 support. 
The error hint is to supply root option during boot, but my boot 
command is this

kernel /boot/kernel root=/dev/sda1

Is there something missing that I didn't think of that's causing the 
failures? I followed the steps outlined here:

http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml

except I am using a 2 partition setup.

Fei


Here is the complete grub.conf file:
more /boot/grub/grub.conf
default 0
timeout 8
gfxmenu (hd0,0)/boot/message

title 2.6.24.4-default
   root (hd0,0)
   kernel /boot/kernel root=/dev/sda1 splash=silent showopts

/etc/fstab:
#/dev/BOOT  /boot   ext2noauto,noatime  1 2
/dev/sda1   /   ext3noatime 0 1
/dev/sda2   noneswapsw  0 0
#/dev/cdrom /mnt/cdrom  audonoauto,ro   0 0
#/dev/fd0   /mnt/floppy autonoauto  0 0

shm /dev/shmtmpfs   
nodev,nosuid,noexec 0 0


I am looking into the SCSI file system issue.

Fei
--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: problem with 2 partition installation from gentoo minimal system

2008-03-26 Thread Fei Liu



Here is the complete grub.conf file:
more /boot/grub/grub.conf
default 0
timeout 8
gfxmenu (hd0,0)/boot/message

title 2.6.24.4-default
   root (hd0,0)
   kernel /boot/kernel root=/dev/sda1 splash=silent showopts

/etc/fstab:
#/dev/BOOT  /boot   ext2
noauto,noatime  1 2
/dev/sda1   /   ext3
noatime 0 1
/dev/sda2   noneswap
sw  0 0
#/dev/cdrom /mnt/cdrom  audo
noauto,ro   0 0
#/dev/fd0   /mnt/floppy auto
noauto  0 0


shm /dev/shmtmpfs   
nodev,nosuid,noexec 0 0


I am looking into the SCSI file system issue.

Fei


Error messages:
...
md: ... autorun DONE
VFS: Cannot open root device sda1 or unknown-block(0,0)
Please append a correct root= boot option; here are the available 
partitions:
Kernel panic - not syncing: VFS: unable to mount root fs on 
unknown-block(0,0)


There is one more thing, this is a vmware machine so the harddrive is a 
scsi harddrive.


Fei
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: problem with 2 partition installation from gentoo minimal system

2008-03-26 Thread Greg Bowser
snip
VFS: Cannot open root device sda1 or unknown-block(0,0)
Please append a correct root= boot option; here are the available
partitions:
Kernel panic - not syncing: VFS: unable to mount root fs on
unknown-block(0,0)
/snip (hey, I remembered not to top post for once!)

Not that this hasn't been said, but this is almost definitely a device
driver issue. In my experience (and I've had this and similar errors on many
systems), when it's a file system problem (i.e. having the correct FS driver
compiled in), you get unknown-block(x,y) where x,y are both nonzero.

That said, something definitely needs to be changed with your kernel config.
I run several vmware servers (the free server), and have gentoo VMs on
those. If you'd like, I can post my .config for you to compare. Or I could
just look through the scsi options I have configured.

When I configured my VMs, I remember reading the following article: (along
with some trial and error, of course.)
http://gentoo-wiki.com/HOWTO_Install_Gentoo_on_VMware_in_Windows_NT/2K/XP#Kernel_Configuration


-- Greg

Postscript: As this is an error mouting your root file system, the fstab,
which is stored on the root file sysem, doesn't matter at this point in the
boot process.


[gentoo-user] Re: Boot Gentoo to clean windows

2008-03-26 Thread 7v5w7go9ub0o

Mikie wrote:

Does anyone know of a product (hopefully free) that can clean a Windows
PC while booted on Gentoo?

I guess I need a good malware tool that runs on Linux and cleans NTFS
volumes.

Thanks.


FWIW, AntiVir, Bitdefender, and F-Prot run quite well on Linux, and each 
has BOTH Linux and Windows Trojan and virus signatures. So you can 
install these and scan your windows box, and then scan your Linux 
box/downloads for malware (e.g. openoffice files, media files, etc.).


Add Dazuko, and you can get real-time scanning of your Linux box while 
downloading/compiling software.


(AntiVir and Bitdefender each usually score high on the 
antivirus/antiTrojan tests run for Windows bugs.


Bitdefender and F-Prot are ebuilds; AntiVir is available as a Linux source

hth
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Wireless: Limit rate to strengthen connection?

2008-03-26 Thread Grant
  I'm trying to strengthen a wireless connection that spans about 150
  feet and has to go through about 5 walls.  I bought two of these:
 
  http://www.newegg.com/Product/Product.aspx?Item=N82E16833164110
 
  for either end of the connection, but I'm having trouble making it
  work well.  I've noticed the connection will be perfect for a short
  time, but then disappear.  When watching iwconfig during this process,
  it looks like the connection is good when on a low rate, but when it
  goes to 54 Mbps it falls apart.
 
  Should limiting the rate solve this problem?  If so, how can I do
  that?  I'm using hostapd on the AP and wpa_supplicant on the client.
 
  - Grant
   
 Grant,
   
 Yes, lowering the rate to a slower speed will help greatly.  The lower
rates use less compression and modulation... less complex wave forms
better connects over long hauls.
   
 The antennas look very good, but what's driving them? I use and whole
 heartedly endorse SENAO products and have had very good luck with these
 models:   ECB-3220 (400 mw) or 2611CB3 PLUS (200 mw) at:
 http://www.wlansolution.com. Either unit with the high gain antennas you
 have,  will penetrate what you stated and probably go pretty high on the
 speed scale doing it too.
  
   I'm using a Netgear PCI adapter on the AP and an Edimax USB adapter on
   the client.  Do you know how I can limit the rate?  Should it be done
   on the Gentoo AP or the client?
  
   - Grant

  I use wireless-tools from portage. In it is iwconfig. A simple man iwconfig
  will show you what you need. Other thing you could do is configure the
  Wireless AP for a fixed rate... works for me.

I found this:

rate_wlan0=( 5.5M )

which isn't documented in net.wireless, but it doesn't seem to have
any affect.  I've tried it on the router and the client which uses
wpa_supplicant.  I still see the rate on the client fluctuate all the
way up to 54 Mb/s in the output from iwconfig.  The router's rate is
always reported as 0 kb/s.

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Wireless: Limit rate to strengthen connection?

2008-03-26 Thread Grant
   I'm trying to strengthen a wireless connection that spans about 150
feet and has to go through about 5 walls.  I bought two of these:
   
http://www.newegg.com/Product/Product.aspx?Item=N82E16833164110
   
for either end of the connection, but I'm having trouble making it
work well.  I've noticed the connection will be perfect for a short
time, but then disappear.  When watching iwconfig during this 
 process,
it looks like the connection is good when on a low rate, but when 
 it
goes to 54 Mbps it falls apart.
   
Should limiting the rate solve this problem?  If so, how can I do
that?  I'm using hostapd on the AP and wpa_supplicant on the 
 client.
   
- Grant
 
   Grant,
 
   Yes, lowering the rate to a slower speed will help greatly.  The 
 lower
  rates use less compression and modulation... less complex wave forms
  better connects over long hauls.
 
   The antennas look very good, but what's driving them? I use and whole
   heartedly endorse SENAO products and have had very good luck with 
 these
   models:   ECB-3220 (400 mw) or 2611CB3 PLUS (200 mw) at:
   http://www.wlansolution.com. Either unit with the high gain antennas 
 you
   have,  will penetrate what you stated and probably go pretty high on 
 the
   speed scale doing it too.

 I'm using a Netgear PCI adapter on the AP and an Edimax USB adapter on
 the client.  Do you know how I can limit the rate?  Should it be done
 on the Gentoo AP or the client?

 - Grant
  
I use wireless-tools from portage. In it is iwconfig. A simple man 
 iwconfig
will show you what you need. Other thing you could do is configure the
Wireless AP for a fixed rate... works for me.

  I found this:

  rate_wlan0=( 5.5M )

  which isn't documented in net.wireless, but it doesn't seem to have
  any affect.  I've tried it on the router and the client which uses
  wpa_supplicant.  I still see the rate on the client fluctuate all the
  way up to 54 Mb/s in the output from iwconfig.  The router's rate is
  always reported as 0 kb/s.

  - Grant

It appears 'iwconfig wlan0 rate 11M' works (at least as far as the
output from iwconfig is concerned) but how can I set /etc/conf.d/net
to always use this rate?

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list