Tag Info

Hot answers tagged

44

I believe this boils down to what is—very sadly—a common wireless headache: 802.11n Wi-Fi implementation is so horrible and inconsistent between devices that the 802.11n protocol becomes fairly useless. This PC World magazine article titled, “Wireless Routers: The Truth About Superfast Draft-N” summarizes the headaches quite well; bold emphasis is mine: ...


12

For your specific situation where you use an Intel network card on Ubuntu 14.10 (which has a kernel newer than 3.13), a change in the iwlwifi driver can possibly have affected the throughput of your Intel wireless network card. This change can be be reverted by creating the file /etc/modprobe.d/iwlwifi.conf containing: options iwlwifi 11n_disable=8 To ...


5

This happens to me all the time, usually when I copy a text file generated on Windows over to my Linux server via a network share managed by samba on the server's side. Hastur is right, in the comments, and Joe Sewell in his answer, too: it's just the 'executable' permissions flag is set. My solution is: chmod u-x,go+r filename This makes it ...


4

Shift+Delete just avoids moving the file to the trash, however it does not do any attempt to securely delete the file. To do a secure deletion, you can install the Nautilus Wipe package. For information this is the Nautilus counterpart of the command-line wipe package.


3

Try systemctl suspend That worked for me.


3

The latter prompt that you have seen is the default on Red Hat-based systems, such as Red Hat Enterprise Linux, CentOS, and Fedora. The former is the default on Debian-based systems such as Debian itself and Ubuntu. The default Red Hat PS1 prompt is: export PS1="[\u@\h \W]\\$ " You can of course change the prompt to whatever you wish. I prefer the Red ...


3

There is no way to globally disable your touchscreen without physically unplugging it inside the laptop. This is because Ubuntu and Windows 8 handle devices and drivers separately. To disable it when you go to install Ubuntu, you will need to make THIS change to the LiveCD. To make this change, you will need to use Ubuntu (or any other Linux distribution). ...


2

The /etc/udev/local.rules file on my system looks like: ... # Media automounting SUBSYSTEM=="block", ACTION=="add" RUN+="/etc/udev/scripts/mount.sh" SUBSYSTEM=="block", ACTION=="remove" RUN+="/etc/udev/scripts/mount.sh" ... I suppose you have something similar. If you need to allow automount of a single specific USB stick (or a limited number of known ...


2

That's the "shade" button; you can remove it in xfwm4-settings (or the "Settings" → "Window Manager" control panel):


2

That’s pretty easy. Just look at man 1 bash: Whereas the default prompt uses \w (“the current working directory, with $HOME abbreviated with a tilde (uses the value of the PROMPT_DIRTRIM variable)”), there’s also \W: “the basename of the current working directory, with $HOME abbreviated with a tilde” To get what you want, use this: export PS1="[\u@\h \W]$ ...


2

What you're after is the bash PS1 variable. To get what you want, you need to export this variable from .bashrc, which is executed on login. The PS1 you want should look like this: export PS1="[\u@\h \W]$ " place that in .bashrc in your home directory. Or just run it as a command from the shell if you want it just temporarily. If you want colors on ...


2

Try using the preinstalled command sha256sum. It's usually in /usr/bin/, but you can find its location using which: $ which sha256sum /usr/bin/sha256sum There is also a package hashalot for Precise which installs the sha256 command to /sbin (see here). You can install it using: $ sudo apt-get install hashalot


2

If you've got LS_COLORS set up with default values (or at least the defaults I've seen in RHEL), the green color of the filename doesn't mean it's binary, only that one or more executable bits are set. ls -l should give you the information you need to confirm this. Remember that, in Linux, shell scripts are text files that must be executable in order to work ...


2

Basically the first command: sudo chmod -R 777 /var/www/ Makes it readable, writable and executable by anyone (any user). You are on the right track with the latter commands, as you can set chown to www-data. www-data is a default user/group for Apache. Or you could create a new group and add yourself and www-data there, then assign the group to the ...


2

If you have execute without read permission on a directory, you can include it in a path, but you cannot see its contents, so if you are in /var/www you can for instance see the contents of the html subdirectory with ls html, even though you cannot see html with a simple ls. You need to run: sudo chmod uga+r /var/www It's possible that you may not need ...


2

Question: Would it still be possible for the non-root user to use "su" to become root? If yes, then how many password attempts are allowed (i.e., is this too a situation where by default there's no limit to password attempts?). Answer: Yes, there is still unlimited attempts to connect using 'sudo' and 'su' by default but you could limit it with pam.d. The ...


1

You have different possiblities: If your program is already running Press CTRL+Z to suspend your program. It will not be running now. To resume the program in the background, type bg and press ENTER. If you want to start a new program in the background directly Simply add & to your program before you start it: $ geany "do_while.cpp" & You might ...


1

Is Time Machine set to allows ssh on that port? Check ssh_config. (You can find it with locate ssh_config and usually in located in /etc/ssh/ssh_config).


1

Windows 10 Technical Preview, as the name suggests, is not for production. I think it's your fault, that you can't access your files. What I have read, Windows 10 automatically locks if you don't update it, but I don't know how to do it, because I'm not using it. The only thing that comes to my mind is accesing the Windows 10 partition offline from Ubuntu ...


1

All windows installers (at least the ones that I've used from 3.1 to Win 7) install their own bootloader if one is not found (and of course, it does not recognize Grub or Lilo). What you need to do is reinstall grub, by booting up linux somehow (live CD, the install image, or a USB install. It doesn't matter, really), and run this command: grub-install ...


1

It's not an Ubuntu difference, it's how Linux permissions work. Execute (x) permission is to access the directory, Read (r) permission is to list its content. From this article on Wikipedia, that I recommend you to read all: When set for a directory, this permission [executes] grants the ability to access file contents and meta-information if its name ...


1

I would recommend checking the system log in /var/log/syslog when you do an Apache2 restart. Meaning have one terminal window opened up with you viewing the syslog via tail like this: sudo tail -f -n 10 /var/log/syslog And in the other window attempt to restart Apache. But your syntax of sudo /etc/init.d/apache2 restart seems clunky when you could just ...


1

The message indicates that prctl(PR_SET_SECCOMP, ...) call failed. ret = prctl(PR_SET_SECCOMP, 2, &prog, 0, 0); if (ret != 0) { die("prctl PR_SET_SECCOMP failed"); } It can happend when your kernel does not have CONFIG_SECCOMP_FILTER enabled. But that can hardly change while you "work on website". Quote from prctl man page: PR_SET_SECCOMP ...


1

Short answer, you cannot change the ip of the VPN interface, as it is being given to you by the oposite site. Given that 10.x is a class A network, you usually don't have a Class A network on both sides, which makes me wonder how you ended up with a class A network you're currently in. Either ask the opposite side to change their network, or change yours.


1

Thanks to @GZBK for pointing me to the wipe package. For future readers in this thread, I want to quote several parts of wipe's man page. Journaling filesystems (such as Ext3 or ReiserFS) are now being used by default by most Linux distributions. No secure deletion program that does filesystem-level calls can sanitize files on such filesystems, ...


1

Changing password of user2 fixed the issue. Now I am not sure if it has something to do with encoding or escaping of the password inside of WinSCP or any other weird problem. EDIT 1: I changed the password back to the one not working and tried to find the special char causing problems. It was a the non-ASCII char '§' causing the problem. I tried another ...


1

There are a couple of bug reports about this problem. Issue 465660: Cursor functionality broken in Ubuntu 14.04 since 41 is perhaps the most promising. Its last entry says : version 43 works fine, just install google-chrome-unstable Issue 357347: Mouse cursor stopped turning into a pointer while hovering over links has several workarounds that may not ...


1

Gmail go to the account settings for your GMail account, there to Server Settings and click the "Advanced" button. In the field "IMAP server directory", you enter [Gmail]. the "other" account Might work similarly, but instead of [Gmail], try INBOX. (the dot at the end might be significant!) Yahoo (POP3) Since this is not an IMAP account, you don't have ...


1

Normally, you would want Windows installed first and then Linux. This is the common scenario, because (almost) every PC comes with Windows preinstalled. It is also the recommended approach if you start out fresh with a clean disk, because it avoids screwing up the Windows boot manager. That's simply because Linux boot manager is intelligent enough and ...


1

First make sure X server is installed - if startx command is not found, it probably isn't. In that case install it with: sudo apt-get install xorg openbox Replace openbox with the windows manager of your choice. You may also want to install xauth and ubuntu-desktop, but I'm not an expert in Ubuntu in particular. Sidenote: I assume that this server is ...



Only top voted, non community-wiki answers of a minimum length are eligible