Tag Info

New answers tagged

0

Ok, figured this out; you need to sudo cp /lib/udev/rules.d/77-mm-ericsson-mbm.rules /etc/udev/rules.d/ and then edit it to add an entry matching your card's lsusb output. That solved this for me! Full blurb on my http://blog2.vorburger.ch/2015/03/fixed-linux-ericsson-h5321gw-3ggpshspa.html


0

I would suggest creating multiple security zones and placing the system hosting the SQL database in a security zone intended for your "China partner." The system itself should be secured to the extent possible. I would further suggest that vpn access be setup (if acceptable) for use by your China partner. So you might have a private corporate security zone ...


0

Don't use ls at all. It is generally a bad idea to try and parse ls output and there are other tools that are specifically designed for the job. In this case, you can use stat: $ stat -c '%G %U %y' . terdon terdon 2015-03-03 19:37:48.007033824 +0200 Explanation -c --format=FORMAT use the specified FORMAT instead of the default; output a ...


0

I saw a very similar error before. Since you are able to login I think the key lines are: debug3: channel 0: status: The following connections are open: #0 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1) If you search around for this you'll find some related issues. Here's one on serverfault: ...


0

Processes cannot 'leave' a namespace – the setns(2) function requires root privileges. But most likely you already have an existing Firefox instance running outside the namespace. Whenever you run Firefox a second time, it just asks the existing instance to open a new window. You can avoid this by using separate Firefox profiles, e.g. firefox -profile ...


0

This is the easiest way that I found, to switch between tabs faster and simple. Add next lines to your .vimrc and enjoy it, more tricks about vim tabs here. nnoremap <C-Left> :tabprevious<CR> nnoremap <C-Right> :tabnext<CR>


0

You'll change expect "something that you already expect" to expect { "this happens sometimes" { send -- "some input\r" exp_continue } "something that you already expect" }


0

This might be because of the "localhost". As you now NAT has an internal and an external interface: Now let your host access the same way as other clients. That means instead of localhost connect to localIP:3022 and compare the results.


0

The first character: d means it is a directory. If you have a file it is - If it is a link you will find an l. Next letters must be checked in blocks of 3 characters: First block: Permissions for the owner Second block: Permissions for a group of users Third block: Permissions for everybody else The character means: r for read w for write x for ...


0

A small shell script should solve the problem. #!/bin/bash file="part" ext=".txt" n=1 while read line do fname=$file$n$ext echo $line >> $fname bytes=`wc -c $fname | cut -f1 -d' '` if [ $bytes -ge 10485760 ] then n=$((n+1)) fi done < input.txt input.txt is your input file and the script should produce output like part1.txt, ...


0

Those delay_connect, _netdev, ... are correct but won't work unless you tweak the networking to come up exactly in (or before) that small time window, when the /etc/fstab is being processed. When the processing is over, and networking comes up later, you have to use the mount -a. In most cases (and mime also) the network-manager caused the problem, since it ...


0

It isn't the fastest but it does what you've asked: #!/bin/bash minimumsize=10000 actualsize=0 infile=$(basename "$1") filenum=1 outdir=/home/user/bin/testing/tmp outfile=$infile.out$filenum if [ ! -f "$outdir/$outfile" ]; then mkdir -p "`dirname \"$outdir/$outfile\"`" 2>/dev/null fi while read line do if [ $actualsize -ge $minimumsize ]; then ...


0

Installing the debian package for the Ethernet card solves the issue. http://ftp.de.debian.org/debian/pool/main/r/r8168/


1

SELinux ACLs aren't set directly on the files, so no, you can't really. All SELinux access rules are applied to "contexts"; all processes and all files live in one context or another, and the dot only means that the file has a specific SELinux context assigned to it (see ls -Z) as opposed to the default one (unconfined_u:object_r:default_t). If the current ...


0

Well, while I was hoping for some generic xunhidemycursor, an answer actually turned out to be in Minecraft. (I would still love to have a generic command.) In Minecraft, you can travel between "dimensions", the two primary ones being the Overworld and the Nether (hell, essentially). Travel involves an interstitial loading screen, during which, the cursor ...


0

I upgraded my kernel to 3.19 the other day for the xpad controller support, to also find that my PowerA Spectra controller did not work. After some investigating with the driver, I found like you say the driver was not performing a valid handshake. This was not the only problem that I had however, as unlike the official Xbone controller which had the in/out ...


3

To see the permissions of the current directory, whatever it is, use: ls -lid . How it works: -l asks ls for a long directory listing. -i asks ls for inode information (optional). -d tells ls to report on the directory itself, not what is in it. . refers, as is conventional for Unix, to the current directory.


1

I ran into a similar/the same issue with my Synology NAS (BusyBox v1.16.1): diff -arq Dropbox/abc/ library/abc/ > abc.diff produced a lot of entries like Common subdirectories: Dropbox/abc/yz/tuv.pdf and library/abc/yz/tuv.pdf even though said file was in xyz/tuv.pdf (x missing). But the following command (without trailing /) worked as expected: diff ...


0

With sdive's answer I kept getting "FATAL: Module usbserial is in use." I finally solved the problem with some guidance from LiLo's answer here: http://askubuntu.com/a/661/379851 But instead of using some C code, I wrote a python equivalent that also finds the bus and device in question: #!/usr/bin/env python import os import sys from subprocess import ...


0

Btrfs (B-tree file system) is your answer, it has parallels with Ext4, but offers a bigger change in features and design. It is still relatively new, and majority of the production Linux installations are quite conservative, so you are probably going to have relatively limited community support.


1

This is what I came up with. It allows you to maintain a normal rc file, but also do everything in one ssh connection (ie only need to login once as opposed to doing an scp first). #copies some environment over to the remote machine function ssh() { /usr/bin/ssh -t $* "echo `base64 -i ~/bin/remote_ssh_env.sh` | base64 --decode > /tmp/remote_ssh_env.sh; ...


1

For NVIDIA graphics: see nvidia-smi NVIDIA System Management Interface For Intel graphics: see intel-gpu-tools Intel GPU tools for Ubuntu


0

There are a number of possible solutions here, including: dm-cache bcache flashcache I can't specifically recommend one solution over the other, having not used them. It's not particularly hard to set up dm-cache or bcache. This article shows how to set up dm-cache and bcache. The author ends up sticking with dm-cache. Note that you may first want to ...


0

The easy way to set trivial passwords, even if it's a single character, it is by using root user to set the password.


0

Use rsync rsync --progress -r -u /from/one/* /to/another/directory


0

Suggestion: How I fixed it: Backup your yourVirtualMachine.vbox file. Open your yourVirtualMachine.vbox file with editor. Search through the .vbox file for your missing UUID e.g. 36bbf5bd-3a5e-48ab-80d6-6a2952788fdc. You should find a section with attributes like this: <AttachedDevice type="HardDisk" hotpluggable="true" port="0" device="0"> ...


0

This answer given in the comment above by l0b0 is correct. I would have marked it as the correct answer, but it is a comment, so I can't: There are many duplicates on USE, but they can be hard to find. Look at for example Appending to same array in various loops, only last values remain Bash 4 There are two solutions given there. For me actually only the ...


0

I've deleted Windows boot manager and then used Windows cmd via livedvd to recreate windows boot manager and it worka Mike a charm, but i dont know why ;)


0

I think everybody has gotten it right in some way, but I think there still are bits of information I'd like to add: Regarding the filesystem Live media is not the same as a properly installed operating system, and sure you'll need a variant of the ext filesystem for installing your Linux distribution but on your hard drive, many live media does not have ...


2

The normal case is that Linux systems have the RTC (real-time clock) set to UTC, and the conversion to local time is done in userspace based on time zone data and the TZ environment variable. This is "less bad" because it keeps the system RTC monotonically increasing, and applies any time zone magic later, ensuring for example that no files will normally ...


1

Your plugging your mouse into USB 3.0 Port, Feb 12 19:53:11 Deltique kernel: [ 167.355257] usb usb3-port2: unable to enumerate USB device Your external drives have 3.0 USB support feature so it's working.. If your mouse need to work with USB 3 Port you need to install the driver for USB 3.


0

Similar type of bugs I also used to get, This might be because you are trying to connect to a High speed USB port by a low speed device. Put your USB port informations from the system information. usb 3-4: new full-speed USB device number 26 using xhci_hcd Go through this links for further details http://www.linux-usb.org/FAQ.html#ts6 ...


1

You say you did this: Instead of using the system provided MongoDB which is 2.4, I want to use 2.6 so I downloaded MongoDB executable and just put it in the places I wanted. That’s really not the supported and recommended way you should be installing MongoDB on your system. The MongoDB team is very well aware that official Linux repositories don’t ...


0

Hi there is no eth0 file for Linux mint, Edit the interface file and append the below configuration. Change your IP address what ever you need and network range, gateway. # vim /etc/network/interfaces Append the IP information to the interface file auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.1.78 ...


43

I recently faced the same problem and this is how I fixed it. You need to do a little change in both OS. I started with Linux first. Run these following commands as root. ntpdate pool.ntp.org This will update your time if not set correctly. Now set the hardware clock to UTC with this command. hwclock --systohc --utc Source Now boot to Windows and ...


9

Neither is wrong, but using UTC is more right. The RTC doesn't have a time zone; it's just a dumb wall clock. If your local time zone honors DST (of which there are many flavors, and rules change arbitrarily), then twice a year, you have to go and change it. The OS will do it for you, but if the RTC is UTC, the OS does the UTC->local translation anyway -- ...


0

You are creating a VLAN, which means (in this case) that any packets emitted from the eth0.22 packet are prefixed with an 802.1Q header (a tag) saying that the packet is destined for VLAN 22. The switch accepts this packet on a trunked interface and forwards the packet out of any ports that are defined as allowing VLAN 22 (or defined as allowing any VLANs). ...


0

Become owner of those files/folders. chown /home/ec2-user/.rvm/scripts/initialize chown /home/ec2-user/.rvm/scripts/hook


1

If you dual boot and there are time conflicts between Windows and Ubuntu, this occurs because Ubuntu store the time on the hardware clock as UTC by default while Microsoft Windows stores the time as local time, thus causing conflicting times between Ubuntu and Windows. You need to set your Linux system to use local time as explained here in this ...


0

It looks like a shared library issue. Run the following as root: apt-get -f install && apt-get update && dpkg -i skype-debian_4.3.0.37-1_i386.deb && --install


0

Seems like a simple dependency issue. Not 100% sure about Kali Linux, but did find these Kali Linux specific Skype installation instructions that seem solid. Specifically they suggest the following: sudo apt-get -f install The -f flag stands for --fix-broken and according to the man page it will: Fix; attempt to correct a system with broken ...


1

If the libraries your system has in place are in the /lib/x86_64-linux-gnu/ directory, those would be 64 bit versions of the libraries. So if the application is complaining about not finding them—but you have similarly named libraries in that 64 bit directory—then it seems like your system needs the 32 bit versions of those libraries for Steam to run. This ...


0

As I understand it you're looking to create a mirror (or close enough to one) of your laptop hard drive to replace the laptop hard drive in the event of a disk failure. The mirror drive is to be connected via USB and may not always be connected, for instance you take your laptop on a short trip but leave the mirror drive at work or home. To me this looks ...


0

Another solution to create a system user, using adduser : adduser --system --no-create-home --group yourusername You can remove --group if you don't need group yourusername, and --no-create-home if you do need a home for this user. Beware that the numeric ID of the user will be of a system account. You can fix the uid using the --uid option, though.


0

my data is located in the folder that only admin can access. Based on this information, the answer would be no, You can't access this folder through FTP, let alone FileZilla. That said, you will be able see the folder name through FTP if it a sub-directory for the Root Directory of the FTP. Remote Desktop is good as long as the session remains Encrypted and ...


0

In %post section you can do all your commands, like if you did them in terminal. So it should look like this (example): %post mount -t iso9660 -o ro /dev/cdrom /mnt/cdrom #Mount CDROM cd /cdrom dpkg -i virtualbox.deb #Install your package %end Reference: http://www.cyberciti.biz/faq/mounting-cdrom-in-linux ...


0

Make sure that your .cfg file have right permissions and is readable by other users/systems. You may try to wget or just simply open it from any other PC in your network and see if it works. If you have permissions problem try to set chmod to 666. chmod 666


0

This is what I did in the end: I used a linux live CD to get my files back and moved the Windows/System32/config folder onto a USB flash driver. Using Produkey by Nirsoft (http://www.nirsoft.net/utils/product_cd_key_viewer.html), which I installed on another Windows computer, I was able to extract the key out of the config folder.


1

You want to create a USB installer, if the Linux Mint live image didn't include an installer program. This link will help with creating live USB installers, and Ubuntu isn't a half bad candidate for use on a Mac either. The instructions from Step 4 onward should also work from Linux Mint. You may need an external hard drive or to format the Macbook's main ...


0

Finally figured out a fix. I ran these 2 functions to recursively file the folder and file permissions of www and within. find /var/www -type d -exec chmod 755 {} \; find /var/www -type f -exec chmod 644 {} \; I read this page here: https://wiki.apache.org/httpd/13PermissionDenied and it basically explained and reminded me that permissions are inherited, ...



Top 50 recent answers are included