Tag Info

New answers tagged

0

Try this. instead of auto eth0 try auto eth0 allow-hotplug eth0 allow-hotplug starts the interface when the kernel detects a hotplug event from the interface while auto starts the interface on the system start. I'm sure but I think a DHCP release is a hotplug event. Hope this was helpful.


0

In order to reduce bandwidth use of the Internet, you need to force all traffic through an intermediate that filters and caches. A single computer can do that if it has two network cards, one connected to the inner network and the other probably goes straight to your router. The inner network should consist of a switch with the PC, printer, Wi-Fi access ...


0

Reinstalling / uninstalling/ purging did not work for me. This did: This worked for me: sudo nano /etc/init.d/dovecot put exit 0 in the top line (you may put it on 2nd line after comment) save, and try to aptitude-remove to remove your broken installation :-)


4

What you are trying to do isn't really something that the built-in resolver libraries were designed to handle. (ie use a set of DNS servers only for a specific sub-domain). The built in resolver only skips to another server when communication with the server fails, not when the server reports that a record doesn't exist. A way to handle this might be to ...


0

There was a permission problem. I did a sudo chmod 744 on the file and the link showing itself in the menu bar. Thanks


0

I ran into this same issue and had some problems getting the 32-bit libs installed on Wheezy 7.6. I finally managed to resolve it by targetting 32-bit libgcc1 explicitly: sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install libgcc1:i386 This will add libgcc_s.so.1 to /usr/lib32/


1

Looks like it's not mounted with quotas turned on. According to the xfs_quota man page setting quotas on root filesystems requires a different approach than other XFS filesystems. From the "QUOTA ADMINISTRATION" section of man xfs_quota: "Turning on quotas on the root filesystem is slightly different from the above. For IRIX XFS, refer to quotaon(1M). For ...


0

As posted in the comments by Andre Morton, the solution was simply to press the 'Auto' button on the LCD monitor


0

The state Netfilter module is implemented using the kernel module named xt_state, so if an attempt to use it fails right away, it's possible to try doing # modprobe xt_state If that fails, the kernel most probably is compiled with the support for advanced Netfilter features disabled. To verify it, one can search /boot/config-<your-kernel-version> ...


1

Was Issue nr 286: see here for problem description: fail2ban apache-auth issue. This was corrected on github, you can apply following patch, which can be found here on github I put the solution here, too: it is to replace the failregex in apache-auth.conf file by the following: failregex = ^%(_apache_error_client)s user .* authentication failure for ...


0

There's a good answer explaining how gnome-terminal doesn't allow TERM to be defaulted via its settings over at askubuntu. It suggests that this is a compile-time option, so it appears that setting TERM in a shell profile or startup script is the best and only option. You might create a wrapper script or alias if you prefer.


0

I'm not sure what caused the problem, but (a) upgrading EasyBCD from 2.1.2 to 2.2 and (b) adding a boot entry that explicitly specified the disk I wanted to boot from fixed my problem.


3

I had exactly the same problem starting yesterday (Windows, lastest Firefox). In my case it was cause by the FF addon Adblock Edge. Adding @@||stackoverflow.com^$document and @@||superuser.com^$document as exception filters fixed it. Further investigation (searching for filters containing sstatic.net as per comment by Tetsujin) shows that Fanboys Social ...


0

This should do what you want, in seconds: #!/bin/bash STARTTIME=`date +%s` GATEWAY=`ip r s | grep default | cut -d' ' -f3` INTERVAL=1 while ping -c 1 -W 1 ${GATEWAY} >/dev/null 2>&1; do awk -v STIME="$STARTTIME" 'BEGIN { DTIME=systime()-STIME; printf "Seconds of uptime since %s: %d\n", strftime("%a %b %e %H:%M:%S %Z %Y",STIME), ...


0

Answer: NO! They are not the same. I assumed otherwise and faced lots of problems setting up virtualbox-dkms module. To resolve all these issues I upgraded my kernel to 3.16.0-4-amd64 for which there were appropriate Linux headers.


1

This seems to be a known issue as reported here. The most practical solution would be to first kill of all instances of mysqld that are running: sudo killall mysqld And then run this as suggested to get things running with MariaDB again: sudo apt-get -f install If somehow that doesn’t work, run dpkg --configure -a before the previous commands and try ...


1

You can do it with grep cat filename | grep -A1 TWITTER | grep -v TWITTER or, perhaps better, you can do it with awk awk '/TWITTER/{getline; print}' filename


1

I use this: for p in $(apt-show-versions|grep "newer than version in archive"|cut -d\ -f1); do apt-get install $p=$(apt-cache show $p|grep ^Version|tail -1|cut -d\ -f2); done (There is a double space after both -d\.)


1

You can use escape characters to put any colour to a line. For example: your command 2>&1 | sed 's/^.*error.*$/^[[31m&^[[0m/g' 2>&1 stderr to stdout. ^[ is the escape character. You can write it with ctrl+v+[ It doesn't work if you copy and paste the command. Other solution: your command 2>&1 | sed ...


1

Is this because I am trying to mount an image created for a different architecture? No, it's because you're trying to mount an image that doesn't look like any mountable filesystem in the first place. It's a whole disk image – it starts with a MBR partition table, and only then has some number partitions containing filesystems, each of which would ...


0

I had similar issue but also for not logged-in users. Restart of nscd didn't help, but executing this command did: nscd -i group. That should instruct nscd (caching daemon) to reload the groups file.


0

Just replace your previous second command or line with this one: Previous commands: $apt-get update $apt-get install x-window-system-core gdm New working commands: $apt-get update $apt-get install x-window-system-core gdm3


1

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681656 The work around is to go to a different shell: Press Alt-F2 type: nano /bin/check-missing-firmware Under the first line of the script, add exit 0: #!/bin/bash exit 0 Press Alt-F1 and return to the frozen screen and hit CTRL-C to kill and restart that script. Do not select the conflicting harder ...


1

Those libraries should be located in /usr/share/java/, so you could use this path to add them to your classpath. So for example, if you installed libcommons-io-java in version 2.4.5 using apt-get, you should be able to use this library by either adding /usr/share/java/commons-io.jar or /usr/share/java/commons-io-2.4.jar to your classpath (as far as I know ...


1

Per this Ask Ubuntu post the easiest way to hold a specific version of a package (i.e. prevent it from updating): sudo apt-mark hold vim You remove the hold with: sudo apt-mark unhold vim


1

Is there a safe way to download and install packages without messing up aptitude? Aptitude (and apt-get as well as yum on CentOS) is not magic. It’s a package installer that installs software components into predetermined areas based on a software package’s needs. When you say you want to download the development branch from their Git repository, ...


0

Some background First, let's pick apart what you've tried. The commands xset -dpms and xset s off control the X Server (the piece of software actually responsible for presenting you with a graphical display and managing input devices on it, such as mouse) directly, while setterm -powersave off is meant only for what are called "virtual consoles" ...


0

There seems to be a package incompatibility in debian repositories. To solve this problem, I inverted all the changes and then downloaded the driver from nvidia web site and installed it from terminal.


0

Mea culpa, found the trivial solution: rootdelay=5 in kernel cmdline fixed it.


1

Snoopy is simple to start with. If you need more (in terms of reliability or 'uncircumventiability'), you should look towards proper auditing solutions. Disclosure: Snoopy maintainer here.


0

You can use the free mp3cat: mp3cat indir - > outfile.mp3


1

I spent an another whole day on this and finally I managed to install it The steps I took are the following I connected the drive to the PC and booted into an Ubuntu LiveCD session Formatted the drive to FAT32 with gparted Opened terminal and launched sudo mount /dev/sdb1 /mnt && sudo grub-install --boot-directory=/mnt/boot /dev/sdb Downloaded ...


0

From CProgramming Borad The win32 API supports both the one-to-one and many-to-many models (in the thread library and fiber library respectively). Windows 7, like all of the NT family, supports the win32 API. Windows 7 supports kernel threads. So it must be a one to one model or many to many model. But it is in fact a hybrid that supports ...


1

You can use any of these commands to reboot or shut down your machine, reboot -f halt poweroff If the machine doesn't reboot and hanged still, then you can use combination of keys from your keyboard which will avoid data corruption by forcibly shutting down your machine. ALT + PrintScreen + R E I S U B Each letter is meant for a specific task, unRaw ...


0

If there is nothing else on the drive one simply thing you could do is to download the boot.img.gz and then write it directly to the drive (not on the filesystem!). The tool rawrite would permit you to do this. This method will destroy anything that is already on that drive. This will boot the mini installer directly into RAM, you then should be able to ...


0

Well, I decided to take a punt on installing it direct from VideoLAN edit /etc/apt/sources.list and add the line: deb http://download.videolan.org/pub/debian/stable/ / Then add their key: wget -O - http://download.videolan.org/pub/debian/videolan-apt.asc|sudo apt-key add - Now update the system sudo apt-get update And install libdvdcss2 sudo ...


0

I'm trying with this answer from askubuntu, but since I'm new to Debian and have used ubuntu for a long time, I don't really like that all the guides are for ubuntu and I'm a bit lost, and was disappointed that no one has answered you here. Good luck P.S: I couldn't comment because I don't have 50 reputations yet.


0

A nice tools is 'module-assistant' apt-get install module-assistant and the usage to install linux-headers and build-essential is: m-a update and then m-a prepare


0

First edit your /etc/NetworkManager/NetworkMnager.conf and change [ifupdown] managed=true, to be able for modify. Then check your /etc/network/interfaces to look like: auto eth0 allow-hotplug eth0 iface eth0 inet dhcp As for your wifi please make sure you have "wireless-tools" installed, and also provide us the output of lspci -nn|grep Network or anything ...


0

I think I understand it now. 5.2.1.3. Incompatibilities: the Breaks Field The Breaks field has an effect similar to that of the Conflicts field, but with a special meaning. It signals that the installation of a package will “break” another package (or particular versions of it). In general, this incompatibility between two packages is transitory, and the ...


0

I have a same kind of application which play infinitely after reboot. For any changes, I mount that to another system and do the changes and put it back to my board. Its the easiest way to do so.


2

You cannot kill the process interactively from the console but you have multiple options how to avoid running of it during boot. a) Boot in a single user mode Append s separated by space to the line in cmdline.txt in the boot partition (FAT). After booting you can either rename /etc/rc.local, make it non-executable (chmod a-x /etc/rc.local) or edit it. b) ...


0

RCL stands for Rogue Class Linux.


1

The Oculus Rift should show up in linux as an external monitor. Depending on your graphics card, This can be set up as simply an an external display. I would suggest NVidia XServer settings (if using NVidia). No Utils or GUI form of a toolbox seem to exist.


2

It seems you're out of hard disk space. (1.7G > 1.6G) Which is also probably the compressed size. Try putting the file on a different disk/partition or free up some space (e.g. by removing unnecessary files from /tmp). Edit: On a related note, your /tmp is probably not a separately mounted disk, and will most likely be the same mounting point as /. Hence I ...


0

Not really an answer but some observations too long for a comment, which might help… First, do you have bridge-utils installed? The reason is that the ifupdown package responsible for parsing /etc/network/interfaces and managing your networking is just a bunch of shell scripts calling out to appropriate lower-level tools (such as those of iproute, ...


0

In addition to the previous answers, you can also set the names of the regex captured groups so they would easier to be referred later; location ~/photos/resize/(?<width>(\d+))/(?<height>(\d+)) { # so here you can use the $width and the $height variables } see NGINX: check whether $remote_user equals to the first part of the location for an ...


0

There is nothing extra you need to do. If you in the past blocked hostname example.com by assigning it IP 255.255.255.255, it will continue to work - you will never go to right IP address for that host: it doesn't matter if real (working) IP address for that hostname (before you destroyed it) was IPv4 or IPv6 (or wasn't existing). note that you cannot use ...



Top 50 recent answers are included