I'm using emacs with TRAMP ( C-x C-f /ftp:[email protected]:/ ), and randomly, sometimes ten minutes, sometimes, ~12 seconds (no exaggerating) my connection will close (I think). I'll try to type, or list a dir, and it will say "Opening FTP connection to site.com...". Is there a way to tell it to just keep the connection open until I exit? Or is it the webserver killing the connection? I'm just using standard FTP.
Thanks.
When running WinDirStat against a drive, I'd like the option to save the report so that I can look at it later while "offline" away from the system it was run on.
I've looked around the program and can't see this option. Am I missing something, can this be done with WinDirStat?
If it can't be done, is there a way similar to WinDirStat that will allow me to save the results of a drive space scan to delve into them at a later date?
I have a program that opens with a specific shortcut, but the shortcut seems to send parameters to the application. If I go directly to the target directory and double-click, it does not work. However, if I use the command line and pass in a certain argument, the application opens correctly.
I want to open certain file types using the application, but the application must have the parameters, or it will not work. Is it possible to do this sort of thing?
I am trying to use ssh/scp from Windows to Linux without having to enter a password.
This is what I have done, and it doesn't seem to work:
generated public and private keys using Putty Key Generator (on Windows)
saved the files as id_rsa.pub and id_rsa
copied them into ~/.ssh
added id_rsa.pub to the Linux box in ~/.ssh/authorized_keys
I then try to ssh to the Linux box from Windows and I still have to enter a password
Am I missing something?
I have a FreeBSD machine that I have to copy everything off the drive. The fielsystem is UFS and not readable by any other operating system. (great...)
I have a USB flash drive (FAT32) I need to copy everything to from the SATA in the bsd machine.
I looked up cp commands, and got it to partially work, but it seems to copy to the wrong directory. I cannot find out the "name" of the USB drive, and if it can even copy to it.
My exchange server is listening on port 25, that is I can telnet into it and send an email but Outlook 2010/2007, OWA, and ActiveSync are not pulling down emails.
Outlook 2010 specifically says Connected To Exchange Server and Updating Inbox but it never updates the inbox. Also, OWA shows some of the newer mail messages, but when I double click on one to open it up in OWA, it times out.
Any idea what could be causing this? Also Exchange Transport and Information Store are started.
Thanks!
Most of the time, I would like my Windows 7 laptop to sleep when I close it.
But sometimes, I like to connect an external monitor over DVI.
I would like my laptop to use the external monitor when I close the lid, but only when a monitor is connected to the DVI port. Otherwise, sleep when closed.
Is there any way I can do that, without manually changing the power settings every time I decide to use the monitor?
In windows I can select Local Area Connection and Wireless Network Connection, right click and select Bridge Connections
How can I achieve the same effect in Linux? (Debian to be exact)
Pretty much I want Computer B to connect to Computer A via ethernet cable. Well Computer A is connected wirelessly. Allowing Computer B to get on the internet.
== UPDATE ==
I've enabled IP forwarding and used the following iptables command:
iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
I'm still unable to access the internet from Computer B though.
My company just bought another company. In their server room they had some older hardware, which I would like to repurpose. One of these is a Cisco Switch: C3560G-48TS-S.
I found some instructions about this switch here but this is not a guide for a beginner. I have no idea how to connect to this thing to begin running the commands.
It says
Configure the PC terminal emulation software for 9600 baud, 8 data bits, no parity, 1 stop bit, and no flow control.
But I can't find anything on how to do this (assuming with telnet?) or even what program to use. I also don't know how to find the IP address of the device to connect to it.
My research also says once I get in there, I need to run
clear config all
Is this the right command? Also, what if I can't get the username and password for these devices? Is there some way to factory reset (my only experience is with devices that have a hardware reset button)
EDIT:
I should note that when I push the button on the front the three lights blink, which according to the documentation indicated the switch is configured and "not available for express setup"
We have a number of shared computers that users never seem to log out of. Am I correct that there is no built in functionality to automatically log off console sessions after an idle timeout? I've seen two suggestions: a logoff screensaver, and a scheduled task with an idle trigger. Will the idle trigger work if only the session is idle, but the computer is in use with a different session? Is there a better way to go about this? Thanks,
At my work we ship our product on pre-installed servers as a software/hardware package. We are using open SUSE 10.3 for the OS and we setup and we always log in with the root user to do maintenance on the box. Recently we just had box returned to us that the customer said the could not longer connect to the box through the network interface. So when I started to work on the box I run into the this problem: At the command prompt to login i type the user name "root" and hit enter. Then even before it asks me for a password I get "Login incorrect".
I have never seen this behavior before and could not find any information about it online. Does anybody know what is going on?
Thanks.
I'm running Windows 7 64-bit on a Lenovo laptop, and I have a problem wherein after I've put it to 'sleep' once, it will seemingly without any reason or warning go back to sleep every 10 to 15 minutes after that.
Each time it wakes back up just fine, and you can happily continue on. However, 10 or 15 minutes later, it just drops out into sleep mode.
I don't see any errors in the system logs. I don't think it's related to heat ( since it's not rebooting ).
When I check the system event log, I can see where the machine goes to sleep, but it simply says "reason: application API", and doesn't indicate which app ( brilliant ). I don't see any errors from hardware or anything relating to sleep in the application log that would point to what is going on either.
How can I find out which app is triggering this?
EDIT: I confirmed that temperature wasn't the issue. I think it's important to keep in mind that this condition only happens after the first sleep. If I reboot, the problem goes away until I put it to sleep, after which it sleeps on it's own every few minutes. Is there no way to capture which app is calling the sleep routine?
Possible Duplicate:
How to force Windows XP to rename a file with a special character?
I have a few files whose names have characters such as "?" and ":" that are forbidden by windows. I'm not sure how they managed to get there with these names, since I can't manually create files with these names. They're recovered from an HFS drive, but the tool that recovered them was running under windows and so should have been subject to the same restrictions while creating them, I would think.
Anyway... now that they're here, I can open them, but I can't move, copy, rename, or delete them. I want to delete a few of them, but most I want to save and copy to another drive. How might I go about this?
I am using CentOS 5.
I am trying using Mod_Security which requires liblua. I was not able to find lua on the default repos. I prefer not to use any third party repos. This in mind, I downloaded the lua source from the offical site. After compiling the only file even close is liblua.a. I need a liblua-5.1(.4).so file for Apache.
How do I make a .so file for liblua?
I was just poking around in /usr/bin and I found an ELF binary file called [. /usr/bin/[. I have never heard of this file and my first thought was that it was a clever way of hiding a program, possibly a trojan. However it's present on all my CentOS servers and seems to have no manual entry. I can hazard a guess as to what it is but I was looking for a more authoritative answer...
I have a domain controller on Windows Server 2008. When I set up my users, I gave them all a dummy password with the "must change on next login" checked.
Everyone's machine is all on the same network as the domain controller, but we are not forcing them to join their computers to the domain. The DC has a website which requires the use of domain accounts to access it.
How do I tell my users to change their domain passwords without connecting their PC to the domain or making them log in to a machine on the domain? I do not want anything I will have to install on each client to allow them to change their passwords (I have a password expiration policy). Most of these workstations are XP.
Why does MS SQL Server Management Studio almost freeze up my computer while it restores? It makes it so when I click on the clock it takes seconds for the calendar to open. I don't see why this should be since I have 4 gigs of ram and a dual core CPU. Thanks
I am working in CentOS 5, I was wondering why exec-shield isn't on by default? I found a bunch of articles on how to enable and disable it as well - but nothing answering why anyone would want it off. Any cons to turning it on?
Right now I am using an absolute path to connect i.e.
server/var/svnroot/repositoryname
I would like to be able to do
/server/repoistoryname
Is there a way to set this up? I would like to avoid symmlinks since that adds overhead. I would rather just have SVN automatically goto the folder similar to how the DocumentRoot works with Apache.
So, for my clients to who have sites hosted on my server, I create user accounts, with standard home folders inside /home.
I setup an SSH jail for all the collective users, because I really am against using a separate FTP server. Then, I installed ACL and added acl to my /etc/fstab — all good.
I cd into /home and chmod 700 ./*.
At this point users cannot see into other users home directories (yay), but apache can't see them either (boo)
. I ran setfacl u:www-data:rx ./*. I also tried individual directories.
Now apache can see the sites again, but so can all the users. ACL changed the permissions of the home folders to 750.
How do I setup ACL's so that Apache can see the sites hosted in user's home folders AND 2. Users can't see outside their home and into others' files.
Edit: more details:
Output after chmod -R 700 ./*
sh-3.2# chmod 700 ./*
sh-3.2# ls -l
total 72
drwx------+ 24 austin austin 4096 Jul 31 06:13 austin
drwx------+ 8 jeremy collective 4096 Aug 3 03:22 jeremy
drwx------+ 12 josh collective 4096 Jul 26 02:40 josh
drwx------+ 8 joyce collective 4096 Jun 30 06:32 joyce
(Not accessible to others users OR apache)
setfacl -m u:www-data:rx jeremy
(Now accessible to members apache and collective — why collective, too?)
sh-3.2# getfacl jeremy
# file: jeremy
# owner: jeremy
# group: collective
user::rwx
user:www-data:r-x
group::r-x
mask::r-x
other::---
Solution
Ultimately what I did was:
chmod 755 *
setfacl -R -m g::--- *
setfacl -R -m u:www-data:rx *
Over at Schlock Mercenary, Howard Taylor has started a facinating conversation on the nature of Info-Wars.
As Howard puts it:
Somebody (I forget who) tweeted that the Wikileaks fight right now is the first infowar in history. I disagree. I think we've fought numerous infowars in the last fifteen years. And that's really what I want to see discussed in the comments. We can argue right and wrong until the eCows come 127.0.0.1 but nobody is going to walk away convinced. I want to see a list of information-age conflicts that you feel qualify as "infowar." Me, I think the RIAA vs file-sharing qualifies. My buddy Rodney suggested RBLs vs Spammers (the spammers won that one.) Somebody pointed out that the Secret Service raid on Steve Jackson Games back in the 80's might qualify.
I've recently updated my Ubuntu to the 13.10 version. To my surprise, Ipython and Matplotlib are available only in versions prior to those I had in my previous 12.04 LTS install.
When with the 12.04, I had the Julian Taylor PPA set up in my repositories, and that's why (I think) I had most up-to-date versions from both packages.
The versions currently in 13.10 are:
Matplotlib: 1.2.1 (http://matplotlib.org/index.html, most current version is 1.3.1)
Ipython: 0.13.2 (http://ipython.org, most current version is 1.1.0 – September 2013)
Is there any PPA available for the 13.10? The JTaylor ppa covers only as far as 12.10 (Quantal, link not available due to reputation rank in stack exchange)
Should I install those packages outside apt? Isn't that troublesome?