Thomas Blasejewicz | 31 Oct 17:49 2014
Picon

PC does not power down AND screen does not recover

Good evening
I am 'using' xubuntu 14.04 on a note PC.

It used to power down when I closed the lid AND the screen turned back
on when I opened it.

As of today - to the best of my knowledge - it DOES NOT power down when
closing the lid.
The machine (fan) keeps running and full speed.

When I open the lid to see what is happening, that screen is and remains
black.
Since I have NO WAY of knowing, whether the computer actually IS doing
something upon opening the lid ...
cutting the power is the ONLY remaining option.

Now, what is this all about?

I went through the power settings, but apart from the fact, that I
cannot find an item about
what to do upon closing the lid .. the settings seem to me exactly as
they used to be.

This may not belong here, but I have also a VERY old machine on which I
installed lubuntu 14.04.
When I set that thing (desktop PC) to "suspend", it does "suspend" (I
assume), but the screen here too is and remains a solid black.
Leaving only the "power-cut technique".

Is this a bug?
(Continue reading)

Chris | 29 Oct 17:09 2014

dns: sendto() to [127.0.0.1]:53 failed:

The complete error I see is:

localhost spamd[2195]: dns: sendto() to [127.0.0.1]:53 failed:
Connection refused, no more alternatives
localhost spamd[2195]: dns: bad dns reply: Connection refused

This seems to happen every time a new kernel is installed such as today
when 3.13.0-39-generic was installed. When rebooting after the upgrade
this is in my syslog:

localhost NetworkManager[952]: <info> (eth0): DHCPv4 state changed
preinit -> bound
localhost NetworkManager[952]: <info>   address 192.168.0.51
localhost NetworkManager[952]: <info>   prefix 24 (255.255.255.0)
localhost NetworkManager[952]: <info>   gateway 192.168.0.1
localhost NetworkManager[952]: <info>   hostname 'localhost'
localhost NetworkManager[952]: <info>   nameserver '192.168.0.1'
localhost NetworkManager[952]: <info>   nameserver '205.171.2.226'
localhost NetworkManager[952]: <info>   domain name 'PK5001Z'

These are the same as always shown. In /run/resolvconf/interface the
file NetworkManger shows:

domain PK5001Z
search PK5001Z
nameserver 127.0.1.1

always. As I said earlier, this always happens when the kernel is
updated and seems to last for a day or so then fixes itself. What I'm
interested in finding is just what is the cause?
(Continue reading)

Dave Stevens | 29 Oct 01:41 2014

adsl and peer-to-peer performance issue

Once in a while I use aMule to d/l files. I'm on an ADSL line that  
delivers about 2mbps down and about 600kbps up. When I have the  
peer-to-peer program running I get very poor performance in other  
internet applications even though aMule is showing very little  
bandwidth used. Is this a config issue? or built into some protocol?

Ubuntu 14.04.1

Dave

--

-- 
Hold my beer while I show you this trick I can do!

arelem3 | 28 Oct 23:51 2014

difference in number of files and directories ( from GUI and, Command line )


I'm trying to find total numbers of files and directories in my home folder using following two methods ... but the result is different in both ways _ __first command line_ tree /home/jatin | tail -1 3071 directories, 26455 files thus total containing items are 3071+26455=29525 second using GUI ( right click on /home/jatin directory ..and then properties ) it shows, 29,503 items, totalling why like that .... M I doing anything wrong ... is there any batter way to confirm total files and directories in my home folder ???? ( I've taken a backup of my home directory and want to confirm that everything is ok or not ..by comparing the directory and files ) there is also difference in size "du" command output and gui Warm Regards
I noticed that when using ls -aFl and hazard a guess that via command line we get hidden files and directory root .  and .. that may not be counted in the GUI count. I much prefer command line over GUI for most things.
Roger
<div>
    <br>
    <blockquote cite="mid:mailman.446.1414524010.25267.ubuntu-users <at> lists.ubuntu.com" type="cite">

I'm trying to find total numbers of files and directories in my home 
folder using following two methods ... but the result is different in 
both ways
_
__first command line_

tree /home/jatin | tail -1

3071 directories, 26455 files thus total containing items are 3071+26455=29525 second using GUI ( right click on /home/jatin directory ..and then 
properties ) it shows, 29,503 items, totalling

why like that .... M I doing anything wrong ... is there any batter way to confirm total files and directories in my home folder ????

( I've taken a backup of my home directory and want to confirm that everything is ok or not ..by comparing the directory and files )

there is also difference in size  "du" command output  and gui
Warm Regards

    </blockquote>
     I noticed that when using
      ls -aFl and hazard a guess that via command line we get hidden
      files and directory root .&nbsp; and .. that may not be counted in the
      GUI count. I much prefer command line over GUI for most things.<br>
      Roger<br>
  </div>
Jatin khatri | 28 Oct 14:20 2014
Picon

difference in number of files and directories ( from GUI and Command line )

I'm trying to find total numbers of files and directories in my home folder using following two methods ... but the result is different in both ways

first command line

tree /home/jatin | tail -1

3071 directories, 26455 files

thus total containing items are 3071+26455=29525


second using GUI ( right click on /home/jatin directory ..and then properties )

it shows, 29,503 items, totalling


why like that .... M I doing anything wrong ... is there any batter way to confirm total files and directories in my home folder ????


( I've taken a backup of my home directory and want to confirm that everything is ok or not ..by comparing the directory and files )


there is also difference in size  "du" command output  and gui


Warm Regards

--
<!-- <at> page { margin: 2cm } P { margin-bottom: 0.21cm } A:link { so-language: zxx } -->

*/

Jatin Khatri

RHCSA RHCE CCNA

www.fedoraproject.org/wiki/Jatin

Save Paper, Save Environment.**
(Plant at least one tree in your life and nurture it !!!)


<div>
    I'm trying to find total numbers of files and directories in my home
    folder using following two methods ... but the result is different
    in both ways<br><br>first command line<br><br>
    tree /home/jatin | tail -1<br><br>
    3071 directories, 26455 files<br><br>
    thus total containing items are 3071+26455=29525<br><br><br>
    second using GUI ( right click on /home/jatin directory ..and then properties
    )<br><br>
    it shows, 29,503 items, totalling<br><br><br>
    why like that .... M I doing anything wrong ... is there any batter
    way to confirm total files and directories in my home folder ????<br><br><br>
    ( I've taken a backup of my home directory and want to confirm that
    everything is ok or not ..by comparing the directory and files )<br><br><br>
    there is also difference in size&nbsp; "du" command output&nbsp; and gui <br><br><br>
    Warm Regards <br><br><div class="moz-signature">-- <br>
	&lt;!--
		 <at> page { margin: 2cm }
		P { margin-bottom: 0.21cm }
		A:link { so-language: zxx }
	--&gt;
	<p>*/</p>
      <p>

        Jatin
        Khatri</p>
      <p>RHCSA RHCE CCNA</p>
      <p><a href="http://www.fedoraproject.org/wiki/Jatin">www.fedoraproject.org/wiki/Jatin</a>
      </p>
      <p>
        Save
                Paper, Save Environment.**≤br>(Plant
                    at least one tree in your life and nurture it !!!)</p>
      <p><br></p>
    </div>
  </div>
Roland RoLaNd | 28 Oct 13:59 2014
Picon

ubuntu 14 installation, failed raid10 array

I have two raid arrays on my system:
raid1: /dev/sdd1 /dev/sdh1
raid10: /dev/sde1 /dev/sda1 /dev/sdf1 /dec/sdb1 /dev/sdc1 /dev/sdg1

two disks had bad sectors: sdd and sdf <<-- they both got hot swapped. i added sdf back to raid10 and recovery
took place but adding sdd1 to raid1 proved to be troublesome
as i didn't have anything important on '/' i formatted and installed ubuntu 14 on raid1 

now system is up on raid 1, but raid10 (md127) is inactive

Code:
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
md127 : inactive sde1[2](S) sdg1[8](S) sdc1[6](S) sdb1[5](S) sdf1[4](S) sda1[3](S)
      17580804096 blocks super 1.2
       
md2 : active raid1 sdh4[0] sdd4[1]
      2921839424 blocks super 1.2 [2/2] [UU]
      [==>..................]  resync = 10.4% (304322368/2921839424) finish=672.5min speed=64861K/sec
      
md1 : active raid1 sdh3[0] sdd3[1]
      7996352 blocks super 1.2 [2/2] [UU]
      
md0 : active raid1 sdh2[0] sdd2[1]
      292544 blocks super 1.2 [2/2] [UU]
      
unused devices: <none>
if i try to assemble md127 
Code:
mdadm --assemble /dev/md127 /dev/sde1 /dev/sda1 /dev/sdf1 /dec/sdb1 /dev/sdc1 /dev/sdg1
i get this:
Code:
assembled from 5 drives and 1 rebuilding - not enough to start the array

what does it mean ? is my data lost ? 

if i examine one of the md127 raid 10 array disks it shows this:

Code:
mdadm --examine /dev/sde1
/dev/sde1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : ab90d4c8:41a55e14:635025cc:28f0ee76
           Name : ubuntu:data  (local to host ubuntu)
  Creation Time : Sat May 10 21:54:56 2014
     Raid Level : raid10
   Raid Devices : 8

 Avail Dev Size : 5860268032 (2794.39 GiB 3000.46 GB)
     Array Size : 11720534016 (11177.57 GiB 12001.83 GB)
  Used Dev Size : 5860267008 (2794.39 GiB 3000.46 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : a2a5db61:bd79f0ae:99d97f17:21c4a619

    Update Time : Tue Oct 28 10:07:18 2014
       Checksum : 409deeb4 - correct
         Events : 8655

         Layout : near=2
     Chunk Size : 512K

   Device Role : Active device 2
   Array State : AAAAAAAA ('A' == active, '.' == missing)

Used Dev Size : 5860267008 (2794.39 GiB 3000.46 GB) <<--- does this mean i still have my data ?  		 	   		  
--

-- 
ubuntu-users mailing list
ubuntu-users <at> lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Thomas Kaiser | 28 Oct 00:34 2014
Picon

Re: stop suspend on NON-X system

  On 10/12/2014 10:03 AM, Karl Auer wrote:
> Hi there.
>
> I have a netbook running as a server. I installed the desktop version of
> Ubuntu 14.04-1 and have disabled lightdm using an override file
> in /etc/init. This machine thus runs WITHOUT X and WITHOUT EVER STARTING
> X. Important points.
>
> What I want to do is prevent this machine from suspending or hibernating
> when I close the lid. At the moment, when I close the lid the system
> suspends to RAM.
>
> Any ideas? I've found lots of stuff, but it is all X-related, outdated,
> or doesn't work. The most promising was some entries
> under /etc/polkit-1, but the suggested incantation did not work.
>
> Has anyone here got an idea how this might be achieved?
>
> Thanks, K.
>
> PS: The netbook has no BIOS setting controlling suspend on lid.
>
> PPS: The X settings - from before I disabled lightdm - did successfully
> stop the system from suspending when the lid was closed. However, X was
> running at those times.
>
  Hello Karl

  I had the same issue after I updated a laptop running the server version
  to 14.04.

  Try changing |HandleLidSwitch to ignore in /etc/systemd/logind.conf.
  Don't forget to uncomment it.
  This helped me.

  Regards, Thomas
  |

Thufir | 27 Oct 23:50 2014
Picon

configure static ip address with yast

I'm trying to configure a server, which uses yast, with a static ip 
address.  

ip:  192.168.0.15
subnet: 255.255.255.0
hostname:  foo.bar.com  (not actual, of course)

on yast, should it change the host name via DHP, or loopback IP?

for the domain search, that's google.com?  Or, do they mean, in this 
case, that noip.com manages the DNS lookup for the hostname?

I was looking for "yast print all config" but haven't yet found that 
option, I'm reading the fine manual on it :)

another computer on the network:

thufir <at> ix:~$ 
thufir <at> ix:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:24:1d:aa:19:75  
          inet addr:192.168.0.13  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::224:1dff:feaa:1975/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:181254 errors:0 dropped:0 overruns:0 frame:0
          TX packets:99971 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:123974549 (123.9 MB)  TX bytes:14352081 (14.3 MB)
          Interrupt:17 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:13871 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13871 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1517339 (1.5 MB)  TX bytes:1517339 (1.5 MB)

thufir <at> ix:~$ 
thufir <at> ix:~$ ethtool eth0
Settings for eth0:
	Supported ports: [ TP ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Half 1000baseT/Full 
	Supported pause frame use: No
	Supports auto-negotiation: Yes
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Half 1000baseT/Full 
	Advertised pause frame use: No
	Advertised auto-negotiation: No
	Speed: 100Mb/s
	Duplex: Full
	Port: Twisted Pair
	PHYAD: 0
	Transceiver: internal
	Auto-negotiation: on
	MDI-X: Unknown
Cannot get wake-on-lan settings: Operation not permitted
	Current message level: 0x000000ff (255)
			       drv probe link timer ifdown ifup rx_err 
tx_err
	Link detected: yes
thufir <at> ix:~$ 

thanks,

Thufir

Thufir | 27 Oct 21:35 2014
Picon

network admin, ip addresses for webserver

Why is important for a server to use static ip address instead of DHCP?  
If it's behind a router, why not use that router's outward facing IP 
address, and then the router will *route* to that hostname?

Just in general.

thanks,

Thufir

Adam Funk | 27 Oct 20:49 2014

rtl8723ae fixed in 14.10?

Does anyone know if the problems with the Ubuntu Realteak rtl8723ae
driver [1] have been fixed properly in 14.10?  I'm looking into this
for a family member & would prefer not to try compiling stuff from a
dropbox link if the dist-upgrade in the near future is likely to fix
it anyway.

Thanks,
Adam

[1]
http://ubuntuforums.org/showthread.php?t=2166131

william drescher | 27 Oct 11:46 2014

key management - 1404 encrypted filesystem

I have read the man pages for eCryptFS and the ubuntu.com pages, 
but I can't find anything on removing a key from the kernel 
keyring.  ecryptfs-utils can add a key (via 
ecryptfs-add-passphrase or ecryptfs-manager).

Can a passphrase be removed ?
-bill


Gmane