Re: [gentoo-user] Re: /etc/locale vs /etc/env.d/02locale?
On Saturday 18 June 2011 01:50:12 walt wrote: > I've tried to prevent the installation of many many unneeded megabytes > of translation files in /usr/share/locale/* but I've never succeeded. > ATM I have 101MB of *.mo translation files in /usr/share/locale even > though I deleted all of them less than a month ago. > > I unset the 'nls' useflag in the hope it would solve the problem, but > no joy. Have you tried localepurge? -- Rgds Peter
[gentoo-user] Re: /etc/locale vs /etc/env.d/02locale?
On 06/18/2011 03:50 AM, walt wrote: On 06/16/2011 12:00 PM, Paul Hartman wrote: On my personal system, I only install the US-English locales because I know I'm never going to use any of the others. Me too -- or maybe I should say "moi aussi". I've tried to prevent the installation of many many unneeded megabytes of translation files in /usr/share/locale/* but I've never succeeded. ATM I have 101MB of *.mo translation files in /usr/share/locale even though I deleted all of them less than a month ago. I unset the 'nls' useflag in the hope it would solve the problem, but no joy. Unfortunately, many ebuilds go ahead and install translation files anyway. Developers seem to ignore this if a package only installs one or two additional files. For example, see this patch I submitted once: http://bugs.gentoo.org/show_bug.cgi?id=275980 It's not the end of the world, but I guess what the devs are missing is that one file here, one there, it adds up in the end.
[gentoo-user] Re: /etc/locale vs /etc/env.d/02locale?
On 06/16/2011 12:00 PM, Paul Hartman wrote: > On my personal > system, I only install the US-English locales because I know I'm never > going to use any of the others. Me too -- or maybe I should say "moi aussi". I've tried to prevent the installation of many many unneeded megabytes of translation files in /usr/share/locale/* but I've never succeeded. ATM I have 101MB of *.mo translation files in /usr/share/locale even though I deleted all of them less than a month ago. I unset the 'nls' useflag in the hope it would solve the problem, but no joy. #env | grep L.NG LINGUAS= ALL_LINGUAS= LANG=en_US.UTF8 LANGUAGE=en_US.UTF8 #locale LANG=en_US.UTF8 LC_CTYPE="en_US.UTF8" LC_NUMERIC="en_US.UTF8" LC_TIME="en_US.UTF8" LC_COLLATE=C LC_MONETARY="en_US.UTF8" LC_MESSAGES="en_US.UTF8" LC_PAPER="en_US.UTF8" LC_NAME="en_US.UTF8" LC_ADDRESS="en_US.UTF8" LC_TELEPHONE="en_US.UTF8" LC_MEASUREMENT="en_US.UTF8" LC_IDENTIFICATION="en_US.UTF8" LC_ALL= Please apply cluestick with vigor... Thanks.
Re: [gentoo-user] Plone
On Sat, 18 Jun 2011 00:31:39 +0200 Florian Philipp wrote: > Am 17.06.2011 23:16, schrieb john: > > Hello, > > > > I have installed Plone but unfortunately it will not run. I believe > > this is down to PIL not being installed as shown when starting Zope > > in foreground. > > > > I have emerged dev-python/imaging but Zope still cannot see PIL. I > > think the issue is because Plone/Zope depends on python 2.4. > > > > Any recommendations on a fix??? > > > > You might have to run python-updater in order to install all > python-packages for this version. I'm not sure if python-updater does > this correctly if you don't have python-2.4 enabled via `eselect > python`. You might want to try this as well. > > Hope this helps, > Florian Philipp > I have eselect python2.4 but when running python-updater I get:- File "/usr/bin/portageq", line 98 except portage.exception.InvalidAtom as e: ^ SyntaxError: invalid syntax File "/usr/bin/portageq", line 98 except portage.exception.InvalidAtom as e: ^ SyntaxError: invalid syntax * Python 2 and Python 3 not installed Have also tried emerge imaging with python2.4 set and get :- File "/usr/bin/emerge", line 44 except PermissionDenied as e: ^ SyntaxError: invalid syntax on2.4 Think the python-updater looks forward but not backward (if you see what I mean) I have also tried changing all the references in bin scripts from python2.4 to python2.7 but this fails miserably. The only thing I can think of at the moment is to download manual package and install but I'm really not sure where this is going to stick all the modules? Thanks -- -- -- John D Maunder j...@arcticwolf.myzen.co.uk
Re: [gentoo-user] Plone
Am 17.06.2011 23:16, schrieb john: > Hello, > > I have installed Plone but unfortunately it will not run. I believe > this is down to PIL not being installed as shown when starting Zope > in foreground. > > I have emerged dev-python/imaging but Zope still cannot see PIL. I think > the issue is because Plone/Zope depends on python 2.4. > > Any recommendations on a fix??? > You might have to run python-updater in order to install all python-packages for this version. I'm not sure if python-updater does this correctly if you don't have python-2.4 enabled via `eselect python`. You might want to try this as well. Hope this helps, Florian Philipp signature.asc Description: OpenPGP digital signature
[gentoo-user] Plone
Hello, I have installed Plone but unfortunately it will not run. I believe this is down to PIL not being installed as shown when starting Zope in foreground. I have emerged dev-python/imaging but Zope still cannot see PIL. I think the issue is because Plone/Zope depends on python 2.4. Any recommendations on a fix??? -- -- -- John D Maunder j...@arcticwolf.myzen.co.uk
Re: [gentoo-user] Internet
On 2011-06-17 3:36 AM, Cahn Roger wrote: > Since this night I found something important: the little box > put in the socket wall from where the cable goes out, doesn't > no more work!!! Wow... All of this wasted bandwidth and you are just *now* getting around to mentioning that you are using a powerline adapter? Remind me to never waste time reading one of your threads again.
[gentoo-user] NFSv4 idmapd.conf
Hello, I try to setup a NFSv4 server with idmapd.conf and OSX clients. I have setup my /etc/exports with the share names and I can mount them from the OSX client, but I need a uid / gid mapping. The account data (user / groups) are within a LDAP server on the same host. I try to configure idmapd.conf for mapping the user ids, because I need this for two users on two hosts only. I have set this to the idmapd.conf [General] Domain = mydomain [Translation] Method = nsswitch<- I test this also with static, or "static,nsswitch" [Static] user1@osx1 = mylocaluser Mounting on the client works and SSH login works with the user data also. How can I setup the user mapping on my NFS server? Thx Phil
Re: [gentoo-user] tethering an htc incredible
On Fri, Jun 17 2011, Mick wrote: > On Friday 17 Jun 2011 11:52:03 Allan Gottlieb wrote: >> >> The forum post does not involve any ms windows code (in is a gentoo >> forum). Indeed it seems perfect ... >> ... except that for me it doesn't work. I has worked for others so >> I must have some configuration (probably the kernel) wrong. >> >> thanks again for trying to help. I appreciate it. >> allan > > Hmm ... > > http://en.wikipedia.org/wiki/RNDIS > > http://msdn.microsoft.com/en-us/windows/hardware/gg463293 > > > I'm not saying that the code running on Linux is MSWindows (the protocol is) > and RNDIS is of course faster than e.g. a USB-serial connection, but I still > think that you should be able to use USB directly without the RNDIS plug 'n > play protocol. PPP will allow you to do the dialling part over USB. It may > take longer to configure than using RNDIS, but it should work all the same > and > at the same IO speeds. > > Anyhow, if the problem you are trying to solve is how to get RNDIS going, > what > I suggest is more of a work-around than the solution you are seeking. > > Hope you crack this soon. :) Thank you for this extra information. allan
Re: [gentoo-user] Internet
All hail to that. Gentoo is the best. By far. --Original Message-- From: Roger Cahn To: Gentoo ReplyTo: Gentoo Subject: Re: [gentoo-user] Internet Sent: 17 Jun 2011 12:32 > Well, as long as your connection problem is now solved you can carry on with > using your Gentoo! :) Yes, I'm very happy to be able to use it again on my desktop. Long life to Gentoo, indeed!!! JDM
Re: [gentoo-user] Internet
> Well, as long as your connection problem is now solved you can carry on with > using your Gentoo! :) Yes, I'm very happy to be able to use it again on my desktop. Long life to Gentoo, indeed!!!
Re: [gentoo-user] tethering an htc incredible
On Friday 17 Jun 2011 11:52:03 Allan Gottlieb wrote: > On Fri, Jun 17 2011, Mick wrote: > > On Thursday 16 Jun 2011 23:13:28 Allan Gottlieb wrote: > >> On Thu, Jun 16 2011, Mick wrote: > >> > On Thursday 16 Jun 2011 15:38:30 Allan Gottlieb wrote: > >> >> I have an htc incredible and want to use it to act as a modem for my > >> >> gentoo laptop. > > > > [snip...] > > > >> >> I haven't seen any howtos for tethering directly with gentoo. > >> > > >> > I don't have your phone to provide detailed instructions, but this is > >> > how I have tethered phones in the past to connect to the Internet > >> > using IrDA or Bluetooth. > >> > >> thanks for the information. The forum post paul sent me too claims that > >> this is very easy with a usb connection. But to date, I haven't got it > >> working. Others definitely have so there is probably something wrong > >> with configuration (quite possible the kernel). > >> > >> thanks again, > >> allan > > > > Well, what I'm suggesting should also work with a usb connection (instead > > of bluetooth or IrDA) but unlike what is suggested in the forum I would > > not think that it needs the particular MSWindows usb modem driver to > > create a virtual ethernet interface. Unless that is the phone is locked > > down in its firmware and will not run DUN - over bluetooth you would use > > 'sdptool browse to find out what services the phone > > offers. > > > > I think that Linux *should* be able to manage the connection directly > > over ppp, using what ever usb device udev creates when you connect your > > phone. > > > > However, I don't have access to such phone to try it out on this end. > > > > Good luck. :-) > > The forum post does not involve any ms windows code (in is a gentoo > forum). Indeed it seems perfect ... > ... except that for me it doesn't work. I has worked for others so > I must have some configuration (probably the kernel) wrong. > > thanks again for trying to help. I appreciate it. > allan Hmm ... http://en.wikipedia.org/wiki/RNDIS http://msdn.microsoft.com/en-us/windows/hardware/gg463293 I'm not saying that the code running on Linux is MSWindows (the protocol is) and RNDIS is of course faster than e.g. a USB-serial connection, but I still think that you should be able to use USB directly without the RNDIS plug 'n play protocol. PPP will allow you to do the dialling part over USB. It may take longer to configure than using RNDIS, but it should work all the same and at the same IO speeds. Anyhow, if the problem you are trying to solve is how to get RNDIS going, what I suggest is more of a work-around than the solution you are seeking. Hope you crack this soon. :) -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] tethering an htc incredible
On Fri, Jun 17 2011, Mick wrote: > On Thursday 16 Jun 2011 23:13:28 Allan Gottlieb wrote: >> On Thu, Jun 16 2011, Mick wrote: >> > On Thursday 16 Jun 2011 15:38:30 Allan Gottlieb wrote: >> >> I have an htc incredible and want to use it to act as a modem for my >> >> gentoo laptop. > [snip...] > >> >> I haven't seen any howtos for tethering directly with gentoo. >> > >> > I don't have your phone to provide detailed instructions, but this is how >> > I have tethered phones in the past to connect to the Internet using IrDA >> > or Bluetooth. >> >> thanks for the information. The forum post paul sent me too claims that >> this is very easy with a usb connection. But to date, I haven't got it >> working. Others definitely have so there is probably something wrong >> with configuration (quite possible the kernel). >> >> thanks again, >> allan > > Well, what I'm suggesting should also work with a usb connection (instead of > bluetooth or IrDA) but unlike what is suggested in the forum I would not > think > that it needs the particular MSWindows usb modem driver to create a virtual > ethernet interface. Unless that is the phone is locked down in its firmware > and will not run DUN - over bluetooth you would use 'sdptool browse > to find out what services the phone offers. > > I think that Linux *should* be able to manage the connection directly over > ppp, using what ever usb device udev creates when you connect your phone. > > However, I don't have access to such phone to try it out on this end. > > Good luck. :-) The forum post does not involve any ms windows code (in is a gentoo forum). Indeed it seems perfect ... ... except that for me it doesn't work. I has worked for others so I must have some configuration (probably the kernel) wrong. thanks again for trying to help. I appreciate it. allan
Re: [gentoo-user] Internet
On Friday 17 Jun 2011 10:56:30 Roger Cahn wrote: > > You've been using powerline networking and never thought to mention it > > throughout this entire thread, even when people were saying it had to be > > a hardware problem? > > Excuse me Neil, and the others, but you're right, > I should have mentionned it. Well, as long as your connection problem is now solved you can carry on with using your Gentoo! :) -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Internet
> You've been using powerline networking and never thought to mention it > throughout this entire thread, even when people were saying it had to be > a hardware problem? Excuse me Neil, and the others, but you're right, I should have mentionned it.
Re: [gentoo-user] Internet
On Fri, 17 Jun 2011 11:29:48 +0200, Cahn Roger wrote: > Thanks a lot to you all who tried to help me. > It was a hard way to obtain the solution. > The problem was really a hardware one, > not the cable, but just the little box connected > to the wall socket for my connection to the router > through the house electric circuit. You've been using powerline networking and never thought to mention it throughout this entire thread, even when people were saying it had to be a hardware problem? -- Neil Bothwick Anything worth fighting for is worth fighting dirty for. signature.asc Description: PGP signature
Re: [gentoo-user] Internet
> But, on my desktop I don't have yet internet connection. > Is the network card even so out??? I don't know why, but my desktop is now connected to internet! The only thing I did was a reboot! Thanks a lot to you all who tried to help me. It was a hard way to obtain the solution. The problem was really a hardware one, not the cable, but just the little box connected to the wall socket for my connection to the router through the house electric circuit. But the most important thing is to succeed :-) Once more a great thank you. Roger
Re: [gentoo-user] Internet
> If the PC has wireless it would be a quick test to run to prove if the eth0 > NIC on the mobo is borked. Yesterday night, under Win XP (!), I could connect to internet with wifi.
Re: [gentoo-user] Internet
>>> 1. are the lights on or flashing with a cable plugged in and pinging >>> something valid? >> No. They are stable > That indicates a problem - if a packet is going out/in, the lights > shouls flash Excuse me; I looked only half a second!!! Yes they are flashing. Since this night I found something important: the little box put in the socket wall from where the cable goes out, doesn't no more work!!! When I put it on my two other PCs they can't connect to internet. For this reason I use one of the boxes, which works, on my desktop. Between this one and my laptop pings are ok. The two PCs can recognize each other. But, on my desktop I don't have yet internet connection. Is the network card even so out???
Re: [gentoo-user] Recovering RAID1 after disk failure
I've got my drive partitioned, but I WILL read up on sfdisk. Thanks for the pointer. On Friday 17 June 2011 12:27:15 am Andrea Conti wrote: > Hello, > > > However, the good drive started on sector 63 and the new drive want's to > > start on sector 2048. Fdisk won't let me create the partition table on > > the new drive as it is on the old drive. > > Recent versions of fdisk require partitions to begin on a 1MB boundary; > this among other things guarantees that there are no alignment issues > with 4k-sector drives. > > If you really need to use fdisk for this task you can start it in > compatibility mode (i.e. "fdisk -c=dos"). > > The recommended way of preparing the new drive, though, is to simply use > sfdisk to copy the partition table from the existing one: > > sfdisk -d | sfdisk -L > > andrea -- Take care and have fun, Mike Diehl.
Re: [gentoo-user] Recovering RAID1 after disk failure
Hello, > However, the good drive started on sector 63 and the new drive want's to > start > on sector 2048. Fdisk won't let me create the partition table on the new > drive as it is on the old drive. Recent versions of fdisk require partitions to begin on a 1MB boundary; this among other things guarantees that there are no alignment issues with 4k-sector drives. If you really need to use fdisk for this task you can start it in compatibility mode (i.e. "fdisk -c=dos"). The recommended way of preparing the new drive, though, is to simply use sfdisk to copy the partition table from the existing one: sfdisk -d | sfdisk -L andrea
Re: [gentoo-user] Recovering RAID1 after disk failure
Looks like I can take it from here! Thank you. I didn't know fdisk had an "expert" menu On Thursday 16 June 2011 11:14:30 pm Paul Hartman wrote: > On Thu, Jun 16, 2011 at 10:00 PM, Mike Diehl wrote: > > I've got a sw RAID1 that just had a failed drive replaced with an > > identical drive. > > > > However, the good drive started on sector 63 and the new drive want's to > > start on sector 2048. Fdisk won't let me create the partition table on > > the new drive as it is on the old drive. > > Hi Mike, > > I believe this is due to the alignment code in newer versions of fdisk > (2048 sector = 1 megabyte) > > I think you can use the expert menu in fdisk ("x" from the main menu) > to achieve what you're trying to do. I can't tell you the exact steps > but I am 99.9% sure it can be done. -- Take care and have fun, Mike Diehl.