|
GregNorc posted:So I would like to set up Thunderbird so it pulls all the mail from the server, and stores it locally. (But leaving a copy on the server - Dreamhost claims I get infinite storage, so what the hell, might as well test their claim) Use IMAP if you are not. Go to the account settings, choose "Synchronization & Storage". Check the box that says "Keep messages for this account on this computer". Click the Advanced button and choose which folders you want to keep locally.
|
# ? Jun 14, 2011 21:07 |
|
|
# ? Jun 7, 2024 09:45 |
|
ExcessBLarg! posted:Backports is more for when you want to run a stable, production system, but need one or two newer versions of packages than what the shipping version offers. It's my bias I guess, considering the sheer level of stuff i'm responsible for, that i'd want to run the most stable stuff.
|
# ? Jun 14, 2011 21:43 |
|
djbdns is kind of a lovely dns server. It's fine if you're doing something very limited with it, but in general nsd and unbound are better choices. BIND's not so bad.
|
# ? Jun 15, 2011 06:19 |
|
What's the easiest way to keep my bash settings when I launch screen?
|
# ? Jun 15, 2011 14:19 |
|
Bob Morales posted:What's the easiest way to keep my bash settings when I launch screen? put 'em in .bashrc. Those settings will get imported for non-login shells. If you use .bashrc for other stuff, you can set up screen with something like screen -s bash --rcfile .screenbashrc nitrogen fucked around with this message at 14:29 on Jun 15, 2011 |
# ? Jun 15, 2011 14:26 |
|
nitrogen posted:put 'em in .bashrc. Those settings will get imported for non-login shells. derp. It was all in .bash_profile, works now. Thanks.
|
# ? Jun 15, 2011 15:00 |
|
Ninja Rope posted:djbdns is kind of a lovely dns server. It's fine if you're doing something very limited with it, but in general nsd and unbound are better choices. BIND's not so bad. I personally favor PowerDNS, but that's because I use it at work, and we host thousands of domains. Zone data in a database is a beautiful thing.
|
# ? Jun 15, 2011 15:09 |
|
nitrogen posted:put 'em in .bashrc. Those settings will get imported for non-login shells. What kind of horrible black magic to I get from symlinking my .bash_profile to .bashrc?
|
# ? Jun 15, 2011 20:04 |
|
FISHMANPET posted:What kind of horrible black magic to I get from symlinking my .bash_profile to .bashrc? Internet says to source .bashrc from .bash_profile http://hintsforums.macworld.com/archive/index.php/t-16493.html
|
# ? Jun 15, 2011 20:10 |
|
Bob Morales posted:Internet says to source .bashrc from .bash_profile Welp, I guess that's what I actually do: code:
|
# ? Jun 15, 2011 20:17 |
|
source ~/.bashrc (in .bash_profile)
|
# ? Jun 15, 2011 22:04 |
|
Martytoof posted:Since we're talking about wpa_supplicant, can someone post their wpa_supplicant.conf that's known to work with a WPA Personal AP? For what its worth, I got it working by just using: ctrl_interface=/var/run/wpa_supplicant network={ ssid="Giewont" scan_ssid=1 key_mgmt=WPA-PSK psk="xyz" } in my wpa_supplicant conf file and adding: post-up wpa_supplicant -ieth0 -c/etc/wpa_supplicant.conf -B to my eth0 definition in /etc/network/interfaces because whatever wpa_supplicant flags it was supplying were completely breaking the process, and I didn't feel like tracking down the flags one by one in the .d files. Wish I'd thought to do this yesterday instead of fighting with it for like 3 hours.
|
# ? Jun 15, 2011 22:25 |
|
I'm trying to set up pptpd on a cheapo Debian VPS I have so I can watch Hulu. It's not going well. I followed various guides but my Windows 7 client can't connect to the Debian server. I enabled debug logging and the only entry at connection time is this: code:
On the Windows 7 client, it goes "Verifying username and password", then "Connecting to <server1> using 'WAN Miniport (SSTP)'" then 30 seconds later gives an error 619. Googling the "reaping child" error gives advice to turn off compression and headers. pptpd-options has compression disabled by default (nobsdcomp), but neither conf file mentions headers so I'm not sure what the deal is here. Here's /etc/pptpd.conf: code:
code:
|
# ? Jun 16, 2011 02:27 |
|
MachinTrucChose posted:I'm trying to set up pptpd on a cheapo Debian VPS I have so I can watch Hulu. It's not going well. I followed various guides but my Windows 7 client can't connect to the Debian server. Try ssh -Dlocalhost:1234 (the putty equivalent is "Dynamic" i think) and then configure your browser to use localhost:1234 as your socks proxy. That'll be much easier. That's how I would break out of a work firewall at work, if I ever did such things, which I'd NEVER do. EDIT: Didnt mean to sound like a shithead, if you REALLY want to set up pptpd, I can help, but argh, it IS a lovely experience. nitrogen fucked around with this message at 04:16 on Jun 16, 2011 |
# ? Jun 16, 2011 03:55 |
|
Last time I set up pptpd it was a big headache to troubleshoot. As nitrogen says, SSH is way easier.
|
# ? Jun 16, 2011 03:58 |
|
Good idea. I set up an SSH tunnel. Seema to work, whatismyip reports my US IP, and I can access Hulu now (well most videos give me a "Sorry, we are unable to stream your connection" error, but it works) Thanks for your advice.
|
# ? Jun 16, 2011 07:14 |
|
The other day I was trying to diagnose a problem where my machine wasn't able to access other computers via hostname (turned out to be due to the lack of hosts: wins entry in nsswitch.conf). During the process, there was some command I used that gave me a listing of all IPs and associated hostnames on the network and now I can't remember it. Does anyone know what command I'm talking about?
|
# ? Jun 16, 2011 20:16 |
|
Modern Pragmatist posted:The other day I was trying to diagnose a problem where my machine wasn't able to access other computers via hostname (turned out to be due to the lack of hosts: wins entry in nsswitch.conf). During the process, there was some command I used that gave me a listing of all IPs and associated hostnames on the network and now I can't remember it. Does anyone know what command I'm talking about? "arp -a" or nmap?
|
# ? Jun 16, 2011 20:29 |
|
taqueso posted:"arp -a" or nmap? Neither of these ring a bell, but they both accomplish what I need. Thank you.
|
# ? Jun 16, 2011 20:47 |
|
smbstatus does that for NetBIOS names.
|
# ? Jun 16, 2011 22:22 |
|
Anyone know how to update (and perhaps only) Apache httpd 2.2.3 to 2.2.19 on CentOS 5.5? I already have httpd installed. I tried to make install the 2.2.19 source, but it was installed to /usr/local/apache2 and didn't upgrade 2.2.3. And yum remove httpd looks like I'd have to go through the process of installing php 5.3.6 again.
|
# ? Jun 18, 2011 00:53 |
|
Looks like the CentAlt repo has 2.2.19. Instructions here: http://centos.alt.ru/repository/centos/readme.txt ( the EPEL link is out of date, should say epel-release-5-4.noarch.rpm ) It will try and ugprade other things though if you aren't careful. You can set enabled=0 in the /etc/yum.repos.d/ file and then use something like yum --enablerepo=CentALT upgrade httpd Alternately you can use rpm -e --nodeps (or whatever the flags you need to make it not uninstall other stuff), but then you end up with a messy system.
|
# ? Jun 18, 2011 01:09 |
|
Is there a specific reason that you need httpd 2.2.19? RHEL based systems (like CentOS) have patches backported, so even though the version number isn't in line with the most recent release from the original maintainers of the project, it likely still contains most/all of the relevant bugfixes and security patches. Unless you have a compelling reason for 2.2.19, I would strongly recommend you simply stick with the version that's present in the yum channels. It's significantly easier to stay on top of updates and maintain the system with a package manager as opposed to compiling from source.
|
# ? Jun 18, 2011 01:11 |
|
Is there a way to suppress specific kernel messages? I run Slackware 13.37 on one machine, but had to downgrade to an older Samba build because of crucial shares on a Windows 95 dedicated audio workstation. The custom-built hardware it carries is unsupported by newer Windows versions (and motherboards). The annoying thing is that each time I mount the shares the following msg gets plastered all over stdout on every terminal, incl. any open in a GUI. The machine isn't up on a daily basis, and never on before the Slackware box, so it's no use checking if it's up in an init script. --- [20985.593711] smbfs is deprecated and will be removed from the 2.6.37 kernel. Please migrate to cifs Message from syslogd@machine at date ... machine kernel: [20985.593711] smbfs is deprecated and will be removed from the 2.6.37 kernel. Please migrate to cifs --- It's not a big problem; just annoying as hell when I'm editing stuff on terminals.
|
# ? Jun 19, 2011 19:33 |
|
Underflow posted:Is there a way to suppress specific kernel messages? In Redhat/Fedora you can do this: setterm -msg off
|
# ? Jun 19, 2011 19:41 |
|
Ah, thanks for the tip, didn't think of that. Unfortunately, even though the option is clearly valid according to the man page in Slack the it's still getting through. Strange thing is that it's just that particular one re. Samba.
|
# ? Jun 19, 2011 20:01 |
|
There's something terribly wrong with the system clock on my Thinkpad W510, running Ubuntu 11.04. It only started acting up after the upgrade to 11.04, but the clock basically drifts by a couple of hours each day. It's not a timezone issue, as the clock is not off by an exact hour interval. I tried installing NTP, but it doesn't seem to do anything. I have no idea what's going on, but I'm really sick of typing "austin time" into google.
|
# ? Jun 19, 2011 20:38 |
|
peepsalot posted:There's something terribly wrong with the system clock on my Thinkpad W510, running Ubuntu 11.04. It only started acting up after the upgrade to 11.04, but the clock basically drifts by a couple of hours each day. It's not a timezone issue, as the clock is not off by an exact hour interval. I tried installing NTP, but it doesn't seem to do anything. I have no idea what's going on, but I'm really sick of typing "austin time" into google. ntpq -p post output cat /etc/ntp.conf (or wherever ntp.conf lives on that) and post output. ntpdate -qd and post output (if you have ntpdate), otherwise sudo apt-get install ntpdate pastebin might be better. nitrogen fucked around with this message at 21:51 on Jun 19, 2011 |
# ? Jun 19, 2011 21:47 |
|
nitrogen posted:ntpq -p /etc/ntp.conf code:
I had to manually restart /etc/init.d/ntp daemon code:
peepsalot fucked around with this message at 22:32 on Jun 19, 2011 |
# ? Jun 19, 2011 22:21 |
|
peepsalot posted:/etc/ntp.conf my bad, I should have said: ntpdate -qd ntp.ubuntu.com It seems like ntpd isnt running. ps -ef |grep ntp |grep -v grep and see if i'ts running. if it's not: sudo /etc/init.d/ntp start and lets see what it says. Also, tail /var/log/syslog and post exactly what's there after a restart.
|
# ? Jun 19, 2011 22:30 |
|
I edited my post before I saw your reply, the ntpq results are above. Here is the new ntpdate results: code:
code:
peepsalot fucked around with this message at 22:37 on Jun 19, 2011 |
# ? Jun 19, 2011 22:34 |
|
Hrm. Do the following: $ sudo /etc/init.d/ntp stop $ sudo ntpdate pool.ntp.org $ sudo hwclock --systohc then reboot $ sudo shutdown -r now and then run the steps I said at first (ntpq -p, etc) as well as log entries from syslog re: ntp At worst case at this point, you can use "sudo ntpdate -u pool.ntp.org" to set the time if we can't get ntpd working properly. nitrogen fucked around with this message at 22:56 on Jun 19, 2011 |
# ? Jun 19, 2011 22:52 |
|
OK, I ran through those commands, rebooted and immediately ran ntpq etc, but ntpd was not initally running after reboot. I had to manually start it again. http://pastebin.ubuntu.com/629577/
|
# ? Jun 19, 2011 23:11 |
|
Wow, color my impressed. I'm still a newbie trying to play around with Linux, so I installed Kubuntu on an older laptop. I needed to print something out so I downloaded a 365MB HP driver to use on my computer running Windows. I plugged the printer into my Kubuntu laptop and it printed right away, no downloads needed. Amazing.
|
# ? Jun 20, 2011 01:34 |
|
MachinTrucChose posted:Good idea. I set up an SSH tunnel. Seema to work, whatismyip reports my US IP, and I can access Hulu now (well most videos give me a "Sorry, we are unable to stream your connection" error, but it works) I believe I discovered when I set up an SSH tunnel for Hulu (it was a while ago) that Flash did not respect the browser proxy settings in Firefox. I think I used Chrome and it worked?
|
# ? Jun 20, 2011 01:57 |
|
peepsalot posted:OK, I ran through those commands, rebooted and immediately ran ntpq etc, but ntpd was not initally running after reboot. I had to manually start it again. Did you check the links in /etc/rc2.d? (or are they rc3.d in ubuntu?) I have no idea what else it could be at this point. You could always try apt-get --purge remove ntp and then reinstall with apt-get install ntp thats my last ditch guess. nitrogen fucked around with this message at 02:42 on Jun 20, 2011 |
# ? Jun 20, 2011 02:38 |
|
OK, the rc2.d script was disabled, labeled K77ntp instead of S77ntp. I renamed it and it starts on boot now. I'll have to wait and see if it stays set correctly this time. Edit: looks like it's drifting behind by about 5 minutes every hour. So, after a day it will be off by about 2 hours, and I'm pretty sure ntp won't sync up when the time is too far off. Back to the same old problem peepsalot fucked around with this message at 05:29 on Jun 20, 2011 |
# ? Jun 20, 2011 03:33 |
|
peepsalot posted:OK, the rc2.d script was disabled, labeled K77ntp instead of S77ntp. I renamed it and it starts on boot now. I'll have to wait and see if it stays set correctly this time. I want to say that there will be an /etc/default/ntp.conf or something similar that you can use to modify the drift correction. As I recall, ntp won't adjust the date if it's over a pre-defined threshold. Man page checking would also be beneficial.
|
# ? Jun 20, 2011 08:24 |
|
---moved to HoTS, sorry---
Underflow fucked around with this message at 22:38 on Jun 20, 2011 |
# ? Jun 20, 2011 14:34 |
|
|
# ? Jun 7, 2024 09:45 |
|
peepsalot posted:OK, the rc2.d script was disabled, labeled K77ntp instead of S77ntp. I renamed it and it starts on boot now. I'll have to wait and see if it stays set correctly this time. $ sudo /etc/init.d/ntp stop $ sudo rm /var/lib/ntp/ntp.drift $ sudo ntpdate 0.ubuntu.pool.ntp.org [look for a line that says something like code:
wait about 30-45 mins then $ ntpq -p you should see output like: code:
|
# ? Jun 20, 2011 18:27 |