[gentoo-user] [OT] Questions about building from source tarball

2012-10-30 Thread Walter Dnes
  Several years ago, back in the days of Mozilla 0.9x and Phoenix, I
used to build Mozilla and/or Pheonix from the source tarball.  I've been
using Gentoo for years, and I've forgotten a lot about building manually
from source.  I asked this question on mozillazine.org, but no answers
yet.  Hopefully, I can get some help here.  I'm looking at
https://developer.mozilla.org/en-US/docs/Simple_SeaMonkey_build and I
have a few questions...

1) What options do I need to set to make Seamonkey (or Firefox) build
in, and run from, a local dir, e.g. ${HOME}/seamonkey?  Something to
do with prefix and exec-prefix?  I'd prefer to avoid jumping to root
for the install.  And throwing in files in /usr that portage doesn't
know about, is begging for trouble.

2) I read the instructions on how to pass the O2 flag to the make and
compile process. What about the rest of the CFLAGS line?  My CFLAGS are

CFLAGS=-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe 
-fno-unwind-tables -fno-asynchronous-unwind-tables

  For those who are wondering, I want to tweak it well beyond what the
Gentoo ebuild allows.  And I'll be doing some experimentation, so I
couldn't specify what I want right now.

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



Re: [gentoo-user] Re: mount and exfat

2012-10-30 Thread Bill Kenworthy
On Tue, 2012-10-30 at 06:40 +0100, Francesco Talamona wrote:
 On Tuesday 30 October 2012, Bill Kenworthy wrote:
  Any idea how I can get the mount command to recognise exfat?  It
  works as root but not via fstab for users.
  
  bunyip ~ # mount /dev/sdc1 /mnt/tmp
  mount: unknown filesystem type 'exfat'
  bunyip ~ # mount.exfat /dev/sdc1 /mnt/tmp
  FUSE exfat 0.9.8
  bunyip ~ #
  
  
  BillK
 
 http://forums.debian.net/viewtopic.php?f=30t=85873
 
 Never used exfat myself, but I think you should include exfat-fuse in 
 fstab
 
 HTH
   Francesco
 

Ah, I was using exfat!

Seems like all the newer high capacity usb thumb drives are exfat so it
will become more common I am sure.

BillK






[gentoo-user] wireless dropping connections

2012-10-30 Thread Alan McKinnon
I'm using wicd-1.7.2.4-r1 and a NetGear DGN2200M v2 wireless AP
(802.11n)

Several times a day, this thing just drops wireless. I doubt it's my
laptop as other devices in the house also get affected. When this
happens I usually manually reconnect using wicd, it can do this
automatically but there's a long timeout first before it realizes the
connection was dropped.

The router logs have very little in them, all I see is my laptop asking
for and getting a new IP. Laptop logs show this:

Oct 30 13:10:45 khamul dhcpcd[24141]: wlan0: carrier lost
Oct 30 13:10:45 khamul kernel: [229075.169304] cfg80211: Calling CRDA
to update world regulatory domain Oct 30 13:10:45 khamul kernel:
[229075.214909] cfg80211: World regulatory domain updated: Oct 30
13:10:45 khamul kernel: [229075.214911] cfg80211:   (start_freq -
end_freq @ bandwidth), (max_antenna_gain, max_eirp) Oct 30 13:10:45
khamul kernel: [229075.214913] cfg80211:   (2402000 KHz
- 2472000 KHz @ 4 KHz), (300 mBi, 2000 mBm)

followed by the usual verbose junk of reconnection logs.

I wouldn't even know where to start debugging this. The only unusual
part of the setup is I don't use the router's dhcp server, that is done
with dhcp-4.2.4_p2 on a separate wired Gentoo server.

Anyone have a logical series of debug steps I can apply?

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] wireless dropping connections

2012-10-30 Thread Neil Bothwick
On Tue, 30 Oct 2012 13:29:43 +0200, Alan McKinnon wrote:

 I'm using wicd-1.7.2.4-r1 and a NetGear DGN2200M v2 wireless AP
 (802.11n)
 
 Several times a day, this thing just drops wireless. I doubt it's my
 laptop as other devices in the house also get affected.

Have you tried switching to a different channel, just in case it is caused
by interference?


-- 
Neil Bothwick

This universe is sold by mass, not by volume.
Some expansion may have occurred during shipment


signature.asc
Description: PGP signature


Re: [gentoo-user] wireless dropping connections

2012-10-30 Thread Bill Kenworthy
outside interference? (usual is a microwave oven) - is there a device
closer to the AP that stays in better lock because the signal is strong
enough to override the interference?

BillK

On Tue, 2012-10-30 at 13:29 +0200, Alan McKinnon wrote:
 I'm using wicd-1.7.2.4-r1 and a NetGear DGN2200M v2 wireless AP
 (802.11n)

 Several times a day, this thing just drops wireless. I doubt it's my
 laptop as other devices in the house also get affected. When this
 happens I usually manually reconnect using wicd, it can do this
 automatically but there's a long timeout first before it realizes the
 connection was dropped.
 
 The router logs have very little in them, all I see is my laptop asking
 for and getting a new IP. Laptop logs show this:
 
 Oct 30 13:10:45 khamul dhcpcd[24141]: wlan0: carrier lost
 Oct 30 13:10:45 khamul kernel: [229075.169304] cfg80211: Calling CRDA
 to update world regulatory domain Oct 30 13:10:45 khamul kernel:
 [229075.214909] cfg80211: World regulatory domain updated: Oct 30
 13:10:45 khamul kernel: [229075.214911] cfg80211:   (start_freq -
 end_freq @ bandwidth), (max_antenna_gain, max_eirp) Oct 30 13:10:45
 khamul kernel: [229075.214913] cfg80211:   (2402000 KHz
 - 2472000 KHz @ 4 KHz), (300 mBi, 2000 mBm)
 
 followed by the usual verbose junk of reconnection logs.
 
 I wouldn't even know where to start debugging this. The only unusual
 part of the setup is I don't use the router's dhcp server, that is done
 with dhcp-4.2.4_p2 on a separate wired Gentoo server.
 
 Anyone have a logical series of debug steps I can apply?
 





Re: [gentoo-user] From Unstable to Stable: Screen share in Google Hangout and Skype no longer works

2012-10-30 Thread Hilco Wijbenga
On 26 October 2012 11:13, Paul Hartman paul.hartman+gen...@gmail.com wrote:
 On Fri, Oct 26, 2012 at 12:57 PM, Hilco Wijbenga
 hilco.wijbe...@gmail.com wrote:
 Does anyone know how to get screen share to work again? Would this
 depend on unstable OpenRC? Or a later udev? Or a later kernel?

 Try to upgrade to the latest unstable version of xrandr.

Thank you, I did as you suggested. I upgraded x11-libs/libXrandr to
1.4.0; x11-apps/xrandr was already at 1.3.5. Unfortunately it made no
difference. Can you think of anything else that might affect screen
sharing?



Re: [gentoo-user] [OT] Questions about building from source tarball

2012-10-30 Thread Michael Orlitzky
On 10/30/2012 04:56 AM, Walter Dnes wrote:
   Several years ago, back in the days of Mozilla 0.9x and Phoenix, I
 used to build Mozilla and/or Pheonix from the source tarball.  I've been
 using Gentoo for years, and I've forgotten a lot about building manually
 from source.  I asked this question on mozillazine.org, but no answers
 yet.  Hopefully, I can get some help here.  I'm looking at
 https://developer.mozilla.org/en-US/docs/Simple_SeaMonkey_build and I
 have a few questions...
 
 1) What options do I need to set to make Seamonkey (or Firefox) build
 in, and run from, a local dir, e.g. ${HOME}/seamonkey?  Something to
 do with prefix and exec-prefix?  I'd prefer to avoid jumping to root
 for the install.  And throwing in files in /usr that portage doesn't
 know about, is begging for trouble.
 

Most of the configuration directives reference the PREFIX by default.
This is from GNU tar, but FF is probably the same:

  Installation directories:
  --prefix=PREFIX ... [/usr/local]
  --exec-prefix=EPREFIX   ... [PREFIX]

  Fine tuning of the installation directories:
--bindir=DIR... [EPREFIX/bin]
--sbindir=DIR   ... [EPREFIX/sbin]
...

So by default, everything eventually references PREFIX, which defaults
to /usr/local. You can change PREFIX to be e.g. ~/local/ and the rest
should wind up in subdirectories of that. Just double check to make sure
all of the FF defaults refer back to PREFIX.


 2) I read the instructions on how to pass the O2 flag to the make and
 compile process. What about the rest of the CFLAGS line?  My CFLAGS are
 

I use this in my ~/.bashrc:

  # Grab CFLAGS, etc. from make.conf.
  . /etc/portage/make.conf

  # LDFLAGS comes from.. somewhere else.
  LDFLAGS=-Wl,-O1 -Wl,--as-needed

  # Portage does this for us.
  MAKE=make ${MAKEOPTS}

If anyone knows of a slicker way to do LDFLAGS, I'd like to know.



Re: [gentoo-user] wireless dropping connections

2012-10-30 Thread Bruce Hill
On Tue, Oct 30, 2012 at 01:29:43PM +0200, Alan McKinnon wrote:
 I'm using wicd-1.7.2.4-r1 and a NetGear DGN2200M v2 wireless AP
 (802.11n)
 
 Several times a day, this thing just drops wireless. I doubt it's my
 laptop as other devices in the house also get affected. When this
 happens I usually manually reconnect using wicd, it can do this
 automatically but there's a long timeout first before it realizes the
 connection was dropped.

ack on the interference...

Last year we experienced this identical problem, and changed the router to
channel 11. It was the cordless phone on the same channel for us.
-- 
Happy Penguin Computers   ')
126 Fenco Drive   ( \
Tupelo, MS 38801   ^^
supp...@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting



Re: [gentoo-user] wireless dropping connections

2012-10-30 Thread Alan McKinnon
On Tue, 30 Oct 2012 11:45:37 +
Neil Bothwick n...@digimed.co.uk wrote:

 On Tue, 30 Oct 2012 13:29:43 +0200, Alan McKinnon wrote:
 
  I'm using wicd-1.7.2.4-r1 and a NetGear DGN2200M v2 wireless AP
  (802.11n)
  
  Several times a day, this thing just drops wireless. I doubt it's my
  laptop as other devices in the house also get affected.
 
 Have you tried switching to a different channel, just in case it is
 caused by interference?
 
 


Actually, I hadn't tried that. I use channel 8 and this is at my house.
I've only ever seen 2 other neighbour's APs show up and they both use
channel 1.

But then common sense kicked in. All previous APs have been 802.11g,
this is the first 802.11g, and it sits next to a cordless phone. I
really should mount the AP up high and extend the cable.



-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] wireless dropping connections

2012-10-30 Thread Alan McKinnon
On Tue, 30 Oct 2012 19:47:34 +0800
Bill Kenworthy bi...@iinet.net.au wrote:

 outside interference? (usual is a microwave oven) - is there a device
 closer to the AP that stays in better lock because the signal is
 strong enough to override the interference?

There is a long range Siemens cordless phone that hides behind the
extra monitor :-)

It's hidden because

a. the power cable is short
b. I hate phones and usually pretend to myself they don't exist




 
 BillK
 
 On Tue, 2012-10-30 at 13:29 +0200, Alan McKinnon wrote:
  I'm using wicd-1.7.2.4-r1 and a NetGear DGN2200M v2 wireless AP
  (802.11n)
 
  Several times a day, this thing just drops wireless. I doubt it's my
  laptop as other devices in the house also get affected. When this
  happens I usually manually reconnect using wicd, it can do this
  automatically but there's a long timeout first before it realizes
  the connection was dropped.
  
  The router logs have very little in them, all I see is my laptop
  asking for and getting a new IP. Laptop logs show this:
  
  Oct 30 13:10:45 khamul dhcpcd[24141]: wlan0: carrier lost
  Oct 30 13:10:45 khamul kernel: [229075.169304] cfg80211: Calling
  CRDA to update world regulatory domain Oct 30 13:10:45 khamul
  kernel: [229075.214909] cfg80211: World regulatory domain updated:
  Oct 30 13:10:45 khamul kernel: [229075.214911] cfg80211:
  (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
  Oct 30 13:10:45 khamul kernel: [229075.214913] cfg80211:   (2402000
  KHz
  - 2472000 KHz @ 4 KHz), (300 mBi, 2000 mBm)
  
  followed by the usual verbose junk of reconnection logs.
  
  I wouldn't even know where to start debugging this. The only unusual
  part of the setup is I don't use the router's dhcp server, that is
  done with dhcp-4.2.4_p2 on a separate wired Gentoo server.
  
  Anyone have a logical series of debug steps I can apply?
  
 
 
 



-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] NetworkManager problem after migrating to systemd

2012-10-30 Thread João Matos
2012/10/29 Canek Peláez Valdés can...@gmail.com

 On Mon, Oct 29, 2012 at 4:42 PM, João Matos jaon...@gmail.com wrote:
  I found the solution a few hours ago here
 
 http://en.gentoo-wiki.com/wiki/Systemd#PAM_support:_su.2C_sudo.2C_screen.
 ..
  . Now everything is fine :)
 
  About the packages you mentioned, you've ran 'equery uses pambase polkit
  udisks upower', and none of them has the userflag systemd.

 # equery uses pambase polkit udisks upower
 [: I - package is installed with flag ]
  * Found these USE flags for sys-auth/pambase-20120417-r1:
 [snip]
  + + systemd   :  Use pam_systemd module to register user sessions
 in the systemd control group hierarchy.

  * Found these USE flags for sys-auth/polkit-0.107-r1:
 [snip]
  + + systemd   : Use sys-apps/systemd instead of
 sys-auth/consolekit for session tracking

  * Found these USE flags for sys-fs/udisks-2.0.0:
 [snip]
  + + systemd   : Support sys-apps/systemd's logind

  * Found these USE flags for sys-power/upower-0.9.18:
 [snip]
  + + systemd   : Use sys-apps/systemd for hibernate and suspend

 Depends on the versions ;)


yep. I've used ~amd64 for about 5 years, but last year I decided to use
amd64. Maybe systemd suport is better in more recent packages.

Well, I've just find out a new little problem: PulseAudio. I've found
nothing about systemd+pulseaudio on google, what means that it is too easy
to some one carry about writing about it, or nobody tried it yet. Does
anyone knows how to start it? Maybe writing a pulseaudio.service or
something like that.


  Anyway, systemd
  is globally set on my system, and it is good to know I can disable
  consolekit. I'll try it right now.

 The problem with ck is that it will make some things fail subtlety. I
 did uninstall it, and everything has been working great (including the
 awesome app-admin/system-config-printer-gnome).

 Regards.
 --
 Canek Peláez Valdés
 Posgrado en Ciencia e Ingeniería de la Computación
 Universidad Nacional Autónoma de México





-- 
João de Matos
Linux User #461527
Graduando em Engenharia de Computação 2005.1
UEFS - Universidade Estadual de Feira de Santana


Re: [gentoo-user] wireless dropping connections

2012-10-30 Thread Eliezer Croitoru

On 10/30/2012 9:26 PM, Alan McKinnon wrote:


Actually, I hadn't tried that. I use channel 8 and this is at my house.
I've only ever seen 2 other neighbour's APs show up and they both use
channel 1.

But then common sense kicked in. All previous APs have been 802.11g,
this is the first 802.11g, and it sits next to a cordless phone. I
really should mount the AP up high and extend the cable.
most cordless phones that works on 2.4 ghz are not suppose to affect 
your wireless connection.

many of them wont even work in 2.4 ghz but at 5+ ghz.

Regards

--
Eliezer Croitoru
https://www1.ngtech.co.il
IT consulting for Nonprofit organizations
eliezer at ngtech.co.il



Re: [gentoo-user] NetworkManager problem after migrating to systemd

2012-10-30 Thread Canek Peláez Valdés
On Tue, Oct 30, 2012 at 3:45 PM, João Matos jaon...@gmail.com wrote:


 2012/10/29 Canek Peláez Valdés can...@gmail.com

 On Mon, Oct 29, 2012 at 4:42 PM, João Matos jaon...@gmail.com wrote:
  I found the solution a few hours ago here
 
  http://en.gentoo-wiki.com/wiki/Systemd#PAM_support:_su.2C_sudo.2C_screen...
  . Now everything is fine :)
 
  About the packages you mentioned, you've ran 'equery uses pambase polkit
  udisks upower', and none of them has the userflag systemd.

 # equery uses pambase polkit udisks upower
 [: I - package is installed with flag ]
  * Found these USE flags for sys-auth/pambase-20120417-r1:
 [snip]
  + + systemd   :  Use pam_systemd module to register user sessions
 in the systemd control group hierarchy.

  * Found these USE flags for sys-auth/polkit-0.107-r1:
 [snip]
  + + systemd   : Use sys-apps/systemd instead of
 sys-auth/consolekit for session tracking

  * Found these USE flags for sys-fs/udisks-2.0.0:
 [snip]
  + + systemd   : Support sys-apps/systemd's logind

  * Found these USE flags for sys-power/upower-0.9.18:
 [snip]
  + + systemd   : Use sys-apps/systemd for hibernate and suspend

 Depends on the versions ;)


 yep. I've used ~amd64 for about 5 years, but last year I decided to use
 amd64. Maybe systemd suport is better in more recent packages.

Indeed it is. I don't run ~amd64, BTW; I just keyword some things (the
kernel, systemd+udev, and GNOME, basically).

 Well, I've just find out a new little problem: PulseAudio. I've found
 nothing about systemd+pulseaudio on google, what means that it is too easy
 to some one carry about writing about it, or nobody tried it yet. Does
 anyone knows how to start it? Maybe writing a pulseaudio.service or
 something like that.

Both projects have the same author: Lennart Poettering. There is
usually nothing to be done so they work together; in GNOME, PulseAudio
is started automatically by the session manager, I suppose it should
be something similar in KDE-land. Actually, since PA is a user (not a
system) service, the init system you use doesn't matter.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] NetworkManager problem after migrating to systemd

2012-10-30 Thread João Matos
2012/10/30 Canek Peláez Valdés can...@gmail.com

 On Tue, Oct 30, 2012 at 3:45 PM, João Matos jaon...@gmail.com wrote:
 
 
  2012/10/29 Canek Peláez Valdés can...@gmail.com
 
  On Mon, Oct 29, 2012 at 4:42 PM, João Matos jaon...@gmail.com wrote:
   I found the solution a few hours ago here
  
  
 http://en.gentoo-wiki.com/wiki/Systemd#PAM_support:_su.2C_sudo.2C_screen.
 ..
   . Now everything is fine :)
  
   About the packages you mentioned, you've ran 'equery uses pambase
 polkit
   udisks upower', and none of them has the userflag systemd.
 
  # equery uses pambase polkit udisks upower
  [: I - package is installed with flag ]
   * Found these USE flags for sys-auth/pambase-20120417-r1:
  [snip]
   + + systemd   :  Use pam_systemd module to register user sessions
  in the systemd control group hierarchy.
 
   * Found these USE flags for sys-auth/polkit-0.107-r1:
  [snip]
   + + systemd   : Use sys-apps/systemd instead of
  sys-auth/consolekit for session tracking
 
   * Found these USE flags for sys-fs/udisks-2.0.0:
  [snip]
   + + systemd   : Support sys-apps/systemd's logind
 
   * Found these USE flags for sys-power/upower-0.9.18:
  [snip]
   + + systemd   : Use sys-apps/systemd for hibernate and suspend
 
  Depends on the versions ;)
 
 
  yep. I've used ~amd64 for about 5 years, but last year I decided to use
  amd64. Maybe systemd suport is better in more recent packages.

 Indeed it is. I don't run ~amd64, BTW; I just keyword some things (the
 kernel, systemd+udev, and GNOME, basically).

  Well, I've just find out a new little problem: PulseAudio. I've found
  nothing about systemd+pulseaudio on google, what means that it is too
 easy
  to some one carry about writing about it, or nobody tried it yet. Does
  anyone knows how to start it? Maybe writing a pulseaudio.service or
  something like that.

 Both projects have the same author: Lennart Poettering. There is
 usually nothing to be done so they work together; in GNOME, PulseAudio
 is started automatically by the session manager, I suppose it should
 be something similar in KDE-land. Actually, since PA is a user (not a
 system) service, the init system you use doesn't matter.


The past week I've changed my whole system (get rid of genkernel, installed
systemd...). It's been difficult to find out how to solve some problem that
appear, because I have to guess what originated it. But I think I have a
progress with that one: revdep-rebuild found a problem with pulseaudio (and
some others), I still get an error while I compile it, but I'm working on
it.

I was thinking It should be a service, since it was on my rc default level.
But it seems it is not encouraged anymore. Thank you anyway.

-- 
João de Matos
Linux User #461527


Re: [gentoo-user] NetworkManager problem after migrating to systemd

2012-10-30 Thread Canek Peláez Valdés
On Tue, Oct 30, 2012 at 4:49 PM, João Matos jaon...@gmail.com wrote:


 2012/10/30 Canek Peláez Valdés can...@gmail.com

 On Tue, Oct 30, 2012 at 3:45 PM, João Matos jaon...@gmail.com wrote:
 
 
  2012/10/29 Canek Peláez Valdés can...@gmail.com
 
  On Mon, Oct 29, 2012 at 4:42 PM, João Matos jaon...@gmail.com wrote:
   I found the solution a few hours ago here
  
  
   http://en.gentoo-wiki.com/wiki/Systemd#PAM_support:_su.2C_sudo.2C_screen...
   . Now everything is fine :)
  
   About the packages you mentioned, you've ran 'equery uses pambase
   polkit
   udisks upower', and none of them has the userflag systemd.
 
  # equery uses pambase polkit udisks upower
  [: I - package is installed with flag ]
   * Found these USE flags for sys-auth/pambase-20120417-r1:
  [snip]
   + + systemd   :  Use pam_systemd module to register user sessions
  in the systemd control group hierarchy.
 
   * Found these USE flags for sys-auth/polkit-0.107-r1:
  [snip]
   + + systemd   : Use sys-apps/systemd instead of
  sys-auth/consolekit for session tracking
 
   * Found these USE flags for sys-fs/udisks-2.0.0:
  [snip]
   + + systemd   : Support sys-apps/systemd's logind
 
   * Found these USE flags for sys-power/upower-0.9.18:
  [snip]
   + + systemd   : Use sys-apps/systemd for hibernate and suspend
 
  Depends on the versions ;)
 
 
  yep. I've used ~amd64 for about 5 years, but last year I decided to use
  amd64. Maybe systemd suport is better in more recent packages.

 Indeed it is. I don't run ~amd64, BTW; I just keyword some things (the
 kernel, systemd+udev, and GNOME, basically).

  Well, I've just find out a new little problem: PulseAudio. I've found
  nothing about systemd+pulseaudio on google, what means that it is too
  easy
  to some one carry about writing about it, or nobody tried it yet. Does
  anyone knows how to start it? Maybe writing a pulseaudio.service or
  something like that.

 Both projects have the same author: Lennart Poettering. There is
 usually nothing to be done so they work together; in GNOME, PulseAudio
 is started automatically by the session manager, I suppose it should
 be something similar in KDE-land. Actually, since PA is a user (not a
 system) service, the init system you use doesn't matter.


 The past week I've changed my whole system (get rid of genkernel, installed
 systemd...). It's been difficult to find out how to solve some problem that
 appear, because I have to guess what originated it. But I think I have a
 progress with that one: revdep-rebuild found a problem with pulseaudio (and
 some others), I still get an error while I compile it, but I'm working on
 it.

 I was thinking It should be a service, since it was on my rc default level.
 But it seems it is not encouraged anymore. Thank you anyway.

System wide mode was introduced in 0.9.3 six years ago. Since then it
hasn't been recommended for normal usage, just for some embedded
systems and other situations where the notion of user doesn't make
sense:

http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] wireless dropping connections

2012-10-30 Thread William Kenworthy


On Tue, 2012-10-30 at 21:26 +0200, Alan McKinnon wrote:
 On Tue, 30 Oct 2012 11:45:37 +
 Neil Bothwick n...@digimed.co.uk wrote:
 
  On Tue, 30 Oct 2012 13:29:43 +0200, Alan McKinnon wrote:
  
   I'm using wicd-1.7.2.4-r1 and a NetGear DGN2200M v2 wireless AP
   (802.11n)
   
   Several times a day, this thing just drops wireless. I doubt it's my
   laptop as other devices in the house also get affected.
  
  Have you tried switching to a different channel, just in case it is
  caused by interference?
  
  
 
 
 Actually, I hadn't tried that. I use channel 8 and this is at my house.
 I've only ever seen 2 other neighbour's APs show up and they both use
 channel 1.
 
 But then common sense kicked in. All previous APs have been 802.11g,
 this is the first 802.11g, and it sits next to a cordless phone. I
 really should mount the AP up high and extend the cable.
 
 
 

Keep in mind there are only 3 non-overlapping channels in the 11 channel
allocation scheme ... channel 8 is not one of them.  If you have no
neighbours thats fine, but even (perhaps especially because of the
hidden node effect/problem) distant stations can effect your throughput.

Still, that phone you mention must be suspect number 1 :)

BillK






[gentoo-user] Re: [OT] Questions about building from source tarball

2012-10-30 Thread walt

On 10/30/2012 01:56 AM, Walter Dnes wrote:

   Several years ago, back in the days of Mozilla 0.9x and Phoenix, I
used to build Mozilla and/or Pheonix from the source tarball.


Me too :)  Every morning I'd pull from their source repo and build my own
and then file bug reports (there were thousands of bugs to report) until
I got tired of adding to the mile-high stack of other ignored bug reports
and quit.  Amazing how much I've forgotten since then :(

https://developer.mozilla.org/en-US/docs/Configuring_Build_Options

About halfway down that webpage I spotted this line, and it rang a bell:
ac_add_options --enable-optimize=-O2
(I think I recall adding CFLAGS to that line, but it's pretty fuzzy now.

And you would probably want to set this to $HOME, as you mentioned:
ac_add_options --prefix=/usr

You can also add mk_add_options=-j4 and similar stuff to .mozconfig
if you want.

You can try entering 'about:buildconfig' in firefox or seamonkey to see
what sort of stuff the mozilla devs use to build their own binaries.