Re: [CentOS] wget: unable to resolve host address “xxxxx”

2014-07-29 Thread Hal Wigoda
And what does that do?


(Sent from iPhone, so please accept my apologies in advance for any spelling or 
grammatical errors.)

> On Jul 30, 2014, at 12:47 AM, Gopu Krishnan  wrote:
> 
> try adding google dns
> 8.8.8.8
> in resolv.conf
> 
>> On 7/30/14, Theodore Si  wrote:
>> Hi all,
>> 
>> I find that in my CentOS, which is installed in vmware, I can use yum to
>> install software from Internet, and I can also ping websites, but I
>> cannot download stuff using wget.
>> I receive error msg unable to resolve host address “x”. The IP
>> address is 192.168.80.128, and this is the content of /etc/resolv.conf
>> # Generated by NetworkManager
>> domain localdomain
>> search localdomain
>> nameserver 192.168.80.2
>> 
>> I'd appreciate your help.
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] wget: unable to resolve host address “xxxxx”

2014-07-29 Thread Gopu Krishnan
try adding google dns
8.8.8.8
in resolv.conf

On 7/30/14, Theodore Si  wrote:
> Hi all,
>
> I find that in my CentOS, which is installed in vmware, I can use yum to
> install software from Internet, and I can also ping websites, but I
> cannot download stuff using wget.
> I receive error msg unable to resolve host address “x”. The IP
> address is 192.168.80.128, and this is the content of /etc/resolv.conf
> # Generated by NetworkManager
> domain localdomain
> search localdomain
> nameserver 192.168.80.2
>
> I'd appreciate your help.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] wget: unable to resolve host address “xxxxx”

2014-07-29 Thread Frank Cox
On Wed, 30 Jul 2014 13:11:24 +0800
Theodore Si wrote:

> I find that in my CentOS, which is installed in vmware, I can use yum to
> install software from Internet, and I can also ping websites, but I
> cannot download stuff using wget.
> I receive error msg unable to resolve host address “x”. The IP
> address is 192.168.80.128, and this is the content of /etc/resolv.conf
> # Generated by NetworkManager
> domain localdomain
> search localdomain
> nameserver 192.168.80.2

ping 192.168.80.128

and/or

traceroute 192.168.0.128

Does it work?

wget http://192.168.80.128/whatever

Does it work?

wget yourname/whatever

That apparently doesn't work.

If the other do, then your problem is that there is no dns entry for 
192.168.80.128 on your dns server located at 192.168.80.2





-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] wget: unable to resolve host address “xxxxx”

2014-07-29 Thread John Hoe
Hi.

This is my first time helping out. I think you should add an entry into the
hosts file.

John
On Jul 30, 2014 1:12 PM, "Theodore Si"  wrote:

> Hi all,
>
> I find that in my CentOS, which is installed in vmware, I can use yum to
> install software from Internet, and I can also ping websites, but I
> cannot download stuff using wget.
> I receive error msg unable to resolve host address “x”. The IP
> address is 192.168.80.128, and this is the content of /etc/resolv.conf
> # Generated by NetworkManager
> domain localdomain
> search localdomain
> nameserver 192.168.80.2
>
> I'd appreciate your help.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] wget: unable to resolve host address “xxxxx”

2014-07-29 Thread Theodore Si
Hi all,

I find that in my CentOS, which is installed in vmware, I can use yum to
install software from Internet, and I can also ping websites, but I
cannot download stuff using wget.
I receive error msg unable to resolve host address “x”. The IP
address is 192.168.80.128, and this is the content of /etc/resolv.conf
# Generated by NetworkManager
domain localdomain
search localdomain
nameserver 192.168.80.2

I'd appreciate your help.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos 7: printing four copies with Libreoffice prints garbage

2014-07-29 Thread Frank Cox
I have a Xerox Phaser 3250 printer

It worked perfectly under Centos 6 when I told cups that it was a Xerox Phaser 
3150.

It works under Centos 7, too.  I can print pdf files from evince and whatnot 
with no problems, and printing one, two or three copies of a document from 
libreoffice works as well.

However, if I tell libreoffice to print four copies of a document ("number of 
copies" =4) then I get garbage printed on the printer; many many pages 
containing one or two lines of garbage characters.

If I run the spadmin program and tell it to print a test page, it prints fine. 
Two test pages, fine.  Three, also fine.  Four test pages, and I get page after 
page after page of garbage again.

What could the problem be?

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to compile APUE code on centos 6.X

2014-07-29 Thread Theodore Si
I write a .c file and #include  and call heapsort, I get this:

Apparently, heapsort can be called.

于2014年7月30日 11:46:55,Theodore Si写到:
>
> I build the libbsd from source code that I downloaded from here:
> http://libbsd.freedesktop.org/wiki/
>
> I think I got all things needed, right?
>
>
>
> 于2014年7月30日 10:35:39,Theodore Si写到:
>>
>>
>> I tried to install libbsd before, it didn't work.(I can execute man
>> heapsort)
>> Today, I installed epel-release-6-8.noarch.rpm and then yum install
>> libbsd,(No result for man heapsort) but it still doesn't work.
>>
>> 于2014年7月29日 23:58:48,Jonathan Billings写到:
>>>
>>>
>>> On Tue, Jul 29, 2014 at 10:00:53PM +0800, Theodore Si wrote:



 Hi all,

 I want to compile the source code of Advanced Programming in the Unix
 Environment(APUE) 3rd edition, and I encountered some difficulties.
 After executing "make", I got this message:
 [...]
 How to install libbsd to solve this problem on CentOS (this works on
 Ubuntu)?
>>>
>>>
>>>
>>> You need the 'libbsd' package, available in EPEL.
>>> (http://fedoraproject.org/wiki/EPEL)
>>>
>>> The 'heapsort()' function is implemented there.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to compile APUE code on centos 6.X

2014-07-29 Thread Theodore Si
I build the libbsd from source code that I downloaded from here: 
http://libbsd.freedesktop.org/wiki/

I think I got all things needed, right?



于2014年7月30日 10:35:39,Theodore Si写到:
>
> I tried to install libbsd before, it didn't work.(I can execute man
> heapsort)
> Today, I installed epel-release-6-8.noarch.rpm and then yum install
> libbsd,(No result for man heapsort) but it still doesn't work.
>
> 于2014年7月29日 23:58:48,Jonathan Billings写到:
>>
>> On Tue, Jul 29, 2014 at 10:00:53PM +0800, Theodore Si wrote:
>>>
>>>
>>> Hi all,
>>>
>>> I want to compile the source code of Advanced Programming in the Unix
>>> Environment(APUE) 3rd edition, and I encountered some difficulties.
>>> After executing "make", I got this message:
>>> [...]
>>> How to install libbsd to solve this problem on CentOS (this works on
>>> Ubuntu)?
>>
>>
>> You need the 'libbsd' package, available in EPEL.
>> (http://fedoraproject.org/wiki/EPEL)
>>
>> The 'heapsort()' function is implemented there.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to compile APUE code on centos 6.X

2014-07-29 Thread Eero Volotinen
2014-07-30 6:01 GMT+03:00 Theodore Si :

> I've installed libbsd(I think I have successed because when I execute
> man heapsort I see this)
>
>
install  libbsd development package also?

--
Eero
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to compile APUE code on centos 6.X

2014-07-29 Thread Theodore Si
I've installed libbsd(I think I have successed because when I execute 
man heapsort I see this)


and I make a link /lib/libbsd.so


since in the file Make.defines.linux the LDDIR is as follows:


then I add this to threads/barrier.c


howerver, I still get this:


? 2014/7/29 23:58, Jonathan Billings ??:
> On Tue, Jul 29, 2014 at 10:00:53PM +0800, Theodore Si wrote:
>> Hi all,
>>
>> I want to compile the source code of Advanced Programming in the Unix
>> Environment(APUE) 3rd edition, and I encountered some difficulties.
>> After executing "make", I got this message:
>> [...]
>> How to install libbsd to solve this problem on CentOS (this works on
>> Ubuntu)?
> You need the 'libbsd' package, available in EPEL.
> (http://fedoraproject.org/wiki/EPEL)
>
> The 'heapsort()' function is implemented there.
>

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to compile APUE code on centos 6.X

2014-07-29 Thread Theodore Si
I tried to install libbsd before, it didn't work.(I can execute man 
heapsort)
Today, I installed epel-release-6-8.noarch.rpm and then yum install 
libbsd,(No result for man heapsort) but it still doesn't work.

于2014年7月29日 23:58:48,Jonathan Billings写到:
> On Tue, Jul 29, 2014 at 10:00:53PM +0800, Theodore Si wrote:
>>
>> Hi all,
>>
>> I want to compile the source code of Advanced Programming in the Unix
>> Environment(APUE) 3rd edition, and I encountered some difficulties.
>> After executing "make", I got this message:
>> [...]
>> How to install libbsd to solve this problem on CentOS (this works on
>> Ubuntu)?
>
> You need the 'libbsd' package, available in EPEL.
> (http://fedoraproject.org/wiki/EPEL)
>
> The 'heapsort()' function is implemented there.
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to compile APUE code on centos 6.X

2014-07-29 Thread Theodore Si
So all the packages of Fedora can also be used in CentOS?

于2014年7月29日 23:58:48,Jonathan Billings写到:
> On Tue, Jul 29, 2014 at 10:00:53PM +0800, Theodore Si wrote:
>>
>> Hi all,
>>
>> I want to compile the source code of Advanced Programming in the Unix
>> Environment(APUE) 3rd edition, and I encountered some difficulties.
>> After executing "make", I got this message:
>> [...]
>> How to install libbsd to solve this problem on CentOS (this works on
>> Ubuntu)?
>
> You need the 'libbsd' package, available in EPEL.
> (http://fedoraproject.org/wiki/EPEL)
>
> The 'heapsort()' function is implemented there.
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 and android connectivity (Nook)

2014-07-29 Thread samuel machua
On Tue, Jul 29, 2014 at 7:28 PM, Ali Corbin  wrote:

> On Tue, Jul 29, 2014 at 6:38 AM,   wrote:
> > So, I got my wife a Nook for her b'day. I just plugged it into my system,
> > CentOS 6.5, and what I see is /media/NOOK, and it shows 257k or so - yes,
> > k, not m or g. It's *not* seeing any directories, etc, and the small
> thing
> > I'm guessing is firmware, since even when I try mount -o remount -rw, it
> > is still r/o.
> >
> > Googling, I see mentions of fsmtp, I think it was, and yum shows some mtp
> > libs, but I don't see anything that looks like a driver. Any suggestions
> > (otherwise, I need to zip up the ebooks we want on her Nook, and take
> them
> > downstairs to her's and the kid's system, Lose 8, er, Win8.
> >
> > I really need to solve this today - we're leaving shortly on vacation
> >
> > Thanks in advance.
> >
> >  mark
>
> I've had this working in the past, with some combination of libmtp and
> fuse.
>
> There are two gotchas.  One, it's a user-space driver, and is slow as
> molasses.
> Two, if you normally lock your device you have to unlock it before the
> transfer and then remember to lock it back up afterwards.
>
> I gave up on mtp after a while and now just adb push the files over.
> It's not as user friendly, but it's a whole lot quicker.
>
> Ali
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


I use foldersync to back up on android. It supports syncing to most common
formats a few cloud ones too.

-- 
Regards
Sam
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 and android connectivity (Nook) [SOLVED]

2014-07-29 Thread mark
On 07/29/14 12:15, m.r...@5-cent.us wrote:

> I did find this, while googling this morning:
> ,
> which led me to
> ,
> which I'll try this evening. I was hoping for extras, or elrepo, but no
> joy.

VICTORY!

I installed both of his rpm's. Then I copied
rsync -HPavx /lib/udev/rules.d/69-libmtp.rules /etc/udev/rules.d
- his package installs it there.

And then, no reboot, jmtpfs /mnt/nook, and voila!

mark
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Shrinking a RAID array

2014-07-29 Thread John R Pierce
On 7/29/2014 5:45 PM, Stephen Harris wrote:
> My google-fu appears to be weak today...
>
> I currently have 8*4Tb in a RAID6.
>
> So far I'm only using 6Tb
>PV VGFmt  Attr PSize  PFree  Used
>/dev/md6   Large lvm2 a--  21.83t 15.37t 6.46t
>
> Let's say I wanted to remove 2 of these disks from the array and
> shrink it down to a 6*4Tb
>
> How would I do this?

back it up to external media, rebuild the raid, restore.



-- 
john r pierce  37N 122W
somewhere on the middle of the left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Shrinking a RAID array

2014-07-29 Thread Stephen Harris
My google-fu appears to be weak today...

I currently have 8*4Tb in a RAID6.

So far I'm only using 6Tb
  PV VGFmt  Attr PSize  PFree  Used 
  /dev/md6   Large lvm2 a--  21.83t 15.37t 6.46t

Let's say I wanted to remove 2 of these disks from the array and
shrink it down to a 6*4Tb

How would I do this?

-- 

rgds
Stephen
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Convert "bare partition" to RAID1 / mdadm?

2014-07-29 Thread Benjamin Smith
On 07/28/2014 05:02 PM, Cliff Pratt wrote:
> 1. Setup inotify (no idea how it would behave with your millions of files)
> >
> >2. One big rsync
> >3. Bring it down and copy the few modified files reported by inotify.
> >
> >Or lsyncd?

lsyncd is interesting, but for our use case isn't nearly as efficient as 
ZFS with send/receive. For one case, lsyncd is only useful after the 
first rsync (which in this case is days) so we would effectively start 
out with an out-of-sync system and then have to deal with millions of 
follow up syncs as the monstrous number of queued up inotify events get 
handled.

I'm moving ahead with the rsync-a-few-directories-at-a-time method Jerry 
Franz put forward, as it's fundamentally compatible with our setup. (Our 
"Subdir" is called a "client" - we have hundreds - and we do that during 
off-hours that clients' business is closed, so nobody notices) But It 
takes a week or two to fully resync a file store... in the meantime 
we're at N+1 redundancy instead of N+2 as usual.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Convert "bare partition" to RAID1 / mdadm?

2014-07-29 Thread Benjamin Smith
On 07/26/2014 07:04 AM, Jerry Franz wrote:
> On 07/25/2014 03:33 PM, Benjamin Smith wrote:
>> takes between 1 and 2 days, system load depending. We had to give up
>> on rsync for backups in this context a while ago - we just couldn't
>> get a "daily" backup more often then about 2x per week. Now we're
>> using ZFS + send/receive to get daily backup times down into the "sub
>> 60 minutes" range, and I'm just going to bite the bullet and
>> synchronize everything at the application level over the next week.
>> Was just looking for a shortcut...
> Here is an evil thought. Is this possible for you do?
>
> 1) Setup a method to obtain a RW lock for updates on the original filesystem
>
> 2) Use rsync to create a gross copy of the original (yes, it will be
> slightly out of phase,
>   but stick with me for a bit) on the new filesystem on top of LVM2
> on top of a RAID1
>  volume to make the next step much more efficient.
>
> 3) Perform the following loop:
>   a) Set the updates lock on original filesystem
>   b) rsync a *subset* sub-directory of the original filesystem such
> that you can complete it in, at worst, only a second or two
>   c) Rename the original directory to some safe alternative (safety
> first)...
>   d) Put a symlink in place of the original directory pointing to the
> newly synced file system sub-directory
>   e) Release the mutex lock
>   f) Repeat a-e until done
>
> 4) Switch over operations to the new filesystem
That's essentially what we do to re-sync our production file stores. 
Once I move to ZFS, though it won't be an issue.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 and android connectivity (Nook)

2014-07-29 Thread Ali Corbin
On Tue, Jul 29, 2014 at 6:38 AM,   wrote:
> So, I got my wife a Nook for her b'day. I just plugged it into my system,
> CentOS 6.5, and what I see is /media/NOOK, and it shows 257k or so - yes,
> k, not m or g. It's *not* seeing any directories, etc, and the small thing
> I'm guessing is firmware, since even when I try mount -o remount -rw, it
> is still r/o.
>
> Googling, I see mentions of fsmtp, I think it was, and yum shows some mtp
> libs, but I don't see anything that looks like a driver. Any suggestions
> (otherwise, I need to zip up the ebooks we want on her Nook, and take them
> downstairs to her's and the kid's system, Lose 8, er, Win8.
>
> I really need to solve this today - we're leaving shortly on vacation
>
> Thanks in advance.
>
>  mark

I've had this working in the past, with some combination of libmtp and fuse.

There are two gotchas.  One, it's a user-space driver, and is slow as molasses.
Two, if you normally lock your device you have to unlock it before the
transfer and then remember to lock it back up afterwards.

I gave up on mtp after a while and now just adb push the files over.
It's not as user friendly, but it's a whole lot quicker.

Ali
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Convert "bare partition" to RAID1 / mdadm?

2014-07-29 Thread John R Pierce
On 7/29/2014 11:48 AM, Juan De Mola wrote:
> need to cancel subscription
>
> .
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

right there, that URL on every message.

-- 
john r pierce  37N 122W
somewhere on the middle of the left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] Leveno HDD caddies

2014-07-29 Thread Eero Volotinen
Try ebay?
21.7.2014 19.28 kirjoitti "James B. Byrne" :

> This is very off topic but, I have no idea where else to ask.  We obtained
> some used Leveno CTO7483 desktop units for experimentation.  I had
> intended to
> install CentOS-7 on one of them.  As they arrived with a vendor upgraded
> Windows 7ProSP1 install without media I decided to pull the disk drive and
> install onto a spare drive that I installed.
>
> Those of you with any experience with this model computer or its family can
> tell where this is going.
>
> Basically, the disk drive module for these things is disposable.  The HDD
> is
> enclosed in a removable caddy but is welded to it.  You can only replace
> the
> HDD with a pre-mounted HDD in yet another caddy, which item is available
> only
> from Leveno.
>
> My question is:  Does anyone here know of a source for an after-market
> caddy
> that fits these machines ad which allows one to install a standard low
> profile
> 3.5 inch SATA HDD?  My google-fu has failed in my attempts, but that may
> becuse I have no idea how to phrase a search for this situation.
>
>
> --
> ***  E-Mail is NOT a SECURE channel  ***
> James B. Byrnemailto:byrn...@harte-lyne.ca
> Harte & Lyne Limited  http://www.harte-lyne.ca
> 9 Brockley Drive  vox: +1 905 561 1241
> Hamilton, Ontario fax: +1 905 561 0757
> Canada  L8E 3C3
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] Leveno HDD caddies

2014-07-29 Thread zep
you are an idiot.following up every single email will NEVER remove
you from the mailing list.

http://lists.centos.org/mailman/listinfo/centos

and good riddance.

On 07/29/2014 02:50 PM, Juan De Mola wrote:
> need to cancel subscription
>
> 2014-07-21 12:27 GMT-04:00, James B. Byrne :
>> This is very off topic but, I have no idea where else to ask.  We obtained
>> some used Leveno CTO7483 desktop units for experimentation.  I had intended
>> to
>> install CentOS-7 on one of them.  As they arrived with a vendor upgraded
>> Windows 7ProSP1 install without media I decided to pull the disk drive and
>> install onto a spare drive that I installed.
>>
>> Those of you with any experience with this model computer or its family can
>> tell where this is going.
>>
>> Basically, the disk drive module for these things is disposable.  The HDD
>> is
>> enclosed in a removable caddy but is welded to it.  You can only replace
>> the
>> HDD with a pre-mounted HDD in yet another caddy, which item is available
>> only
>> from Leveno.
>>
>> My question is:  Does anyone here know of a source for an after-market
>> caddy
>> that fits these machines ad which allows one to install a standard low
>> profile
>> 3.5 inch SATA HDD?  My google-fu has failed in my attempts, but that may
>> becuse I have no idea how to phrase a search for this situation.
>>
>>
>> --
>> ***  E-Mail is NOT a SECURE channel  ***
>> James B. Byrnemailto:byrn...@harte-lyne.ca
>> Harte & Lyne Limited  http://www.harte-lyne.ca
>> 9 Brockley Drive  vox: +1 905 561 1241
>> Hamilton, Ontario fax: +1 905 561 0757
>> Canada  L8E 3C3
>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Initial Boot from 6.3 minimal halts with strange video display

2014-07-29 Thread Tom Bishop
On Tue, Jul 29, 2014 at 1:49 PM, Juan De Mola  wrote:
> need to cancel subscription
>
> 2014-07-21 14:32 GMT-04:00, James B. Byrne :
>> I am using a Leveno M58 (model CTO7483 from 2008) for C6/7 experimentation
>> purposes.  The thing has a dual core and ~4Gb RAM with a (newly installed)
>> 500GB HDD.  I successfully installed CentOS-6.5-minimal from a freshly
>> burned,
>> and verified, DVD from and ISO image whose SHA has been checked and passed.
>>
>> everything about the display was normal throughout that process.
>>
>> When the system boots from disk then I get the normal display up to the
>> point
>> that the kernel is selected (whether by hand or automatically).  I can edit
>> the kernel command line and otherwise use the pre-boot selector facility.
>> After that point the monitor, a BenQ 17" LCD, immediate goes into what I
>> can
>> only describe as a psychedelic snow field with two narrow black bands
>> surrounding a broader white band displayed at the top of the screen and a
>> single narrower black band at the bottom.
>>
>> I have tried booting into RL3 by appending a 3 to the end of the kernel
>> command but this has not apparent effect on the outcome.
>>
>> Any suggestions on how to proceed?
>>
>>
>> --
>> ***  E-Mail is NOT a SECURE channel  ***
>> James B. Byrnemailto:byrn...@harte-lyne.ca
>> Harte & Lyne Limited  http://www.harte-lyne.ca
>> 9 Brockley Drive  vox: +1 905 561 1241
>> Hamilton, Ontario fax: +1 905 561 0757
>> Canada  L8E 3C3
>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>
>
> --
> Juan Pablo De Mola Rodríguez
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

Please stop spamming the mail list for removal, go here and follow the
instructions - http://lists.centos.org/mailman/listinfo/centos

Towards the bottom of the page "To unsubscribe from CentOS..."
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] Leveno HDD caddies

2014-07-29 Thread Juan De Mola
need to cancel subscription

2014-07-21 12:27 GMT-04:00, James B. Byrne :
> This is very off topic but, I have no idea where else to ask.  We obtained
> some used Leveno CTO7483 desktop units for experimentation.  I had intended
> to
> install CentOS-7 on one of them.  As they arrived with a vendor upgraded
> Windows 7ProSP1 install without media I decided to pull the disk drive and
> install onto a spare drive that I installed.
>
> Those of you with any experience with this model computer or its family can
> tell where this is going.
>
> Basically, the disk drive module for these things is disposable.  The HDD
> is
> enclosed in a removable caddy but is welded to it.  You can only replace
> the
> HDD with a pre-mounted HDD in yet another caddy, which item is available
> only
> from Leveno.
>
> My question is:  Does anyone here know of a source for an after-market
> caddy
> that fits these machines ad which allows one to install a standard low
> profile
> 3.5 inch SATA HDD?  My google-fu has failed in my attempts, but that may
> becuse I have no idea how to phrase a search for this situation.
>
>
> --
> ***  E-Mail is NOT a SECURE channel  ***
> James B. Byrnemailto:byrn...@harte-lyne.ca
> Harte & Lyne Limited  http://www.harte-lyne.ca
> 9 Brockley Drive  vox: +1 905 561 1241
> Hamilton, Ontario fax: +1 905 561 0757
> Canada  L8E 3C3
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


-- 
Juan Pablo De Mola Rodríguez
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] Leveno HDD caddies

2014-07-29 Thread Juan De Mola
need to cancel subscription

2014-07-21 12:39 GMT-04:00, James B. Byrne :
> Never mind.  One can flex the caddy sufficiently to pop the drive. Although
> this is definitely not the supported procedure.  The case is marked by the
> vendor with 'Non-Return Hard Drive Machine'.
>
>
> --
> ***  E-Mail is NOT a SECURE channel  ***
> James B. Byrnemailto:byrn...@harte-lyne.ca
> Harte & Lyne Limited  http://www.harte-lyne.ca
> 9 Brockley Drive  vox: +1 905 561 1241
> Hamilton, Ontario fax: +1 905 561 0757
> Canada  L8E 3C3
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


-- 
Juan Pablo De Mola Rodríguez
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Initial Boot from 6.3 minimal halts with strange video display

2014-07-29 Thread Juan De Mola
need to cancel subscription

2014-07-21 14:32 GMT-04:00, James B. Byrne :
> I am using a Leveno M58 (model CTO7483 from 2008) for C6/7 experimentation
> purposes.  The thing has a dual core and ~4Gb RAM with a (newly installed)
> 500GB HDD.  I successfully installed CentOS-6.5-minimal from a freshly
> burned,
> and verified, DVD from and ISO image whose SHA has been checked and passed.
>
> everything about the display was normal throughout that process.
>
> When the system boots from disk then I get the normal display up to the
> point
> that the kernel is selected (whether by hand or automatically).  I can edit
> the kernel command line and otherwise use the pre-boot selector facility.
> After that point the monitor, a BenQ 17" LCD, immediate goes into what I
> can
> only describe as a psychedelic snow field with two narrow black bands
> surrounding a broader white band displayed at the top of the screen and a
> single narrower black band at the bottom.
>
> I have tried booting into RL3 by appending a 3 to the end of the kernel
> command but this has not apparent effect on the outcome.
>
> Any suggestions on how to proceed?
>
>
> --
> ***  E-Mail is NOT a SECURE channel  ***
> James B. Byrnemailto:byrn...@harte-lyne.ca
> Harte & Lyne Limited  http://www.harte-lyne.ca
> 9 Brockley Drive  vox: +1 905 561 1241
> Hamilton, Ontario fax: +1 905 561 0757
> Canada  L8E 3C3
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


-- 
Juan Pablo De Mola Rodríguez
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [Solved]: Initial Boot from 6.3 minimal halts with strange video display

2014-07-29 Thread Juan De Mola
need to cancel subscription

2014-07-21 15:07 GMT-04:00, James B. Byrne :
>
> On Mon, July 21, 2014 18:41:26 UTC, m.roth at 5-cent.us m.roth at 5-cent.us
>
> wrote:
>
>>
>> 1. What video manufacturer? Nvidia? Ati?...?
>
> I have no idea.  But in opening the case to find out I realized that the
> video
> feed was attached to a PCI card - whose manufacturer escapes my attempts to
> identify.  In any case, removing that card and attaching the monitor to the
> built-in video solved the problem.
>
> Thanks,
>
> --
> ***  E-Mail is NOT a SECURE channel  ***
> James B. Byrnemailto:byrn...@harte-lyne.ca
> Harte & Lyne Limited  http://www.harte-lyne.ca
> 9 Brockley Drive  vox: +1 905 561 1241
> Hamilton, Ontario fax: +1 905 561 0757
> Canada  L8E 3C3
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


-- 
Juan Pablo De Mola Rodríguez
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] screensaver in C7

2014-07-29 Thread Juan De Mola
need to cancel subscription

2014-07-20 4:51 GMT-04:00, Ljubomir Ljubojevic :
> On 07/20/2014 03:22 AM, Fred Smith wrote:
>> I'm at the stage of poking at a C7 install in Vbox, and am struggling to
>> figure out how to control the screensaver. there doesn't seem to be a
>> gnome screensaver package (like there was in gnome2), and I can't find
>> any installed packages that control it. gconf-editor doesn't have
>> anything
>> that looks promising...
>>
>> how does one control the screensaver in Gnome 3?
>>
>> thanks!
>>
>
> I think System -> Tweak Tool -> Power or something like that is where
> you configure Lock.
>
> As for gnome-screensaver package, if you are sure it is not in base
> repo, look in EPEL and last stop is Fedora 19 repository, so far most
> missing pakcages in CentOS 7 can be installed from Fedora 19 repository:
>
> [fedora]
> name=Fedora 19 – $basearch
> #baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/19/Everything/$basearch/os/
> mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-19&arch=$basearch
> enabled=1
> gpgcheck=0
> priority=10
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-19-$basearch
>
> [fedora-updates]
> name=Fedora 19 – $basearch – Updates
> #baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/19/$basearch/
> mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f19&arch=$basearch
> enabled=1
> gpgcheck=0
> priority=10
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-19-$basearch
>
>
> You can also check nux-desktop repository http://li.nux.ro/repos.html
>
>
> --
> Ljubomir Ljubojevic
> (Love is in the Air)
> PL Computers
> Serbia, Europe
>
> StarOS, Mikrotik and CentOS/RHEL/Linux consultant
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


-- 
Juan Pablo De Mola Rodríguez
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [Solved]: Initial Boot from 6.3 minimal halts with strange video display

2014-07-29 Thread Juan De Mola
need to cancel subscription

2014-07-21 15:43 GMT-04:00, James B. Byrne :
>
> On Mon, July 21, 2014 15:07, James B. Byrne wrote:
>>
>> On Mon, July 21, 2014 18:41:26 UTC, m.roth at 5-cent.us m.roth at
>> 5-cent.us
>> wrote:
>>
>> AUGH! That was *not* what I meant. Can you get it up, at least in
>> singleuser mode? If so, lspci will probably tell you. Or lshw. Or
>> dmidecode... or, for that matter, it might tell you in dmesg or messages.
>
> I understood what you wrote.  But as I pointed out in my first message on
> this
> subject I had already specified RL3 on the kernel command line and that did
> not change the behaviour.  So, no I cannot get the system up to the point
> that
> I can run anything, or at least see whatever output is created by whatever
> I
> might be able to run.
>
> But, as this is an experiment box I do not need a dedicated graphics card
> in
> it.  So, having been prompted the open the case to discover the make of
> video
> card,  I tried the (to me) obvious course of action to simplify things.
> Which
> worked to the extent I require.
>
> The removed video card looks like some sort of oem job with no obvious (to
> me)
> brand or manufacturer markings.  I cannot tell the chip maker because the
> processor is covered by a fan and heat sink.  It is a half-height,
> full-length
> PCI card with a marking that looks like a V followed by two 'C's one inside
> the other, followed by an I.  The word TOPSEARCH is also present.
>
>
> --
> ***  E-Mail is NOT a SECURE channel  ***
> James B. Byrnemailto:byrn...@harte-lyne.ca
> Harte & Lyne Limited  http://www.harte-lyne.ca
> 9 Brockley Drive  vox: +1 905 561 1241
> Hamilton, Ontario fax: +1 905 561 0757
> Canada  L8E 3C3
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


-- 
Juan Pablo De Mola Rodríguez
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] exim-mysql without MySQL support from epel

2014-07-29 Thread Juan De Mola
need to cancel subscription

2014-07-23 5:47 GMT-04:00, John Doe :
> From: Fosforo 
>> The .so seems to be included:
>> # locate lookup | grep mysql
>> /usr/lib64/exim/4.72-5.el6/lookups/mysql.so
>> but no suppport builtin in the binary:
>
> If it is a module, isn't it normal that it is not built-in?
> What is your error message...?
> It just works here, with a conf like:
>
>   hide mysql_servers = .../.../...
>
>   CHECK_ACCESS = ${lookup mysql \
>   {select ... from ... where ... =
> '${quote_mysql:$local_part}'} \
>   {$value}fail}
>
>   ...
>
>   localuser_virtual:
>     driver = accept
>     condition = CHECK_ACCESS
>     retry_use_local_part
>     transport = local_delivery_virtual
>
> JD
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


-- 
Juan Pablo De Mola Rodríguez
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Convert "bare partition" to RAID1 / mdadm?

2014-07-29 Thread Juan De Mola
need to cancel subscription

2014-07-28 9:25 GMT-04:00, John Doe :
> From: Benjamin Smith 
>
>> Thanks for your feedback - it's advice I would have given myself just a
>> few years ago. We have *literally* in the range of one hundred million
>> small PDF documents. The simple command
>>
>> find /path/to/data > /dev/null
>>
>> takes between 1 and 2 days, system load depending. We had to give up on
>> rsync for backups in this context a while ago - we just couldn't get a
>> "daily" backup more often then about 2x per week.
>
> What about:
> 1. Setup inotify (no idea how it would behave with your millions of files)
>
> 2. One big rsync
> 3. Bring it down and copy the few modified files reported by inotify.
>
> Or lsyncd?
>
>
> JD
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


-- 
Juan Pablo De Mola Rodríguez
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to install minimal KDE

2014-07-29 Thread Juan De Mola
need to cancel subscription

2014-07-28 11:56 GMT-04:00, Gabor Boros :
> Hi,
>
> I want to install minimal KDE on minimal CentOS 7 installation.
> How can I do this?
>
> Gabor
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


-- 
Juan Pablo De Mola Rodríguez
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 and android connectivity (Nook)

2014-07-29 Thread Juan De Mola
need to cancel subscription

2014-07-29 10:06 GMT-04:00, John Doe :
> From: "m.r...@5-cent.us" 
>> So, I got my wife a Nook for her b'day. I just plugged it into my system,
>> CentOS 6.5, and what I see is /media/NOOK, and it shows 257k or so - yes,
>> k, not m or g. It's *not* seeing any directories, etc, and the small
>> thing
>> I'm guessing is firmware, since even when I try mount -o remount -rw, it
>> is still r/o.
>>
>> Googling, I see mentions of fsmtp, I think it was, and yum shows some mtp
>> libs, but I don't see anything that looks like a driver. Any suggestions
>> (otherwise, I need to zip up the ebooks we want on her Nook, and take
>> them
>> downstairs to her's and the kid's system, Lose 8, er, Win8.
>
> Maybe this will helps (not sure)...
> http://blogs.ukoln.ac.uk/ukolndev/2013/06/05/getting-mtp-devices-to-work-on-linux-nook-hd/
>
> JD
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


-- 
Juan Pablo De Mola Rodríguez
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Try KDE Plasma Workspaces

2014-07-29 Thread Wes James


On Jul 29, 2014, at 10:34 AM, Les Mikesell  wrote:

> On Tue, Jul 29, 2014 at 11:26 AM, Wes James  
> wrote:
>         > I installed KDE Plasma Workspaces on centos 7 in virtualbox. I 
>didn't find in any settings panel or during login a way to use it. I > googled 
>to see how to use it, but there are some that say do this but then someone 
>says no do this (editing some files). I've used >some linux distros that allow 
>you to choose during login which to use. Since I don't see it at login after a 
>reboot, is there a gui or a file > to edit to allow me to try it?
>          
> You should see a small 'gear' icon next to the sign-in button. Click
> it to set the desktop choice.


Thanks.  I see that now.  I missed it before.

-wes
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Try KDE Plasma Workspaces

2014-07-29 Thread Les Mikesell
On Tue, Jul 29, 2014 at 11:26 AM, Wes James  wrote:
> I installed KDE Plasma Workspaces on centos 7 in virtualbox.  I didn't find 
> in any settings panel or during login a way to use it.  I googled to see how 
> to use it, but there are some that say do this but then someone says no do 
> this (editing some files).  I've used some linux distros that allow you to 
> choose during login which to use.  Since I don't see it at login after a 
> reboot, is there a gui or a file to edit to allow me to try it?
>

You should see a small 'gear' icon next to the sign-in button.  Click
it to set the desktop choice.

-- 
  Les Mikesell
 lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Try KDE Plasma Workspaces

2014-07-29 Thread Wes James
I installed KDE Plasma Workspaces on centos 7 in virtualbox.  I didn't find in 
any settings panel or during login a way to use it.  I googled to see how to 
use it, but there are some that say do this but then someone says no do this 
(editing some files).  I've used some linux distros that allow you to choose 
during login which to use.  Since I don't see it at login after a reboot, is 
there a gui or a file to edit to allow me to try it?

Thanks,

-wes
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 and android connectivity (Nook)

2014-07-29 Thread m . roth
Scott Robbins wrote:
> On Tue, Jul 29, 2014 at 11:01:42AM -0400, m.r...@5-cent.us wrote:
>
>
>> Tom Bishop wrote:
>> > As far as I know and I have played with a few, but never a nook (well
>> > actually I bought one and quickly returned it, due to the adobe drm
>> > stuff) you are going to have to play with mtp and most likely you will
>> > want to run a newer version that is not in the standard repos, maybe
>> > see what epel has.
>> >
>> > MTP is the choice for connections and can be a pain to get working and
>> > when you do it is clunky and slow.
>> 
>> Hmmm Maybe my ubuntu netbook remix might work... and I know I can
>> rsync between it an my system.
>
> If it is using mtp than Ubuntu's version should work.  It might be called
> simple-mtpfs, not sure what they're using.
>
> (My Nook Color is older.  I plug it into a machine and it's just seen as
> an external USB drive.  I run dwm or openbox, so there is no Gnome
> automounting--whether or not that makes any difference, I have no idea.)
>
> For my android (you'll see long threads on both the forums and this list),
> which uses mtp, I got mtpfs working on one CentOS machine, but not others,
> and not on a FreeBSD machine.  Eventually, I just used the remote
> capability of ES file explorer, which let me put an a mini FTP server on
> the phone.  I don't know if the newer Nooks have something similar
> avaiable, but it might be the easiest way to do it.

I thought it would be as easy as my kobo (which started falling asleep on
me - that is, not responding to finger movements, until I turn it off and
on a few times. It was used, I may need to replace it), where it's just
usb, and I copy.

I did find this, while googling this morning:
,
which led me to
,
which I'll try this evening. I was hoping for extras, or elrepo, but no
joy.

   mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 and android connectivity (Nook)

2014-07-29 Thread Tom Bishop
On Tue, Jul 29, 2014 at 11:06 AM, Scott Robbins  wrote:
> On Tue, Jul 29, 2014 at 11:01:42AM -0400, m.r...@5-cent.us wrote:
>
>
>> Tom Bishop wrote:
>> > As far as I know and I have played with a few, but never a nook (well
>> > actually I bought one and quickly returned it, due to the adobe drm
>> > stuff) you are going to have to play with mtp and most likely you will
>> > want to run a newer version that is not in the standard repos, maybe
>> > see what epel has.
>> >
>> > MTP is the choice for connections and can be a pain to get working and
>> > when you do it is clunky and slow.
>> 
>> Hmmm Maybe my ubuntu netbook remix might work... and I know I can
>> rsync between it an my system.
>
> If it is using mtp than Ubuntu's version should work.  It might be called
> simple-mtpfs, not sure what they're using.
>
> (My Nook Color is older.  I plug it into a machine and it's just seen as an
> external USB drive.  I run dwm or openbox, so there is no Gnome
> automounting--whether or not that makes any difference, I have no idea.)
>
> For my android (you'll see long threads on both the forums and this list),
> which uses mtp, I got mtpfs working on one CentOS machine, but not others,
> and not on a FreeBSD machine.  Eventually, I just used the remote
> capability of ES file explorer, which let me put an a mini FTP server on
> the phone.  I don't know if the newer Nooks have something similar
> avaiable, but it might be the easiest way to do it.
>
>
> --
> Scott Robbins
> PGP keyID EB3467D6
> ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
> gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos


I have also used air drop (app in the store) to also do some file
sharing in a pinch. Allows you to access the deivce via a web
interface and you can move files, kind of works and something to look
at depending on how many files you need to push, pull.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 and android connectivity (Nook)

2014-07-29 Thread Scott Robbins
On Tue, Jul 29, 2014 at 11:01:42AM -0400, m.r...@5-cent.us wrote:


> Tom Bishop wrote:
> > As far as I know and I have played with a few, but never a nook (well
> > actually I bought one and quickly returned it, due to the adobe drm
> > stuff) you are going to have to play with mtp and most likely you will
> > want to run a newer version that is not in the standard repos, maybe
> > see what epel has.
> >
> > MTP is the choice for connections and can be a pain to get working and
> > when you do it is clunky and slow.
> 
> Hmmm Maybe my ubuntu netbook remix might work... and I know I can
> rsync between it an my system.

If it is using mtp than Ubuntu's version should work.  It might be called
simple-mtpfs, not sure what they're using. 

(My Nook Color is older.  I plug it into a machine and it's just seen as an
external USB drive.  I run dwm or openbox, so there is no Gnome
automounting--whether or not that makes any difference, I have no idea.)

For my android (you'll see long threads on both the forums and this list),
which uses mtp, I got mtpfs working on one CentOS machine, but not others,
and not on a FreeBSD machine.  Eventually, I just used the remote
capability of ES file explorer, which let me put an a mini FTP server on
the phone.  I don't know if the newer Nooks have something similar
avaiable, but it might be the easiest way to do it.


-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to compile APUE code on centos 6.X

2014-07-29 Thread Jonathan Billings
On Tue, Jul 29, 2014 at 10:00:53PM +0800, Theodore Si wrote:
>
> Hi all,
> 
> I want to compile the source code of Advanced Programming in the Unix
> Environment(APUE) 3rd edition, and I encountered some difficulties.
> After executing "make", I got this message:
> [...]
> How to install libbsd to solve this problem on CentOS (this works on
> Ubuntu)?

You need the 'libbsd' package, available in EPEL.
(http://fedoraproject.org/wiki/EPEL)

The 'heapsort()' function is implemented there.

-- 
Jonathan Billings 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 and android connectivity (Nook)

2014-07-29 Thread m . roth
Tom Bishop wrote:
> As far as I know and I have played with a few, but never a nook (well
> actually I bought one and quickly returned it, due to the adobe drm
> stuff) you are going to have to play with mtp and most likely you will
> want to run a newer version that is not in the standard repos, maybe
> see what epel has.
>
> MTP is the choice for connections and can be a pain to get working and
> when you do it is clunky and slow.

Hmmm Maybe my ubuntu netbook remix might work... and I know I can
rsync between it an my system.

Thanks for the thought.

   mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 and android connectivity (Nook)

2014-07-29 Thread m . roth
John Doe wrote:
> From: "m.r...@5-cent.us" 
>> So, I got my wife a Nook for her b'day. I just plugged it into my
>> system, CentOS 6.5, and what I see is /media/NOOK, and it shows 257k or
so -
>> yes, k, not m or g. It's *not* seeing any directories, etc, and the small
>> thing I'm guessing is firmware, since even when I try mount -o remount
-rw, it
>> is still r/o.
>>
>> Googling, I see mentions of fsmtp, I think it was, and yum shows some
>> mtp libs, but I don't see anything that looks like a driver. Any
suggestions
>> (otherwise, I need to zip up the ebooks we want on her Nook, and take
>> them downstairs to her's and the kid's system, Lose 8, er, Win8.
>
> Maybe this will helps (not sure)...
> http://blogs.ukoln.ac.uk/ukolndev/2013/06/05/getting-mtp-devices-to-work-on-linux-nook-hd/

No joy. I used yumdownloader to get libmtp-devel, and its requirement of
libusb-devel, and the only header file is libmtp.h. I see that
libusb-devel seems to be *nothing* but html files

  mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 and android connectivity (Nook)

2014-07-29 Thread Tom Bishop
>
> On Tue, Jul 29, 2014 at 8:57 AM,   wrote:
>> Tom Bishop wrote:
>>> On Tue, Jul 29, 2014 at 8:38 AM,   wrote:
 So, I got my wife a Nook for her b'day. I just plugged it into my
 system, CentOS 6.5, and what I see is /media/NOOK, and it shows 257k
 or so - yes, k, not m or g. It's *not* seeing any directories, etc,
 and the small thing I'm guessing is firmware, since even when I try
 mount -o remount -rw, it is still r/o.

 Googling, I see mentions of fsmtp, I think it was, and yum shows some
 mtp libs, but I don't see anything that looks like a driver. Any
  suggestions (otherwise, I need to zip up the ebooks we want on her
 Nook, and take them downstairs to her's and the kid's system, Lose 8,
>> er, Win8.

 I really need to solve this today - we're leaving shortly on
 vacation

>>> Mark which nook is it, is it a e-reader or one of the HD tablets, I am
>>> guessing the e-reader but wanted to clarify.
>>
>> I tried to steer her to that, but she wanted the HD (did *not* need the HD+).
>>
>> mark, whose Kobo Touch, bought used, is acting up
>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos

Sorry about the top post :(
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 and android connectivity (Nook)

2014-07-29 Thread Tom Bishop
As far as I know and I have played with a few, but never a nook (well
actually I bought one and quickly returned it, due to the adobe drm
stuff) you are going to have to play with mtp and most likely you will
want to run a newer version that is not in the standard repos, maybe
see what epel has.

MTP is the choice for connections and can be a pain to get working and
when you do it is clunky and slow.

Good luck!

On Tue, Jul 29, 2014 at 8:57 AM,   wrote:
> Tom Bishop wrote:
>> On Tue, Jul 29, 2014 at 8:38 AM,   wrote:
>>> So, I got my wife a Nook for her b'day. I just plugged it into my
>>> system, CentOS 6.5, and what I see is /media/NOOK, and it shows 257k
>>> or so - yes, k, not m or g. It's *not* seeing any directories, etc,
>>> and the small thing I'm guessing is firmware, since even when I try
>>> mount -o remount -rw, it is still r/o.
>>>
>>> Googling, I see mentions of fsmtp, I think it was, and yum shows some
>>> mtp libs, but I don't see anything that looks like a driver. Any
>>>  suggestions (otherwise, I need to zip up the ebooks we want on her
>>> Nook, and take them downstairs to her's and the kid's system, Lose 8,
> er, Win8.
>>>
>>> I really need to solve this today - we're leaving shortly on
>>> vacation
>>>
>> Mark which nook is it, is it a e-reader or one of the HD tablets, I am
>> guessing the e-reader but wanted to clarify.
>
> I tried to steer her to that, but she wanted the HD (did *not* need the HD+).
>
> mark, whose Kobo Touch, bought used, is acting up
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 and android connectivity (Nook)

2014-07-29 Thread John Doe
From: "m.r...@5-cent.us" 
> So, I got my wife a Nook for her b'day. I just plugged it into my system,
> CentOS 6.5, and what I see is /media/NOOK, and it shows 257k or so - yes,
> k, not m or g. It's *not* seeing any directories, etc, and the small thing
> I'm guessing is firmware, since even when I try mount -o remount -rw, it
> is still r/o.
>
> Googling, I see mentions of fsmtp, I think it was, and yum shows some mtp
> libs, but I don't see anything that looks like a driver. Any suggestions
> (otherwise, I need to zip up the ebooks we want on her Nook, and take them
> downstairs to her's and the kid's system, Lose 8, er, Win8.

Maybe this will helps (not sure)...
http://blogs.ukoln.ac.uk/ukolndev/2013/06/05/getting-mtp-devices-to-work-on-linux-nook-hd/

JD
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] How to compile APUE code on centos 6.X

2014-07-29 Thread Theodore Si
Hi all,

I want to compile the source code of Advanced Programming in the Unix
Environment(APUE) 3rd edition, and I encountered some difficulties.
After executing "make", I got this message:

gcc -ansi -I../include -Wall -DLINUX -D_GNU_SOURCE barrier.c -o barrier
-L../lib -lapue -pthread -lrt -lbsd
/tmp/cc0gG99O.o: In function `thr_fn':
barrier.c:(.text+0x6e): undefined reference to `heapsort'
collect2: ld returned 1 exit status
make[1]: *** [barrier] Error 1
make[1]: Leaving directory `/home/drizzlex/apue.3e/threads'
make: *** [all] Error 1


In barrier.c, I found this

#ifdef SOLARIS
#define heapsort qsort
#else
extern int heapsort(void *, size_t, size_t,
int (*)(const void *, const void *));
#endif

If I change these code to

How to install libbsd to solve this problem on CentOS (this works on
Ubuntu)?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 and android connectivity (Nook)

2014-07-29 Thread m . roth
Tom Bishop wrote:
> On Tue, Jul 29, 2014 at 8:38 AM,   wrote:
>> So, I got my wife a Nook for her b'day. I just plugged it into my
>> system, CentOS 6.5, and what I see is /media/NOOK, and it shows 257k
>> or so - yes, k, not m or g. It's *not* seeing any directories, etc,
>> and the small thing I'm guessing is firmware, since even when I try
>> mount -o remount -rw, it is still r/o.
>>
>> Googling, I see mentions of fsmtp, I think it was, and yum shows some
>> mtp libs, but I don't see anything that looks like a driver. Any
>>  suggestions (otherwise, I need to zip up the ebooks we want on her
>> Nook, and take them downstairs to her's and the kid's system, Lose 8,
er, Win8.
>>
>> I really need to solve this today - we're leaving shortly on
>> vacation
>>
> Mark which nook is it, is it a e-reader or one of the HD tablets, I am
> guessing the e-reader but wanted to clarify.

I tried to steer her to that, but she wanted the HD (did *not* need the HD+).

mark, whose Kobo Touch, bought used, is acting up

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 and android connectivity (Nook)

2014-07-29 Thread Tom Bishop
On Tue, Jul 29, 2014 at 8:38 AM,   wrote:
> So, I got my wife a Nook for her b'day. I just plugged it into my system,
> CentOS 6.5, and what I see is /media/NOOK, and it shows 257k or so - yes,
> k, not m or g. It's *not* seeing any directories, etc, and the small thing
> I'm guessing is firmware, since even when I try mount -o remount -rw, it
> is still r/o.
>
> Googling, I see mentions of fsmtp, I think it was, and yum shows some mtp
> libs, but I don't see anything that looks like a driver. Any suggestions
> (otherwise, I need to zip up the ebooks we want on her Nook, and take them
> downstairs to her's and the kid's system, Lose 8, er, Win8.
>
> I really need to solve this today - we're leaving shortly on vacation
>
> Thanks in advance.
>
>  mark
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

Mark which nook is it, is it a e-reader or one of the HD tablets, I am
guessing the e-reader but wanted to clarify.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 6 and android connectivity (Nook)

2014-07-29 Thread m . roth
So, I got my wife a Nook for her b'day. I just plugged it into my system,
CentOS 6.5, and what I see is /media/NOOK, and it shows 257k or so - yes,
k, not m or g. It's *not* seeing any directories, etc, and the small thing
I'm guessing is firmware, since even when I try mount -o remount -rw, it
is still r/o.

Googling, I see mentions of fsmtp, I think it was, and yum shows some mtp
libs, but I don't see anything that looks like a driver. Any suggestions
(otherwise, I need to zip up the ebooks we want on her Nook, and take them
downstairs to her's and the kid's system, Lose 8, er, Win8.

I really need to solve this today - we're leaving shortly on vacation

Thanks in advance.

 mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Balancing IRQs

2014-07-29 Thread Jatin Davey
On 7/29/2014 12:03 PM, Reindl Harald wrote:
> Am 29.07.2014 08:16, schrieb Jatin Davey:
>>  From the above output i can see that all the interrupts are hitting the
>> cpu0 and thats why it is used more than any other core in the system.
>>
>> Can someone please help me in distributing the interrupts across all the
>> cores so that all are used which will eventually result in a better
>> performance of my system
> yum install irqbalance
> chkconfig irqbalance on
> service irqbalance start
>
> anything above is out of your scope because it's the kernels job
>
Thanks Reindl,

I will try out irqbalance and see if it helps. Appreciate your response 
in this regard.

Thanks
Jatin
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Balancing IRQs

2014-07-29 Thread Jatin Davey
On 7/29/2014 12:02 PM, John R Pierce wrote:
> On 7/28/2014 11:16 PM, Jatin Davey wrote:
>> When my application is running on the server i can see only one core
>> being used heavily while the other cores are not being used much. My
>> application has a major workload is collecting data from the eth0
>> interface and then doing a lot of processing with the data in the
>> database. So i can say that the Disk I/O and Network I/O are the major
>> contributors towards the workload.
> to use multiple cores, you need multiple processes or threads in your
> application.
>
> question:   is this processing happening as fast as the network and disk
> can supply data?   an app processing data from a single network
> connection and using a single database connection is not going to
> achieve much concurrency.
>
> btw, centos 5.4 is /way/ old, you're missing 5 years of security and bug
> fixes.  5.10 was released last october.  a simple `yum update` will
> bring all repository packages up to the current fix level.
>
>
Thanks John,

I agree to your point that from the application end also we need fork 
multiple threads to make use of the multiple cores.
Will also look if we can update the CentOS. Something may not be 
possible right away as lot of our production servers are already running 
with 5.4 but we will have to chalk out a plan at some stage to upgrade it.

Thanks for your response.

Thanks
Jatin
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Balancing IRQs

2014-07-29 Thread Jatin Davey
On 7/29/2014 12:43 PM, IP wrote:
> W dniu 2014-07-29 08:16, Jatin Davey pisze:
>> Hi All
>>
>> I am using the following Linux version for my application:
>>
>> 
>> [root@localhost ~]# uname -a
>> Linux localhost.localdom 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT
>> 2009 x86_64 x86_64 x86_64 GNU/Linux
>> 
>>
>> 
>> [root@localhost ~]# cat /etc/*release
>> CentOS release 5.4 (Final)
>> 
>>
>> When my application is running on the server i can see only one core
>> being used heavily while the other cores are not being used much. My
>> application has a major workload is collecting data from the eth0
>> interface and then doing a lot of processing with the data in the
>> database. So i can say that the Disk I/O and Network I/O are the major
>> contributors towards the workload.
>>
>> from the /proc/interrupts file i can see the following:
>>
>> 
>> [root@localhost ~]# cat /proc/interrupts
>>  CPU0   CPU1   CPU2   CPU3
>> 0:   16084980  0  0  0IO-APIC-edge timer
>> 1:141  0  0  0IO-APIC-edge i8042
>> 6:  5  0  0  0IO-APIC-edge floppy
>> 7:  0  0  0  0IO-APIC-edge parport0
>> 8:  0  0  0  0IO-APIC-edge rtc
>> 9:  0  0  0  0   IO-APIC-level acpi
>>12:251  0  0  0IO-APIC-edge i8042
>>51:2410224  0  0  0   IO-APIC-level ioc0
>>59:   11358257  0  0  0   IO-APIC-level eth0
>> NMI:  0  0  0  0
>> LOC:   16086147   16090336   16090320   16089691
>> ERR:  0
>> MIS:  0
>> 
>>
>>   From the above output i can see that all the interrupts are hitting the
>> cpu0 and thats why it is used more than any other core in the system.
>>
>> Can someone please help me in distributing the interrupts across all the
>> cores so that all are used which will eventually result in a better
>> performance of my system.
>>
>> Appreciate your response in this regard.
> Hi.
>
> Just use service irq balance: irqbalance from base repo of centos 5
>
> IP
>   
>> Thanks
>> Jatin
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
Thank you very much for the response.

Thanks
Jatin
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Balancing IRQs

2014-07-29 Thread IP
W dniu 2014-07-29 08:16, Jatin Davey pisze:
> Hi All
>
> I am using the following Linux version for my application:
>
> 
> [root@localhost ~]# uname -a
> Linux localhost.localdom 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 
> 2009 x86_64 x86_64 x86_64 GNU/Linux
> 
>
> 
> [root@localhost ~]# cat /etc/*release
> CentOS release 5.4 (Final)
> 
>
> When my application is running on the server i can see only one core 
> being used heavily while the other cores are not being used much. My 
> application has a major workload is collecting data from the eth0 
> interface and then doing a lot of processing with the data in the 
> database. So i can say that the Disk I/O and Network I/O are the major 
> contributors towards the workload.
>
> from the /proc/interrupts file i can see the following:
>
> 
> [root@localhost ~]# cat /proc/interrupts
> CPU0   CPU1   CPU2   CPU3
>0:   16084980  0  0  0IO-APIC-edge timer
>1:141  0  0  0IO-APIC-edge i8042
>6:  5  0  0  0IO-APIC-edge floppy
>7:  0  0  0  0IO-APIC-edge parport0
>8:  0  0  0  0IO-APIC-edge rtc
>9:  0  0  0  0   IO-APIC-level acpi
>   12:251  0  0  0IO-APIC-edge i8042
>   51:2410224  0  0  0   IO-APIC-level ioc0
>   59:   11358257  0  0  0   IO-APIC-level eth0
> NMI:  0  0  0  0
> LOC:   16086147   16090336   16090320   16089691
> ERR:  0
> MIS:  0
> 
>
>  From the above output i can see that all the interrupts are hitting the 
> cpu0 and thats why it is used more than any other core in the system.
>
> Can someone please help me in distributing the interrupts across all the 
> cores so that all are used which will eventually result in a better 
> performance of my system.
>
> Appreciate your response in this regard.
Hi.

Just use service irq balance: irqbalance from base repo of centos 5

IP
 
> Thanks
> Jatin
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos