[gentoo-user] IRQ problem with USB camera

2005-04-06 Thread Grant
I used to be able to connect my USB camera to my Gentoo system, but I
haven't tried it in a while and now when I try it I get this from
dmesg:

ohci_hcd: Unlink after no IRQ?  Controller is probably using the wrong IRQ.

I've tried enabling all of the IRQ options in the kernel to no avail. 
Does anyone have any idea how this can be fixed?

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



Re: [gentoo-user] system with no network needs updates

2005-04-06 Thread Grant
  PS and I dont see how the line in the wiki could have worked well
  unless
  emerge -fp used to have different behavior.
 
 
  Thanks a lot Eugene, that second line worked great.  Let me know if I
  should update the wiki:
 
  gentoo-wiki.com/TIP_Gentoo_for_dialup_users
 
 
  Yes, you should.
 
  Stroller.
 
  --
  gentoo-user@gentoo.org mailing list
 
 I agree, thats the whole purpose of the wiki.

Should I update the wiki to include this whole line:

cat links.txt | sort | uniq | xargs -n 1 -i{} sh -c 'for i in {}; do
wget -c $i  break; done'

instead of the current one:

wget -i links.txt

It seems like I'm bloating it, but let me know.

http://gentoo-wiki.com/TIP_Gentoo_for_dialup_users

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



Re: [gentoo-user] physical location monitoring with Gentoo

2005-04-05 Thread Grant
 I'd like to keep an eye on what's going on in my warehouse.  I've got
 a solid 802.11g network going with WPA now.  What do you guys suggest?
 
 
 
 I'm planning of implementing a project like this one too (using usb webcam).
 
  # eix -s zoneminder
 Search results: 1
 * www-misc/zoneminder
  Available versions:  ~0.9.12
  Installed:   no
  Homepage:http://www.zoneminder.com/
  Description: ZoneMinder allows you to capture, analyse,
 record and monitor any cameras attached to your system.
 
 The website mentions support for IP network camera.

Nice, zoneminder looks really cool.  Have you played with it at all? 
I guess it requires MySQL, PHP, and Apache, but that makes sense.  How
will you decide on a camera that will be compatible?

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



Re: [gentoo-user] physical location monitoring with Gentoo

2005-04-05 Thread Grant
  I'd like to keep an eye on what's going on in my warehouse.  I've got
  a solid 802.11g network going with WPA now.  What do you guys suggest?
 
 http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
 
 Unfortunately, not in portage.  It picked up a new lead developer in the
 past 6 months or so (levarson, I think), and is stable with active
 development.
 
 You may want to keep this in mind:
 Cowpatty: http://www.remote-exploit.org/?page=codes
 wpa_cracker: http://www.tinypeap.com/
 
 Personally, if I'm setting up security infra, I would go wired.  It's a
 PIA to set up, but worth it in the long run.

WPA cracker?  That's news to me.  Is it as vulnerable as WEP now?

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



Re: [gentoo-user] system with no network needs updates

2005-04-05 Thread Grant
 Ok, I actually went and tested this out this time. The %20 are from wget
 escaping spaces, they are not in the file so you could do
 cat links.txt | sort | uniq | sed -e 's/ .*//' | xargs -n 1 wget -c
 
 the sort | uniq pipeline removes identical lines and wget -c option
 makes sure that if there is a doubleup, the files dont get overwritten.
 Its a hack but it should work. It relies on the first mirror for each
 package being valid. If its not, it will not get that package since sed
 prunes all but the first link. So if one of the packages doesnt
 download, you'll have to get one of the links for it manually and
 download it.
 Alternatively you could try:
 
 cat links.txt | sort | uniq | xargs -n 1 -i{} sh -c 'for i in {}; do
 wget -c $i  break; done'
 
 this command will actually iterate over the alternative links for each
 file until it one of them works. It's ot perfect but works reasonably
 well for me. Use this one and if it breaks for you, use the first, less
 complicated line.
 
 Eugene.
 
 PS and I dont see how the line in the wiki could have worked well unless
 emerge -fp used to have different behavior.

Thanks a lot Eugene, that second line worked great.  Let me know if I
should update the wiki:

gentoo-wiki.com/TIP_Gentoo_for_dialup_users

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



[gentoo-user] {OT} Don't buy from NETGEAR

2005-04-05 Thread Grant
I've been screwed over by Netgear for being a Linux user and I need to
spread the word.  I've been having a seriously difficult time getting
my Gentoo machines reliably connected to my wireless network for
almost 6 months.  The software end of things is finally rock solid and
I now realize that one of my 3 wireless cards works only sometimes. 
Luckily, I have two of that card.  One copy works every time in two
different machines and the other works sometimes in them.

Very long story short, they will not replace my bad card because I
can't try it in Windows.  I even explained to them that I bought 3
Netgear wireless cards and one Netgear router through Dell 6 months
ago.  Even after a lot of yelling and bad noise they would not budge. 
The rep said he agreed with me but that that it is out of his hands. 
He also would not put me on the phone with his supervisor.

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



[gentoo-user] physical location monitoring with Gentoo

2005-04-04 Thread Grant
I'd like to keep an eye on what's going on in my warehouse.  I've got
a solid 802.11g network going with WPA now.  What do you guys suggest?

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



Re: [gentoo-user] system with no network needs updates

2005-04-04 Thread Grant
 Each line in your links.txt is a list of different mirror urls for the
 same package separated by '%20'.
 This should take the first link from every line and pass it to wget:
 cat links.txt | sed -e 's/%20.*//' | xargs -n 1 wget
 or alternatively:
 sed -e 's/%20.*//' links.txt links1.txt
 wget -i links1.txt
 
 Eugene.

Thank you, that seems to be working great.  Should I update the wiki? 
It says I should do this on the networkless machine:

emerge -fp package1 package2 2 links.txt
 
and this on the networked machine:

wget -i links.txt

and that's what I did.

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



Re: [gentoo-user] system with no network needs updates

2005-04-04 Thread Grant
  Each line in your links.txt is a list of different mirror urls for the
  same package separated by '%20'.
  This should take the first link from every line and pass it to wget:
  cat links.txt | sed -e 's/%20.*//' | xargs -n 1 wget
  or alternatively:
  sed -e 's/%20.*//' links.txt links1.txt
  wget -i links1.txt
 
  Eugene.
 
 Thank you, that seems to be working great.  Should I update the wiki?
 It says I should do this on the networkless machine:
 
 emerge -fp package1 package2 2 links.txt
 
 and this on the networked machine:
 
 wget -i links.txt
 
 and that's what I did.
 
 - Grant

Actually that first line of code ends up trying to download the same
file over and over.  I think there are a bunch of different paths
specified for each file so it can always find one that works.  I think
it is trying to download each one of those.

The alternate solution ends up in the same situation as before with a
bunch of bad paths.

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



Re: [gentoo-user] system with no network needs updates

2005-04-03 Thread Grant
  ...I think what I need to do is fetch a few packages on
  another system, burn them to a CD, and copy them from the CD to the
  appropriate places on the network-less system.  For baselayout, would
  I want to get and put /usr/portage/sys-apps/baselayout/* ?
 
 To copy over only /usr/portage/sys-apps/baselayout/ is inelegant - it
 brings in only the ebuilds for baselayout, which might depend on other
 packages in the tree.
 
 The best thing to do is grab a whole Portage snapshot on a network
 connected machine - you'll find these at [UK mirror]
 http://gentoo.blueyonder.co.uk/snapshots/.
 
 When you've copied this across to the networkless machine  unpacked it
 the right place you can then find out what packages to download by
 typing `emerge -pf world`. This should give you a whole list of URLs
 which you can wget from the networked machine.

This doesn't seem to be working.  I followed the instructions to
emerge -fp about 10 different packages, but I get this output:

http://distfiles.gentoo.org/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
ftp://ftp.oregonstate.edu/pub/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://gentoo.mirrored.ca/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://open-systems.ufl.edu/mirrors/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
ftp://lug.mtu.edu/gentoo/source/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://mirrors.tds.net/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://cudlug.cudenver.edu/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
ftp://gentoo.mirrored.ca/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://gentoo.oregonstate.edu/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://gentoo.mirrors.pair.com/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
http://ftp.gentoo.or.kr/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
ftp://ftp.rez-gif.supelec.fr/pub/Linux/distrib/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2

http://distfiles.gentoo.org/distfiles/wpa_supplicant-0.2.7.tar.gz
http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/wpa_supplicant-0.2.7.tar.gz
http://hostap.epitest.fi/releases/wpa_supplicant-0.2.7.tar.gz

Looking that over, only two different packages are mentioned and the
madwifi-driver package is really out of date.

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



[gentoo-user] x-forwarding or vnc or ?

2005-04-03 Thread Grant
Ever since I got started with Linux I thought the whole
x-forwarding/vnc thing was really cool.  I finally have a reliable
wireless Gentoo network, and I'd love to set some of that up.  I'd
like to be able to do 2 things:

1. Start an X session that is running on that computer but is
controlled on this computer.

2. Share an X session that is running on that computer between it and
this computer.  That would mean the two people at the two computers
would see the same thing, and either of them could take control of the
inputs.

What kind of stuff should I set up to handle this?  I'd like to be
able to do #1 and #2 within the local network and over the Internet.

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



Re: [gentoo-user] system with no network needs updates

2005-04-03 Thread Grant
 ...I think what I need to do is fetch a few packages on
 another system, burn them to a CD, and copy them from the CD to the
 appropriate places on the network-less system.  For baselayout, would
 I want to get and put /usr/portage/sys-apps/baselayout/* ?
 
 
 To copy over only /usr/portage/sys-apps/baselayout/ is inelegant - it
 brings in only the ebuilds for baselayout, which might depend on other
 packages in the tree.
 
 The best thing to do is grab a whole Portage snapshot on a network
 connected machine - you'll find these at [UK mirror]
 http://gentoo.blueyonder.co.uk/snapshots/.
 
 When you've copied this across to the networkless machine  unpacked it
 the right place you can then find out what packages to download by
 typing `emerge -pf world`. This should give you a whole list of URLs
 which you can wget from the networked machine.
 
 
 
 This doesn't seem to be working.  I followed the instructions to
 emerge -fp about 10 different packages, but I get this output:
 
 http://distfiles.gentoo.org/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
 http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
 ftp://ftp.oregonstate.edu/pub/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
 ftp://ftp.tu-clausthal.de/pub/linux/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
 http://gentoo.mirrored.ca/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
 ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
 http://open-systems.ufl.edu/mirrors/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
 ftp://lug.mtu.edu/gentoo/source/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
 ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
 http://mirrors.tds.net/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
 http://cudlug.cudenver.edu/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
 ftp://gentoo.mirrored.ca/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
 http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
 ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
 http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
 http://gentoo.oregonstate.edu/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
 http://gentoo.mirrors.pair.com/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
 http://ftp.gentoo.or.kr/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
 ftp://ftp.rez-gif.supelec.fr/pub/Linux/distrib/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2
 
 http://distfiles.gentoo.org/distfiles/wpa_supplicant-0.2.7.tar.gz
 http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/wpa_supplicant-0.2.7.tar.gz
 http://hostap.epitest.fi/releases/wpa_supplicant-0.2.7.tar.gz
 
 Looking that over, only two different packages are mentioned and the
 madwifi-driver package is really out of date.
 
 - Grant
 --
 gentoo-user@gentoo.org mailing list
 
 
 When using -f (--fetchonly) and -p (--pretend) together emerge dumps all
 possible download urls for each package it knows about. I think this is
 documented somewhere. Have you synced the portage tree though? It would
 not be wise to freshen up just one subdirectory on /usr/portage tree.
 You need to get a recent snapshot and update manually. This link has a
 little more on it:
 http://gentoo-wiki.com/TIP_Downloading_distfiles_on_another_machine
 
 It would be something like:
 wget http://gentoo.osuosl.org/snapshots/portage-(most recent date).tar.bz2
 # ... transfer to your target machine using cd or usb stick ...
 # on target machine put it into /var/tmp
 # then:
 cd /var/tmp
 tar fxj portage-(most recent date).tar.bz2
 cd portage
 # ... run this:
 /usr/lib/portage/bin/portageq portdir
 # and check that it returns a sane value like /usr/portage and:
 rsync -av --progress --stats --delete --delete-after
 --exclude='/distfiles' --exclude='/packages' --exclude='/local' .
 `/usr/lib/portage/bin/portageq portdir`
 cd ..
 rm -rf portage
 rm -f portage-(most recent date).tar.bz2
 # ... and now you got a recent portage snapshot to work with ...
 emerge -vuDfp world -- to see what you get out of date
 
 i havent tested this but the code in the middle i got out of
 emerge-webrsync so i guess it should work.
 
 Eugene.

Your suggestions worked great except I had to use '/usr/portage'
instead of '/usr/lib/portage/bin/portageq portdir' with the rsync
command.

I ended up with what seemed like a nice links.txt file, but 'wget -i
links.txt' from the networked machine returns all 403 and 404 errors. 
I thought this might have something to do with the fact that the
floppy I used to transfer the links.txt file was vfat, so I formatted
it ext2 with the same results.  It's always something like this:

Connecting to distfiles.gentoo.org[156.56.247.195]:80... connected.
HTTP request sent

Re: [gentoo-user] system with no network needs updates

2005-04-03 Thread Grant
  When using -f (--fetchonly) and -p (--pretend) together emerge dumps all
  possible download urls for each package it knows about. I think this is
  documented somewhere. Have you synced the portage tree though? It would
  not be wise to freshen up just one subdirectory on /usr/portage tree.
  You need to get a recent snapshot and update manually. This link has a
  little more on it:
  http://gentoo-wiki.com/TIP_Downloading_distfiles_on_another_machine
 
  It would be something like:
  wget http://gentoo.osuosl.org/snapshots/portage-(most recent date).tar.bz2
  # ... transfer to your target machine using cd or usb stick ...
  # on target machine put it into /var/tmp
  # then:
  cd /var/tmp
  tar fxj portage-(most recent date).tar.bz2
  cd portage
  # ... run this:
  /usr/lib/portage/bin/portageq portdir
  # and check that it returns a sane value like /usr/portage and:
  rsync -av --progress --stats --delete --delete-after
  --exclude='/distfiles' --exclude='/packages' --exclude='/local' .
  `/usr/lib/portage/bin/portageq portdir`
  cd ..
  rm -rf portage
  rm -f portage-(most recent date).tar.bz2
  # ... and now you got a recent portage snapshot to work with ...
  emerge -vuDfp world -- to see what you get out of date
 
  i havent tested this but the code in the middle i got out of
  emerge-webrsync so i guess it should work.
 
  Eugene.
 
 Your suggestions worked great except I had to use '/usr/portage'
 instead of '/usr/lib/portage/bin/portageq portdir' with the rsync
 command.
 
 I ended up with what seemed like a nice links.txt file, but 'wget -i
 links.txt' from the networked machine returns all 403 and 404 errors.
 I thought this might have something to do with the fact that the
 floppy I used to transfer the links.txt file was vfat, so I formatted
 it ext2 with the same results.  It's always something like this:
 
 Connecting to distfiles.gentoo.org[156.56.247.195]:80... connected.
 HTTP request sent, awaiting response... 403 Forbidden
 15:49:30 ERROR 403: Forbidden.
 
 - Grant

Looking a little closer at the output of 'wget -i links.txt' :

--17:14:20--  
http://distfiles.gentoo.org/distfiles/sysvinit-2.86.tar.gz%20http:/distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/sysvinit-2.86.tar.gz%20ftp:/ftp.cistron.nl/pub/people/miquels/software/sysvinit-2.86.tar.gz%20ftp:/sunsite.unc.edu/pub/Linux/system/daemons/init/sysvinit-2.86.tar.gz
   = `sysvinit-2.86.tar.gz'
Connecting to distfiles.gentoo.org[216.165.129.135]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
17:14:20 ERROR 404: Not Found.

In links.txt each of the paths for any given file are concatenated
(correct usage?) with a space character, and wget is trying to fetch
the entire string.  Does anyone know how to make wget use this file
properly?

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



Re: [gentoo-user] MADWIFI driver...

2005-04-02 Thread Grant
 ieee80211_crypto_register
 wlan: Unknown symbol wireless_send_event
 wlan_xauth: Unknown symbol ieee80211_authenticator_unregister
 wlan_xauth: Unknown symbol ieee80211_authenticator_register
 --
 
 Noting that the first error is generated by the wlan module, following a
 session with Google I suspected that my kernel needed wireless network
 support... I used menuconfig and made these selections:
 
 --
  [*] Wan interfaces support
Comtrol Hostess SV-11 support
COSA/SRP sync serial boards support
Etinc PCISYNC serial board support
LanMedia Corp. SSI/V.35, T1/E1, HSSI, T3 boards
Sealevel Systems 4021 support
SyncLink HDLC/SYNCPPP support
Generic HDLC layer
Frame Relay DLCI support
Granch SBNI12 Leased Line adapter support
 --
 
 Can anyone tell me if they've got the madwifi-drivers working under
 Gentoo (with a 2.6 kernel)? If so - where do our approaches differ? What
 kernel options are actually required? Do I really need all the modules
 I've got in my autoloading (I don't care about security - the only
 service I'll expose over this interface will be SSH - the same one as I
 expose to the internet at large)?

I've been fighting with the madwifi-driver for so long but as of night
before last it is working perfectly via WPA.  I use wpa_supplicant and
I've read conflicting information that it can and can not be used to
connect to an unsecured AP.  It can definitely connect via WEP or WPA
though.

The only module you need to autoload is ath_pci.  The kernel option
you must be missing is:

Device Drivers - Networking support - Wireless LAN - Wireless LAN drivers

There is probably another one if your wireless card is PCMCIA.  You
don't need the WAN support.

- Grant

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] MADWIFI driver...

2005-04-02 Thread Grant
 By any chance can you point me at documentation which explains what
 facilities are presented by ath_hal and wlan (as a previous post
 suggests these two aren't strictly necessary.)  Is it possible that
 ath_hal and wlan are loaded anyway as dependencies of ath_pci?

I think that's exactly what happens.  The only module I autload is
ath_pci and it works perfectly.

 While they didn't used to be (I'd misread WAN as Wireless LAN - Doah!)
 but they are now... However I still get a (now single) error ath_pci:
 Unknown symbol ieee80211_ioctl - about which I'm as unclear as I was
 about the dozens of unknown symbols I saw previously.

Are you using the latest available kernel?

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



Re: [gentoo-user] MADWIFI driver...

2005-04-02 Thread Grant
 By any chance can you point me at documentation which explains what
 facilities are presented by ath_hal and wlan (as a previous post
 suggests these two aren't strictly necessary.)  Is it possible that
 ath_hal and wlan are loaded anyway as dependencies of ath_pci?
 
 
 
 I think that's exactly what happens.  The only module I autload is
 ath_pci and it works perfectly.
 
 
 That seems to be how it works to me too :-) Though I still can't fathom
 the remaining undefined symbol ieee80211_ioctl :-S
 
 Are you using the latest available kernel?
 
 
 
 # uname -srv
 Linux 2.6.9-gentoo-r1 #5 Sat Apr 2 18:05:01 BST 2005

I don't know if it will help, but if I were in your situation I would
upgrade to the latest.

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



[gentoo-user] system with no network needs updates

2005-04-02 Thread Grant
I've got a system that needs a few package updates before its wireless
connection will start working and ethernet doesn't seem to be
cooperating.  I think what I need to do is fetch a few packages on
another system, burn them to a CD, and copy them from the CD to the
appropriate places on the network-less system.  For baselayout, would
I want to get and put /usr/portage/sys-apps/baselayout/* ?

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



Re: [gentoo-user] Dual-boot Windows with Gentoo? (say it ain't so)

2005-04-02 Thread Grant
 1. I'm traveling and need to connect my laptop to strange Internet
 connections that (with Linux) require exotic configs.
 
 
 
 Well, I share this worry.  I haven't yet run into anyplace wired or
 wireless that Gentoo couldn't handle

What kind of configurations have you had to use?  Does dhcp always
take care of it with a blank /etc/conf.d/net ?

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



Re: [gentoo-user] Dual-boot Windows with Gentoo? (say it ain't so)

2005-04-02 Thread Grant
  I have three Gentoo workstations.  One is a laptop I take with me, and
  the other two are used by other people and stay at a remote location
  that I only visit occasionally.  I would like nothing more than to
  have Gentoo and only Gentoo on these three machines but I'm scared of
  something not working at the wrong time.  I'm happy to only make
  system changes according to GLSAs when I'm not at home base (where
  problems can be worked out slowly), but here are the two scenarios
  that freak me out:
 
  1. I'm traveling and need to connect my laptop to strange Internet
  connections that (with Linux) require exotic configs.
 
  2. I'm traveling and I apply a GLSA to one of the systems and
  something important breaks (network connectivity, xorg, etc).
 
  I do have VMware Workstation running XP on each system, but that
  relies on most of Gentoo working.  I hate to say it, but it seems like
  maybe I should set up a dual-boot configuration on each of these
  machines so they can boot into Windows when Gentoo isn't working.  The
  main issues I have with this are:
 
  1. the remote administration problems
 
  2. the security implications
 
  I've been running all of this over in my head, and I thought I'd get
  your guys' advice.  From what I've read, dual booting XP with Linux is
  a real hassle.  I could use 98SE instead, but it's really not as
  sweet.
 
 Get over it, maintain your system conservatively, without making major
 changes on the road.

I've decided to take your advice here.  I'm thinking I should be OK if
the only updates I make from the road are because of GLSAs.

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



Re: [gentoo-user] restricted IMAP configuration

2005-04-02 Thread Grant
  I'm using courier-imap.  I'd like to be able to set up an imap client
  on a single workstation to be the only client that can access a
  particular imap account.
 
 Not sure what you mean here - do you need to strictly enforce this so no
 other machine can access the IMAP server at all? Or is this restriction
 further down at the account level?
 
 For the former, you could use a firewall rule to block other IMAP clients;
 the latter would require more thought and input.

I'm using email as the clock in/clock out mechanism for my employees
and I'd like to make sure they can only do that when they're at work. 
Is there an IMAP client that will let me hide the password once it's
set up?  That should be enough right there.

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



Re: [gentoo-user] revdep-rebuild always emerges the same package

2005-04-02 Thread Grant
  |  |  | I always get the same thing from revdep-rebuild, no matter how
  |  |  | many times it emerges blackdown-jdk:
  |  | 
  |  |  This is one of the many reasons you shouldn't use binary
  |  |  packages.
  |  |
  |  | I didn't think I was.  I don't think I've ever used an 'emerge -K'
  |  | command.
  | 
  |  Blackdown is shipped as a binary.
  |
  | blackdown isn't in my world file so something must need it.  What can
  | I do about the revdep-rebuild problem?
 
  Hack the script to ignore blackdown. Alternatively, use a free java
  implementation. Better still, stop using java apps.
 
 
 Related to hacking the script, you can download the revdep-rebuild from
 http://bugs.gentoo.org/show_bug.cgi?id=62644 which is a little bit
 smarter and a lot more configurable.  Make sure to read through the bug
 to see the new features and how to use them.

Thanks Paul.  I'll just wait until that updates makes its way into
portage.  What package is revdep-rebuild part of?  Portage?

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



Re: [gentoo-user] restricted IMAP configuration

2005-04-02 Thread Grant
  I'm using email as the clock in/clock out mechanism for my employees
  and I'd like to make sure they can only do that when they're at work.
  Is there an IMAP client that will let me hide the password once it's
  set up?  That should be enough right there.
 
 U... can't you firewall it so that the IMAP server can only be
 accessed from inside the building?
 
 Stroller.

I should have said the server is on my remote machine.

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



[gentoo-user] adding to the wiki

2005-04-02 Thread Grant
I can't figure this out.  I tried to add this to the wiki:


== Burning ISO images with cdrecord ==
Here is a pretty self-explanatory line for burning an ISO image to a
CD with cdrecord:
{{Box_Code|Burn the ISO image:|
# cdrecord -dev=/dev/cdrom blank=fast ~/image.iso
}}
The blank=fast portion can be omitted if you don't want to erase the
CDRW before burning.


but it comes out in the preview as:


Here is a pretty self-explanatory line for burning an ISO image to a
CD with cdrecord:
Code: Burn the ISO image:

{{{2}}}

The blank=fast portion can be omitted if you don't want to erase the
CDRW before burning.

What am I doing wrong?

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



Re: [gentoo-user] adding to the wiki

2005-04-02 Thread Grant
  I can't figure this out.  I tried to add this to the wiki:
 
  
  == Burning ISO images with cdrecord ==
 
 This is a section title, so should be shown at the top of the preview
 page.
 
  Here is a pretty self-explanatory line for burning an ISO image to a
  CD with cdrecord:
  {{Box_Code|Burn the ISO image:|
  # cdrecord -dev=/dev/cdrom blank=fast ~/image.iso
  }}
 
 I think the # needs a space before it to indicate that it's
 preformatted.
 
 I usually use something like:
{{Box_Code|Burn the ISO image:|
pre
# cdrecord -dev=/dev/cdrom blank=fast ~/image.iso
/pre
}}
 
 If in doubt, copy  paste from the edit box of some other article
 that displays right.
 
 But since it is a single line of code, it might be more appropriate to
 use:
 
Here is a pretty self-explanatory line for burning an ISO image to a
 CD with cdrecord:
br
{{Codeline|cdrecord -dev=/dev/cdrom blank=fast ~/image.iso}}
p
 
 Stroller.

I tried your code with similar strange results.  I can not figure that
thing out.

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



Re: [gentoo-user] xorg-x11: truetype-fonts vs. type1-fonts

2005-04-01 Thread Grant
 Nope, Type1 are high quality fonts from Adobe. Truetype are fonts
 introduced by M$. They are of lower quality.
 
 Frank

Is it beneficial to build both of them into an xorg installation or is
that a waste?

- Grant

 On Wed, 2005-03-30 at 13:32 -0800, Grant wrote:
  Are the USE flags 'truetype-fonts' and 'type1-fonts' in xorg-x11 meant
  to be substitutes for each other?  I'm running the xfs font server,
  and I know I'm supposed to keep my installed fonts down to those I
  want.
 
  - Grant
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg-x11: truetype-fonts vs. type1-fonts

2005-04-01 Thread Grant
 Depends on if you need some font(s) that are only in the M$ list.
 
  quality depends mostly on size  capabilities of the intended output
 device...
 
 rgh

Has anyone compared truetype and type1 fonts rendered on something
comparable to a 15 LCD?

- Grant

 Nope, Type1 are high quality fonts from Adobe. Truetype are fonts
 introduced by M$. They are of lower quality.
 
 Frank
 
 
 
 Is it beneficial to build both of them into an xorg installation or is
 that a waste?
 
 - Grant
 
 
 
 On Wed, 2005-03-30 at 13:32 -0800, Grant wrote:
 
 
 Are the USE flags 'truetype-fonts' and 'type1-fonts' in xorg-x11 meant
 to be substitutes for each other?  I'm running the xfs font server,
 and I know I'm supposed to keep my installed fonts down to those I
 want.
 
 - Grant
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge --depclean

2005-03-31 Thread Grant
  I've neglected to update any packages since a nasty case of the new
  package blues a while ago, but in the last few days I've gotten back
  on top of it.  I'm up to date with 'emerge -Du world' and I'd like to
  give 'emerge --depclean' a go, but I've read that it can be tricky.
  My world file is correct, should I try it?  How do revdep-rebuild and
  fixpackages fit into all of this?
 
 I completely hosed my system once with 'emerge --depclean', and nearly
 whacked it a second time. I only brought it back from the brink with
 some tricky copying of missing libs.
 
 I've learned to be a little less tidy, my machine loves me for it.
 
 Bill Roberts

Why would something like that happen?  It seems like Gentoo has a
logical system for keeping everything sane.

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



[gentoo-user] lost dhcpcd and updatedb/locate

2005-03-31 Thread Grant
Since my depcleaning, updatedb and locate are bad commands and dhcpcd
is gone.  I'm surprised that stuff isn't depended on or part of the
system, but minimal is good.  dhcpcd is back, but what package is
updatedb/locate part of?  Should I go for slocate instead?

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



[gentoo-user] Dual-boot Windows with Gentoo? (say it ain't so)

2005-03-31 Thread Grant
I have three Gentoo workstations.  One is a laptop I take with me, and
the other two are used by other people and stay at a remote location
that I only visit occasionally.  I would like nothing more than to
have Gentoo and only Gentoo on these three machines but I'm scared of
something not working at the wrong time.  I'm happy to only make
system changes according to GLSAs when I'm not at home base (where
problems can be worked out slowly), but here are the two scenarios
that freak me out:

1. I'm traveling and need to connect my laptop to strange Internet
connections that (with Linux) require exotic configs.

2. I'm traveling and I apply a GLSA to one of the systems and
something important breaks (network connectivity, xorg, etc).

I do have VMware Workstation running XP on each system, but that
relies on most of Gentoo working.  I hate to say it, but it seems like
maybe I should set up a dual-boot configuration on each of these
machines so they can boot into Windows when Gentoo isn't working.  The
main issues I have with this are:

1. the remote administration problems

2. the security implications

I've been running all of this over in my head, and I thought I'd get
your guys' advice.  From what I've read, dual booting XP with Linux is
a real hassle.  I could use 98SE instead, but it's really not as
sweet.

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



Re: [gentoo-user] lost dhcpcd and updatedb/locate

2005-03-31 Thread Grant
  but what package is
  updatedb/locate part of?  Should I go for slocate instead?
 
 Those commands are also provided by slocate, so go for it.

Right on, fully operational once again.

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



Re: [gentoo-user] revdep-rebuild always emerges the same package

2005-03-31 Thread Grant
 | I always get the same thing from revdep-rebuild, no matter how many
 | times it emerges blackdown-jdk:
 
 This is one of the many reasons you shouldn't use binary packages.

I didn't think I was.  I don't think I've ever used an 'emerge -K' command.

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



Re: [gentoo-user] revdep-rebuild always emerges the same package

2005-03-31 Thread Grant
 |  | I always get the same thing from revdep-rebuild, no matter how
 |  | many times it emerges blackdown-jdk:
 | 
 |  This is one of the many reasons you shouldn't use binary packages.
 |
 | I didn't think I was.  I don't think I've ever used an 'emerge -K'
 | command.
 
 Blackdown is shipped as a binary.

blackdown isn't in my world file so something must need it.  What can
I do about the revdep-rebuild problem?

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



Re: [gentoo-user] revdep-rebuild always emerges the same package

2005-03-31 Thread Grant
 |  |  | I always get the same thing from revdep-rebuild, no matter how
 |  |  | many times it emerges blackdown-jdk:
 |  | 
 |  |  This is one of the many reasons you shouldn't use binary
 |  |  packages.
 |  |
 |  | I didn't think I was.  I don't think I've ever used an 'emerge -K'
 |  | command.
 | 
 |  Blackdown is shipped as a binary.
 |
 | blackdown isn't in my world file so something must need it.  What can
 | I do about the revdep-rebuild problem?
 
 Hack the script to ignore blackdown. Alternatively, use a free java
 implementation. Better still, stop using java apps.

Is there a free java implementation I could emerge?  If I then
unmerged blackdown, would 'emerge -Du world' then want to emerge
blackdown again?

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



[gentoo-user] restricted IMAP configuration

2005-03-31 Thread Grant
I'm using courier-imap.  I'd like to be able to set up an imap client
on a single workstation to be the only client that can access a
particular imap account.  Do I need a particular imap client, a
particular configuration of courier, or both?

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



Re: [gentoo-user] a closet server

2005-03-30 Thread Grant
 | Sounds pretty rad.  Has anyone experimented with a bunch of old
 | clunkers in a cluster?
 
 
 
 Yes. Theres an excellent Gentoo guide on that:
 
 http://www.gentoo.org/doc/en/openmosix-howto.xml
 http://www.gentoo.org/doc/en/diskless-howto.xml
 
 Yes. It'll cost you less buying a second hand big SMP box or a
 reasonably recent not so big SMP box because of the insane power usage
 of old clunkers in a cluster.
 
 
 
 And this is the reason why it stayed as that an experiment, besides the
 space it occupied.
 
 But this one looks awesome! The Mini-Cluster
 http://mini-itx.com/projects/cluster/
 
 quote
 At present, the idle power consumption is about 140 Watts (for 12 nodes)
 with peaks estimated at around 200 Watts. The machine runs cool and
 quiet. The controlling node has 256 MB RAM , and an 160 GB ATA 133 IDE
 hard disk drive. The computational nodes have 256 MB RAM, each and boot
 from 340 MB IBM microdrives by means of compact flash to IDE adapters.
 The computational nodes mount /usr on the controlling node via NFS, for
 storage and to allow for a very simple configuration. No official
 benchmarks have been run, but for simple computational tasks the mini
 cluster appears to be faster than four 2.4 GHz pentium 4 mcahines used
 in parallel, at a fraction of the cost and power use.
 /quote

That's pretty damn cool.  Do all of the CPUs have to be identical?

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



[gentoo-user] Firefox won't start

2005-03-30 Thread Grant
I was running 'emerge -Du world' when my Firefox windows closed and
attempts to start it again yielded this:

system4 ~ # firefox
No running windows found
INTERNAL ERROR on Browser End: Expected a version  5! Version = 4

System error?:: No such file or directory
firefox-bin exited with non-zero status (255)

This may have happened during a gtk update.  I have tried re-emerging
firefox and restarting the system with no change.  What else should I
try?

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



[gentoo-user] Re: Firefox won't start

2005-03-30 Thread Grant
 I was running 'emerge -Du world' when my Firefox windows closed and
 attempts to start it again yielded this:
 
 system4 ~ # firefox
 No running windows found
 INTERNAL ERROR on Browser End: Expected a version  5! Version = 4
 
 System error?:: No such file or directory
 firefox-bin exited with non-zero status (255)
 
 This may have happened during a gtk update.  I have tried re-emerging
 firefox and restarting the system with no change.  What else should I
 try?
 
 - Grant

Actually it looks like there is a gtk update available this morning so
I'll try that.

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



Re: [gentoo-user] Portage wants to emerge hardened-sources

2005-03-30 Thread Grant
   If you look at the new kernel guide,
   http://www.gentoo.org/doc/en/gentoo-kernel.xml, you'll notice that
   there's some weird stuff going on with the reference to kernel names.
   Section 2 references gentoo-dev-sources, but then if you read the whole
   thing it refers to gentoo-sources-2.6, so maybe they're moving kernel
   names around.  If it's giving you a 2.6 hardened kernel, I wouldn't
   worry about it.
 
  The problem is that is wants to install the latest hardened 2.4 as
  part of 'emerge -Du world'.
 
  - Grant
 
 Issuing an 'emerge -C hardened-sources' seems to have fixed this.
 
 - Grant

The problem is back this morning with 'emerge -Du world'.  I'll file a bug.

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



[gentoo-user] Re: Firefox won't start

2005-03-30 Thread Grant
  I was running 'emerge -Du world' when my Firefox windows closed and
  attempts to start it again yielded this:
 
  system4 ~ # firefox
  No running windows found
  INTERNAL ERROR on Browser End: Expected a version  5! Version = 4
 
  System error?:: No such file or directory
  firefox-bin exited with non-zero status (255)
 
  This may have happened during a gtk update.  I have tried re-emerging
  firefox and restarting the system with no change.  What else should I
  try?
 
  - Grant
 
 Actually it looks like there is a gtk update available this morning so
 I'll try that.
 
 - Grant

No luck.  Please let me know if you can help.

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



[gentoo-user] Re: Firefox won't start

2005-03-30 Thread Grant
   I was running 'emerge -Du world' when my Firefox windows closed and
   attempts to start it again yielded this:
  
   system4 ~ # firefox
   No running windows found
   INTERNAL ERROR on Browser End: Expected a version  5! Version = 4
  
   System error?:: No such file or directory
   firefox-bin exited with non-zero status (255)
  
   This may have happened during a gtk update.  I have tried re-emerging
   firefox and restarting the system with no change.  What else should I
   try?
  
   - Grant
 
  Actually it looks like there is a gtk update available this morning so
  I'll try that.
 
  - Grant
 
 No luck.  Please let me know if you can help.
 
 - Grant

Issuing 'mv .mozilla .mozilla_old' fixed this.  Please let me know if
you have any tips on getting my settings from .mozilla_old to .mozilla
without also migrating the problem.

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



Re: [gentoo-user] Re: Firefox won't start

2005-03-30 Thread Grant
I was running 'emerge -Du world' when my Firefox windows closed and
attempts to start it again yielded this:
   
system4 ~ # firefox
No running windows found
INTERNAL ERROR on Browser End: Expected a version  5! Version = 4
   
System error?:: No such file or directory
firefox-bin exited with non-zero status (255)
   
This may have happened during a gtk update.  I have tried re-emerging
firefox and restarting the system with no change.  What else should I
try?
   
- Grant
  
   Actually it looks like there is a gtk update available this morning so
   I'll try that.
  
   - Grant
 
  No luck.  Please let me know if you can help.
 
  - Grant
  --
  gentoo-user@gentoo.org mailing list
 Hi,
 Are you using a hardened-system? If yes which one?
 i also have issues with FF.
 HTH
 Rumen

Hi Rumen,

I am using a hardened-dev-sources kernel set to medium security and
the hardened flag in make.conf.

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



[gentoo-user] emerge --depclean

2005-03-30 Thread Grant
I've neglected to update any packages since a nasty case of the new
package blues a while ago, but in the last few days I've gotten back
on top of it.  I'm up to date with 'emerge -Du world' and I'd like to
give 'emerge --depclean' a go, but I've read that it can be tricky. 
My world file is correct, should I try it?  How do revdep-rebuild and
fixpackages fit into all of this?

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



[gentoo-user] xorg-x11: truetype-fonts vs. type1-fonts

2005-03-30 Thread Grant
Are the USE flags 'truetype-fonts' and 'type1-fonts' in xorg-x11 meant
to be substitutes for each other?  I'm running the xfs font server,
and I know I'm supposed to keep my installed fonts down to those I
want.

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



Re: [gentoo-user] emerge --depclean

2005-03-30 Thread Grant
 Hi there,
 May I suggest that you run emerge --depclean -vp to see what will be 
 removed,
 maybe you'll see that you don't need to run this after all.
 The message that comes up when doing this is very descriptive on what to do if
 a package suddenly breaks because of a missing library.
 
 AFAIK revdep-rebuild will get you all those packages that are needed
 but missing.
 
 I have not yest used fixpackages
 
 Regards,
 
 -AR

I'm having some trouble with revdep-rebuild.  I read the suggestions
below but I can't quite decipher them.  I tried to emerge lib-compat
manually but it didn't help.


All prepared. Starting rebuild...
emerge --oneshot --nodeps  =media-libs/xine-lib-1_rc8-r1
=sys-libs/lib-compat-1.3 =xfce-extra/xfce4-fsguard-0.2.0
..
Calculating dependencies -
emerge: there are no ebuilds to satisfy =sys-libs/lib-compat-1.3.

Result is not OK, you have following choices:
- if emerge failed during build, fix the problems and re-run revdep-rebuild
or
- use -X or --package-names as first argument (try to rebuild package, not exact
  ebuild - ignores SLOT!)
or
- set ACCEPT_KEYWORDS=~your platform and/or /etc/portage/package.unmask
  (and remove /root/.revdep-rebuild.5_order to be evaluated again)
or
- modify the above emerge command and run it manually
or
- compile or unmerge unsatisfied packages manually, remove temporary files and
  try again (you can edit package/ebuild list first)


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



[gentoo-user] 2.6.11 not grabbing madwifi-driver

2005-03-29 Thread Grant
My madwifi-driver config works with 2.6.7, but 2.6.11 keeps giving me this:

 * Starting ath0
 *Bringing up ath0
 *   Configuration not set for ath0 - assuming dhcp
 *   dhcp
 *  ath0 does not exist

even after re-emerging it may times with /usr/src/linux pointing to
linux-2.6.11-hardened-r1 and being booted into that kernel.  The
ath_pci module does autoload successfully.  Does anyone know how to
fix this?

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



[gentoo-user] Portage wants to emerge hardened-sources

2005-03-29 Thread Grant
Portage wants to emerge hardened-sources via 'emerge -Du world' but I
use hardened-dev-sources and that's what is in the world file.  Why
does it want to emerge hardened-sources?

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



Re: [gentoo-user] Portage wants to emerge hardened-sources

2005-03-29 Thread Grant
  Portage wants to emerge hardened-sources via 'emerge -Du world' but I
  use hardened-dev-sources and that's what is in the world file.  Why
  does it want to emerge hardened-sources?
 
 Maybe your kernel is no longer marked as a dev- kernel:
 
 # emerge -pv hardened-sources
 
 These are the packages that I would merge, in order:
 
 Calculating dependencies ...done!
 [ebuild  N] sys-kernel/hardened-sources-2.6.11-r1  -build -doc -symlink 
 36,398 kB
 
 Total size of downloads: 36,398 kB
 
 # emerge -pv hardened-dev-sources
 
 These are the packages that I would merge, in order:
 
 Calculating dependencies ...done!
 [ebuild  N] sys-kernel/hardened-dev-sources-2.6.11-r1  -build -doc 
 -symlink 36,398 kB
 
 Total size of downloads: 36,398 kB
 
 Looks the same to me.

That's weird.  I get this from 'emerge -pDu world':

[ebuild  NS   ] sys-kernel/hardened-sources-2.4.28-r5

I have hardened-dev-sources in my world file.

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



Re: [gentoo-user] a closet server

2005-03-29 Thread Grant
  Where do you guys go when you want a barebones server for the closet?
  I've built machines before but it seems like it might make more sense
  to buy one these days.
 
 I often have old machines given to me or find companies throwing out
 perfectly functioning old machines - clean them up, put in new drives and
 fans in and they work just fine!

I obviously don't know anything about this, but I remember reading
about how Gentoo is going in the direction of allowing you to chain
the processing power of a bunch of machines together.  Is that
distributed computing?

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



Re: [gentoo-user] Portage wants to emerge hardened-sources

2005-03-29 Thread Grant
 If you look at the new kernel guide,
 http://www.gentoo.org/doc/en/gentoo-kernel.xml, you'll notice that
 there's some weird stuff going on with the reference to kernel names.
 Section 2 references gentoo-dev-sources, but then if you read the whole
 thing it refers to gentoo-sources-2.6, so maybe they're moving kernel
 names around.  If it's giving you a 2.6 hardened kernel, I wouldn't
 worry about it.

The problem is that is wants to install the latest hardened 2.4 as
part of 'emerge -Du world'.

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



[gentoo-user] Restricted instant messaging

2005-03-29 Thread Grant
Does anyone know of an instant messaging client that can be set up to
allow communication with only one other specific account?

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



Re: [gentoo-user] Lame fonts in xorg (bitmap-fonts ?)

2005-03-29 Thread Grant
  One thing though, my xorg.conf file has these font
  paths:
  
  FontPath /usr/share/fonts/misc/
  FontPath /usr/share/fonts/TTF/
  FontPath /usr/share/fonts/Speedo/
  FontPath /usr/share/fonts/Type1/
  FontPath /usr/share/fonts/75dpi/
  FontPath /usr/share/fonts/100dpi/
  FontPath /usr/share/fonts/local/
  
  It sounds like that may be the wrong config considering the font server?
  
  
  Yes, if you want to use the font server you should have a single
  fontpath element in xorg.conf with unix/:-1.  Otherwise the X server
  will ignore the font server.
 
  But make sure the font server is really running first...'rc-update -a
  xfs ...'
 
  -Richard

Hi Richard,

You were right, I needed to play with Firefox's font dialog.

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



Re: [gentoo-user] a closet server

2005-03-29 Thread Grant
 | Sounds pretty rad.  Has anyone experimented with a bunch of old
 | clunkers in a cluster?
 
 Yes. It'll cost you less buying a second hand big SMP box or a
 reasonably recent not so big SMP box because of the insane power usage
 of old clunkers in a cluster.

There's gotta be a way to crunch those numbers.  Maybe a solar panel
setup.  It's like Kramer and Newman taking the recyclables to
Michigan.

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



[gentoo-user] emerge system = many automakes

2005-03-28 Thread Grant
Why does emerge system want to install 6 different automake versions
in different slots and 2 different autoconf versions?

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



Re: [gentoo-user] Lame fonts in xorg (bitmap-fonts ?)

2005-03-28 Thread Grant
  I wanted to add to this that some fonts looks good and some do not.
 
 At cnn.com most of the fonts look bad, but the ones along the bar at
 the bottom (International Edition, CNN TV, Advertise With Us, About
 Us, etc.) are nice and smooth.  I will try emerging without the
 bitmap-fonts USE flag and see how it goes.
 
 
 Looks fine for me.
 
 Have you tried playing with firefox's font dialog...I use:
 
 Proportional: Sans Serif  Size 14
 Serif: New Century Schoolbook
 Sans-serif: sans-serif
 Monospace: monospace Size 14
 Display resolution: System setting  Minimum font size: 9
 ...
 Always use my:  (x) Fonts  ( ) Colors
 
 
 Here is some data from my system to compare against:
 
 
 carcharias root # emerge -v --pretend xorg-x11 mozilla-firefox corefonts
 freefonts urw-fonts
 
 These are the packages that I would merge, in order:
 
 Calculating dependencies ...done!
 [ebuild   R   ] x11-base/xorg-x11-6.8.2-r1  -3dfx -3dnow +bitmap-fonts
 -cjk -debug -dlloader -dmx -doc +font-server -hardened -insecure-drivers
 +ipv6 -minimal +mmx +nls +opengl +pam -sdk +sse -static +truetype-fonts
 +type1-fonts (-uclibc) -xprint +xv 0 kB
 [ebuild U ] www-client/mozilla-firefox-1.0.2-r1 [1.0.1] -debug
 -gnome +java +ldap -mozdevelop -moznoxft -mozsvg -mozxmlterm -xinerama
 -xprint 31,992 kB
 [ebuild   R   ] media-fonts/corefonts-1-r2  +X 0 kB
 [ebuild   R   ] media-fonts/freefonts-0.10-r2  +X 0 kB
 [ebuild   R   ] media-fonts/urw-fonts-2.1-r2  +X 0 kB
 
 
 Notice that I built with bitmap fonts as well.  I use xfs (xfontserver),
 so my font path in xorg.conf is:
 
 
 FontPath unix/:-1
 
 
 My /etc/x11/fs/config file contains:
 
 
 #
 # X Font Server configuration file
 #
 
 # allow a max of 4 clients to connect to this font server
 #client-limit = 4
 
 # no tcp, use sockets!
 no-listen  =  tcp
 
 # when a font server reaches its limit, start up a new one
 clone-self = on
 
 # alternate font servers for clients to use
 #alternate-servers = foo:7101,bar:7102
 
 # where to look for fonts
 # Some of these are commented out, i.e. the TrueType and Type1
 # directories in /usr/share, because they aren't forced to be
 # installed alongside X.
 #
 catalogue = /usr/share/fonts/75dpi,
 /usr/share/fonts/100dpi,
 /usr/share/fonts/misc,
 /usr/share/fonts/Type1,
 /usr/share/fonts/Speedo,
 /usr/share/fonts/CID,
 /usr/share/fonts/util,
 /usr/share/fonts/local,
 /usr/share/fonts/Speedo,
 /usr/share/fonts/truetype,
 /usr/share/fonts/TTF,
 /usr/share/fonts/cyrillic,
 /usr/share/fonts/freefont,
 /usr/share/fonts/sharefont,
 /usr/share/fonts/default/Type1,
 /usr/share/fonts/ttf/decoratives,
 /usr/share/fonts/ttf/western,
 /usr/share/fonts/corefonts,
 /usr/share/fonts/urw-fonts
 
 # in 12 points, decipoints
 default-point-size = 120
 
 # 100 x 100 and 75 x 75
 default-resolutions = 75,75,100,100
 
 
 And finally, for anti-aliased fonts, my ~/.fonts.conf.  Notice that I
 use hinting for *all* font sizes, which looks best on my laptop LCD screen.
 
 
 ?xml version=1.0?
 !DOCTYPE fontconfig SYSTEM fonts.dtd
 fontconfig
  match target=font 
   edit mode=assign name=rgba 
constrgb/const
   /edit
  /match
  match target=font 
   edit mode=assign name=hinting 
booltrue/bool
   /edit
  /match
  match target=font 
   edit mode=assign name=hintstyle 
consthintfull/const
   /edit
  /match
  dir~/.fonts/dir
 /fontconfig

emerging xorg-x11 without the bitmap-fonts USE flag fixes the problem.
 Fonts in Firefox look nice again.  It sounds like I should have that
flag enabled though.

In comparison to you, I don't have freefonts, corefonts, or urw-fonts
installed.  I am using the font server and my config file looks pretty
much like your's.  One thing though, my xorg.conf file has these font
paths:

FontPath /usr/share/fonts/misc/
FontPath /usr/share/fonts/TTF/
FontPath /usr/share/fonts/Speedo/
FontPath /usr/share/fonts/Type1/
FontPath /usr/share/fonts/75dpi/
FontPath /usr/share/fonts/100dpi/
FontPath /usr/share/fonts/local/

It sounds like that may be the wrong config considering the font server?

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



Re: [gentoo-user] emerge system = many automakes

2005-03-28 Thread Grant
  Why does emerge system want to install 6 different automake versions
  in different slots and 2 different autoconf versions?
 
 They are slotted.  Different packages need different versions of
 auto{make,conf} to build properly.
 
 They don't take up that much space and ensure the system builds properly, so
 don't worry about them.

Thank you!

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



[gentoo-user] Which FEATURES do you use?

2005-03-28 Thread Grant
Most of the FEATURES listed in make.conf.example sound good.  Which
ones do you guys actually use?

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



Re: [gentoo-user] Which FEATURES do you use?

2005-03-28 Thread Grant
  Most of the FEATURES listed in make.conf.example sound good.  Which
  ones do you guys actually use?
 
  - Grant
  --
  gentoo-user@gentoo.org mailing list
 
 
 
 FEATURES=autoaddcvs autoconfig ccache cvs distlocks maketest noclean
 sandbox sfperms strict test
 
 mostly defaults, some not usefull for everyday usage maketest is my
 preferred one

I've got a few questions on these...

What is sfperms?
Is userpriv a good idea?
Are collision-protect and sandbox defaults?  They seem good.
Can anyone tell me more about how fixpackages works?

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



[gentoo-user] Multiple simultaneous emerges

2005-03-28 Thread Grant
Is there anything wrong with multiple simultaneous emerges?

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



[gentoo-user] etc-update broke

2005-03-28 Thread Grant
I've been emerging world today and I think one of the packages I
updated was a diff package.  Now when I run etc-update the only info I
get from choosing to interactively merge the update with the original
is something like:

Showing differences between /etc/X11/rstart/rstartd.real and
/etc/X11/rstart/._cfg_rstartd.real
Files /etc/X11/rstart/rstartd.real and
/etc/X11/rstart/._cfg_rstartd.real differ

Does anyone know how to fix this?

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



Re: [gentoo-user] etc-update broke

2005-03-28 Thread Grant
  I've been emerging world today and I think one of the packages I
  updated was a diff package.  Now when I run etc-update the only info I
  get from choosing to interactively merge the update with the original
  is something like:
 
  Showing differences between /etc/X11/rstart/rstartd.real and
  /etc/X11/rstart/._cfg_rstartd.real
  Files /etc/X11/rstart/rstartd.real and
  /etc/X11/rstart/._cfg_rstartd.real differ
 
  Does anyone know how to fix this?
 
 You don't need to fix it because it isn't broken. That file is binary so
 diff can't show you the differences.
 
 Cheers,
 Renat

Thanks, all auto-merged.

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



Re: [gentoo-user] Multiple simultaneous emerges

2005-03-28 Thread Grant
 | If you search gmail (it being that you save these mails) ...I am
 | pretty sure you will find a post by Ciaran (damn dont rip my head off
 | C. if I spelled your name wrong) that says it is bad and it all boils
 | down to cache.  So I wouldn't do it but if you really want to
 | understand why ask ciaran and risk his wrath...
 
 N, cache is bad for sync + merge at the same time. Parallel merge is
 bad for different reasons.
 
 Simple example, which is easy to understand but not entirely valid since
 we generally check for this kind of thing...
 
 Existing state: libfoo-1 is installed.
 User:   merge libfoo
 User:   merge fnord
 libfoo: dep resolver decides to upgrade to libfoo-2
 fnord:  dep resolver decides to install fnord
 libfoo: fetch, unpack
 fnord:  fetch, unpack
 libfoo: configure starts
 fnord:  configure starts
 libfoo: configure done, make starts
 fnord:  configure: check for libfoo: found libfoo-1
 fnord:  configure done, make starts
 fnord:  make building with libfoo-1 headers
 libfoo: make done, installing
 libfoo: install done
 libfoo: autocleaning libfoo-1
 libfoo: merge complete
 fnord:  linking against libfoo-1
 
 And then stuff explodes, since libfoo-1 isn't there any more. The dep
 resolver won't necessarily see this as a problem either, assuming libfoo
 isn't slotted and that fnord doesn't need specific libfoo versions.
 
 Usually the breakages are quite a bit more complex than that.
 
 --
 Ciaran McCreesh : Gentoo Developer (Vim, Fluxbox, shell tools)

Ok, one at a time then.

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



[gentoo-user] Package in world file is not installed

2005-03-28 Thread Grant
I get this message whenever I run emerge world:

*** Package in world file is not installed: sys-kernel/hardened-dev-sources

It is definitely installed because /usr/src/linux points to it and I'm
running on it.  I wonder if this is related to a problem I'm having
with this kernel not picking up a re-emerging of madwifi-driver.

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



[gentoo-user] a closet server

2005-03-28 Thread Grant
Where do you guys go when you want a barebones server for the closet? 
I've built machines before but it seems like it might make more sense
to buy one these days.

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



Re: [gentoo-user] Which FEATURES do you use?

2005-03-28 Thread Grant
  Most of the FEATURES listed in make.conf.example sound good.  Which
  ones do you guys actually use?
 
 `emerge --info` says:
 FEATURES=autoaddcvs autoconfig ccache distlocks parallel-fetch sandbox 
 sfperms
 
 Most of those are defaults...

autoconfig and parallel-fetch sound interesting.  What are those?

Do you guys find out about the ones that aren't in make.conf.example
by looking at the source?  Google isn't coming up with much.

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



Re: [gentoo-user] a closet server

2005-03-28 Thread Grant
 | Where do you guys go when you want a barebones server for the closet?
 | I've built machines before but it seems like it might make more sense
 | to buy one these days.
 
 Pick up an old Sun workstation off ebay. An ultra2 2x300/2 with a gig of
 RAM is a good bet for most things, and they're dirt cheap these days.

That wouldn't be an x86 though right?

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



Re: [gentoo-user] a closet server

2005-03-28 Thread Grant
  | Where do you guys go when you want a barebones server for the closet?
  | I've built machines before but it seems like it might make more sense
  | to buy one these days.
 
  Pick up an old Sun workstation off ebay. An ultra2 2x300/2 with a gig of
  RAM is a good bet for most things, and they're dirt cheap these days.

For a 1-user server, what about a Dell P-4 2.8G, [EMAIL PROTECTED], 160GB for
$419 shipped?  It looks like I could get 2x40GB instead for $29 more.

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



Re: [gentoo-user] Lame fonts in xorg (bitmap-fonts ?)

2005-03-28 Thread Grant
 One thing though, my xorg.conf file has these font
 paths:
 
 FontPath /usr/share/fonts/misc/
 FontPath /usr/share/fonts/TTF/
 FontPath /usr/share/fonts/Speedo/
 FontPath /usr/share/fonts/Type1/
 FontPath /usr/share/fonts/75dpi/
 FontPath /usr/share/fonts/100dpi/
 FontPath /usr/share/fonts/local/
 
 It sounds like that may be the wrong config considering the font server?
 
 
 Yes, if you want to use the font server you should have a single
 fontpath element in xorg.conf with unix/:-1.  Otherwise the X server
 will ignore the font server.
 
 But make sure the font server is really running first...'rc-update -a
 xfs ...'
 
 -Richard

Still having trouble with fonts but I think the font server is working
now.  I've submitted a bug here and I'll report back with any
findings:

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

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



Re: [gentoo-user] a closet server

2005-03-28 Thread Grant
| Where do you guys go when you want a barebones server for the closet?
| I've built machines before but it seems like it might make more sense
| to buy one these days.
   
Pick up an old Sun workstation off ebay. An ultra2 2x300/2 with a gig of
RAM is a good bet for most things, and they're dirt cheap these days.
 
  For a 1-user server, what about a Dell P-4 2.8G, [EMAIL PROTECTED], 160GB 
  for
  $419 shipped?  It looks like I could get 2x40GB instead for $29 more.
 
 It's not only here then...
 We keep getting ads for cheap Dell servers at work - considering one
 for our home ... a bit low on RAM perhaps.

I'm thinking this over more and I wonder if it would be smarter to get
a hosted box somewhere.  Availability would be higher and hardware
problems would not be my problems.

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



Re: [gentoo-user] a closet server

2005-03-28 Thread Grant
  Where do you guys go when you want a barebones server for the closet?
  I've built machines before but it seems like it might make more sense
  to buy one these days.
 
 
 How much horsepower do you want? I get my servers at Walmart for $149.00.
 After I sell of the unneeded accessories, it ends up costing me less than
 $100.00. Works great for mundane server duties, but not suited for high
 performance demands
 
 The name of the product? XBOX by microsoft. About the only thing they make
 right and price right and runs gentoo beautifully.
 
 Other thing to think about... with Sony now retailing their new PSP machine,
 maybe it'll drive the Xbox to a new low retail price...  We'll see...
 
 If you need a bit more power, check out their Linux driven desktops. Very
 affordable and not too shabby either.

Sounds perfect for one of these:

http://mythtv.org/

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



Re: [gentoo-user] xfmedia Segmentation fault

2005-03-27 Thread Grant
 Make sure you have the D-BUS daemon running:
 # emerge sys-apps/dbus
 # /etc/init.d/dbus start
 
 See if that helps.

Hi Peter,

I don't have dbus running (although it is installed), but I am going
to stick with 2.6.11.  The only problem I've found with it is my
touchpad doesn't register small movements.  It's really annoying
actually.  But should I add dbus to the default runlevel anyway?

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



Re: [gentoo-user] quickpkg

2005-03-27 Thread Grant
  A little while ago Neil turned me on to quickpkg.  It sounds like a
  great way to protect yourself from the new package blues.  Is anyone
  using it like that?  What would be the best way to assure that your
  system always has a backup copy of your current version of a package
  available before emerging a new one?
 
 A more reliable method, assuming you have the drive space, is to add
 buildpkg to FEATURES in make.conf. Then emerge will automatically build a
 package when installing a package. It also means the package is verified,
 because ebuild builds it then installs from the package it just built, not
 the files in $PORTAGE_TMPDIR.

If I'm understanding it correctly, FEATURES=buildpkg sounds less
reliable for failed upgrade recovery.  If you want to roll back to a
previous version of a package, you're going to end up with what was
originally installed, not what was working on your system right before
the upgrade, right?

Also, I tried to use quickpkg to protect me from any problems
upgrading xorg and I ended up totally screwed.  I quickpackaged my
installed xorg, emerged the latest xorg, it wouldn't start, I tried to
'emerge -K xorg-x11', it said it was blocked by xorg-x11, I unmerged
xorg-x11, it still said it was blocked, I tried to unmerge xorg-x11
again and it said it wasn't installed.  It does sound like a portage
problem instead of a quickpkg problem.  I've finally gotten xorg
working again thanks to a closed bug record, and let me tell you this:

1. don't emerge hardened xorg without dlloader
2. lynx doesn't work with gmail (predictable)

- Grant

 Neil Bothwick
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Lame fonts in xorg (bitmap-fonts ?)

2005-03-27 Thread Grant
I'm seeing crappy fonts in Firefox since emerging the latest xorg
version, and I am using the truetype-fonts USE flag.  I emerged it
once without the bitmap-fonts USE flag, and the fonts looked really
nice, but I noticed a message during the emerge warning me to enable
bitmap-fonts.  I re-emerged with bitmap-fonts enabled, and fonts have
looked crappy since.  I tried commenting out different font paths in
xorg.conf to no avail.  I did notice this in the emerge's output:

^[[32;01m*^[[0m Creating fonts.scale files... ...
/usr/portage/x11-base/xorg-x11/xorg-x11-6.8.2-r1.ebuild: line 1815:
16852 Segmentation fault 
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${ROOT}/usr/$(get_libdir)
${ROOT}/usr/bin/ttmkfdir -x 2 -e
${ROOT}/usr/share/fonts/encodings/encodings.dir -o ${x}/fonts.scale -d
${x}

Could that have anything to do with it?

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



[gentoo-user] Lame fonts in xorg (bitmap-fonts ?)

2005-03-27 Thread Grant
I'm seeing crappy fonts in Firefox since emerging the latest xorg
version, and I am using the truetype-fonts USE flag.  I emerged it
once without the bitmap-fonts USE flag, and the fonts looked really
nice, but I noticed a message during the emerge warning me to enable
bitmap-fonts.  I re-emerged with bitmap-fonts enabled, and fonts have
looked crappy since.  I tried commenting out different font paths in
xorg.conf to no avail.  I did notice this in the emerge's output:

^[[32;01m*^[[0m Creating fonts.scale files... ...
/usr/portage/x11-base/xorg-x11/xorg-x11-6.8.2-r1.ebuild: line 1815:
16852 Segmentation fault 
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${ROOT}/usr/$(get_libdir)
${ROOT}/usr/bin/ttmkfdir -x 2 -e
${ROOT}/usr/share/fonts/encodings/encodings.dir -o ${x}/fonts.scale -d
${x}

Could that have anything to do with it?

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



Re: [gentoo-user] Lame fonts in xorg (bitmap-fonts ?)

2005-03-27 Thread Grant
  I did notice this in the emerge's output:
 
  ^[[32;01m*^[[0m Creating fonts.scale files... ...
  /usr/portage/x11-base/xorg-x11/xorg-x11-6.8.2-r1.ebuild: line
  1815: 16852 Segmentation fault
  LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${ROOT}/usr/$(get_libdir)
  ${ROOT}/usr/bin/ttmkfdir -x 2 -e
 
 emerge --oneshot ttmkfdir;
 
 and try xorg again.

Ok, do you mean emerge xorg again?

- Grant

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



Re: [gentoo-user] quickpkg

2005-03-27 Thread Grant
  If I'm understanding it correctly, FEATURES=buildpkg sounds less
  reliable for failed upgrade recovery.  If you want to roll back to a
  previous version of a package, you're going to end up with what was
  originally installed, not what was working on your system right before
  the upgrade, right?
 
 Wrong. buildpkg builds a binary package for each package before installing
 it, so you have the current version and all previous versions, since you
 enabled buildpkg, in PKGDIR. It means you can rol back as far as you like.

Ok, I was thinking it wouldn't take into account changes you make
since it was installed, but the only changes should be in /etc/ and
those would be preserved.  I see buildpkg and quickpkg both utilize
$PKGDIR.  Very nice.

- Grant

 Neil Bothwick
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lame fonts in xorg (bitmap-fonts ?)

2005-03-27 Thread Grant
   I did notice this in the emerge's output:
  
   ^[[32;01m*^[[0m Creating fonts.scale files... ...
   /usr/portage/x11-base/xorg-x11/xorg-x11-6.8.2-r1.ebuild: line
   1815: 16852 Segmentation fault
   LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${ROOT}/usr/$(get_libdir)
   ${ROOT}/usr/bin/ttmkfdir -x 2 -e
 
  emerge --oneshot ttmkfdir;
 
  and try xorg again.

I've re-emerged ttmkfdir and then xorg-x11 with the same segfault at
the end of the xorg emerge and the same fonts in Firefox.  What else
can I try?

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



Re: [gentoo-user] xfmedia Segmentation fault

2005-03-27 Thread Grant
  Make sure you have the D-BUS daemon running:
  # emerge sys-apps/dbus
  # /etc/init.d/dbus start
 
  See if that helps.
 
 Hi Peter,
 
 I don't have dbus running (although it is installed), but I am going
 to stick with 2.6.11.  The only problem I've found with it is my
 touchpad doesn't register small movements.  It's really annoying
 actually.  But should I add dbus to the default runlevel anyway?
 
 - Grant

emerging the latest synaptics package and changing the mouse driver in
xorg.conf to synaptics fixed this.  My touchpad is an Alps and there
are some important settings for xorg.conf in README.alps.gz.

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



Re: [gentoo-user] Lame fonts in xorg (bitmap-fonts ?)

2005-03-27 Thread Grant
I did notice this in the emerge's output:
   
^[[32;01m*^[[0m Creating fonts.scale files... ...
/usr/portage/x11-base/xorg-x11/xorg-x11-6.8.2-r1.ebuild: line
1815: 16852 Segmentation fault
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${ROOT}/usr/$(get_libdir)
${ROOT}/usr/bin/ttmkfdir -x 2 -e
  
   emerge --oneshot ttmkfdir;
  
   and try xorg again.
 
 I've re-emerged ttmkfdir and then xorg-x11 with the same segfault at
 the end of the xorg emerge and the same fonts in Firefox.  What else
 can I try?
 
 - Grant

I wanted to add to this that some fonts looks good and some do not. 
At cnn.com most of the fonts look bad, but the ones along the bar at
the bottom (International Edition, CNN TV, Advertise With Us, About
Us, etc.) are nice and smooth.  I will try emerging without the
bitmap-fonts USE flag and see how it goes.

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



[gentoo-user] quickpkg

2005-03-24 Thread Grant
A little while ago Neil turned me on to quickpkg.  It sounds like a
great way to protect yourself from the new package blues.  Is anyone
using it like that?  What would be the best way to assure that your
system always has a backup copy of your current version of a package
available before emerging a new one?  Are there any types of packages
or situations where this method of upgrade protection would fail?

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



[gentoo-user] Re: xfmedia Segmentation fault

2005-03-24 Thread Grant
 I just emerged xfmedia, but trying to start it I get this:
 
 system4 ~ # xfmedia
 ** (xfmedia:8329): WARNING **: Failed to open a connection to the
 D-BUS session bus.  Please ensure that the session bus is running. (0:
 D-BUS error org.freedesktop.DBus.Error.Failed: Unable to determine the
 address of the message bus)
 Segmentation fault
 
 My xorg is pretty out of date (6.8.0-r1), could that be the problem?
 There are no bugs filed for this.
 
 - Grant

This isn't happening on 2.6.11 but was on 2.6.7.

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



[gentoo-user] djbdns and Gentoo

2005-02-27 Thread Grant
I'm setting up DNS services for my domains on my server.  I'm looking
at http://www.lifewithdjbdns.com/ but I wonder how much of the Simple
setup applies with Gentoo.  Does anyone have any advice on djbdns
with Gentoo?

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



[gentoo-user] Gentoo support

2005-02-24 Thread Grant
I've been trying to figure out a way to test software updates before I
make them to production systems, and I've come to the conclusion that
that's just not the way to do it.  I think I'll be updating the
old-fashioned way.  The thing is, I'm sure this will cause system
problems sooner rather than later.  Critical system problems will need
to be fixed with no time to lose.  This list is great and very
responsive, but what about when my server won't serve and no one is
chiming in?  Is paid Gentoo support available?

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



Re: [gentoo-user] Gentoo support

2005-02-24 Thread Grant
  Not sure about the paid support, but (IMO) the correct way to rollout an
 
  update to your servers is to get another machine with the same software
  setup that you can test on.  If you have a webpage or app that you need
  to  upgrade, then do it on your test machine, then roll out an update to
  your  gentoo machine.  This is true for almost all types of systems.
  Yes,  buying another machine will cost you little bit, but the first
  time it  prevents downtime, it's practically paid for.
 
  This also has the advantage of not having to load up your production
  servers with compilation. Use the --buildpkg option when installing on the
  test server and --usepkg on the production machine. Just make sure PKGDIR
  points to the same shared directory on all machines.
 
 Well, PKGDIR doesn't have to be the same directory, you could just move
 them over manually.  This ensures that your system has less points of
 possible compromise.
 
 I'd like to give another advantage of this system.  The test machine can
 become a type of hot spare if something happens to the original server.
 Thus giving you another layer of backup for your system.  If you have a
 nightly backup that is loaded onto the test server daily you'll be all set
 in the case of emergency.
 
 And, this is getting off topic now, but if you have a backup solution in
 place, you really should go through the disaster recovery procedure of
 that backup procedure so when the emergency does happen, you are sure you
 know how to implement the fix =).  I've seen that come back to bite people
 in the ass before.

That does sound like the thing to do with my remote server and I will
fork out the dough.

It's no good for workstations, but I think I may have a way to keep
those running through tough times also.  I have one laptop that goes
with me and two workstations that stay where they are.  One of the
workstations only needs a browser and printing capabilities.  The
other one needs some random stuff, but could get by with only a
browser for a while.  The laptop really only needs a browser and
terminal emulator.

Would it work to set up a second remote machine for testing server
changes, but outfit the workstations with custom LiveCDs in case the
main system takes a crap?

- Grant

 Christopher Fisk
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo support

2005-02-24 Thread Grant
 IRC is pretty immediate

Nice, I didn't think of that.

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



Re: [gentoo-user] Unattended sftp?

2005-02-22 Thread Grant
  I think you're right.  Does this mean anyone could easily intercept my
  login and password and log in as me?
 
 The basic answer for this is yes.  Definitely your password could be
 intercepted and used by others.
 
 But consider for a minute what is involved with that...
 
 Someone floating out there on the net would have to be intercepting packets.
 And the packets that you're sending would need to flow over the same path to
 the endpoint (not guaranteed by IP).  And they would need to be able to
 filter the mass of packets going by their system to get the one(s) with your
 password information.  And they would initially have to identify a need to
 get your password in order to target your packets for capture.
 
 Granted all of this is indeed doable, but IMHO it's like looking for a
 particular atom in a haystack, let alone the needle...

Ok, it sounds like I should contact the companies I'm ftp'ing to and
see if there is a safe option for transmitting my password.  If not, I
should just use a unique password and keep an eye on things.

I would think Google and Yahoo wouldn't want my password to their
systems getting out any more than I want it getting out.

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



Re: [gentoo-user] Unattended sftp?

2005-02-22 Thread Grant
 Passwords in ssh and sftp are sent encrypted, so the password cannot be
 sniffed by moitoring your transmissions.  You cannot say the same for
 ftp, telnet or http.
 
 As someone pointed out, you can often arrange that two given accounts
 can use sftp without passwords; I do this quite a bit.
 
 Another approach that I use is to use the expect(1) package.  You install
 it on one machine, and use it to automate just about any command-line
 activity, including sending passwords.  The expect script that you wind
 up with may have the password in the clear, but you keep it protected in
 your own account.  If it's using sftp, for instance, then the password is
 protected by the sftp protocols.
 
 Expect is marvellously useful for automating all sorts of things that were
 not written with automation in mind.

Nice, that is sure to come in handy.

- Grant

 ++ kevin
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Looking up... Connecting... Waiting... Transferring

2005-02-21 Thread Grant
  I noticed that if I'm doing a lot of clicking around there is pretty
  much no time spent with either of those, but if I work on something
  and then come back to the browser after a bit, Firefox can really
  spend some time there.
 
 Could be anything. Maybe Firefox is caching stuff , maybe it isn't. Maybe
 your machine swaps a lot and it take awhile to swap back in. Sounds like
 you are worry needlessly about a few seconds difference.

A few seconds can easily be the difference between a customer
spending enough time on my site to find something they want to buy,
and not.  When I click on a search results link, I'll hit stop and try
another link if the page takes a few seconds too long to load.

It just seems silly to work on speeding up my server's execution time,
and even make sacrifices for greater speed, until I can get a page to
serve in 1 second instead of 4, and then realize I'm sometimes waiting
as long as 10 seconds before my code is even executed.

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



Re: [gentoo-user] Looking up... Connecting... Waiting... Transferring

2005-02-21 Thread Grant
  A few seconds can easily be the difference between a customer
  spending enough time on my site to find something they want to buy,
  and not.  When I click on a search results link, I'll hit stop and try
  another link if the page takes a few seconds too long to load.
 
 That might be true for YOU but not necessarily for everyone else.

If it's true for me, it's almost definitely true for others, and
that's a problem.  It doesn't need to be true for everyone else to
be a problem.

  It just seems silly to work on speeding up my server's execution time,
  and even make sacrifices for greater speed, until I can get a page to
  serve in 1 second instead of 4, and then realize I'm sometimes waiting
  as long as 10 seconds before my code is even executed.
 
 To really say oh its a server issue you need to test from different
 places through different Internet access methods. Dont assume it is slow
 just because it is from YOUR computer.

I'm not necessarily saying it's a server problem.  I'm trying to
figure out if it's a fixable problem.

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



Re: [gentoo-user] Looking up... Connecting... Waiting... Transferring

2005-02-21 Thread Grant
   That might be true for YOU but not necessarily for everyone else.
 
  If it's true for me, it's almost definitely true for others, and
  that's a problem.  It doesn't need to be true for everyone else to
  be a problem.
 
 Mind giving us a URL so we can DOS^H^H^Hhelp figure it out for you?

No thanks Mr. Dos, but that's a really nice offer.

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



[gentoo-user] Looking up... Connecting... Waiting... Transferring

2005-02-20 Thread Grant
I've been optimizing my site's performance by tuning the server-side
code and watching how it affects the amount of time Firefox reports as
Waiting.  It seems like the Transferring time would be optimized
by reducing the size of the HTML to download.  What about Looking up
and Connecting?

I noticed that if I'm doing a lot of clicking around there is pretty
much no time spent with either of those, but if I work on something
and then come back to the browser after a bit, Firefox can really
spend some time there.  I'd imagine that is apache's area.  What can I
do to minimize the time needed to look up and connect?

- Grant

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Looking up... Connecting... Waiting... Transferring

2005-02-20 Thread Grant
 The time needed to lookup is probably spend running a DNS lookup , I
 doubt changes to your apache can affect this in any way. There is always
 a latency associated with the network ( especially on a non-LAN ) , so
 don't try to get it faster that light :) For example , measure the ping
 round-trip time to the dns and to the server. You probably can't get any
 faster than the sum of the two times.

What about the fact that the DNS lookup takes much longer if I haven't
clicked on anything for a little bit?  Is that because of some type of
DNS caching in the browser?  Could this have anything to do with my
site's DNS server's performance?

- Grant

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Looking up... Connecting... Waiting... Transferring

2005-02-20 Thread Grant
 It could have to with a lot of stuff. It is possible that FF has some
 DNS cache that gets flushed , it also almost certain ( don't trust me,
 my ISP has, I guess it is common :) ) that your ISP has a DNS cache and
 it is possible that other users queries have flushed yours. You can ask
 mozilla-devs and your ISP , however this won't help for users of other
 ISPs and other browsers :) You are tweaking the server , right ? So ,
 place a machine as close to it as possible ( put a second lan-card in
 the server , and connect the two machines) , alias the server
 in /etc/hosts so no DNS lookup is done and benchmark this setup. I think
 such a setup minimizes random network factors , so a latency is almost
 sure to be in the server and not *OUT THERE* :) Just my 2c.

The server is actually hosted remotely, I should have mentioned that.

After a little more experimentation, both my website and my host's
website have this same behavior of responding right away during a
continuous Firefox browsing session, but taking a long time to look
up after a break.  cnn.com responds right away, even after a break. 
It sounds like I need to contact my host.  Could this be an issue with
their DNS server?

- Grant

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Looking up... Connecting... Waiting... Transferring

2005-02-20 Thread Grant
 It could have to with a lot of stuff. It is possible that FF has some
 DNS cache that gets flushed , it also almost certain ( don't trust me,
 my ISP has, I guess it is common :) ) that your ISP has a DNS cache and
 it is possible that other users queries have flushed yours. You can ask
 mozilla-devs and your ISP , however this won't help for users of other
 ISPs and other browsers :) You are tweaking the server , right ? So ,
 place a machine as close to it as possible ( put a second lan-card in
 the server , and connect the two machines) , alias the server
 in /etc/hosts so no DNS lookup is done and benchmark this setup. I think
 such a setup minimizes random network factors , so a latency is almost
 sure to be in the server and not *OUT THERE* :) Just my 2c.
 
 On Sun, 2005-02-20 at 10:39 -0800, Grant wrote:
   The time needed to lookup is probably spend running a DNS lookup , I
   doubt changes to your apache can affect this in any way. There is always
   a latency associated with the network ( especially on a non-LAN ) , so
   don't try to get it faster that light :) For example , measure the ping
   round-trip time to the dns and to the server. You probably can't get any
   faster than the sum of the two times.

Does anyone know what the Connecting stage is?  That sometimes takes
a while too.

- Grant

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Unattended sftp?

2005-02-18 Thread Grant
I need to ftp different text files to different systems (google,
yahoo, etc.), and I'd like to be able to set up a cron job so it is
done automatically every day.  I'm also concerned about sending my
password for these systems over the internet in clear text.  A
previous thread tells me wput can ftp files with a single command and
sftp can send files securely.  Can sftp send files securely with a
single command?  I would just emerge it and figure it out but it has a
long list of dev-perl dependencies for me.  Does anyone use sftp like
that?

- Grant

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Unattended sftp?

2005-02-18 Thread Grant
  I'm also concerned about sending my
  password for these systems over the internet in clear text.
 
 Ah, you're doing that whether you are doing it manually or automagically via
 a cron task.  So if you're not worried about the manual upload, why worry
 about the automated upload?

I'm not any more worried about it with the automation.  Just a misunderstanding.

 Based on the systems you've mentioned (google  yahoo), alternate methods
 (i.e. sftp, scp, etc.) might not be available to you.  Wput will work for
 uploading via ftp and it's probably going to be your only option.

I think you're right.  Does this mean anyone could easily intercept my
login and password and log in as me?

- Grant

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Logging traffic to MySQL -- Am I pushing it?

2005-02-17 Thread Grant
I've started logging each page request made to my site as an entry in
a MySQL table.  I get about 5000 page requests per day, and I wonder
if I'm asking to much of MySQL.  Is there a limit on how big a table
can be?  Other considerations?

- Grant

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Weird apache2 stuff

2005-02-17 Thread Grant
  Thanks, worked like a charm!  I wonder how apache2 could have been
  restarted manually though.  Should I be worried?
 
 Issuing a '/etc/init.d/apache reload' while apache is not running will
 start it in such a way that a later issued '/etc/init.d/apache whatever'
 will behave as apache was not previously started.
 
 So this could happen if you do not start apache automatically at boot
 and are 'reloading' apache after rotating logs thru logrotate, for example.

That must be what is happening.  I'm having problems with logrotate. 
I'll start a new thread about that.

- Grant

 Yoann Pannier

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Logging traffic to MySQL -- Am I pushing it?

2005-02-17 Thread Grant
  I've started logging each page request made to my site as an entry in
  a MySQL table.  I get about 5000 page requests per day, and I wonder
  if I'm asking to much of MySQL.  Is there a limit on how big a table
  can be?  Other considerations?
 
 Are you serious? We log 4-7 million rows a day here.. I dont think you have
 any reason to worry.

I'm very glad to hear that.  What about performance issues?  Will the
insert be slower as the table grows?  That could be a problem.

- Grant

 Jeff

--
gentoo-user@gentoo.org mailing list



[gentoo-user] logrotate trouble

2005-02-17 Thread Grant
logrotate doesn't seem to be rotating my logs properly and I'm having
some apache2 problems that must be related to my use of postrotate in
logrotate.conf.

In logrotate.conf I have this:

daily
rotate 4
create
include /etc/logrotate.d
notifempty
nomail
noolddir

Are daily and rotate n defaults?  The configuration examples I've
seen specify daily and rotate n in the log config sections.

My log config sections are like this:

/var/log/apache2/access_log {
daily
rotate 99
postrotate
/etc/init.d/apache2 restart
endscript
}

for access_log, ssl_access_log, ssl_request_log, error_log, and
ssl_error_log with apache2 restarting for each.  I'm thinking that is
pretty bad.  Can anyone give me any pointers on this?

- Grant

P.S. logrotate.conf came with this:

/var/log/wtmp {
monthly
create 0664 root utmp
rotate 1
}

What is that?

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Logging traffic to MySQL -- Am I pushing it?

2005-02-17 Thread Grant
  I'm very glad to hear that.  What about performance issues?  Will the
  insert be slower as the table grows?  That could be a problem.
 
 If you use myisam, no, unless your deleting a lot.. if you use innodb and you
 dont optimize it, its possible..

So you're saying if I use the default MySQL storage engine and don't
delete records, the size of the table will not affect the insert
performance?

- Grant

 Jeff

--
gentoo-user@gentoo.org mailing list



  1   2   >