Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On Wed, 24 Jul 2013 10:36:36 -0700, John R Pierce wrote: > note thats 5 miles in open space. > > you said the router is in the middle of the house, what all is between > it and your 'BBQ' ? The Negear N600 router is in the middle of the house, and it's only about 18 dBi and, I think, about 5 dBm for about 23 dB in toto. (I haven't looked up the spec in a while though.) The NanoBridge M2 is pointed *at* the house, and has to go through two walls to get to the router, but, it has an 18 dBi antenna coupled to a 23 dBm transmitter with a sensitivity in the -90 dBm range. Assuming the numbers are close to correct (I do realize the manufacturers lie about this stuff), that's 23 dB versus 41 dB, which is a whoppingly huge difference of 18 dB. Since every 3 dB is a doubling of the signal strength, that's 2 x 2 x 2 x 2 x 2 x 2 = 64 times the signal strength of the Netgear home broadband router (which is admittedly rather anemic). That's a lot of signal, so, I'm *not* at all worried about going a few hundred feet, and through a couple of walls. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On Sat, 27 Jul 2013 02:04:05 +0300, Eliezer Croitoru wrote: > By the way the nanobridge is nice but since it has so much Dbm in it you > should try to open the case and verify what bugs are inside to make sure > it's not "just works" like sisco. I'm not sure *what* that meant! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] What does this Centos Network Manager error message mean
Here is the error message: http://i41.tinypic.com/2zz71bp.png Wireless Network Authentication Required Unlock Keyring: The application 'NetworkManager Applet' (/usr/bin/nm-applet) wants access to the default keyring, but it is locked. The funny thing is, (a) I've never seen this message before (in a year of using CentOS) (b) I am the system administrator but it won't take the root password (c) I don't even know 'what' a default keyring is in the first place (d) This only happened after I changed the SSID of my home network When I tried to connect to my home network with the new SSID, this message came up. Funny thing is that I never got past it, since it seems to want a password that isn't my user password nor my root password. I still connected to the network though. So, it's odd all around. In fact, it makes no sense to me. Q1: What password is it looking for anyway? (it's not root or the user) Q2: Why did it let me connect to the home network Note: If you get this, I am on the network even without typing whatever password that application seems to want. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On Wed, 24 Jul 2013 08:04:40 -0500, Johnny Hughes wrote: > In any network subnet, a default gateway is required to talk to any > other subnet ... this is not a CentOS thing, it is a TCP/IP thing. I saved your wonderful explanation (so that I may re-read it whenever I need to make a gateway decision), and I agree, it's not Centos, other than the commands to set and determine it. Thanks. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On Tue, 23 Jul 2013 23:03:00 -0700, John R Pierce wrote: > you should be able to get 300 feet of mostly open space with a simple > panel antenna Understood. The Nanobridge M2 may be far more than I need. But, it should work as it's advertised to go five miles. All I need is a few hundred feet. I'll try to keep on topic though. I think my "original" problem was what you guys sensed from the start. It was supremely frustrating having my manually typed eth0 IP address being wiped out - but - apparently that was what Network Manager was supposed to do. Apparently Network Manager was set to pick up a DHCP address for eth0, and, when none were forthcoming, it wiped out the existing IP address. I only need to figure out now how to switch gracefully between using wlan0 connected to the home broadband router inside the house, and using eth0 wired to the Nanobridge M2 outside the house. I tried setting eth0 as suggested and left wlan0 alone, but, that killed the inside-the-house connection immediately. I'm still debugging why that happened (I had figured they're two totally separate cards); but maybe you can't have to NICs connected to the same net at the same time? Is there an easy way to tell which NIC is being used for a connection? Or to tell one NIC to win over the other? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On Tue, 23 Jul 2013 23:07:30 -0700, John R Pierce wrote: > my N600 has great range. mine is a wndr3700v3 Mine is the WNDR3400. It's in the center of the house and barely makes it to the front steps. In contrast, the Nanobridge M2 can go for five miles, at least according to what I've read. To garner a handle on this confusing "gateway" thing, I've run a few commands on CentOS while connected to that home broadband router on the wlan0 card of the laptop: This shows DHCP handed the laptop IP address 192.168.1.3: $ ifconfig wlan0 => wlan0 Link encap:Ethernet HWaddr 0A:2B:DC:7D:8E:AF => inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0 => etc. This shows the gateway is apparently set to the home broadband router IP address (which is 192.168.1.1): $ route -n => Kernel IP routing table => Destination Gateway Genmask Flags Metric Ref Use Iface => 192.168.1.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0 => 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0 Where the gateway is 192.168.1.1 and it's up (U) and it's a gateway (G). This shows the same information: $ route (or netstat -r): => Kernel IP routing table => Destination Gateway Genmask Flags Metric Ref Use Iface => 192.168.1.0 * 255.255.255.0 U 2 0 0 wlan0 => default 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0 I'm not sure if this provides any additional value: $ ip route show => 192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.3 metric 2 => default via 192.168.1.1 dev wlan0 proto static This shows I once messed with the gateway long ago (currently commented out): $ cat /etc/sysconfig/network NETWORKING=yes HOSTNAME=rock #GATEWAY=192.168.1.1 Do I have any other Linux commands which will give me needed information before I start connecting to the Nanobridge M2? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On Wed, 24 Jul 2013 01:09:29 -0400, Darr247 wrote: > I inferred you wanted to make the laptop talk to the ubiquiti > nano through the RJ45 port in order to configure it. Well, that is a necessary evil, so, yes, that is the first step, to configure it. But, I'll take up that configuration elsewhere, as that's not a CentOS issue per se. Right now, I only want to know what to set the gateway to, as that is somewhat of a CentOS issue (regarding how it's set anyway). When my Centos laptop (192.168.1.3) is connected wirelessly to my home network (192.168.1.x), on wlan0, the following is seen on Centos: $ ifconfig wlan0 => wlan0 Link encap:Ethernet HWaddr 0A:2B:DC:7D:8E:AF => inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0 => etc. The gateway is apparently set to the home broadband router IP address (192.168.1.1): $ route -n => Kernel IP routing table => Destination Gateway Genmask Flags Metric Ref Use Iface => 192.168.1.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0 => 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0 Where the gateway is 192.168.1.1 and it's up (U) and it's a gateway (G). This command confirms the current gateway, when acting through wlan0, is 192.168.1.1 (which is the Netgear N600 broadband router): $ route (or netstat -r): => Kernel IP routing table => Destination Gateway Genmask Flags Metric Ref Use Iface => 192.168.1.0 * 255.255.255.0 U 2 0 0 wlan0 => default 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0 I think this shows similar information: $ ip route show => 192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.3 metric 2 => default via 192.168.1.1 dev wlan0 proto static And, I must have edited the gateway in the past, because of this comment: $ cat /etc/sysconfig/network NETWORKING=yes HOSTNAME=rock #GATEWAY=192.168.1.1 Given that the Centos Network Manager requires a gateway in its GUI, I'm wondering if I should use a gateway of the Nanobridge M2 (192.168.1.20) or a gateway of my N600 broadband router (192.168.1.1). PS: I really do not understand what a gateway is. :( ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On Wed, 24 Jul 2013 01:09:29 -0400, Darr247 wrote: > that would result in an EIRP of almost 13W, or about 30 times the > legal limit for licensed HAMs on channel 6 and below in the 2.4GHz band, > or 60 times the legal limit unlicensed, unless you use a highly > directional antenna. But that also assumes you're in FCC land I'm in the USA. The Ubiquiti Nanobridge M2 is a legally bought and sold radio in the US. I can't imagine that using it would be illegal from a power standpoint. Maybe I got the numbers wrong? http://site.microcom.us/nbm2_datasheet Shouldn't that Nanobridge m2 be powerful enough to reach the 300 feet or so to go from my BBQ to my home broadband router open "guest" access point? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On Wed, 24 Jul 2013 01:09:29 -0400, Darr247 wrote: > What brand/model is the home broadband router, by the way? Netgear N600. I bought it in a moment of weakness; but it's far too anemic to make it outside by the BBQ where I want to set up the computer. So, my goal is to connect the Nanobridge M2 to my laptop when I'm at the BBQ, and to beam that Nanobridge M2 at the house, to pick up the Netgear N600 open "guest" SSID access point. Does that sound workable? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On Tue, 23 Jul 2013 21:14:02 -0400, Darr247 wrote: > But why not just see what IP, Gateway and DNS Servers your home router > gives eth0 via DHCP and duplicate those settings statically? (presuming > it's also the 192.168.1.x /24 network) I only partially understand what I *think* you're trying to tell me as I am clearly not a network guru. I *think* you're saying I should first plug the laptop, by cat5 cable from eth0 of the laptop to the home broadband router, and then write down whatever IP address I get, the gateway, and the DNS Server thru it's DHCP assignments. [Note: I already have a WinXP PC attached to that home broadband router, so, maybe I can get that information from it?] Then, I think you're saying I should take the CentOS laptop, instead of using the puny wireless NIC inside it, I should use the eth0 NIC connected to the 23 dBm radio and its 18 dBi antenna, so that the laptop essentially has 41 decibels of WiFi beamed at the house open guest access point, 300 feet away. Is that right? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On Tue, 23 Jul 2013 23:10:44 +, Rock wrote: > I didn't want to complicate things, but whenever I use the GUI from right > clicking on the four bars, the same thing happens (eth0 disconnects after > a few minutes): Maybe I was editing it wrongly. How does this look? http://i43.tinypic.com/n3lsnk.png The question is what to make the "gateway" since the GUI insists on having a gateway. In my case, I'm plugging in a Ubiquiti Nanobridge M2 radio/router, which is configured, by default, on 192.168.1.20. So, I set the eth0 of the laptop to anything on that same subnet, e.g., 192.168.1.100; but I don't know what to set the Network Manager "gateway" to. Q: Should I set the NM gateway to the IP address of the radio/router? Note: The desired connection is: a) Laptop sitting 300 feet from the house b) It's ok if the wireless wlan0 NIC is manually turned off c) The wired eth0 NIC is set to the subnet of the radio (e.g., 192.168.1.100) d) I don't know *what* to set the eth0 gateway to (192.168.1.20?) Then, a CAT5 cable is connected from the laptop RJ45 eth0 port to the one and only RJ45 port on the Ubiquiti Nanobridge M2 radio. At that point, I would ping the radio (at 192.168.1.20) over that eth0 wire, and then connect over that same eth0 wire with Firefox to http://192.168.1.20 (the default login = ubnt, and the default password = ubnt). Once logged into the radio GUI, I can set it up to connect to my home broadband router access point (or to a local Starbucks five miles down the road, for that matter). QUESTION: Given that the Network Manager is insisting on me giving it a "gateway", what would you suggest I set the "gateway" to in the Network Manager? Note: I realize this may no longer be a Centos question... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On Tue, 23 Jul 2013 16:05:23 -0700, John R Pierce wrote: > https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-NetworkManager.html That reference doesn't say much about what to set the gateway to: http://i41.tinypic.com/1z2n6uv.jpg Reading section 8.3.9.4 "Configuring IPv4 Settings": https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-Configuring_Connection_Settings.html All it says about the "Gateway" is: Gateway — The IP address of the gateway leading to the network, sub-net or host. In my situation, I'm connecting a CAT5 cable from the RJ45 eth0 port of the laptop to a radio, which is a router, which is, by default, set up to *not* hand out DHCP addresses (Ubiquiti Nanobridge M2) and which is set up, by default, on IP address 192.168.1.20. Given that information, do you have any idea what I should set the gateway to in the suggested forms? (they won't let me leave the gateway blank) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On Tue, 23 Jul 2013 16:02:18 -0700, John R Pierce wrote: > service NetworkManager status will undoubtedly say its running Hi John, It doesn't even have to be queried as root; it *does* say it's running: $ service NetworkManager status => NetworkManager (pid 2455) is running... > so, set the above line to ="no" and you can manually configure that port. Am I correct in "assuming" the file to change is this one? /etc/sysconfig/networking/devices/ifcfg-eth0 And not this one? /etc/sysconfig/networking/profiles/default/ifcfg-eth0 > or, use the Network Manager GUI to configure it. I didn't want to complicate things, but whenever I use the GUI from right clicking on the four bars, the same thing happens (eth0 disconnects after a few minutes): http://i43.tinypic.com/11h7ynk.png ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On Tue, 23 Jul 2013 17:54:13 -0400, Steve Thompson wrote: > Probably need NM_CONTROLLED=no in ifcfg-eth0. $ sudo updatedb; locate ifcfg-eth0 => /etc/sysconfig/networking/devices/ifcfg-eth0 => /etc/sysconfig/networking/profiles/default/ifcfg-eth0 $ grep NM /etc/sysconfig/networking/devices/ifcfg-eth0 => NM_CONTROLLED="yes" If I set this to "no" and reboot, will it have any negative implication for my normal wireless network (which I use all day)? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On Tue, 23 Jul 2013 14:50:35 -0700, John R Pierce wrote: > the interface is probably configured for DHCP via > /etc/sysconfig/network-scripts/ifcfg-eth0 and your system is > undoubtedly running network-manager. I don't know *how* to tell if I'm running network-manager, but, I'm running whatever everyone else runs on Centos since the home broadband network has been working for a year or more with this laptop without problems. When I set the laptop back to normal (on the home wireless network), here is what shows up when I right click on the network icon: http://i43.tinypic.com/11h7ynk.png Interestingly, that ifcfg-eth0 file doesn't exist in: $ ls /etc/sysconfig/network-scripts/ifcfg-eth0 => ifcfg-Auto_eth0 ifdown-post ifup-ipppifup-tunnel => ifcfg-lo ifdown-ppp ifup-ipv6ifup-wireless => ifcfg-wlan0 ifdown-routes ifup-isdninit.ipv6-global => ifdownifdown-sit ifup-plipnet.hotplug => ifdown-bnep ifdown-tunnel ifup-plusb network-functions => ifdown-ethifup ifup-postnetwork-functions-ipv6 => ifdown-ippp ifup-aliases ifup-ppp => ifdown-ipv6 ifup-bnep ifup-routes => ifdown-isdn ifup-eth ifup-sit But, that file does apparently exist elsewhere: $ sudo updatedb; locate ifcfg-eth0 => /etc/sysconfig/networking/devices/ifcfg-eth0 => /etc/sysconfig/networking/profiles/default/ifcfg-eth0 $ cat /etc/sysconfig/networking/devices/ifcfg-eth0 => DEVICE="eth0" => NM_CONTROLLED="yes" => ONBOOT=yes => TYPE=Ethernet => BOOTPROTO=none => DEFROUTE=yes => IPV4_FAILURE_FATAL=no => IPV6INIT=no => NAME="System eth0" => UUID=5fb06ba0-0bb0-7ffb-45a1-d6edd65f3e03 => HWADDR=A0:BE:C1:D8:E5:F1 => IPADDR=192.168.1.254 => PREFIX=24 => GATEWAY=192.168.1.20 => LAST_CONNECT=1346858976 Q: Does the information above help? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
QUESTION: Why does my Centos 6.4 laptop keep wiping out my eth0 IP address? SUMMARY: a) I set the IP address of eth0 b) Everything works fine for 2 to 5 minutes c) Then, that eth0 IP address is (somehow?) wiped out I frustratingly repeat that abc process (over and over and over again) BACKGROUND: My home network has been working perfectly and there is no problem with my home network, nor my wlan0 WiFi access from my Centos laptop to that home broadband network. Inside the house, I never use the wired (eth0) NIC; but, I'm trying to set up a wired/wireless connection outside the house and that is where I'm running into this problem where Centos (automatically?) constantly and repeatedly wipes out the IP address I set on eth0. I can easily (constantly) change the IP address of the eth0 NIC back to what I want it to be; but that IP address only stays set for about 2 to 5 minutes; and then it wipes itself out (again & again). Why? How do I stop this? (All I want is for eth0 to *stay* at the IP address I set it to!) To give you more contextual detail, here's a typical sequence. SIMPLE BASELINE: Wireless NIC (wlan0) is turned off using a hardware switch on the outside of the laptop (so that only one NIC is in play). STARTING POINT: (eth0 has no IP address) $ ifconfig eth0 => eth0 Link encap:Ethernet HWaddr A0:BE:C1:D8:E5:F1 => inet6 addr: fe80::f2de:f1ff:fe38:8591/64 Scope:Link => UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 => RX packets:3139 errors:0 dropped:0 overruns:0 frame:0 => TX packets:3230 errors:0 dropped:0 overruns:0 carrier:0 => collisions:0 txqueuelen:1000 => RX bytes:2403080 (2.2 MiB) TX bytes:547895 (535.0 KiB) => Interrupt:20 Memory:f260-f262 I EASILY CAN SET THE IP ADDRESS of eth0: $ sudo ifconfig eth0 192.168.1.100 $ ifconfig eth0 => eth0 Link encap:Ethernet HWaddr A0:BE:C1:D8:E5:F1 =>inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0 =>inet6 addr: fe80::f2de:f1ff:fe38:8591/64 Scope:Link =>UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 =>etc. At this point, I can now connect a wire from the RJ45 port of the laptop, to the device (which happens to be a radio set to 192.168.1.20): $ ping 192.168.1.20 => PING 192.168.1.20 (192.168.1.20) 56(84) bytes of data. => 64 bytes from 192.168.1.20: icmp_seq=1 ttl=64 time=1.38 ms => 64 bytes from 192.168.1.20: icmp_seq=2 ttl=64 time=0.339 ms => 64 bytes from 192.168.1.20: icmp_seq=3 ttl=64 time=0.255 ms ^C => --- 192.168.1.20 ping statistics --- => 3 packets transmitted, 3 received, 0% packet loss, time 2954ms => rtt min/avg/max/mdev = 0.255/0.660/1.388/0.516 ms I can even easily connect via port 80 (using Firefox on the laptop) to this device, e.g., $ firefox http://192.168.1.20 In fact, time and time (and time) again, everything works just fine, for about 2 to 5 minutes, until, invariably, I lose all connectivity! What seems to happen is that CentOS wipes out my IP address that I had set for eth0. So, I lose all connectivity. $ ifconfig eth0 => eth0Link encap:Ethernet HWaddr A0:BE:C1:D8:E5:F1 => inet6 addr: fe80::f2de:f1ff:fe38:8591/64 Scope:Link => UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 I can repeat the process, and everything works again, for about 2 to 5 minutes. Then I lose my eth0 IP address again. WHAT I WANT: When I set eth0 to an IP address, I want eth0 to *stay* at that IP address! My question: Q: Why does setting an eth0 IP address only last about 5 minutes on Centos? What am I doing wrong? What can I do to *keep* the IP address on eth0 that I set for eth0? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How do I debug why Centos is asking for fonts to be installed?
On Mon, 22 Jul 2013 22:00:06 -0600, Frank Cox wrote: > Using gconf-editor, unset /apps/gnome-packagekit/enable_font_helper I hadn't even known that existed! Thanks for the suggestion. Let's see if it works: http://i43.tinypic.com/2rxe6ix.png ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] How do I debug why Centos is asking for fonts to be installed?
Quite a few times a day, both the latest Pan & Firefox available in standard CentOS repositories elicit what (now) appears to be a CentOS request to install fonts, e.g.: http://i39.tinypic.com/2i7qm2p.png This latest message says: Pan newsreader wants to install fonts - Thai - Cherokee At first I had thought it was Pan and Firefox causing these messages, but I was just told it's actually CentOS which is making these requests. Hence, I ask: Q: How do I debug why these requests are being made? And, more importantly: Q: How do I prevent these messages from popping up? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to get Centos to recognize a Motorola RAZR V3 as a USB device?
On Wed, 17 Jul 2013 15:57:24 +, David G. Miller wrote: > As soon as I run the USB storage app the phone's SD cards > show up on the system the phone is attached to as UBS storage devices. > Have you looked for a USB storage app? >From the previous thread on accessing camera files on Android, apparently it's apples and oranges between the internal memory of the phone and an external card. They're apparently handled quite differently, so, nothing in the Android world applies to the RAZR V3re. Even in the Android world, on Centos/RHEL6 there is (apparently) extremely little in common with how you access camera data on the phone between the storage cards and the memory. In fact, since accessing the camera data in memory is so extremely difficult on Centos, one of the suggested workarounds, on Android, is to transfer that data from the internal memory to the storage card. Then it's *easy* to transfer! Back on topic, unfortunately, the Motorola RAZR V3re has neither a storage card nor Android - so nothing in the above applies. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Mon, 03 Jun 2013 16:55:47 -0400, Scott Robbins wrote: > I don't see anything to add--you linked to the forum thread, which covers > most of the information we have had here. Just for the record, for the past two weeks, for whatever (unknown) reason, I have been unable to mount the phone in PTP mode (i.e., camera mode) onto the Centos laptop. Sigh. This is pretty frustrating. I'm sure *something* changed (either on the phone or on the laptop); but, whatever it is, is unknown to me. Sigh ... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to get Centos to recognize a Motorola RAZR V3 as a USB device?
On Tue, 16 Jul 2013 23:36:59 -0600, Frank Cox wrote: > Can that phone connect to a wireless access point and run a ftp or sftp > session > or something similar to that? That might be a good idea ... if it can do that. Grepping the user manual for the word "wifi" or "wi-fi" or "802.11": https://www.motorola.com/moto_care/manuals/V3_VE_Series/V3_06_UG.pdf Unfortunately, none of those are mentioned. So, my conclusion is that there is no Wi-Fi capability whatsoever. :( ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to get Centos to recognize a Motorola RAZR V3 as a USB device?
On Tue, 16 Jul 2013 08:36:48 -0700, John Doe wrote: > I did not follow the whole thread but, the doc seems to talk about > a "mass storage" mode... > https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88616 > It does not work without special drivers? I'm still failing to access the pictures on the Motorola RAZR V3re. The problem with that reference: https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88616 is that its for Android phones. So, it was my mistake to list it, since absolutely nothing in that URL turned out to work, or, even be applicable. At the moment, sadly, there is no way to read camera files off a Motorola RAZR V3 on Centos. Folks tried on the Centos forum (i.e., centos.org) and failed. Here's a quote from that forum posted today: [quote] I tried moto4lin from http://sourceforge.net/projects/moto4lin/files/moto4lin/moto4lin-0.3/ However, that didn't build, saying the Centos 6 qt stuff was too old. If it were me, I think I'd just make a VM of something more modern, and use that. You could install Lubuntu in about 15 minutes, and it would probably work out of the box.[/quote] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to get Centos to recognize a Motorola RAZR V3 as a USB device?
On Tue, 16 Jul 2013 12:25:00 +, Rock wrote: > I wonder if my Centos bluetooth is working (I know the Motorola V3re RAZR > bluetooth works to the speakerphone in the car). BTW, to at least focus on the right direction, which *direction* should I focus on getting working? Do I set: A) Centos to be discoverable (by the phone?) or B) The phone to be discoverable (by Centos)? And then, do I: a) Push from the phone to Centos (using the phone file transfer GUI)? or b) Pull on Centos from the phone (using the Centos file transfer GUI)? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to get Centos to recognize a Motorola RAZR V3 as a USB device?
On Tue, 16 Jul 2013 12:21:57 +, Woehrle Hartmut SBB CFF FFS (Extern) wrote: > it realizes the telephone part (modem and ISDN), > but nothing about a storage device that you will need. > When googling I found a user saying that "moto4lin" can be used to download > photos > (http://linuxgazette.net/134/misc/lg/talkback_133_tag_html.html) Thanks. At this point, it looks like my main options are: a) Bluetooth b) Moto4lin c) kmobiletools I'm going to try to figure out how to get Centos bluetooth working. All I know at the moment is I've set it up using: System -> Preferences -> Bluetooth http://i39.tinypic.com/iz6hkw.png And, I put the Motorola RAZR V3re in discoverable for 60 seconds mode and then, on Centos, I've pressed the "setup" button and it came up with a PIN which I typed on the Motorola cellphone: http://i40.tinypic.com/2niya04.png But, that only happened the first time (and I can't repeat that process, even after rebooting the Centos laptop). I *think* I pressed all the right buttons; but I don't know what to do next. Googling for "how to transfer files via bluetooth on Centos", I find this file matters: $ cat /proc/acpi/ibm/bluetooth REPORTS: status:enabled commands: enable, disable So, bluetooth seems to be enabled. I think I'm just doing something wrong. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to get Centos to recognize a Motorola RAZR V3 as a USB device?
On Tue, 16 Jul 2013 08:05:52 -0400, Phil Gardner wrote: > many of the recent android phones are using MTP as opposed to > USB mass storage MTPfs is problematic on Centos, so I don't think that will work. Even so, this RAZR V3re was built sometime around 2004 or 2005, so, I doubt it's using anything new'ish... http://en.wikipedia.org/wiki/Motorola_Razr#V3re Never having used bluetooth to *transfer* files (I use bluetooth all the time to speak on a speakerphone or earpiece), I found the Motorola RAZR V3re manual here: https://www.motorola.com/moto_care/manuals/V3_VE_Series/V3_06_UG.pdf I then futzed around with the Centos bluetooth, which "seems" to be working fine but which is not exactly working. I say that because I was able to attempt a connection from Centos to the RAZR V3re flip phone, where Centos generated a 6-digit password which the phone subsequently verified, but then, nothing happened. I'm not sure *how* to transfer via bluetooth! http://i44.tinypic.com/swu23q.jpg I suppose the bluetooth transfer should work, but I'm surprised that the Centos Bluetooth setup didn't clue me in as to what to do next. I wonder if my Centos bluetooth is working (I know the Motorola V3re RAZR bluetooth works to the speakerphone in the car). ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to get Centos to recognize a Motorola RAZR V3 as a USB device?
On Tue, 16 Jul 2013 06:58:32 +, Woehrle Hartmut SBB CFF FFS (Extern) wrote: > What does dmesg say when you plug that device in? > Is there an output when using lsusb and does it correspond to your devices? $ lsusb REPORTED: Bus 003 Device 002: ID 22b8:4902 Motorola PCS Triplet GSM Phone (AT) $ dmesg REPORTED: usb 3-1: new full speed USB device number 2 using xhci_hcd usb 3-1: New USB device found, idVendor=22b8, idProduct=4902 usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 usb 3-1: Product: Motorola Phone (V3re) usb 3-1: Manufacturer: Motorola Inc. usb 3-1: configuration #1 chosen from 1 choice usb 3-1: ep 0x89 - rounding interval to 64 microframes, ep desc says 80 microframes cdc_acm 3-1:1.0: ttyACM0: USB ACM device usbcore: registered new interface driver cdc_acm cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters I'm not sure what this tells me though, other than it's a V3re (I thought it was just a V3) and that Centos does recognize it for what it is. Yet, how do I access the pictures on it? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] How to get Centos to recognize a Motorola RAZR V3 as a USB device?
I have a mini-USB cable, but simply connecting a Motorola RAZR to a Linux (Centos 6) PC to download stored pictures doesn't work, at least not automatically. Any idea what I need to do to get Centos to recognize that a Motorola RAZR V3 is plugged in as a USB device? (I don't have a data plan on this phone - I'm just trying to get archived pictures off of it onto the computer.) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] This isn't supposed to be difficult (how to nntp post to the Gmane Pan user group)
On Thu, 04 Jul 2013 22:50:33 +0200, Markus Falb wrote: > if you post the first time to a mailing list per gmane > then gmane will send you a mail that you must answer. UPDATE: Ah. *That* was the problem! Lars had written back, but his answer was unhelpful. He had written, verbatim: "If you can read via Gmane, you can post via Gmane." This turns out to be false (since I could clearly read but not post to the Gmane pan users group). But, given your helpful suggestion above, I belatedly logged into my rarely-used throwaway email account, and, lo and behold, in that unused email account, were the missing (now expired) authorization requests from Gmane: > Subject: gmane.comp.gnome.apps.pan.user: Authorization required > From: Gmane Autoauthorizer > > You have sent a message to be posted on the > gmane.comp.gnome.apps.pan.user newsgroup. > > Before the message is posted on the newsgroup, you have > to confirm that you exist. Just reply to this message, and > the message will be posted. > > You have to respond within one week. I'm surprised reading the FAQ didn't bring this up, but, Lars said it's not something they put in the FAQ because you're just supposed to know it. I guess I did, at one time, but, I had forgotten the sequence for posting (which requires the throwaway email be actually used at least once per Gmane group). Mea culpa. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] This isn't supposed to be difficult (how to nntp post to the Gmane Pan user group)
On Thu, 04 Jul 2013 11:16:55 +0200, Leon Fauster wrote: > why not asking them http://gmane.org/faq.php ? It's not in that FAQ, nor in the web page for the pan users group. I did ask "Lars" but he controls gmane, not the pan users group. Amazingly, the pan users group just (apparently) assumes you omnipotently already know what to set the NNTP client server:port, login:password, and user:email to in order to post successfully. For example, this is what you need to post to *this* group: Group name = gmane.linux.centos.general Server = news.gmane.org Port = 119 Login = blank Password = blank Username = Foo Email = f...@bar.com <== this is all that needs to be pre-registered in order to post to gmane.linux.centos.general. (I forget how I had pre-registered, but, IIRC, I had sent an email to someone at somewhere and they wrote back with the instructions above - which allows me to post as long as I put that email address in the posting profile). ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] This isn't supposed to be difficult (how to nntp post to the Gmane Pan user group)
I realize this is (mostly) off topic, but I'm befuddled as to *how* one can post to the Gmane Pan Users' group (gmane.comp.gnome.apps.pan.user) using any nntp USENET client (e.g., Pan, on Centos). I'm already subscribed (by having sent an email to pan-us...@nongnu.org); but I just want that USENET group to work like *this* USENET group, where I can post using a server:port login:password combination such as we use here: Server: news.gmane.org Port: 119 Login: blank Password: blank User: Rock I've looked here (http://dir.gmane.org/gmane.comp.gnome.apps.pan.user) and if the answer is there, I don't see it (maybe I missed it?). My basic question is so simply I'm shocked I'm having to ask it (of the wrong group even) ... which is ... the following: Q: How on earth is one supposed to post to the Gmane Pan users using an nntp client (which requires a server name and port & login/password)? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What method would you suggest for installing the Pinta screenshot editor on CentOS 6.4?
On Sat, 22 Jun 2013 18:16:44 +0200, Ljubomir Ljubojevic wrote: > Have you set proper java alternative (default java to use)? Maybe it > requires specific java version. Unfortunately, I've set up nothing overt with respect to Java, so this is all I know about the java that is installed currently: $ java -version ==> java version "1.6.0_24" ==> OpenJDK Runtime Environment (IcedTea6 1.11.11) (rhel-1.61.1.11.11.el6_4-x86_64) ==> OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What method would you suggest for installing the Pinta screenshot editor on CentOS 6.4?
On Thu, 20 Jun 2013 06:34:38 +, Rock wrote: > Given that information, what avenue would you pick to install Pinta on a > 64-bit CentOS 6.4 laptop to test it out? Now that I know the arrowing isn't implemented yet; and that it's problematic to install on CentOS, I'll give up. I do appreciate the help, as I had stumbled against a wall in trying to install this. It's nice to know help exists. Thanks. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What method would you suggest for installing the Pinta screenshot editor on CentOS 6.4?
On Fri, 21 Jun 2013 01:14:16 +, Rock wrote: > Can you please be so nice and report this ideas on Pinta's idea web page: For the record, I did post this screenshot summary to the Pinta Developers Group: --- < warning > long ... slightly off topic < / warning > ... ... --- Hi IgorZ, Thanks for responding to our request. I'll update the Centos.org forum with your additional information. As Paint.NET is probably the best freeware screenshot editor on Windows, it would be useful for these features to be in an RPM installation form. I will gladly comply with your request for more information as screenshot editing is a common set of tasks, which pan does some of the best in the world! I'm on CentOS at the moment, so I will provide the Paint.NET screenshot examples separately. In addition to arrows, which Paint.NET does better than any freeware program on the planet, or texting (which Paint.NET does nicely without the need for setting a pre-defined bounding box), one needs the following 10 activities to be as efficient as possible: Screenshot editing: 1. The users snaps a screenshot (various methods exist so I'll simply show what I currently use on CentOS): http://www4.picturepush.com/photo/a/13372357/640/13372357.png Note: I use the gnome-screenshot tool on CentOS; on Windows, I use the Print-Screen button and then I paste into and crop in IrfanView because nothing is better than IrfanView for cropping as described further below). 2. Depending on the screenshot capture utility, a separate step may exist to select the three types of screenshots, and to capture to a file: http://www1.picturepush.com/photo/a/13372374/img/13372374.png Note: It's VERY helpful if "mistakes" can be rectified in a single click. For example, say the default is yellow for text but that it doesn't look good once I start typing; it's helpful if the color change is as simply as clicking on another color without having to switch out of texting mode. In the case of Kolourpaint, which is what I'm using on Linux for these screenshots, it's trivially easy. Paint.NET is "not" so easy mainly because I close the rather large and obnoxious rainbow window most of the time; so I have to bring it back up. 3. Open that screenshot in your favorite editor program (the fastest program on Windows for this is IrfanView but I'll be using Kolourpaint on Linux for this): Note: I control-V paste into IrfanView because Paint.NET cropping isn't as intuitively easy or as few steps as IrfanView's click-sweep-click cropping. http://www5.picturepush.com/photo/a/13372403/img/13372403.png Note: Saving to a file should be intuitive! That means it should select a file name like Gnome-Screenshot does, and then it should append a number to the file name if that file name already exists. This saves the user mouseclicks. It's helpful if the file naming is intelligent (as Gnome-screenshot is, which will name the file based on the type of screenshot and the window opened); but the most important feature is to make file naming easy and intuitive in the fewest clicks possible - and of course, it should default to the same directory after one has been chosen! 4. Cropping should be as simple as click->sweep->click (it's helpful if cropping is settable as the default starting mode) Note: Most programs, including Paint.NET enforce an additional (unnecessary) 4th cropping step (see IrfanView cropping for the canonical method). http://www2.picturepush.com/photo/a/13372415/img/13372415.png 5. Moving things around should be as simple as click->sweep->click->grab and let go. Note: Most programs, including Paint.NET enforce an additional (unnecessary) move step (see Kolourpaint moving for the canonical method). http://www1.picturepush.com/photo/a/13372779/img/13372779.png Note: It's nice if the move also has the option of transparency, which KolourPaint has so that you can "see partially through" a moved object when placed. 6. Cutting things out, and repairing the damage also must be easy to perform, as KolourPaint is: Cutting out should be click-click-cut and repairing "can" be via the eye dropper + paint can (which should switch instantly since that's what you're always doing). The easiest way to fill in damage is to select an adjacent area and simply stretch it (as Kolourpaint does nicely): http://www2.picturepush.com/photo/a/13372800/img/13372800.png 7. Of course, texting should be intuitive, and Paint.NET has that one solid. You simply type. No need to draw a bounding box. If you make a mistake, you merely correct it directly. There is no additional text-editing window like The GIMP or Shutter has. 8. A nice feature is being able to stretch the canvas which KolourPaint does intuitively (for the right side & bottom anyway). You just grab the stretch dot and drag it to
Re: [CentOS] What method would you suggest for installing the Pinta screenshot editor on CentOS 6.4?
On Thu, 20 Jun 2013 15:11:32 +, Rock wrote: > Someone much smarter than I am already failed today due to dependencies: Here's a response from the Pinta Developer's Group today: https://groups.google.com/forum/?fromgroups#!topic/pinta/JiJoNTNCGFA [quote] IgorZ Currently there is no RPM package available from Pinta maintainers, but this has been discussed as it would be nice feature. For a starting point, you can try to convert the deb to rpm as described at: http://www.thegeekstuff.com/2010/11/alien-command-examples/ Also, Pinta can also be installed using the tarball. 1. Download the tarball: $ wget http://www.pinta-project.com/download.ashx 2. Then use the classical: $ ./configure $ make $ sudo make install 3. Run pinta with the command: $ pinta Regarding: > 1. Arrows (curved, dashed, dotted, straight, pointy, solder dots, etc.) This is planned for Google Summer of Code 2013 by Andrew: https://groups.google.com/forum/?hl=en&fromgroups=#!topic/pinta/sjEXOTwSs-A The plan is to get this done to mid September and probably a month or two later before the new Pinta releases. > 2. Open boxes and circles to highlight areas of the screenshot Can you please describe in more detail what do you mean? > 3. Intuitive ad-hoc text that doesn't need a pre-defined bounding box Also don't understand what is your idea? Can you create print-screen or something to demonstrate idea. > Hopefully Pinta will do those three things too! Can you please be so nice and report this ideas on Pinta's idea web page: https://pinta.uservoice.com/forums/105955-general I you get more votes then it is more likely the idea will get implemented. But please when reporting idea write more details, maybe add some print-screen or step-by-step instructions from the other tool. By the way we are currently approaching 1.5 release (only one single bug to solve). This release will make it way more easy to write plug-ins. So if someone is interested to implement some additional features, then a plug-in can be written. [/quote] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What method would you suggest for installing the Pinta screenshot editor on CentOS 6.4?
On Thu, 20 Jun 2013 11:43:08 -0500, Les Mikesell wrote: > Have you looked for or tried anything in java like > http://www.heliospaint.com/. The description looks enticing. I couldn't find anything in the aforementioned repos; so I downloaded the java applet. But nothing happened when I ran: $ java -jar HeliosPaint.jar No error whatsoever. Reminds me of the last java applet I tried to run, which had the same problem. So, it's probably something on my system that is amiss. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What method would you suggest for installing the Pinta screenshot editor on CentOS 6.4?
On Thu, 20 Jun 2013 16:37:42 +0100, Nux! wrote: > Well, Shutter is more than enough for my needs, but if you _must_ use > Pinta, have you tried running it in Wine? I abhor Wine, and feel that, over time, I should strive to find the best native Linux programs to do the job. At the moment, nothing on Linux (or Windows) compares to Paint.NET; so that's the only reason I'm interested in Pinta (which is apparently based on Paint.NET). ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What method would you suggest for installing the Pinta screenshot editor on CentOS 6.4?
On Thu, 20 Jun 2013 09:32:41 +0100, Nux! wrote: > install Shutter; does what you said and more. I have had Shutter all along on my CentOS 6.4 laptop. Here's how Shutter compares to Paint.NET on those 3 key annotation items: (IMHO) 1. Curved & dashed arrows: Shutter arrows are primitive and don't come close to what Paint.NET does with arrows. Even Kolourpaint does a better job with curved arrows than does Shutter; but neither can do dashes, dotted lines, or solder dots, or various arrowheads like Paint.NET does. Kolourpaint can curve an arrow; but once you've seen how Paint.NET does curves, you'll never be happy with anything else. <=== this is the key usability feature of Paint.NET, IMHO! 2. Open boxes & ellipses: Shutter does a fine job of drawing open boxes and ellipses; just as nicely as does Paint.NET or Kolourpaint. 3. Ad-hoc texting: Shutter does not need a bounding box for ad-hoc texting; and you can move the results around the screen, and rearrange the margins; however, Shutter brings up an annoying unnecessary duplicate editing window, where you have to make all your changes in *that* extra editing window (and not in the spot you're actually texting). So, you have to look with one eye where you're typing and with the other eye you have to see what's going on in the screenshot (and, some of us, use our third eye to see what we're typing on the keyboard!). :) In summary, Shutter is a nice tool, and I use it myself, as I do KolourPaint (and a few others, including The GIMP); however, once you've seen how well Paint.NET does arrows - you'll be amazed at the power & usability of that one key feature for annotating screenshots. I do not know if Pinta handles arrows like Paint.NET did; but if it does, that alone would make Pinta a keeper on any CentOS system that does annotation! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What method would you suggest for installing the Pinta screenshot editor on CentOS 6.4?
On Thu, 20 Jun 2013 10:05:29 +0200, Ljubomir Ljubojevic wrote: > You can try installing package for Fedora 14 > You can also take .src.rpm from Fedora 14 and try to recompile Someone much smarter than I am already failed today due to dependencies: "Pinta looks interesting. I had been using Jshot, but it uses bounding boxes, sorry. I unsuccessfully tried to compile (rpmbuild --rebuild) the pinta-1.4-1.fc18.src.rpm with dependency issues. The biggest issue was mono > 2.8 *and* a couple of others. I could not find a repo that had the correct combination to: $ yum install mono-devel gtk-sharp2-devel mono-addins-devel and get what was needed. The closest was using a repo from: http://download.opensuse.org/repositories/Mono:/EL6/RHEL6/ but they seem to be missing the "gtk-sharp2-devel" requirement (but they have gtk-sharp2). With any luck, one of the real developers will step up with info." https://www.centos.org/modules/newbb/viewtopic.php?topic_id=43470&start=0#forumpost185715 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] What method would you suggest for installing the Pinta screenshot editor on CentOS 6.4?
A screenshot editor needs to do a few things - but it must do these three things easily and well: 1. Draw curved and straight arrows, dotted or solid line, with various end dots and points 2. Draw open circles of various shapes to highlight areas of interest 3. Text easily without having to pre-define a bounding box for the ad-hoc text By far, the most powerful easy-to-use freeware screenshot editor is Paint.NET, which isn't on Linux. On Linux, a distant second place goes to Kolourpaint; and a far distant third place to The GIMP (based on ease of performing those three items above). I was told today that Pinta is a Linux replacement for Paint.NET features - so I am going to install it to test it out: http://www.pinta-project.com Looking for an RPM ... $ uname -a ==> Linux snafu 2.6.32-358.6.2.el6.x86_64 #1 SMP Thu May 16 20:59:36 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux $ yum --noplugins --showduplicates --enablerepo \* --disablerepo c6-media, \*-source,\*debug\* provides "*/pinta" ==> nothing found http://pkgs.repoforge.org ==> pinta not found http://pkgs.org ==> finds pinta in Fedora packages 17, 18, 19, and Rawhide http://pbone.net ==> finds pinta in Fedora packages 14,15,16,17,18, and 19 Pinta source is also available here: http://pinta-project.com/pinta/download.ashx Given that information, what avenue would you pick to install Pinta on a 64-bit CentOS 6.4 laptop to test it out? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Mon, 03 Jun 2013 16:55:47 -0400, Scott Robbins wrote: > I don't see anything to add--you linked to the forum thread, which covers > most of the information we have had here. Thanks. Now I'll go back to my file recovery problems! :) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Need a Centos 6 USB hard drive recovery procedure
On Mon, 03 Jun 2013 16:41:29 +0200, Louis Lagendijk wrote: > testdik can work on a disk image, so I recommend using that. Don't risk > chaging the original disk (although testdisk is not supposed to touch it > IIRC) > /Louis Thanks Louis for sticking with me. I do greatly appreciate your help! I'm so out of my league; but I'll try to faithfully report the comings and goings - so that others - who follow in our footsteps - may benefit. At the moment, I have the dd image that I'll use testdisk on; and I have the original disk that I'm using Recuva on (in Windows XP Home, so it's really OT for this forum). Unfortunately, Recuva is giving an error, that one (or more) of the 400K files has too long of a file spec (sheesh. They could at least tell me *which* filespec it is); so I have to back up the files by keyword searches (without the help of regular expressions); so, overall, I'd say Recuva is a bad way to do things: Details here if you're interested: http://forum.piriform.com/index.php?showtopic=38776 Need to know how to recover table of contents for an external NTFS 150GB disk ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Mon, 03 Jun 2013 07:02:33 -0400, Scott Robbins wrote: > perhaps a feature request OK. Please take a look at the bug and feel free to correct anywhere that I err or misrepresent the problem. If nobody corrects anything, I'll know you didn't look :) (because I really can't have accurately portrayed the problem!). I invite corrections, so that we all benefit: https://bugzilla.redhat.com/show_bug.cgi?id=970242 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Sun, 02 Jun 2013 11:08:28 -0400, Scott Robbins wrote: > I thought we're having the problem with RHEL6. (and offshoots). What's a good one-line description of the problem? Is it this? RHEL6 mtpfs does not properly mount Samsung Galaxy SIII in MTP media mode If not, would someone kindly correct that one liner? In addition, is this bug the same thing? Bug 820583 - Review Request: mtpfs - FUSE file system allowing MTP device to be mounted and browsed https://bugzilla.redhat.com/show_bug.cgi?id=820583 Or maybe this bug? Bug 841260 - mtpfs sees only directories, not files, on Verizon Wireless Samsung Galaxy S III with lots of data https://bugzilla.redhat.com/show_bug.cgi?id=841260 Notice comment #7 that mtpfs has been abandoned. Also notice three MTP-file system alternatives listed in that bug report: go-mtpfs: https://github.com/hanwen/go-mtpfs/#readme jmptfs: research.jacquette.com/jmtpfs-exchanging-files-between-android-devices-and-linux/ simple-mtpfs: https://github.com/phatina/simple-mtpfs ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Sun, 02 Jun 2013 11:08:28 -0400, Scott Robbins wrote: > I thought we're having the problem with RHEL6 My mistake. I don't really understand any of this, so, I'm really *not* the right guy to file the bug report, as I'm out of my league. I can "append" to it though. :) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Sun, 02 Jun 2013 16:01:05 +0200, Markus Falb wrote: > You don't have to purchase a redhat subscription to file into their bugzilla. OK. I opened an account, and can file the bug report: https://bugzilla.redhat.com/enter_bug.cgi What should I say? I'm confused how to write that bug report so that a developer will be interested in it, and so that we make that developer do the *least* amount of work possible to reproduce the problem, and, to therefore have a convenient testcase for solving the problem for that developer, since they are, after all, only human. We need to make this as simple, explicit, and rewarding for them to work on as possible. How is this for starters? (please modify brutally as needed!) a) Project = Fedora Products (but should it be Redhat Products?) b) Product = Fedora 18? (or should it be Fedora EPEL?) c) Component = mtpfs (or should it be libmtp?) d) Version = 18 (or should it be rawhide?) e) Summary: The Fedora mtpfs does not allow Android 4.x media file transfer (What's a good one-sentence summary of the problem?) f) Description: Description of problem: Connecting an unlocked Android 4.x phone to Fedora 18 does not result in the ability to transfer media from the phone to the Fedora 18 PC. Version-Release number of selected component (if applicable): libmtp-1.1.6-0.el6.x86_64.rpm (or should we list the mtpfs version)? How reproducible: When you connect an Android 4.x smartphone to Fedora 18 Steps to Reproduce: 1. Set the Android 4.x smartphone to MTP mode (if not already) 2. Unlock the Android 4.x smartphone 3. Connect the Android 4.x smartphone to Fedora 18 by USB cable 4. The file system will _not_ show up in the Desktop browser Actual results: Unable to mount SAMSUNG_Android_SGH-T999 Error initializing camera: -1: Unspecified error http://www5.picturepush.com/photo/a/13169313/640/13169313.png $ dmesg ==> gvfs-gphoto2-vo[3575]: segfault at 3 ip 7f886e7ac290 sp 7fffacd22980 ==> error 4 in ptp2.so[7f886e78c000+4f000] The file system shows up but all the directories show up as empty: http://www5.picturepush.com/photo/a/13169408/640/13169408.png Expected results: The file system should show up properly, with non-zero-sized files: http://www5.picturepush.com/photo/a/13199358/640/13199358.png Additional info: https://www.centos.org/modules/newbb/viewtopic.php?topic_id=39977&forum=57&post_id=184608#forumpost184608 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Sat, 01 Jun 2013 20:49:52 -0400, Scott Robbins wrote: > Still, as of today, I'm way ahead of where I was before reading your post. > > Rock, I can almost certainly make an x86_64 rpm for you, but it would > probably require that later libmtp which might cause its own issues. Hi Scott (and thank you Ljubomir), I too am way ahead now, compared to the day the thread was posted. Actually, for 'me', the workaround works great (using PTP). And, for you, it's also working (using your compiled mtpfs). As you correctly surmised, I would want VLC to work; so at this time, I have no desire for the latest libmtp. So there's nothing more for you to do for me at this point in time. Any efforts moving forward should be for the general community, and not specifically for us, at this point in time. Thanks everyone for your help - and I hope someone with a Redhat subscription takes Ljubomir's advice of filing a bug report against MTP so that the proper solution is in place for the future. You guys are all so wonderful! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Sat, 01 Jun 2013 15:22:03 -0400, Scott Robbins wrote: > http://marcofalchi.blogspot.com/2012/02/android-ics-usb-storage-on-fedora-16.html, > downloaded the tarball from the link on the page, ran .configure && make && > sudo make install. > As for libmtp, rpm -qi shows that I'm using the standard CentOS one. The good news is that it appears there are two decent solutions: 1. PTP (camera) mode, enabled on the smartphone to work with Centos 2. MTP (media) mode, enabled by adding mtpfs to Centos to work with the phone Neither of which appears to need the newer libmtp. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Need a Centos 6 USB hard drive recovery procedure
On Sat, 01 Jun 2013 16:40:46 +, Rock wrote: > Now comes the biggie, backing up the entire 150MB disk: > Q: Maybe I should have used the "conv=noerror" option > as suggested in the dd wikipedia entry? > $ sudo dd if=/dev/sdc1 of=/mnt/image.dd bs=1M The dd finished backing up after about 3 hours. $ sudo dd if=/dev/sdc1 of=/mnt/image.dd bs=1M ==> 152625+1 records in ==> 152625+1 records out ==> 160039240704 bytes (160 GB) copied, 9750.86 s, 16.4 MB/s Although I can't see to change the permissions of the result: $ ls -l ==> -rwxrwxrwx. 1 root root 160039240704 Jun 1 12:13 image.dd $ sudo chmod uog=r /mnt/image.dd $ ls -l ==> -rwxrwxrwx. 1 root root 160039240704 Jun 1 12:13 image.dd $ sudo chmod 555 ./image.dd $ ls -l ==> -rwxrwxrwx. 1 root root 160039240704 Jun 1 12:13 image.dd At this point, some people said to try to recover using the backup; while others said I should work off the original disk. I think I'll try the testdisk recover procedure first. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Need a Centos 6 USB hard drive recovery procedure
On Sat, 01 Jun 2013 16:00:06 +, Rock wrote: > OK. This is where we don't want to make a mistake! > Q: Does the block size matter? I kicked it off, as follows, and will wait to report: $ cd /mnt $ script recovery.log ==> Script started, file is recovery.log Backing up the MBR (as per the Wikipedia on "dd"): $ sudo dd if=/dev/sdc1 of=MBR.img bs=512 count=1 ==> 1+0 records in ==> 1+0 records out ==> 512 bytes (512 B) copied, 0.00111047 s, 461 kB/s Backing up the MBR+stuff (as per the Wikipedia on "dd"): $ sudo dd if=/dev/sdc1 of=MBR_boot.img bs=446 count=1 ==> 1+0 records in ==> 1+0 records out ==> 446 bytes (446 B) copied, 0.00122302 s, 365 kB/s Now comes the biggie, backing up the entire 150MB disk: Q: Maybe I should have used the "conv=noerror" option as suggested in the dd wikipedia entry? $ sudo dd if=/dev/sdc1 of=/mnt/image.dd bs=1M I'll report back the results; but hints are good because I will write up a tutorial, based on my experience, and post it for others to follow specifically for Centos. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Need a Centos 6 USB hard drive recovery procedure
On Sat, 01 Jun 2013 12:25:01 +0200, Louis Lagendijk wrote: >> Should I now format the 2TB disk using this command? >> $ sudo mkfs /dev/sdb1 > You could try without reformatting it: just check where it is mounted: > mount |grep sdb1 Hi Louis, I'm ready for the big dd! OK. Starting over after a reboot, given these two disks: A. The 500MB USB disk is the "good" disk B. The 150MB USB disk is the "bad" disk I run these commands (documented to help others on Centos): a. Open a wide window & type "sudo tail -f /var/log/messages" b. Plug in the good disk & note where it mounted: ==> Jun 1 08:26:39 rock kernel: usb 1-1.2: ==> new high speed USB device number 5 using ehci_hcd ==> Mounted /dev/sdb1 (Read-Write, label "SignatureMini", NTFS 3.1) ==> Cmdline options: rw,nosuid,nodev,uhelper=udisks,uid=503,gid=503,dmask=0077 ==> Mount options: rw,nosuid,nodev,uhelper=udisks,allow_other,nonempty,atime,fsname=/dev/sdb1,blkdev,blksize=4096,default_permissions c. $ mount | grep sdb1 ==> /dev/sdb1 on /media/SignatureMini type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions) $ sudo mount /dev/sdb1 /mnt ==> Mount is denied because the NTFS volume is already exclusively opened. ==> The volume may be already mounted, or another software may use it which ==> could be identified for example by the help of the 'fuser' command. $ sudo umount /dev/sdb1 $ mount | grep sdb1 ==> reports nothing $ sudo mount /dev/sdb1 /mnt ==> reports nothing (but no errors either) $ mount | grep sdb1 ==> /dev/sdb1 on /mnt type fuseblk (rw,allow_other,blksize=4096) Here is where I had to reboot a moment ago ... but we can pick up from here now that I've repeated the commands without errors. >> 3) I assume here that your bad disk is already connected (as sdz check >> first what the real name is) OK. Now I connect the bad disk & check /var/log/messages: ==> Jun 1 08:34:26 rock kernel: usb 3-2: new high speed USB device number 2 using xhci_hcd ==> Mounted /dev/sdc1 (Read-Write, label "SignatureMini", NTFS 3.1) ==> Cmdline options: rw,nosuid,nodev,uhelper=udisks,uid=503,gid=503,dmask=0077 ==> Mount options: rw,nosuid,nodev,uhelper=udisks,allow_other,nonempty,atime,fsname=/dev/sdc1,blkdev,blksize=4096,default_permissions Doublechecking how the bad disk is mounted: $ mount | grep sdc1 ==> /dev/sdc1 on /media/SignatureMini type fuseblk ==> (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions) > mount |grep sdc1 > and umount it to be sure OK. I will umount the bad disk: $ sudo umount /dev/sdc1 And, I check that the bad disk is unmounted: $ mount | grep sdc1 ==> reports nothing >> dd if=/dev/sdz of=/mnt/image.dd bs=1M >> This will copy the contents of your bad disk to image.dd > this now becomes: > dd if=/dev/sdc1 of=http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Need a Centos 6 USB hard drive recovery procedure
On Sat, 01 Jun 2013 12:25:01 +0200, Louis Lagendijk wrote: >> Should I now format the 2TB disk using this command? >> $ sudo mkfs /dev/sdb1 > You could try without reformatting it: just check where it is mounted: > mount |grep sdb1 Thanks for your patience. I backed up the spare 500MB USB disk, so, I'm about to run the procedure on the "bad" 150MB disk as we type. Plugging in the spare 500MB disk, I run the suggested command: a. Open a wide window & type "sudo tail -f /var/log/messages" b. Plug in the spare 500MB USB disk & look for where it mounted: ==> Jun 1 07:42:41 rock ntfs-3g[5834]: ==> Mounted /dev/sdb1 (Read-Write, label "SignatureMini", NTFS 3.1) ==> Cmdline options: rw,nosuid,nodev,uhelper=udisks,uid=503,gid=503,dmask=0077 ==> Mount options: rw,nosuid,nodev,uhelper=udisks,allow_other,nonempty,atime, fsname=/dev/sdb1,blkdev,blksize=4096,default_permissions ==> Global ownership and permissions enforced, configuration type 1 c. $ mount | grep sdb1 ==> /dev/sdb1 on /media/SignatureMini type fuseblk (rw,nosuid,nodev, allow_other,blksize=4096,default_permissions) >> And then mount it as: >> $ sudo mount /dev/sdb1 /mnt It won't mount because it's already mounted: $ sudo mount /dev/sdb1 /mnt ==> Mount is denied because the NTFS volume is already exclusively opened. ==> The volume may be already mounted, or another software may use it which ==> could be identified for example by the help of the 'fuser' command. Maybe I should umount it first? $ sudo umount /dev/sdb1 $ mount | grep sdb1 ==> now reports nothing OK. Now I'll mount it as you kindly suggested: $ sudo mount /dev/sdb1 /mnt $ mount | grep sdb1 ==> /dev/sdb1 on /mnt type fuseblk (rw,allow_other,blksize=4096) Note: The funny thing was that the second time I tried that, it asked for the file system type: $ sudo mount /dev/sdb1 /mnt ==> mount: you must specify the filesystem type So, I specified the filesystem type: $ sudo mount -t fuseblk /dev/sdb1 /mnt ==> mount: special device /dev/sdb1 does not exist Hmmm... I'll reboot and try again because I tried a few options for specifying the filesystem type and all failed. Sending this out ... so it's not lost ... and then rebooting and trying again. Thanks for your help. I'll try to be responsive and detailed so that we can come up with a procedure that not only works for me, but that works for others on Centos. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Sat, 01 Jun 2013 23:30:04 +1000, Anthony K wrote: > 1. sudo lsmod > file-without-s3 Creates a file with headers "Module, size, & used by". > 2. ensure S3 is locked then connect to PC OK. Done. > 3. sudo lsmod > file-with-locked-s3 OK. Done. > 4. sdiff-s file-with-s3 file-with-locked-s3| egrep '>' Syntax error, corrected, in addition to file names: $ sdiff -s file-without-s3 file-with-locked-s3 | egrep '>' Reports nothing different. Hmmm... $ sdiff -s file-without-s3 file-with-locked-s3 Also reports nothing different. Same with: $ diff file-without-s3 file-with-locked-s3 > 5. take note of what new modules are loaded by looking to the right of > the '>' sign None. > 6. disconnect the S3 OK. Done. > 7. for each new module noted in step 5 above, do > sudo modprobe -r module_name No new modules popped up. > 8. unlock the S3 and mount it again Didn't get to this point. > The phone should mount successfully! If not, then I'd really like to > know what else the locked S3 does to the PC that requires a reboot to fix! Me too! :) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Fri, 31 May 2013 20:50:00 +, Rock wrote: > So, I guess the question is: > Q: How do I install rhythmbox & vlc with the newer libmtp? To follow up on that question, here's a summary that I *think* is correct. 0. The real solution is to have libmtp updated by the Redhat developer community so that MTP mode works; until then, the PTP mode setup is an effective workaround - if you know the tricks. 1. You apparently need to connect the phone once in order to even *see* the GUI for switching from MTP mode to PTP mode; so after you do that, make sure you reboot the Centos PC with the phone disconnected from it. 2. You apparently do *not* need the updated libmtp RPM to use PTP mode; so your rhythmbox and vlc programs should be unaffected by this MTP->PTP workaround 3. You apparently *must* unlock your phone before connecting it to the Centos PC; and if you connect without unlocking, you may have to start all over with a Centos PC reboot (why this is the case is beyond me but don't fight it; just reboot and remember to unlock the phone before connecting it to the PC). 4. Once the phone is permanently in PTP mode, and the Centos PC has been rebooted without the phone being connected, you can *unlock* the phone, and then connect it to the Centos PC; and the result should be your file system on the phone being accessible on the Centos PC. In my test just now, there was no error message whatsoever! The workaround sounds so easy, in retrospect! :) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Mon, 27 May 2013 16:31:01 -0400, Scott Robbins wrote: > As I mentioned, I've only used the file browser method (and > things were accessible) in a more recent distribution. > Otherwise, I've used the manual commands. > Sorry I can't be of more help here. Hi Scott, You've been a GREAT help, as have the others! I'm back to working with the original libmtp, with VLC working just fine (but I'm not sure how to test rhythmbox as I've never used it). I'm confused how to explain the idealized setup since it took a few reboots and gyrations to get it to work again for me once I reinstalled the original Centos libmtp, and especially because we (apparently) have to plug the phone in to see the MTP/PTP setup screen, and once we do that, we again have to reboot, so, this sequence below is idealized as I went through a bunch of reboots in the process, and I forgot to unlock the phone a couple of times also. With that caution as the caveat, I "think" the simplest procedure for connecting by wire on Centos 6 is the following: 0. DO THIS ONCE! Connect the Samsung Galaxy S3 Android 4.0.4 phone by USB cable to your Centos 6 PC in order to put the phone permanently into PTP mode (as explained earlier) and then (I think) you MUST disconnect the phone and reboot the Centos PC! 1. With Centos booted, no phone connected, and the phone already in PTP mode, make sure the phone is unlocked! <== very important step! 2. With the phone unlocked, connect it by USB cable to the Centos PC. 3. The phone will beep, and your "Places" menu should have "SAMSUNG_Android_SGH-T999" and your file browser should open up to location "gphoto2://[usb:003,003]/". Voila! At this point, you can copy and paste picture and screenshot files from your phone to your Centos PC! I just tested that sequence, and, as long as both the phone is unlocked at the time of connection, and a reboot (or two) occur after the libmtp was put back to the original, it works as desired (for me). Since a user new to this thread won't have touched their libmtp, they won't have to do all the reboots that I did. Note: It seems to me there should be no need to install the new libmtp (since we're using PTP instead); hence vlc and rhythmbox should be unharmed; however, this sequence worked with both the old libmtp and the new libmtp; but, of course, neither rhythmbox nor vlc worked with the new libmtp, so, that's why I re-installed the old libmtp (and this won't work unless you reboot after messing with the libmtp - for reasons wholly unknown to me). Whew! Sorry for all the confusion. Things are only simple when they make sense. Thanks for all your kind support, patience, and help! I'm amazed at both how hard it is to figure out this workaround ... yet - how easy the workaround is - once you know to both keep the phone in PTP mode and to ensure it is "alive" when connected. Note: The "real" solution is to get MTP to work, which is the point of Ljubomir Ljubojevic's post earlier today. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Need a Centos 6 USB hard drive recovery procedure
On Sat, 11 May 2013 22:28:53 +0200, Louis Lagendijk wrote: > here is a quick list of what to do: Thanks. I needed this step-by-step procedure; and I'll report back. I bought a new 2TB disk, named "My Passport". I will test the procedure with a spare 500GB disk, named "Signature Mini". > 1) connect your spare disk (USB) (not the bad disk!) and as root > check what device id it got (tail /var/log/messages) look for detected > partitions there or do > fdisk -l /dev/sdx where the sdx is what you found from /var/log/messages 0. $ sudo tail -f /var/log/messages 1. I plugged in the 2TB new disk. ==> May 31 20:52:37 ntfs-3g[4213]: Mounted /dev/sdb1 (Read-Write, label "My Passport", NTFS 3.1) 2. $ sudo fdisk -l /dev/sdb ==> Disk /dev/sdb: 2000.4 GB, 2000365289472 bytes ==> /dev/sdb1 1 243198 1953480704 7 HPFS/NTFS > 2) As root Mount the disk: > mount /devsdxy /mnt > (where y is the partion number you want to mount) 3. $ sudo mount /dev/sdb1 /mnt ==> Mount is denied because the NTFS volume is already exclusively opened. ==> The volume may be already mounted, or another software may use it which ==> could be identified for example by the help of the 'fuser' command. > if mounted goto 3 > This may fail if it is ntfs > 2B) If it fails format the disk as ext4: > mkfs /dev/sdxy > and then mount it as under 2 Should I now format the 2TB disk using this command? $ sudo mkfs /dev/sdb1 And then mount it as: $ sudo mount /dev/sdb1 /mnt > 3) I assume here that your bad disk is already connected (as sdz check > first what the real name is) At this point, I connect the 500GB test disk and this shows up in the tail of /var/log/messages: May 31 21:02:39 ntfs-3g[4787]: Mounted /dev/sdc1 (Read-Write, label "SignatureMini", NTFS 3.1) > dd if=/dev/sdz of=/mnt/image.dd bs=1M > This will copy the contents of your bad disk to image.dd Is this the correct command given the test information above: $ sudo dd if=/dev/sdc of=/mnt/image.dd bs=1M > 4) just to be sure, make the image read-only > chmod uog=r /mnt/image.dd I presume I do this after the previous dd command finishes. $ sudo chmod uog=r /mnt/image.dd > 5) install testdisk from the epel repo > yum install testdisk $ sudo yum --enablerepo epel install testdisk -y ==> Installed: testdisk.x86_64 0:6.12-2.el6 ==> Dependency Installed: libewf.x86_64 0:20100226-1.el6 Note: This apparently installs /usr/bin/photorec > 6) now run photorec from a directory where you have sufficient space, > ifg your usb disk is big enough do it there (hint create a sub-directory > mdkdir /mnt/recover > cd /mnet/recover You probably mean "mkdir", so is this what I run: $ sudo mkdir /mnt/recover $ cd /mnt/recover > but any dorectory would do > photorec /mnt/image.dd $ sudo photorec /mnt/image.dd Q: Is this the recommended procedure as written after your comments? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Need a Centos 6 USB hard drive recovery procedure
On Sat, 11 May 2013 23:31:07 +1000, Anthony K wrote: > dd if=/dev/sda of=/path/to/hdd-image-file.img bs=4M I'm not sure how to figure out what to put into that dd command. Q: Is this the right sequence given the disk information below? 1. Boot to Centos 6 2. Plug in the old (500GB) & new (2TB) USB drives Note: I'm trying to test this on a test 500GB drive; once it works, I'll use it on the real 150GB drive. 3. $ sudo parted --list (this finds /dev/sdb & /dev/sdc) Note: In this case, sdb is the 500 GB test drive; and sdc is the 2TB brand new drive for the dd copy to reside. 4. su root (do we need to be root?) 5. # dd if=/dev/sdb of=/dev/sdc/hdd-image-file.img bs=4M Q: Is that the right sequence given the disk information below? --- see below for my attempt finding the logical disk name --- Pluggin in the new 2TB drive and a test 500MB drive, they both show up in /media; but that doesn't tell me what their sda path is. Since the dd command requires the two paths to the two drives, how do I find out that information? Googling, I find this reference: http://unix.stackexchange.com/questions/4561/how-do-i-find-out-what-hard-disks-are-in-the-system I tried the suggested commands, as shown below: 1. The disklabel command wasn't found: $ disklabel ==> bash: disklabel: command not found $ sudo yum install disklabel ==> No package disklabel available. ==> Error: Nothing to do 2. Neither was the lshw command: $ lshw -class disk ==> bash: lshw: command not found $ sudo yum install lshw ==> No package lshw available. ==> Error: Nothing to do 3. The by-label directory simply gave the disk name: $ ls /dev/disk/by-label ==> My\x20Passport SignatureMini 4. And the by-id gave a cryptic set of numbers: $ ls /dev/disk/by-id ==> usb-Hitachi_HTS545050KTA300_00806131-0:0 ==> usb-Hitachi_HTS545050KTA300_00806131-0:0-part1 ==> usb-WD_My_Passport_0748_575833314142323938373338-0:0 ==> usb-WD_My_Passport_0748_575833314142323938373338-0:0-part1 5. Likewise with by-uuid, only the numbers were even worse: $ ls /dev/disk/by-uuid ==> horrid set of numerical results 6. It doesn't seem that the by-path is at all useful: $ ls /dev/disk/by-path ==> pci-:0f:00.0-usb-0:1:1.0-scsi-0:0:0:0 ==> pci-:0f:00.0-usb-0:1:1.0-scsi-0:0:0:0-part1 ==> pci-:0f:00.0-usb-0:2:1.0-scsi-0:0:0:0 ==> pci-:0f:00.0-usb-0:2:1.0-scsi-0:0:0:0-part1 7. And, the hwinfo command wasn't found: $ hwinfo --disk ==> bash: hwinfo: command not found $ sudo yum install hwinfo ==> No package hwinfo available. ==> Error: Nothing to do 8. Maybe the scsi directory contained what I needed? $ cat /proc/scsi/scsi Host: scsi8 Channel: 00 Id: 00 Lun: 00 Vendor: WD Model: My Passport 0748 Rev: 1019 Type: Direct-AccessANSI SCSI revision: 02 Host: scsi8 Channel: 00 Id: 00 Lun: 01 Vendor: WD Model: SES Device Rev: 1019 Type: EnclosureANSI SCSI revision: 06 9. Finally, I think "parted" found logical device /dev/{sdb,sdc}: $ sudo parted --list Model: WD My Passport 0748 (scsi) Disk /dev/sdc: 2000GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End SizeType File system Flags 1 1049kB 2000GB 2000GB primary ntfs Model: Hitachi HTS545050KTA300 (scsi) Disk /dev/sdb: 500GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start EndSize Type File system Flags 1 32.3kB 500GB 500GB primary ntfs 10. Yet, fdisk found /dev/sdb1 & /dev/sdc1: $ sudo fdisk -l Disk /dev/sdb: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xdf7bffc7 Device Boot Start End Blocks Id System /dev/sdb1 1 60801 4883840017 HPFS/NTFS Disk /dev/sdc: 2000.4 GB, 2000365289472 bytes 255 heads, 63 sectors/track, 243197 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0005f107 Device Boot Start End Blocks Id System /dev/sdc1 1 243198 19534807047 HPFS/NTFS ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Fri, 31 May 2013 11:50:03 -0700, John R Pierce wrote: > leave it in the mode you want the USB > connection to operate in. Thanks. I'll leave the Android 4.0.4 phone in PTP mode then. In order to be thorough, I wanted to write up a summary to help others; so, to see if it was the updated libmtp that made the difference, I ran the following: $ sudo yum remove libmtp (this removed the updated libmtp) $ sudo yum install rhythmbox (this installed the old libmtp) (& replaced the missing rhythmbox) $ sudo yum --enablerepo rpmforge install vlc (this replaced VLC) Then, I plugged in the Samsung Galaxy S3 by USB cable (with the media mode set to PTP camera mode). Drat! Nothing happened. Lesson learned: The solution requires more steps, which may be (at the very least) a) Update libmtp on Centos b) Switch the Android 4.0.4 phone from MTP to PTP (camera mode). c) ? unknown other steps ? Luckily, I documented all the steps performed in the past few weeks so I simply repeated the successful ones. Namely, I removed the old libmtp again (see previous posts in this thread for details) and re-installed the new libmtp, but, nothing showed up when I plugged in the phone by USB cable. Hmmm... So I rebooted the Centos laptop to see if that made a difference. OK, I rebooted, and PTP mode is working again. So, this seems to be the sequence for the next person to follow in our footsteps on Centos 6 with an Android 4.0.4 phone: 1. Remove the original libmtp NOTE: This will remove rhythmbox and vlc & any other program with dependencies on libmtp) 2. Update libmtp with Scott's libmtp 3. Reboot the Centos6 PC <== this is an important step! 4. Switch the Android 4.x phone from MTP to PTP mode (if not already) 5. Connect the Android phone by USB cable The one problem I'm having now is that I can't re-install rhythmbox & vlc. This failed after the newer libmtp was installed: $ sudo yum install rhymthbox ==> Error: Package: rhythmbox-0.12.8-1.el6.x86_64 (base) ==> Requires: libmtp.so.8()(64bit) ==> Available: libmtp-1.0.1-2.el6.x86_64 (base) libmtp.so.8()(64bit) ==> Installed: libmtp-1.1.6-0.el6.x86_64 (installed) Not found ==> You could try using --skip-broken to work around the problem ==> You could try running: rpm -Va --nofiles --nodigest Not knowing how to proceed, I vainly tried the suggested "--skip-broken" option, but it simply skipped the install altogether: sudo yum install rhythmbox --skip-broken ==> Processing Dependency: libmtp.so.8() ==> (64bit) for package: rhythmbox-0.12.8-1.el6.x86_64 ==> Packages skipped because of dependency problems: ==> rhythmbox-0.12.8-1.el6.x86_64 from base So, I guess the question is: Q: How do I install rhythmbox & vlc with the newer libmtp? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Fri, 31 May 2013 16:57:32 +, Rock wrote: > I'm not sure if there is a graceful way to disconnect; > and, I'm not sure if I should leave the phone in PTP mode; In summary, the solution to transferring files by wire from the Samsung Galaxy S3 (and other Android 4.x phones) is to switch the smartphone from MTP mode to PTP mode. The key question left, is whether we should switch the phone back to MTP mode when done; or if it's OK to just leave Android phones in PTP mode forever. http://www2.picturepush.com/photo/a/13200920/img/13200920.gif ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Thu, 30 May 2013 14:04:33 -0700, sms wrote: > I thought that the Galaxy S3 has PTP mode. > If so, put the phone in PTP mode. > https://bugzilla.gnome.org/show_bug.cgi?id=671906 The bug report doesn't show *how* to put the Samsung Galaxy S3 in "PTP" mode (which I know nothing about). Googling "How to put samsung galaxy s3 in ptp mode", I find: http://www.samsunggalaxys3forum.com/forum/samsung-galaxy-s3-help/1619-can-someone-tell-me-how-put-my-phone-ptp-mode.html Which says: 1. Connect the phone (in that case, to the Mac) 2. Pull down the notification bar (in that case, on the Samsung phone) 3. Tap on the connection (in that case, the same USB connection) 4. Select PTP mode (to transfer photos) When I tried that on Linux: 1. Connect the phone by USB to Centos 6 (this pops up first): http://www3.picturepush.com/photo/a/13198631/img/13198631.png 2. Pull down the notification bar (Connected as a media device): http://www3.picturepush.com/photo/a/13199411/img/13199411.png 3. Tap on the Ongoing connection: http://www4.picturepush.com/photo/a/13199412/640/13199412.png 4. Select PTP mode: http://www3.picturepush.com/photo/a/13199481/img/13199481.png 5. The Samsung Galaxy S3 is now in "Connected as a camera": http://www1.picturepush.com/photo/a/13199514/img/13199514.png Hmmm... this pops up again, on the Desktop: http://www3.picturepush.com/photo/a/13198631/img/13198631.png But, wait! This then shows up in the menus in a few seconds: http://www5.picturepush.com/photo/a/13199313/img/13199313.png And, for the first time, the folders are no longer zero size: http://www5.picturepush.com/photo/a/13199358/img/13199358.png Pensively, I click on the DCIM folder, hoilding my breath: http://www1.picturepush.com/photo/a/13199374/img/13199374.png Voila! Success at last! It's so simple, once you already know the answer! PS: I'm not sure if there is a graceful way to disconnect; and, I'm not sure if I should leave the phone in PTP mode; but, the good news is that single and multiple photo transfer by USB wire now works, in PTP mode, on the Samsung Galaxy S3! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Tue, 28 May 2013 09:25:57 +0200, Nicolas Thierry-Mieg wrote: > To summarize, you did the right things as far as libmtp is concerned. > Now the issue lies beyond that, probably with gvfs-photo2 as suggested > by Farkas via Ljubomir, but I can't help you much with that. Except > Farkas suggests also rebuilding and installing simple-mtpfs, have you > done that? I was afraid of the scope creep! :) I have no idea how to rebuild and reinstall simple-mtpfs. In fact, I've never even heard of simple-mtpfs, so, I'll start googling. Note: I ran a locate, and, whatever it is, it's not on my system. EDIT: Googling, I find out the definition: SIMPLE-MTPFS (Simple Media Transfer Protocol FileSystem) is a file system for Linux (and other operating systems with a FUSE implementation, such as Mac OS X or FreeBSD) capable of operating on files on MTP devices attached via USB to local machine. It allows the end user to seamlessly interact with MTP device files. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Mon, 27 May 2013 19:27:28 +0200, Ljubomir Ljubojevic wrote: > You should have just used two commands: > sudo yum remove vlc I guess I should have done it this way? $ sudo yum remove vlc $ sudo yum remove rhythmbox Or would you have left rhythmbox in place? > and > yum update > Yum will always install/update local files and deal with missing > dependencies. Are you saying I should run that yum upate of libmtp with the libmtp RPM in the same directory? If so, I can run that now. > this segfault is most likely why you had empty directories. Hmmm... good point. Thanks. I don't even know what gvfs-gphoto2-vo is. Looking for it, I find: $ sudo updatedb; locate gvfs-gphoto2-vo ==> /usr/libexec/gvfs-gphoto2-volume-monitor Hmmm... what is that? Googling, it's some kind of Gnome filesystem monitor. Grepping, it's running: $ ps auxww|grep gvfs-gphoto2-volume-monitor|grep -v grep ==> user1 10465 0.1 0.0 151084 3356 ? S 11:23 0:01 /usr/libexec/gvfs-gphoto2-volume-monitor > Here is part of the answer: > On 05/24/2013 06:56 PM, Farkas Levente wrote: >> gphoto package in rhel/centos is way too old. unfortunately gnome use >> gvfs-gphoto2 libgphoto2 to handle automount both for mtp and ptp. so >> you're not able to use it what's more it's better to remove gvfs-gphoto. >> on the other hand if you rebuild: libmtp and simple-mtpfs from fedora, >> them it'll work on rhel/centos-6 too. > So you might try removing gvfs-gphoto2 and see if you get anywhere. OK. I'll kill the process. Is that the same thing? $ sudo kill -9 10465 Then, I'll unlock the phone & plug it in. Hmmm when I did that, this series of dialogs came up, in sequence: http://www1.picturepush.com/photo/a/13171084/img/13171084.png But now it won't even open the directory. I'm sure we're close, but I'm not sure how to debug why it won't open up. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Mon, 27 May 2013 12:22:26 -0400, Scott Robbins wrote: > You can always use Uvh which should update. > If there is nothing to be updated, Uvh will just install. Thanks. Next time I'll use "Uvh". > As I think I said, I removed the older version first. I "thought" I removed the older version of libmtp when I ran: $ sudo yum remove libmtp Doesn't this message indicate it removed libmtp, vlc, & rhythmbox? ==> Erasing : rhythmbox-0.12.8-1.el6.x86_64 1/3 ==> Erasing : vlc-1.1.13-1.el6.rf.x86_64 2/3 ==> Erasing : libmtp-1.0.1-2.el6.x86_64 3/3 > make sure the phone is unlocked when plugging it in. OK. Thanks. I unlocked it & tried again, but I don't see any different things happening yet. > it will show up and be accessible in the file browser. Hmmm... it 'does' show up in the file browser. But all the directories are shown as empty. I think we're close, but I'm unsure of the use model and/or debug commands. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Sun, 26 May 2013 01:46:34 -0400, Scott Robbins wrote: > If you want 64 bit then > http://home.roadrunner.com/~computertaijutsu/libmtp-1.1.6-0.el6.x86_64.rpm > Note that if you hav VLC installed, this will conflict with its required > version of libmtp. Thanks. I made a bunch of guesses how to proceed. I'm sure I erred, but here's what I did. What should I correct by way of use model? $ uname -a Linux machine 2.6.32-358.6.2.el6.x86_64 #1 SMP Thu May 16 20:59:36 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux $ sudo yum install libmtp ==> Package libmtp-1.0.1-2.el6.x86_64 already installed and latest version $ sudo yum remove libmtp ==> Removing: ==> libmtp x86_64 1.0.1-2.el6 @anaconda-CentOS-201112091719.x86_64/6.2 695 k ==> Removing for dependencies: ==> rhythmbox x86_64 0.12.8-1.el6 @anaconda-CentOS-201112091719.x86_64/6.2 12 M ==> vlc x86_64 1.1.13-1.el6.rf @rpmforge 60 M ==> Erasing : rhythmbox-0.12.8-1.el6.x86_64 1/3 ==> Erasing : vlc-1.1.13-1.el6.rf.x86_64 2/3 ==> Erasing : libmtp-1.0.1-2.el6.x86_64 3/3 $ mkdir /tmp/test; cd /tmp/test $ wget http://home.roadrunner.com/~computertaijutsu/libmtp-1.1.6-0.el6.x86_64.rpm ==> Saving to: “libmtp-1.1.6-0.el6.x86_64.rpm” I'm not sure what the next step is (either rpm -ivh or rpm -Uvh) $ sudo rpm -ivh libmtp-1.1.6-0.el6.x86_64.rpm ==> Preparing... ### [100%] ==> 1:libmtp ## [100%] I'm not sure how to check if it worked or not, so I'll just re-run this and compare output: $ sudo yum install libmtp ==> Package matching libmtp-1.0.1-2.el6.x86_64 already installed Hmmm... I had expected a later version, and, at the same time, I would have expected the same wording. Neither occurred. It says it's the same version; but it uses different wording to do that. But I don't see any errors either, so I'll move to the next step. Hmm... What is the next step? I guess the next step is to plug in the Samsung Galaxy S3 via USB cable and see what happens. Drat. Unable to mount SAMSUNG_Android_SGH-T999 Error initializing camera: -1: Unspecified error http://www5.picturepush.com/photo/a/13169313/640/13169313.png $ dmesg ==> usb 3-2: new high speed USB device number 3 using xhci_hcd ==> usb 3-2: New USB device found, idVendor=04e8, idProduct=6860 ==> usb 3-2: New USB device strings: Mfr=2, Product=3, SerialNumber=4 ==> usb 3-2: Product: SAMSUNG_Android_SGH-T999 ==> usb 3-2: Manufacturer: SAMSUNG ==> usb 3-2: SerialNumber: < I redacted this > ==> usb 3-2: configuration #1 chosen from 1 choice ==> usb 3-2: ep 0x81 - rounding interval to 32768 microframes, ep desc says 0 microframes ==> usb 3-2: ep 0x83 - rounding interval to 32768 microframes, ep desc says 0 microframes ==> usb 3-2: ep 0x2 - rounding interval to 32768 microframes, ep desc says 0 microframes ==> usb 3-2: ep 0x85 - rounding interval to 32768 microframes, ep desc says 0 microframes ==> usb 3-2: ep 0x3 - rounding interval to 32768 microframes, ep desc says 0 microframes ==> cdc_acm 3-2:1.1: This device cannot do calls on its own. It is not a modem. ==> cdc_acm 3-2:1.1: ttyACM0: USB ACM device ==> gvfs-gphoto2-vo[3575]: segfault at 3 ip 7f886e7ac290 sp 7fffacd22980 error 4 in ptp2.so[7f886e78c000+4f000] I unplug the USB cable, and plug the USB cable back in: On the desktop, a new entry called 'disk' shows up: Places->disk When I click it, I see what "appears" to be the phone. Clicking again (to take a screenshot) I now see a newer entry below 'disk' called 'SAMSUNG_Android_SGH-T999'. http://www4.picturepush.com/photo/a/13169407/640/13169407.png Clicking on SAMSUNG_Android_SGH-T999 in the file browser, shows what "appears" to be the phone (except that all folders show up as empty). http://www5.picturepush.com/photo/a/13169408/640/13169408.png It looks like the libmtp RPM worked but I'm not sure of the use model to access the picture data on the cellphone (or any data on the cellphone, as all directories show as empty when I click on them in Centos). ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Sat, 25 May 2013 10:08:45 +0200, Ljubomir Ljubojevic wrote: > Requested 'libmtp >= 1.1.0' but version of libmtp is 1.0.1 > (libmtp is provided by RHEL, so it's not so easy to upgrade)" I am not a coder, nor have my compiles ever gone well; so I can't do this; but is it possible for someone who knows how to compile to upgrade libmtp to the necessary version? http://libmtp.sourceforge.NET ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] nb
On Sat, 25 May 2013 10:08:45 +0200, Ljubomir Ljubojevic wrote: > So best course of action could be to ask Red Hat to upgrade libmtp > add mtp packages from Fedora, and only if they refuse to, > ask RPMFusion or Repoforge repositories to add them to their repo. Wow. Thanks for all that detective work, as I could never have figured that out - nor have I ever asked a repo to add anything, so I'll just let it be. But it's sad that Centos users can't easily connect their Samsung Galaxy S3 or equivalent smartphones by USB cable. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Fri, 24 May 2013 12:56:43 -0700, Keith Keller wrote: > would you ask Upstream when rpmforge was going to carry > these packages? Ah, I see. Sorry for being dense. I understand. I'm not sure *who* handles the MTP package, but, what you're saying is whomever it is that feels they should own it, would be the ones to ask. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Fri, 24 May 2013 11:59:34 -0700, Keith Keller wrote: > Only the CentOS* repositories are official CentOS repos. If I could, I'd stick with those official repositories. Looking at my installation log file, it seems that I've only needed the non-official repositories about 30 times in the past year, which is pretty good (although I've also given up on a dozen or so, which weren't in any decent repository). $ sudo yum --enablerepo=elrepo install kmod-nvidia $ sudo yum --enablerepo=elrepo install nvidia-detect $ sudo yum --enablerepo=elrepo install nvidia-x11-drv-32bit $ sudo yum --enablerepo=elrepo-testing install kmod-nvidia $ sudo yum --enablerepo=elrepo-testing install nvidia-x11-drv-32bit $ sudo yum --enablerepo=epel install blender $ sudo yum --enablerepo=epel install gkrellm $ sudo yum --enablerepo=epel install nas $ sudo yum --enablerepo=epel install recordmydesktop $ sudo yum --enablerepo=google-chrome-64bit install google-chrome-stable $ sudo yum --enablerepo=linuxtech-backports install k3b $ sudo yum --enablerepo=linuxtech-release install devede $ sudo yum --enablerepo=linuxtech-release install gnome-alsamixer $ sudo yum --enablerepo=linuxtech-release install vcdimager $ sudo yum --enablerepo=linuxtech-testing install deluge $ sudo yum --enablerepo=linuxtech-testing install devede $ sudo yum --enablerepo=naulinux-school install avidemux $ sudo yum --enablerepo=nux-dextop install kdenlive $ sudo yum --enablerepo=nux.noarch install openshot $ sudo yum --enablerepo=rpmforge install azureus vuze $ sudo yum --enablerepo=rpmforge install dvdauthor $ sudo yum --enablerepo=rpmforge install kino $ sudo yum --enablerepo=rpmforge install libgmime $ sudo yum --enablerepo=rpmforge install mencoder $ sudo yum --enablerepo=rpmforge install openvpn $ sudo yum --enablerepo=rpmforge install pan $ sudo yum --enablerepo=rpmforge install tcptraceroute $ sudo yum --enablerepo=rpmforge install transcode $ sudo yum --enablerepo=rpmforge install uberkey $ sudo yum --enablerepo=rpmforge install vlc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Fri, 24 May 2013 13:45:59 +0200, Ljubomir Ljubojevic wrote: > I also have FSync set-up to daily backup all important files via SFTP. I found out the following, if it matters: QUOTE 1: You can use tools like gphoto or digikam to access the images, should be just plug the phone to the computer and start the application you want to use (KDE will list applications which can access the content like digikam and dolphin), you don't need to install anything as it's already there. There seems to be an experimental packages for S3 which allows you to share it as a usb mass storage. http://www.android.gs/how-to-enable-usb-mass-storage-on-samsung-galaxy-s3-i9300/ QUOTE 2: There is nothing preventing you from downloading the latest version of libmtp and installing that (under /usr/local) on your Centos system. http://libmtp.sourceforge.NET/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Fri, 24 May 2013 09:05:09 -0700, Keith Keller wrote: > What do you think are the "standard" repositories? >From the school of hard luck, the repos I was forced to install are: $ ls -l /etc/yum.repos.d adobe-linux-x86_64.repo CentOS-Base.repo CentOS-Debuginfo.repo CentOS-Media.repo CentOS-Media.repo.rpmsave CentOS-Vault.repo ... elrepo.repo <== needed for nvidia display drivers, for example ... epel.repo <== needed for recordmydesktop, for example epel-testing.repo ... google-chrome-64bit.repo <== needed for chrome, for example google-chrome.repo ... linuxtech.repo <== needed for DeVeDe, for example ... mirrors-rpmforge mirrors-rpmforge-extras mirrors-rpmforge-testing ... naulinux-school.repo <== needed for avidemux, for example ... nux-dextop.repo <== needed for NAS, for example ... rpmforge.repo <== needed for vlc, for example rpmfusion-nonfree-updates.repo <== needed for vcdimager, for example ... rpmfusion-nonfree-updates-testing.repo ... torproject.repo <== needed for Tor, for example Of those, assuming the CentOS repositories are standard, I'd guess the other "standard" repos are elrepo, epel, & rpmforge. I've learned never to use Atrpms; and I just can't figure out yum priorities setup; so I get burned rather frequently. Is that a decent guess as to what's a standard repo for Centos? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Fri, 24 May 2013 08:30:51 -0700, Craig White wrote: > [USB] is simply not an option for main memory but an option for expansion > cards. I do appreciate your explanation & apologize for my rant. So that I better understand, does that mean if I bought a microSD card, and stored the photos from the smartphone onto that microSD card, that I could then transfer those photos to the Centos laptop via a USB cable? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Fri, 24 May 2013 08:30:51 -0700, Craig White wrote: > obviously beyond you. Indeed! :) I'm just a regular Joe user of a smartphone & Centos (which is the OS choice of my employer who provides the laptop). While most of you, on Centos, are experienced with compiling source code (e.g., MPT source), I fail half the time if/when I try to run make files. > USB Storage requires the telephone to unmount the memory device > from the telephone so the host computer could then mount it and > transfer files back and forth. That is simply not an option for > main memory but an option for expansion cards. For an average user, will this problem of mounting an IceCreamSandwich Android phone to a Centos laptop be resolved when MTP RPMs are available? If so, when would we expect to see MTP RPMs in the standard repositories? (i.e., how long should I expect my workaround to be in place?) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Fri, 24 May 2013 08:21:09 -0700, Keith Keller wrote: > It's intentional. RHEL deliberately follows older, > more stable versions of software, Good point! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Fri, 24 May 2013 08:03:52 -0700, Craig White wrote: > I think most people are using cloud storage with the smart phones these days I understand. Anyway, here's a summary for the next person with this same problem (Note: This affects other phones but I don't know which are affected.) Summary of the current status: Connecting the SG S3 by USB cable (fails for every Centos owner) Connecting the SG S3 by Kies Air (Java fails for multiple files, no errors!) Connecting the SG S3 by AirDroid (Works! Zips up multiple files, slow but OK) ... Connecting the SG S3 by Android FTPServer (suggested, complicated setup) Connecting the SG S3 by WiFi File Explorer (didn't work on my 1st test) Connecting the SG S3 by WiFi File Transfer (didn't work on my 1st test) Connecting the SG S3 by Total Commander for Android (suggested, untested) Connecting the SG S3 by WiFi file transfer pro (suggested, untested) Note: When testing solutions, my general approach is to give each suggested program a single pass - and if that fails, to then move on to the next solution. If no solutions work, then I revisit the prior attempts and implement heroics to get it to work, if needed. Deprecated approaches which would also work to transfer pictures: MicroSD card (shouldn't have to buy storage just to transfer pictures) Dropbox or the cloud (shouldn't have to do that just to transfer data) Windows/Mac (shouldn't have to give up on your Centos operating system) Wine/Emulation/Virtual OS (shouldn't have to give up on native Centos) Email them to myself (shouldn't have to do that just to transfer pictures) < Rant > Why the Android dev team removed USB file transfer for Linux users is beyond me! < /Rant > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Thu, 23 May 2013 23:40:17 -0400, Scott Robbins wrote: > On more current distributions, that is, just about everything but RHEL6 and > clones, one can install a version of mtpfs, simple-mtpfs on Fedora, for > example, jmtpfs on Arch, and get it to work. Just my luck that Centos is one of those linuxes that are problematic. Anyway, here's the summary: a) Connecting the Samsung Galaxy S3 by USB (fails) b) Connecting that phone by Kies Air (fails for multiple files, no error message!) c) Connecting that phone by AirDroid (works! Even for multiple files!) Slow. Cumbersome. But all that matters is that files can be transferred from the Samsung Galaxy SIII to the Centos 6 PC. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Thu, 23 May 2013 19:47:26 -0700, Keith Keller wrote: > I'd install an scp or sftp client on your Android and use that for file > transfer to your CentOS box, as suggested by many folks on that thread. > There are probably a bunch of clients in the Play store. I guess the point would be to set up the phone as an FTP server. That might work ... but luckily, the suggestion to use AirDroid worked nicely (albeit selecting individual pictures would take the rest of your life so the only 'real' choices you have with AirDroid are to download the entire batch or a small set of contiguous pictures). ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
On Thu, 23 May 2013 22:03:48 -0700, centos-CKKfVXLCbtqEK/hMebVsMw wrote: > I had the same problem until I stumbled upon the solution: > Airdroid Thanks for that tip! I just installed AirDroid on the Samsung Galaxy S3, and tested it out. On single files, it seems to work exactly like Kies Air does, only with the AirDroid desktop being more intuitive than Kies Air's desktop: http://www4.picturepush.com/photo/a/13140997/img/13140997.png The good news is that transferring the entire set of files was as simple as checking a checkbox (as was Kies Air); but, the better news is that it actually worked (as opposed to Kies Air failing every time): http://www3.picturepush.com/photo/a/13141006/img/13141006.png Note: AirDroid, by default, creates a single zip file, apparently to get around the multiple-file restriction that fells Kies Air every time. The bad news is that transferring select files was an exercise in futility, simply because the standard shift key (to select blocks of photos) is apparently not implemented, and scrolling from file to file would take the rest of your lifetime to get through the 300 pictures that I have snapped on the Samsung Galaxy S3, it's that slow: http://www2.picturepush.com/photo/a/13140995/img/13140995.png In summary: a. AirDroid works, for single or multiple pictures, & is simple to use! b. Use AirDroid for single pictures or small sets of contiguous pictures c. Don't even attempt to download select (dispersed) photos! d. Downloading the entire set of pictures is far easier, albeit slow. Thanks for the AirDroid tip! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Frustrated. Java on Centos 6 doesn't give an error message when downloading from a Samsung Galaxy S3
SUMMARY: Maybe this all boils down to "how do we debug when Java fails on Centos 6? DETAILS: If you don't have the Samsung Galaxy S3, then you might not realize how frustratingly difficult it is to transfer multiple files from the smartphone to Centos 6. It should be as simple as hooking up a USB cable and dragging and dropping (which it is, on most other smartphones, including the Samsung Galaxy S2, which has USBMS mode still intact). Note: I don't have a microUSB card, so that isn't an option and I have no desire to transfer the personal photos to the cloud just to get them from the phone to Centos, nor to install Wine and/or a virtuoal OS just to do something as simple as transfer files. On the Samsung Galaxy S3, you can go all day to Settings->More Settings-> but there is nothing for "USB" anywhere anymore. Unfortunately, [url=http://androidforums.com/computers/499522-looking- linux-file-transfer-tool-android-4-0-devices.html]Google has apparently disabled USB transfer in the Android OS 4.0[/url] and above and replaced it with MTP file transfer. So Windows recognizes any ICS device plugged in, and Mac does too (via Android File Transfer); but Centos does not. Anyway, [url=https://www.centos.org/modules/newbb/viewtopic.php? topic_id=39977&forum=57&post_id=182904#forumpost182904]the workaround[/ url], is to use Kies Air to transfer the files over the air via WiFi from the phone to the Centos PC. This works - but that brings up the problem of [b]multiple[/b] files. The Kies Air gui for transferring multiple files at once is trivial (you just check "all files"); but it doesn't work. There is no error message. There are no warnings. There are no indications whatsoever; it just doesn't transfer anything. If you use the exact same procedure to transfer a single file, it works just fine. Googling for "Kies air won't download multiple files", I find a bazillion others have this problem - but most answers simply say to "install Java" on the host PC. For example: http://www.samsung.com/uk/support/usefulsoftware/KIESAIR/JSP Q: I cannot send multiple files at once A: Need to install Java – downloadable from the Java homepage (www.java.com ) in order to transfer multiple files at once or to upload a file over 100MB. So maybe this whole frustrating task of downloading multiple files from the smartphone to Centos hinges on debugging Java. Here's where I'm lost though. I know nothing about Java. What does "install Java" mean for Centos 6? Is that icedtea? [b]Q: How can I get an error message if icedtea isn't working when I try to transfer multiple files via Kies Air?[/b] [img]http://www5.picturepush.com/photo/a/13140568/640/13140568.png[/img] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Need a Centos 6 USB hard drive recovery procedure
On Sat, 11 May 2013 15:35:31 +, Rock wrote: > Currently I'm at day 3, and almost done recovering the > files; but the results (sadly, due to my error in the > Recuva settings) are flatter than the plains of Kansas! Just for the record, Recuva finished at 66 hours: http://www5.picturepush.com/photo/a/12907423/img/12907423.jpeg It's odd that I'm having trouble finding a good tutorial for Linux recovery of the master table of contents, since it must be happening to others day in and day out. Fundamentally, the procedure is to "dd" the disk and then work off the backup but I don't want to make a mistake so that's why an exact procedure is so critical to find. It's expensive being a pioneer; yet I shouldn't have to be a pioneer for this task, since it happens every day. Will read everything written and try to find a tutorial. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Need a Centos 6 USB hard drive recovery procedure
On Sat, 11 May 2013 11:23:35 -0400, Fred Roller wrote: > There are some linux solutions I had at the time and I > am trying to dig up my notes. Thanks if you can find them. Currently I'm at day 3, and almost done recovering the files; but the results (sadly, due to my error in the Recuva settings) are flatter than the plains of Kansas! http://www2.picturepush.com/photo/a/12904140/img/12904140.gif ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Need a Centos 6 USB hard drive recovery procedure
On Sat, 11 May 2013 21:27:59 +1000, Anthony K wrote: > I'd suggest you still make a copy of the disk with dd and > work on the image! Since I may only get one shot, and since I've never formatted a USB hard drive, nor ever even mounted one, how does this procedure look for my 149GB NTFS disk? Note: Recuva says the cluster size = 4096 & file record size = 1024. 0. {should I boot off a Centos CD or should I use my normal OS?} 1. Connect the new >=150GB hard drive to the Centos 6 laptop Note: Presumably that will be on /dev/sda0 (right?) 2. Format the new hard drive with fdisk (is this step needed?) Note: What fdisk command is recommended? 3. Connect the old 150GB compromised USB NTFS disk to Centos 6 5. Copy data, verbatim, from the old disk to the new disk with dd Key questions: Q0. Should I boot to my normal Centos 6 OS? Q1: Should I format the new USB hard disk with Fdisk? Q2: What dd command should I use? Googling, and looking at fdisk options, should I run? # fdisk /dev/sdb # fdisk -l /dev/sdb Googling, I find multiple dd examples {which block size should I use?} # dd if=/dev/sda of=/dev/sdb # dd if=/dev/sda of=/dev/sdb bs=1M # dd if=/dev/sda of=mbrbackup bs=512 count=1; dd if=mbrbackup of=/dev/sdb bs=446 count=1 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Need a Centos 6 USB hard drive recovery procedure
> For the record, this is the Microsoft Support KB I had followed: > http://support.microsoft.com/kb/176646 Just by way of update, it's currently at 95,000 of about 100,000 files; so I would expect the Recuva file recovery to complete by tomorrow morning (day 3): http://www5.picturepush.com/photo/a/12901188/img/129088.gif Of course, the results will be flatter than a pancake; so, I will try the other suggested methods; but at least I'll wait for this first (Recuva) method to complete. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Need a Centos 6 USB hard drive recovery procedure
On Fri, 10 May 2013 17:27:34 +, Rock wrote: > And, I did google for the solution for a corrupt disk and I did follow > Microsoft Support instructions. > http://support.microsoft.com/kb/176646 > > Of course, in hindsight, I *should* have run a dd first ... but I had > not expected the chkdsk to damage anything so I hadn't gone to the > trouble. Lesson learned! In hindsight, I should *not* have followed Microsoft instructions. I should have made a 'dd' of the hard drive from Centos. And, I should have booted the Windows machine to Knoppix to make the backup of the C:\data hierarchy from there. f Lessons learned... Now I'm just trying to figure out how to rebuild the Master File Table of the USB NTFS disk from Centos 6. Any suggestions on how to just rebuild the MFT? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Need a Centos 6 USB hard drive recovery procedure
On Fri, 10 May 2013 13:04:01 -0400, m.roth-x6lchVBUigD1P9xLtpHBDw wrote: > I'd guess that whatever infected your system had a protection mechanism, > so that if you tried to backup the whole drive, it would mangle > something on the recipient drive, so that *it* couldn't be examined > easily. I understand. What you're saying was that I shouldn't have backed up my (perhaps compromised) WinXP data onto the external hard disk *from* that very same compromised Windows OS. This makes sense. In hindsight, I should probably have booted to Knoppix, and then used Knoppix to copy the c:\data hierarchy over to the hard drive. Sigh. Now all I need to do is recover the Master File Table, because this Microsoft KB was what I had followed prior: http://support.microsoft.com/kb/176646 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Need a Centos 6 USB hard drive recovery procedure
On Fri, 10 May 2013 08:32:35 -0400, Yves Bellefeuille wrote: > I think that the user was too quick to assume that the computer "had a > virus or something". If he thought it might have a virus, why didn't he > try an anti-virus program first? Good question. The Windows XP machine is an old Dell B130 which, every year or so with the kids using it, develops a "slowness" that is interminable. The CPU stays at 100% with nothing overtly going on, and just clicking to open a folder takes 20 seconds. Every time that happens, I merely back up the data (which all the kids know to put in c:\data) and then I wipe out the machine and rebuild Windows from scratch. http://www5.picturepush.com/photo/a/12897688/img/12897688.jpeg Populating the data is trivial usually, simply because all data, no matter what it is, goes in C:\data; and then all applications, no matter what they are, go in C:\apps; and all menus, no matter what a program creates, go in a single location (which is the ONLY thing ever stored in a Microsoft-created menu, simply because they're always polluted): C:\Documents and Settings]All Users\Start Menu\Programs\menu I have them save all installation programs in c:\apps\installers, so, in the end, backup is trivial because I only back up three things: C:\apps\* C:\data\* And the menus (which follow the same hierarchy as the apps, by design) Note: The apps are *never ever* stored by brand name! Apps are stored by function, e.g., c:\apps\archivers c:\apps\browsers c:\apps\cleaners c:\apps\editors c:\apps\games etc. And, these functions are well thought out over the many years I've been organizing PCs. For example, "misc", "etc", "utils", "system", etc., lazy catchalls are never allowed. All applications have a definable function, and that's how they're stored. Lazy people can't find stuff on their machines, and lazy people have messy machines. Anyway, suffice to say that it's trivially easy to back up the data on any of our Windows machines, simply because we designed the file system hierarchy from scratch to be easy to rebuild. After rebuilding the OS, I simply copy everything back to the same locations (which is consistent across all our Windows machines) and even the menus work when I copy them back. Of course, I re-install all the programs; but they're all saved in the installation directory - so that's trivial (except for the stupid programs such as iTunes & the CutePDF Writer & the Adobe Acrobat Writer, etc.. These badly written programs are easy to find simply because I store *nothing* in C:\Program Files, so, anything that goes in there, went there despite our entreaties otherwise during the installation process (the kids know the rule to *never* allow a program to do its own thing - always choose "custom" and always tell program to go where it belongs). They know to describe it as a "dog pooping" when a program, such as iTune's Bonjour insists on "pooping" wherever it wants, instead of being well behaved and going where we tell it to go. As a side note, we avoid at all costs the use of any directory that has a space in the file name, as special characters make a mess of scripts and UNIX backups. In addition, I delete any directory that has a "My" in front of it, as they get polluted by other programs (e.g., My Vides, My Pictures, My Documents, etc.). In summary, we only use four directories on Windows: C:\apps (this is the program installation directory tree) C:\data (this is where all user data goes, with no exceptions!) C:\tmp (this is where all temporary downloads go, for example) C:\{horrid Microsoft path}\menus (the menus reflect the app hierarchy) > It sounds very much like the user had the reaction many inexperienced > users have: "The computer doesn't do what I think it should be doing: it > must be a virus!" I must say that I disagree with your assessment of the knee-jerk reaction; but I do still appreciate your help and advice. Of course I did run a virus scan (I'm using AVG) and I even added a Trend Micro Housecall scan. Both found minor things such as BHOs and both found heuristic problems with some of the installers, but nothing overt popped up as especially worrying. And, I did google for the solution for a corrupt disk and I did follow Microsoft Support instructions. http://support.microsoft.com/kb/176646 Of course, in hindsight, I *should* have run a dd first ... but I had not expected the chkdsk to damage anything so I hadn't gone to the trouble. Lesson learned! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Need a Centos 6 USB hard drive recovery procedure
On Thu, 09 May 2013 18:53:30 -0700, Keith Keller wrote: > Is it already "putting" your files somewhere? If so it's almost > certainly too late to throw a linux recovery tool at it. Nothing, to my knowledge, is being written to the external NTFS USB hard drive. The files are being put on the C:\ drive of the Windows machine. So, I don't see why the USB drive isn't in the same shape as it was when this happened. Did I do something wrong? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Need a Centos 6 USB hard drive recovery procedure
On Thu, 09 May 2013 16:51:48 -0400, m.roth-x6lchVBUigD1P9xLtpHBDw wrote: > Are you sure that the FAT was mangled, and not just the MBR? How can I tell? All I know is the following: a) The WinXP PC had a virus or something making it slow b) So I decided to re-install the WinXP OS c) I connected the 150GB USB drive to the WinXP PC d) I backed up all the data files onto the 150GB USB drive e) I disconnected the 150GB USB drive f) I repartitioned & re-installed Windows XP on the PC g) Then I plugged the backup 150GB USB drive back in It gave a message that it was unrecognized or corrupted. So I googled, & found a Microsoft Support page saying to run: chkdsk /F E: So I ran that, and now the USB drive was recognized. But it "appeared" empty. So I asked how to recover and people said use "Recuva". So I installed Recuva 24 hours ago; it's still running, on the hard disk drive: http://www1.picturepush.com/photo/a/12893214/img/12893214.jpg In fact, even though it has said there were only 10 minutes to go for the past 20 hours or so, the file count keeps climbing. http://www1.picturepush.com/photo/a/12893269/img/12893269.jpeg The problem is that, even though Recuva lists the hierarchy where the files are coming from, it is putting all 70,000 files in the same directory! Given that information, which is really all that I know, what would you recommend for file recovery if I plug the USB drive into my Centos 6 laptop? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Need a Centos 6 USB hard drive recovery procedure
My 15GB backup USB drive somehow got "corrupted" such that a "chkdsk /f E:" on WinXP removed the file allocation table (or whatever) making the NTFS drive appear empty. I tried Windows Recuva freeware to recover the files, and it has been working for 24 hours; but it has dumped about 65,000 files into a separate flat Windows directory. http://www3.picturepush.com/photo/a/12892041/img/12892041.jpg Since none of the files were deleted or written over, is there a method on Linux that will simply recover the missing file allocation directory structure instead of dumping a hundred thousand files into a single directory? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What is the recommended method to obtain Pan 0.136+ (with SSL) for Centos 6?
On Thu, 09 May 2013 11:55:58 +0200, Louis Lagendijk wrote: > Right, it requires glib2(-devel) >= 2.26.0 and gmime(-devel) >= 2.5.5 > You're in for a lot of work as at least the dependency on glib 2.26 is > real I'm really no good at compiling unless all I have to do is issue the make command. So, maybe I'll have to hold off on compiling Pan 0.136 with stunnel... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] What is the recommended method to obtain Pan 0.136+ (with SSL) for Centos 6?
Q: What is the recommended method to obtain Pan 0.136+ (with SSL) for Centos 6? I've been successfully using Pan 0.135 from the RPMForge repository for about a year now: $ yum --noplugins --showduplicates --enablerepo \* --disablerepo c6-media,\*-source,\*debug\* provides "*/pan" ==> 1:pan-0.135-1.el6.rf.x86_64 : The Pan Newsreader ==> Repo: installed $ sudo yum --enablerepo rpmforge install pan -y ==> Package 1:pan-0.135-1.el6.rf.x86_64 already installed and latest version For a good reason (native SSL support), I'm interested in testing out Pan version 0.136 (or above). So, the question arises, how 'best' to find and install Pan 0.136 (or above)? A search at http://rpm.pbone.net failed to find any RPM for 0.136 or above: http://www1.picturepush.com/photo/a/12878464/img/12878464.png But I do find the later Pan RPMs in later Fedora releases: http://pkgs.org/download/pan (e.g., Fedora 17 & 18 have later RPMs): http://www5.picturepush.com/photo/a/12878508/img/12878508.png Or, I can compile Pan version 0.139 from source code: http://pan.rebelbase.com/download/ Given these seem to be my choices (and, given that only about half my compiles ever work); may I ask first the basic question: Q: What is the recommended method to obtain Pan 0.136+ (with SSL) for Centos 6? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Is there a good nntp client for Centos 6 that handles SSL native?
On Sun, 05 May 2013 14:34:36 +0200, Markus Falb wrote: > I think that with thunderbird you get a kind of first start setup wizard. > *skip that* ("I think I'll configure my account later") > > Preferences (you *will* find that ;-) -> Account Settings -> Account Actions > -> Add Other Account -> Newsgroup account > Afterwards you can set SSL/TLS Thanks. In the end, I'm using XPN, which, after a quick, intuitive, and simple setup, was posting immediately with native SSL to mixmin.net. I've learned, after testing perhaps hundreds of freeware solutions, over the years, to try once... try again... and then quickly move on to the next one if it fails twice. Usually, after two or three different packages, if well chosen, the task is accomplished. In this case... 1. I first tried Pan 0.135, which worked with stunnel - but problematically. 2. Then, I tried Thunderbird, which had a non-intuitive setup (to me). 3. I then tried Knode, which had problematic bloat & it didn't work anyway. 4. I could have learned how to compile Pan version 0.136 - but that's problematic. 5. Instead, I downloaded & executed xpn, which was simple to set up & worked! Woo hoo! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Is there a good nntp client for Centos 6 that handles SSL native?
On Sat, 04 May 2013 05:39:24 +, Stef wrote: > Try xpn. On Sat, 04 May 2013 10:49:46 +, J G Miller wrote: > you can get the source code from > http://xpn.altervista.ORG/index-en.html Since no easily-found repository existed for xpn: $ yum --noplugins --showduplicates --enablerepo \* --disablerepo c6-media,\*-source,\*debug\* provides "*/xpn" REPORTS: No Matches found I downloaded version 1.2.6 from: http://xpn.altervista.org/codice/xpn-1.2.6.tar.gz As suggested, I simply extracted and executed "xpny.py" to start xpn, and the setup was as easy as I would have expected an NNTP setup to be. I simply set up the minimum user & server information: http://www2.picturepush.com/photo/a/12853990/img/12853990.png Fetched the list of available groups for that server: http://www4.picturepush.com/photo/a/12853992/img/12853992.png And, then posted to the alt.test newsgroup: http://www5.picturepush.com/photo/a/12853993/img/12853993.png Unlike Thunderbird & Knode (which were nntp-horrid for different reasons) it was that easy (as it should be) on xpn to post using port 553 SSL native! Thanks! SUMMARY: Linux native SSL NNTP clients: a) xpn (worked on the first pass after a simple and intuitive NNTP setup)! b) Knode (problematic - didn't work on first pass & provided no error messages) c) Thunderbird (problematic - setup was not intuitive and didn't work for me) d) Pan 0.136 (problematic - requires compilation - which often fails for me) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Is there a good nntp client for Centos 6 that handles SSL native?
On Sun, 05 May 2013 07:09:01 +, Rock wrote: > I'm debugging (without any debugging tools) ... I was easily able to post to Aioe using Knode: http://www2.picturepush.com/photo/a/12853710/img/12853710.png So, it must be the Mixmin SSL setup that's bad. Do you see anything wrong with this Mixmin setup? http://www4.picturepush.com/photo/a/12853732/img/12853732.png ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Is there a good nntp client for Centos 6 that handles SSL native?
On Sat, 04 May 2013 13:53:53 +, Rock wrote: > $ sudo yum install kdepim -y Well, it's installed. A bunch of junk came with knode, so, that's definitely unfortunate. Here's a log of the setup results: $ knode -v ==> Qt: 4.6.2, KDE: 4.3.4 (KDE 4.3.4), KNode: 4.3.5 $ knode & {Knode}Settings->Configure Knode->Identity-> Name = foo Email Address = foo@is.invalid {Knode}Settings->Configure Knode->Accounts->Newsgroup Servers->Add Name = Mixmin Server = news.mixmin.net Port = 563 Encyryption = SSL {Knode}Article->Post to Newsgroup Groups = alt.test Followups to = alt.test Subject = test Body = test File->Send Now Unfortunately, there is no error message (that I could see), yet it failed to post. It even failed to obtain the group list (so the problem is earlier in the setup). I'm debugging (without any debugging tools) ... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Is there a good nntp client for Centos 6 that handles SSL native?
On Fri, 03 May 2013 12:32:28 +0200, Markus Falb wrote: > What exactly do you mean with that? When setting up Thunderbird for NNTP, TB asked questions like "incoming and outgoing user name", which are meaningless for NNTP (AFAIK); and TB didn't give any place to add any other server than an SMTP server; and even then, it didn't allow for a port change to 563. I'm sure if I dug further into the TB setup I could set it up for NNTP, but it was extremely clear (like bright blinding sunlight), that either I was in the wrong setup or that TB wasn't meant for USENET news ease of use. So, I gave up on TB - having the experience to know not to try to make something do what it wasn't meant to do combined with my total ignorance of how to make it do what I would want it to do. NNTP setup should be as simple as three questions: Q1: What is your news server address & port? (e.g., news.gmane.org:119) Q2: What is your username & password? (both allowed to be blank) Q3: What is your posting user & email (both allowed to be invalid) If the setup is more complex than that, then I wouldn't expect the program to handle news any better. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Is there a good nntp client for Centos 6 that handles SSL native?
On Fri, 03 May 2013 12:27:01 +0200, Markus Falb wrote: > you likely missed it because of all the language rpms. > As rex told us ;-) Ah, indeed! I had seen the "personal information manager" but I was looking for it to say "nntp usenet reader" or something of the sort since an nntp client isn't at all a PIM (to me). Another mistake I made was to try to install Knode using: $ sudo yum install knode -y Instead of: $ sudo yum install kdepim -y It's installed now so I will test it out. Thanks for the help! ...log... Installed: kdepim.x86_66:4.3.4-6.el6 Dependency Installed: akonadi.x86_64 0:1.2.1-2.el6 kdelibs-experimental.x86_64 0:4.3.4-3.el6 kdepim-libs.x86_64 6:4.3.4-6.el6 kdepimlibs.x86_64 0:4.3.4-4.el6 kdepimlibs-akonadi.x86_64 0:4.3.4-4.el6 qt-mysql.x86_64 1:4.6.2-26.el6_4 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Is there a good nntp client for Centos 6 that handles SSL native?
On Thu, 02 May 2013 20:36:53 -0500, Rex Dieter wrote: > I like knode (in kdepim rpm) Googling whether Knode handles SSL: https://bugs.kde.org/show_bug.cgi?id=43875 It looks like SSL was implemented in KDE 4.0: Volker Krause 2007-05-21 18:15:08 UTC, Implemented SSL for KDE4.0. So, looking for a Centos RPM repository: $ yum --noplugins --showduplicates --enablerepo \* --disablerepo c6- media,\*-source,\*debug\* provides "*/knode" I find every language possible reported, but not an RPM for knode. Any suggestions for installing it? (I'm the world's worst at compiling so I try to find a repo first!) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Is there a good nntp client for Centos 6 that handles SSL native?
On Wed, 01 May 2013 18:20:46 +, Rock wrote: > Had Pan native SSL support, this wouldn't have been a problem. I found out elsewhere that the latest Pan handles SSL, but the one in the rpmforge repository doesn't. Every time I try to compile source, it's a disaster, so, for me, Pan doesn't handle SSL. I also found out elsewhere that Thunderbird has native SSL support - but TB treats NNTP as SMTP which makes it difficult, if not unwieldy to use. So, I'm still looking ... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Is there a good nntp client for Centos 6 that handles SSL native?
Is there a good nntp client for Centos 6 that handles SSL native? It was difficult, to say the least, on Centos anyway, to get Pan to post to Mixmin servers, which require SSL (so we have to use Stunnel to add SSL capabilities to Pan) on Centos. Had Pan native SSL support, this wouldn't have been a problem. Hence the question: Q: Is there a good freeware NNTP client with a Centos repository that handles SSL native? Note: Here's the abbreviated sequence to install Stunnel with Pan (but it took me months to come up with this as all the tutorials on the web fail in the little Centos details). Install Stunnel: $ sudo yum install stunnel -y Read bug reports to find a stunnel init script for Centos: https://bugzilla.redhat.com/show_bug.cgi?id=455815 Add & modify that stunnel /etc/init.d/stunnel script: http://bugzilla.redhat.com/attachment.cgi?id=325164 Configure the Stunnel /etc/stunnel/stunnel.conf file: ;setuid = nobody ;setgid = nobody client = yes [nntp] accept = localhost:2119 connect = news.mixmin.net:563 NOTE: It took me months to figure out that these two now-commented lines cause stunnel to fail on my Centos box: Test Stunnel: $ telnet localhost 2119 Trying ::1... telnet: connect to address ::1: Connection refused Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 200 news.mixmin.net InterNetNews NNRP server INN 2.6.0 (20120622 prerelease) ready (posting ok) post 340 Ok, recommended message-ID From: foobar Newsgroups: alt.test Subject: This is a test This is a test of stunnel to mixmin. . 240 Article received quit 205 Bye! Connection closed by foreign host. Install Pan: $ sudo yum --enablerepo rpmforge install pan -y Configure any known good Pan newsserver: [Pan]Edit->Edit News Servers->Add->(see below)->OK Address: aioe.org Port: 119 Configure a test Pan posting profile: [Pan]Edit->Edit Posting Profiles->Add-> Profile Name: New Profile Full Name: Foo Bar Email Address: f...@bar.com Post Articles Via: aioe.org OK Test Pan setup by reading & sending a message to alt.test. [Pan]Post->Post to Newsgroup->alt.test Now you're ready to configure Pan for SSL via Stunnel: [Pan]Edit->Edit News Servers->Add->(see below)->OK Address: localhost Port: 2119 Switch the test user to this encrypted server: [Pan]Edit->Edit Posting Profiles->Edit-> Post Articles Via: localhost OK Test this setup by reading & sending a message to alt.test. [Pan]Post->Post to Newsgroup->alt.test Note: It would have been easier had Pan native SSL capability; hence the question: Q: What nntp client handles SSL native on Centos 6? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] My linux keeps logging me off when I run Firefox (how to debug)?
On Tue, 16 Apr 2013 09:19:23 +0200, Nicolas Thierry-Mieg wrote: > Note that there are now 4 branches of the nvidia driver (3 legacy + > latest), each supporting different devices. To know which branch you > need, simply install nvidia-detect from elrepo and run it. > http://elrepo.org/tiki/nvidia-detect Thanks! The results from that program are nice because it is problematic to obtain the correct driver version from the Nvidia support page (due to multiple Quadro FX entries, only one of which is the correct one - so one can easily conclude the wrong driver from the Nvidia support pages). I have, AFAIK, the Nvidia "Quadro FX 880M" graphics card: $ /sbin/lspci -nn | grep VGA ==> 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT216 [Quadro FX 880M] [10de:0a3c] (rev a2) $ sudo yum --enablerepo elrepo install nvidia-detect ==> Installed: nvidia-detect.x86_64 0:310.40-1.el6.elrepo $ nvidia-detect Probing for supported NVIDIA devices... [10de:0a3c] NVIDIA Corporation GT216 [Quadro FX 880M] This device requires the current 310.40 NVIDIA driver (kmod-nvidia). ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] My linux keeps logging me off when I run Firefox (how to debug)?
On Tue, 16 Apr 2013 09:55:27 +0100, James Pearson wrote: > Any Xorg crash details will be in /var/log/Xorg.?.log - however, if Xorg > has restarted since the crash, then the error should be in > /var/log/Xorg.?.log.old > > The error may also be in one of the log files in /var/log/gdm/ Thanks James, This is helpful, especially for debugging. I'm looking through the Xorg.?.log files in /var/log/ Xorg.{0,2,3,4,5,9}.log Xorg.{0,,2,3,4,5}.log.old There is a lot there - but I'm not sure what I'm looking for. Likewise, I'm looking through the files in /var/log/gdm for clues: :0-greeter.log :0-greeter.log.{1,2,3,4} :0.log :0.log.{1,2,3,4} :0-slave.log :0-slave.log.{1,2,3,4} etc. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos