Re: [gentoo-user] Firefox 3 stability

2008-07-02 Thread Brian Johnson
Jason,

That's totally weird. Couple things that could cause this -- try disabling
any composting window managers you may have running to see if that makes a
difference. Also, is your computer stressed out (100% cpu usage) when you
view the page? I've noticed that, among other things, GUIs in general tend
to crap out (lots of repeated/trailing graphics) when the CPU gets pegged --
could be caused by Flash, or alpha transparencies in CSS, Java, or anything
really...

You may want to submit that screen shot as a bug to
http://bugzilla.mozilla.org and see if they can recommend anything.

Interesting screen shot though!

- Brian

On Wed, Jul 2, 2008 at 12:39 PM, Jason Messerschmitt 
[EMAIL PROTECTED] wrote:



 On Wed, Jul 2, 2008 at 1:43 PM, Justin Findlay [EMAIL PROTECTED] wrote:

 On AD 2008 July 02 Wednesday 02:20:30 PM -0400, doki_pen wrote:
  +2 on firefox3.  Faster, doesn't slow down after long use.  I really see
  the difference with javascript.  The engine is much faster.  Just try a
 js
  heavy page(like google apps).  I haven't had any crashes.  Only
 complaint
  is that flash blocker(or maybe flash itself) doesn't always work.  I
 have
  to reload a couple of times to get youtube to work.  Also, some plugins
  haven't been ported yet.  I compiled it, and here are my use flags:

 I've been using FF3 for about 2 months, and although many things have
 improved during the beta phase it is generally about as memory and CPU
 heavy as FF2.  The only real improvement I've observed as far as
 performance is concerned is javascript.  I wish there were a light
 version available.  I've tried galeon and epiphany, but both lacked
 features that I really like in FF and now that there is a great amount
 of extensions available it is harder to justify using another browser.
 Maybe it's time to switch back to konqueror.


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


 I've noticed an odd visual glitch with blogspot pages- it superimposes my
 desktop on some pages. It's a bit hard to explain so here's a pic. As far as
 I know it's only this page, but might be good fodder for some of you
 troubleshooters out there.




Re: [gentoo-user] speakers have no sound in Gentoo, but work in Ubuntu

2008-06-30 Thread Brian Johnson
Almost all snd-hda-intel sound cards need quirks added to
/etc/modules.d/alsa

Under the auto-generated configuration add:

options snd-hda-intel model=dell-3stack

Once that is done, save the file and run:

update-modules

Once that has completed (you may need to update-modules --force if it
complains). Simply reboot the computer or restart the alsasound service.
Note, some programs/applets using ALSA may crash if you unload/reload the
sound card.

- Brian

On Mon, Jun 30, 2008 at 5:49 AM, Chuanwen Wu [EMAIL PROTECTED] wrote:

 Hi, my laptop(Dell1400)'s speakers never work in Gentoo(headphones can
 work). But server days ago, I installed Ubuntu and I found that the
 speakers work(headphones also work)!
 I thought the alsa-driver could not drive my sound card properly
 before, and now, I think there must be some way since Ubuntu can work.


 # lspci | grep Audio
 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio
 Controller (rev 02)

 / In Gentoo ***/
 $ cat /proc/asound/version
 Advanced Linux Sound Architecture Driver Version 1.0.16rc2 (Thu Jan 31
 16:40:16 2008 UTC).

 / In Ubuntu ***/
 $ cat /proc/asound/version
 Advanced Linux Sound Architecture Driver Version 1.0.16.
 Compiled on Apr 21 2008 for kernel 2.6.24-16-generic (SMP).

 / In Gentoo ***/
 # uname -a
 Linux wcw-laptop 2.6.25-tuxonice-r5 #1 SMP Mon Jun 30 15:13:46 CST
 2008 x86_64 Intel(R) Core(TM)2 Duo CPU T5470 @ 1.60GHz GenuineIntel
 GNU/Linux

 / In Ubuntu ***/
 $ uname -a
 Linux wcw-laptop 2.6.24-16-generic #1 SMP Thu Apr 10 12:47:45 UTC 2008
 x86_64 GNU/Linux

 / In Gentoo ***/
 # lsmod | grep snd
 Module  Size  Used by
 snd_seq_oss28992  0
 snd_seq_device  6160  1 snd_seq_oss
 snd_seq_midi_event  6912  1 snd_seq_oss
 snd_seq47968  4 snd_seq_oss,snd_seq_midi_event
 snd_pcm_oss37600  0
 snd_mixer_oss  14592  1 snd_pcm_oss
 snd_hda_intel 405080  2
 snd_pcm70984  2 snd_pcm_oss,snd_hda_intel
 snd_timer  19792  2 snd_seq,snd_pcm
 snd_page_alloc  8144  2 snd_hda_intel,snd_pcm
 snd_hwdep   7816  1 snd_hda_intel
 snd50632  13

 snd_seq_oss,snd_seq_device,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
 soundcore   6688  1 snd


 / In Ubuntu ***/
 $ lsmod | grep snd
 snd_hda_intel 440408  3
 snd_pcm_oss47648  0
 snd_mixer_oss  20224  1 snd_pcm_oss
 snd_pcm92168  2 snd_hda_intel,snd_pcm_oss
 snd_page_alloc 13200  2 snd_hda_intel,snd_pcm
 snd_hwdep  12552  1 snd_hda_intel
 snd_seq_dummy   5764  0
 snd_seq_oss38912  0
 snd_seq_midi   10688  0
 snd_rawmidi29856  1 snd_seq_midi
 snd_seq_midi_event 10112  2 snd_seq_oss,snd_seq_midi
 snd_seq63232  6
 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
 snd_timer  27912  2 snd_pcm,snd_seq
 snd_seq_device 10644  5
 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
 snd70856  17

 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
 soundcore  10400  1 snd


 / In Gentoo ***/
 # amixer
 Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 127 [100%] [0.00dB] [on]
 Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
 Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 119 [94%] [-6.00dB] [on]
  Front Right: Playback 119 [94%] [-6.00dB] [on]
 Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 127 [100%] [0.00dB] [off]
  Front Right: Playback 127 [100%] [0.00dB] [off]
 Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 127 [100%] [0.00dB] [off]
 Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 127 [100%] [0.00dB] [off]
 Simple mixer control 'Mic as Output',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
 Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
 Simple mixer control 'Capture',0
  

Re: [gentoo-user] vlc wants to slot ffmpeg?

2008-06-27 Thread Brian Johnson
Stroller,

This doesn't mean that ffmpeg is slotted. It means that the version of VLC
you're trying to merge depends on an OLDER version of ffmpeg. VLC has some
major issues with later versions of ffmpeg that are being handled rather
poorly upstream. So unfortunately, if you want to use a stable VLC (0.8.x)
you have to use a rather old ffmpeg. Nothing can be done to correct this. If
you want a newer ffmpeg, try moving to a masked version of VLC or find a
0.9.x version in an overlay.

Any attempt at making VLC 0.8.x work with newer versions of ffmpeg will
result in video playback with audio only (no video).

- Brian

On Fri, Jun 27, 2008 at 3:39 AM, Stroller [EMAIL PROTECTED]
wrote:

 Hi there,

 With an `emerge -pv world` today I've noticed an anomaly with vlv  ffmpeg.
 It initially came up with a portage message which reported AFAIR a package
 would be slotted for the first time. I uninstalled vlc just for the moment,
 and upgraded ffmpeg to the latest version. Still I see this problem:


 901 ~ $ emerge -pv ffmpeg

 These are the packages that would be merged, in order:

 Calculating dependencies... done!
 [ebuild   R   ] media-video/ffmpeg-0.4.9_p20080326  USE=a52 aac doc encode
 mmx mp3 network theora truetype vorbis x264 xvid zlib -X (-altivec) -amr
 -bindist -debug -hardcoded-tables -ieee1394 -imlib -ipv6 -sdl -test
 -threads 0 kB

 Total: 1 package (1 reinstall), Size of downloads: 0 kB
 901 ~ $ emerge -pv vlc

 These are the packages that would be merged, in order:

 Calculating dependencies... done!
 [ebuild UD] media-video/ffmpeg-0.4.9_p20070616 [0.4.9_p20080326]
 USE=a52 aac doc encode mmx network ogg%* theora truetype vorbis x264 xvid
 zlib -X (-altivec) -amr -debug -ieee1394 -imlib -oss% -sdl -test -threads
 -v4l% (-bindist%) (-hardcoded-tables%) (-ipv6%) (-mp3%*) 0 kB
 [ebuild  N] media-video/vlc-0.8.6g  USE=a52 dvd flac live mp3 mpeg
 musepack ncurses ogg png samba stream svga theora truetype vlm vorbis
 win32codecs x264 xml -3dfx -X -aalib -alsa (-altivec) -arts -avahi -bidi
 -cdda -cddb -corba -daap -dc1394 -debug -directfb -dts -dvb -esd -fbcon -ggi
 -gnome -gnutls -hal -httpd -jack -libcaca -libnotify -lirc -matroska
 -modplug -nsplugin -opengl -optimisememory -oss -rtsp -sdl -sdl-image
 -seamonkey -shout -skins -speex -svg -upnp -v4l -vcd -wxwindows -xinerama
 -xosd -xulrunner -xv 11,417 kB

 Total: 2 packages (1 downgrade, 1 new), Size of downloads: 11,417 kB
 902 ~ $


 I would (obviously) prefer not to have two different versions of ffmpeg on
 my system, and you'll see that the version pulled in by vlc has the mp3 USE
 flag forcibly disabled. I don't know that I've ever actually used vlc, so
 this is probably unimportant, but I'd like to have it installed just in case
 I want to stream video around the house in the future. Does anyone know if
 there's a workaround for this?

 Cheers,

 Stroller.

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




Re: [gentoo-user] Anyone else's Gentoo unruly lately?

2008-06-27 Thread Brian Johnson
Grant,

I've had a lot of problems lately upgrading ~arch and masked packages. This
is expected (obviously) but 99% of the time I am able to fix them myself
without going through support resources.

If you're using any that are ~arch and in packages.mask perhaps that is why
you're having problems too!

- Brian

On Fri, Jun 27, 2008 at 12:41 PM, Grant [EMAIL PROTECTED] wrote:

 Lately it seems like a new problem pops up every day and every time I
 try to do something new it doesn't work.  Anybody else experiencing
 that lately?

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




Re: [gentoo-user] Why does gnome-python-desktop have so many dependencies?

2008-06-26 Thread Brian Johnson
Well, the README in the source of this package says:

This package contains a few python modules that used to live in
 gnome-python-extras:

   - gnomeapplet
   - gnomeprint, gnomeprint.ui
   - gtksourceview
   - wnck
   - totem.plparser
   - gtop
   - nautilusburn
   - mediaprofiles
   - metacity


Sounds like you might wanna ping upstream (not Gentoo) if you feel this
package should be changed.

- Brian

On Thu, Jun 26, 2008 at 8:24 AM, Alastair Irving 
[EMAIL PROTECTED] wrote:

 Hi


 I'm trying to run a program which requires the wnck python module,
 which I believe is part of the gnome-python-desktop package.  I like
 to keep my gnome desktop minimal, but this package wants to install
 the following:

 $ emerge -vp gnome-python-desktop

 These are the packages that would be merged, in order:

 Calculating dependencies ... done!
 [ebuild  N] media-plugins/gst-plugins-vorbis-0.10.14  0 kB
 [ebuild  N] media-libs/gst-plugins-good-0.10.6  USE=-debug 0 kB
 [ebuild  N] x11-libs/gtksourceview-1.8.5-r1  USE=-debug -doc 0 kB
 [ebuild  N] gnome-base/libgtop-2.20.2  USE=-debug 756 kB
 [ebuild  N] dev-util/cmake-2.4.6-r1  USE=emacs -vim-syntax 2,544 kB
 [ebuild  N] sys-libs/libcap-1.10-r11  USE=python 39 kB
 [ebuild  N] gnome-base/gnome-mount-0.6  USE=gnome -debug 0 kB
 [ebuild  N] media-plugins/gst-plugins-pango-0.10.14  0 kB
 [ebuild  N] media-libs/gst-plugins-ugly-0.10.6  USE=-debug 756 kB
 [ebuild  N] media-plugins/gst-plugins-flac-0.10.6  0 kB
 [ebuild  N] media-libs/libdvdcss-1.2.9-r1  USE=-doc 277 kB
 [ebuild  N] media-plugins/gst-plugins-gnomevfs-0.10.14  0 kB
 [ebuild  N] media-plugins/gst-plugins-ogg-0.10.14  0 kB
 [ebuild  N] media-libs/a52dec-0.7.4-r5  USE=-djbfft -oss 236 kB
 [ebuild  N] media-libs/libmpeg2-0.4.1  USE=X -sdl 483 kB
 [ebuild  N] app-cdr/cdrkit-1.1.6  USE=unicode -hfs 1,375 kB
 [ebuild  N] media-libs/libdvdread-0.9.7  380 kB
 [ebuild  N] media-plugins/gst-plugins-a52dec-0.10.6  0 kB
 [ebuild  N] media-plugins/gst-plugins-mpeg2dec-0.10.6  0 kB
 [ebuild  N] app-cdr/dvd+rw-tools-7.1  138 kB
 [ebuild  N] media-plugins/gst-plugins-dvdread-0.10.6  0 kB
 [ebuild  N] gnome-extra/nautilus-cd-burner-2.20.0  USE=cdr dvdr
 -debug 0 kB
 [ebuild  N] media-video/totem-2.20.3  USE=bluetooth dvd flac gnome
 python vorbis -a52 -debug -ffmpeg -galago -hal -lirc -mad -mpeg -nsplugin
 -nvtv -ogg -seamonkey -theora -xulrunner -xv 0 kB
 [ebuild  N] gnome-extra/gnome-media-2.20.1  USE=ipv6 vorbis -debug
 -esd -mad -ogg 0 kB
 [ebuild  N] dev-python/gnome-python-desktop-2.20.0  USE=X -debug -doc
 0 kB

 Total: 25 packages (25 new), Size of downloads: 6,981 kB

 I was wondering if anyone knows whether the package really needs all
 these dependencies, as it seems ludicrous to be installing video
 players etc, just for the sake of a python module.

 Many thanks

 Alastair Irving

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




Re: [gentoo-user] What cpu type in make.conf for E4600

2008-06-26 Thread Brian Johnson

http://gentoo-wiki.com/Safe_Cflags suggests using:

-march=prescott for 32-bit
-march=nocona for 64-bit.

Neil Bothwick wrote:

On Thu, 26 Jun 2008 18:09:48 -0400, [EMAIL PROTECTED] wrote:

  

model name  : Intel(R) Core(TM)2 Duo CPU E4600  @ 2.40GHz



core2 if you use GCC 4.3, nocona for earlier, or set it to native if you
don't use distcc.


  


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



Re: [gentoo-user] [OT] xorg.conf gui editor

2007-08-24 Thread Brian Johnson
This program certainly does look nice, I wonder how it will play with 
nvidia-settings and the equivalent ATI program.


Given Ubuntu's fairly large dependency on gnome, I'm betting that this 
program has the usual gnome dependencies. Since I use Xfce, I will 
likely not use it because of that.


Anyone know if this (or an equivalent program) will be included in 
Xubuntu and Kubuntu and other non-Gnome Ubuntu distributions?


- Brian

Daniel Iliev wrote:

Hi, list

I came across an article [1] about xorg.conf gui editor developed by
Ubuntu. I just thought some of you might be interested in reading more
about this and someone could even put a request for including that tool
in Gentoo.


[1] http://fosswire.com/2007/08/17/ubuntu-getting-xorgconf-gui/

  


--
[EMAIL PROTECTED] mailing list



[gentoo-user] Problem with Suspend-to-RAM and Virtual Consoles

2007-05-25 Thread Brian Johnson
I've got an interesting problem when attempting to Suspend-to-RAM (S3) and
virtual consoles. I swear, three days ago it was working and I didn't
change anything (I don't think) at least that would change how this works
(i.e. kernel, drivers, whatever)

With that said, here's my problem (and what I've tried):

1. If I initiate suspend-to-ram from a console itself, it suspends fine,
resumes fine, but the screen is BLANK.I can type stuff, but for some
reason when I reboot (i.e. typing reboot or Ctrl+Alt+Del, it freezes on
some process and doesn't reboot -- I have to power cycle the computer by
holding down the power button for 5 seconds).

2. If I initiate suspend-to-ram from X, it suspends fine, resumes fine and
the X screen comes up. HOWEVER, if I then switch to a virtual console, it
comes up blank. The same problem occurs when I reboot, however.

3. Suspend-to-disk works in both cases. And rebooting afterwards is also
fine.

To reiterate, I haven't changed anything that I believe to be low enough t
cause problems with this... has anyone seen anything like it?

I've tried things like adding acpi_sleep=s3_bios,s3_mode, etc to the
kernel line in grub.conf, but that doesn't seem to be doing much.
Attempting to blinding play with vbetool also doesn't do anything. Setting
up the console in framebuffer mode also makes no difference.

Any ideas? Thanks in advance.

- Brian

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] ipw3945 and wpa_supplicant issues

2007-05-16 Thread Brian Johnson
Actually, Will you are a bit wrong. Restarting the ipw3945d service yields
the same results. Here's what happens when I restart the ipw3945 service:

# /etc/init.d/ipw3945d restart
 * Stopping eth1
 *   Bringing down eth1
 * Stopping dhcpcd on eth1 ...   
[ ok ]
 * Shutting down eth1 ...
[ ok ]
 * Stopping wpa_cli on eth1 ...  
[ ok ]
 * Stopping wpa_supplicant on eth1 ...   
[ ok ]
 * Stopping ipw3945d ... 
[ ok ]
 * Starting ipw3945d ... 
[ ok ]
 * Starting eth1
 *   Starting wpa_supplicant on eth1 ...
ioctl[SIOCSIWMODE]: Resource temporarily unavailable
Could not configure driver to use managed mode
ioctl[SIOCGIWRANGE]: Resource temporarily unavailable
ioctl[SIOCSIWAUTH]: Resource temporarily unavailable
WEXT auth param 7 value 0x1 - ioctl[SIOCSIWENCODEEXT]: Resource
temporarily unavailable
ioctl[SIOCSIWENCODEEXT]: Resource temporarily unavailable
ioctl[SIOCSIWENCODEEXT]: Resource temporarily unavailable
ioctl[SIOCSIWENCODEEXT]: Resource temporarily unavailable
ioctl[SIOCSIWAUTH]: Resource temporarily unavailable
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Resource temporarily
unavailable   
   [ ok ]th param 5 value 0x1 -
 *   Starting wpa_cli on eth1 ...
[ ok ]
 * Backgrounding ...

Which is basically the same problem as what José posted about, except he
is restarting net.eth1.

Anyone know of a solution to fix this? (Aside from getting a different
wireless NIC)

*  net-wireless/ipw3945
  Latest version available: 1.2.0
  Latest version installed: 1.2.0

*  net-wireless/ipw3945-ucode
  Latest version available: 1.14.2
  Latest version installed: 1.14.2

*  net-wireless/ipw3945d
  Latest version available: 1.7.22-r4
  Latest version installed: 1.7.22-r4

- Brian

On Thu, April 26, 2007 8:35 pm, Will Briggs wrote:
 � wrote: Hi all!


 I own a Toshiba laptop P100-400 with a Intel PRO/Wireless 3945ABG
 wireless adapter. I've managed to get it working with normal WEP
 authentication, but no success with wpa_supplicant (and I really need it
 for WPA auth).

 # /etc/init.d/net.eth1 restart
 * Stopping eth1
 *   Bringing down eth1
 * Stopping dhcpcd on eth1
 ...
[ ok ]
  * Shutting down eth1
 ...
 [
 ok ] * Stopping wpa_cli on eth1
 ...
   [ ok ]
 * Stopping wpa_supplicant on eth1
 ...
[ ok ]
 * Starting eth1
 *   Starting wpa_supplicant on eth1 ...
 ioctl[SIOCSIWMODE]: Resource temporarily unavailable
 Could not configure driver to use managed mode
 ioctl[SIOCGIWRANGE]: Resource temporarily unavailable
 ioctl[SIOCSIWAUTH]: Resource temporarily unavailable
 WEXT auth param 7 value 0x1 - ioctl[SIOCSIWENCODEEXT]: Resource
 temporarily unavailable ioctl[SIOCSIWENCODEEXT]: Resource temporarily
 unavailable ioctl[SIOCSIWENCODEEXT]: Resource temporarily unavailable
 ioctl[SIOCSIWENCODEEXT]: Resource temporarily unavailable
 ioctl[SIOCSIWAUTH]: Resource temporarily unavailable
 WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Resource temporarily
 unavailable
   [ ok ]th param 5 value 0x1 -
 *   Starting wpa_cli on eth1
 ...
 [ ok
 ]
 * Failed to configure eth1 in the background



 Ugly, uh? :/
 Yeah


 A number of things, some of which you may know:


 1) Don't add net.eth1 to runlevel.  The ipw3945 module loading
 (/etc/modprobe.conf) runs ipw3945d init script which brings up net.eth1
 which is managed by wpa_supplicant.  If you try and manage net.eth1
 yourself (with rc-update, or with something like ifplugd then things will
 get confused).  I do have netplug configed for eth* but I think it knows
 how to get out of the way of wpa_supplicant.

 All you need to do is emerge ipw3945 - no rc-updating needed.


 2) If you ever need to restart net.eth1, restart ipw3945d instead.


 3) My wpa_supplicant.conf just as comparision:


 # Intel PRO/Wireless 3945 :: wpa_supplicant.conf


 ctrl_interface=/var/run/wpa_supplicant # DO NOT remove this line!
 ctrl_interface_group=0 # Only allow root to read config. ap_scan=1 #
 Allows wpa_supplicant to handle AP scanning.


 # The following configures wpa_supplicant for a WPA
 network={ ssid=foo
 scan_ssid=1 # Use if SSID broadcast is disabled.
 psk=bar # Your key here.
 }


 --  [EMAIL PROTECTED] mailing list



-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Replacing 'eth0' with 'wlan0'

2007-03-07 Thread Brian Johnson
Abraham,

I think what you may want to do is adjust the DHCP timeout for eth0. For
ethernet devices, it's pretty good to assume that if after 10 seconds it
doesn't receive DHCP it probably wont. So on my laptop, in /etc/conf.d/net
I have:

dhcpcd_eth0=-t 10

Which will timeout eth0 after 10 seconds, thus making the system boot time
faster.

Now what you can do to solve the wlan0 problem is:

1. Add ndiswrapper to /etc/modules.autoload.d/kernel-2.# (whatever # your
kernel is, either 2.4 or 2.6)
2. cd /etc/init.d/
3. ln -s net.eth0 net.wlan0
4. Edit /etc/conf.d/net to do what you want for the wlan0 interface.

Now, lets assume for a minute that neither interface is able to get valid
DHCP information. I've solved this problem on mine by enabling APIPA
(automatic private IP address) should DHCP fail.

In /etc/conf.d/net you can do that as well. For my eth0 device on my
laptop I have:

config_eth0=( dhcp )
dhcpcd_eth0=-t 10
fallback_eth0=( apipa )

Some examples you may want to follow are in the Modular Networking docs here:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?style=printablepart=4chap=3

Hope this helps.

- Brian


On Wed, March 7, 2007 1:25 pm, Abraham Gyorgy wrote:
 Hello again :)


 I've switched my networking from wired eth0 to wlan0. I'm using
 ndiswrapper with Win32 driver and an USB WiFi adapter. Everything is fine,
 but... When I set up my Gentoo installation, I've added net.eth0 to
 default runlevel (it provices the networking in the init system). My
 ethernet driver (forcedeth nvidia nforce2 chip) is compiled in, using
 DHCP. All I
 had to do is to add net.eth0. Now when my system boots it is waiting 1-2
 mins for DHCP, then goes forward, but (in the init system) there is no
 networking, so Samba and other stuff doesnt work. I want to replace this
 thing,

 1) ndiswrapper module should go to /etc/modules.autoload folder
 2) then wlan0 device appears, I want to do iwlist wlan0 scan, then
 DHCP for wlan0
 3) all this stuff should go nice to init system, eth0 should be removed,
 so wlan0 should provide the init system with net.

 Now I wait for eth0 dhcp'ing, then modprobe, iwlist, and dhcpcd by hand,
 but it is time consuming and not so nice. What to do exactly guys?


 Thanks a lot!
 --
 gentoo-user@gentoo.org mailing list




-- 
gentoo-user@gentoo.org mailing list