|
Malfeasible posted:I just downloaded the Something Awful "hot" tag with wget at http://forumimages.somethingawful.com/forums/posticons/icon-31-hotthread.gif ...and it has a timestamp of 2004-03-19 13:23. Yes, by default wget uses the date sent by the server in the Last-Modified header. (There may not be a way to disable that since it's a useful feature and almost always what you want.) As for the file in question it most likely used the date set in the camera if it was a photo, so if the camera thinks it's 2007 that's the date the file will get. (It looks like the date would be midnight Jan 1 plus or minus a time zone so I'm guessing that's the "zero date" for the camera.)
|
# ? Jun 11, 2011 01:17 |
|
|
# ? May 17, 2024 16:02 |
|
Thermopyle posted:Well, yeah. I was planning on fixing that up anyway. I assumed he was answering the question I asked. I was, you never implied that you needed your webserver to be able to write to that directory or otherwise own it. Do you really have that requirement?
|
# ? Jun 11, 2011 12:49 |
|
covener posted:I was, you never implied that you needed your webserver to be able to write to that directory or otherwise own it. Do you really have that requirement? No. I'm stupid and after further thought, with the help of both of the answers provided here, I figured out wtf I was doing. Thanks! edit: spoke too soon... code:
In /var/www/ I have a symbolic link: code:
code:
code:
Thermopyle fucked around with this message at 18:50 on Jun 11, 2011 |
# ? Jun 11, 2011 18:29 |
|
bort posted:This is probably just a mistake in your post, but: Just a mistake in the post, alas. It's correct in the config.
|
# ? Jun 11, 2011 20:35 |
|
Thermopyle posted:
what does namei -m /media/LVM Pool/awesome_dir/ say? Can your apache user read/search every dir from the top down?
|
# ? Jun 11, 2011 20:46 |
|
covener posted:what does namei -m /media/LVM Pool/awesome_dir/ say? Can your apache user read/search every dir from the top down? Ahha! That was it! This problem stemmed from my incomplete understanding of how permissions work. I guess I didn't realize that permissions of "higher" directories mattered in accessing lower directories. One of the higher directories didn't have +x for others... Thanks!
|
# ? Jun 11, 2011 21:02 |
|
Kenfoldsfive posted:Just a mistake in the post, alas. It's correct in the config. code:
man posted:Some installations have physical networks on which more than one IP subnet operates. For example, if there is a site-wide requirement that 8-bit subnet masks be used, but a department with a single physical ethernet network expands to the point where it has more than 254 nodes, it may be necessary to run two 8-bit subnets on the same ethernet until such time as a new physical network can be added. In this case, the subnet declarations for these two networks must be enclosed in a shared-network declaration. so the router relays the DHCP broadcast from x.x.6.0 and the DHCP server is responding with the assumption that x.x.5.0 and x.x.6.0 are the same physical network. bort fucked around with this message at 03:54 on Jun 12, 2011 |
# ? Jun 11, 2011 21:32 |
|
I switched from Backtrack 5 to the new Ubuntu. Now I just can't connect to a Wireless AP. What is my wireless hardware? Rather how do I figure it out? lspci -v doesn't say. And it's not in the Additional Drivers. The device manager equivalent isn't where I remember it and nothing else in System > * is related to hardware. E: I am pretty sure it's a Ralink RT2500 after searching, but Ubuntu uses it as wlan0 and doesn't list proprietary drivers. Heran Bago fucked around with this message at 06:40 on Jun 12, 2011 |
# ? Jun 12, 2011 06:34 |
|
Heran Bago posted:I switched from Backtrack 5 to the new Ubuntu. Now I just can't connect to a Wireless AP. what kind of wireless card are we talking about? If it's a pci based wireless card, then it's gonna be in lspci. If it's a usb dongle, then lsusb should show it.
|
# ? Jun 12, 2011 06:38 |
|
kcncuda71 posted:what kind of wireless card are we talking about? If it's a pci based wireless card, then it's gonna be in lspci. If it's a usb dongle, then lsusb should show it. Inside so... Oh! lsusb does report a Micro Star International RT2573. I think that's the card, but then the issue is how to make it think that it's Ralink or make it work. To google! e: I found a good driver and gave it the old 'make' and then 'make install' but it still uses the old one! If memory serves I need to blacklist the wireless driver it loads by default, but I have no idea how or which one. Any help? Heran Bago fucked around with this message at 06:55 on Jun 12, 2011 |
# ? Jun 12, 2011 06:42 |
|
I absolutely can not build the WPA_supplicant driver so I'm really considering switching back to Backtrack 5 where I'll try to get the Ubuntu software center to work.BackTrack posted:Also if you chose to add the ubuntu repositories to your Backtrack install, you will most certainly break your entire Backtrack install very quickly. I really like Ubuntu but hell if my history with it isn't synonymous with "wireless hardware issues." Heran Bago fucked around with this message at 07:28 on Jun 12, 2011 |
# ? Jun 12, 2011 06:54 |
|
Heran Bago posted:I absolutely can not build the WPA_supplicant driver so I'm really considering switching back to Backtrack 5 where I'll try to get the Ubuntu software center to work. I'm very surprised that wpa-supplicant isn't included in repositories. Perhaps you have to enable additional repositories via the apt sources?
|
# ? Jun 12, 2011 11:16 |
|
I need some knowledge dropped on me. I've been bored lately so I decided to learn how to turn an older laptop into a linux server box and use it for linux torrents. I've played with Ubuntu before and can setup torrents using the GUI but I'd like to learn how to do more stuff from the CLI. My question is, how do you browse torrents and tell the box which one to download when you're using the CLI? Am I missing a third piece of the puzzle? Hughmoris fucked around with this message at 15:18 on Jun 12, 2011 |
# ? Jun 12, 2011 15:13 |
|
Hughmoris posted:I need some knowledge dropped on me. I've been bored lately so I decided to learn how to turn an older laptop into a linux server box and use it for linux torrents. I've played with Ubuntu before and can setup torrents using the GUI but I'd like to learn how to do more stuff from the CLI. http://blog.joelchristian.com/?p=309 This amongst thousands of other tutorials will guide you.
|
# ? Jun 12, 2011 15:23 |
|
Hughmoris posted:Am I missing a third piece of the puzzle? Probably links or lynx or whatever text-based browser you've got. Or wget if you just want to download the torrent file. If you must CLI your torrent client you might be better off just pasting torrent URLs into it from an SSH session, since text-mode browsing pretty much sucks.
|
# ? Jun 12, 2011 15:28 |
|
enotnert posted:http://blog.joelchristian.com/?p=309 Thanks for the link. I know there are a ton of tutorials on how to set up the box, I guess I don't understand the concept of using a CLI to browse for and download a torrent. BnT posted:Probably links or lynx or whatever text-based browser you've got. Or wget if you just want to download the torrent file. Ok, that makes sense. What if the torrent site I'm using is private and needs a login/password. How would something like that be handled if for example, I was using SSH and Transmission? Hughmoris fucked around with this message at 15:32 on Jun 12, 2011 |
# ? Jun 12, 2011 15:30 |
|
Heran Bago posted:Inside so... Oh! lsusb does report a Micro Star International RT2573. I think that's the card, but then the issue is how to make it think that it's Ralink or make it work. To google! To blacklist a driver: http://ubuntuforums.org/showthread.php?t=468793
|
# ? Jun 12, 2011 15:36 |
|
Hughmoris posted:Thanks for the link. I know there are a ton of tutorials on how to set up the box, I guess I don't understand the concept of using a CLI to browse for and download a torrent. . . . Why would you want to use the command line to browse for torrents?
|
# ? Jun 12, 2011 15:38 |
|
enotnert posted:. . . Why would you want to use the command line to browse for torrents? Because I am a clueless beginner with ubuntu and the CLI. I'm guessing that I don't want to use the command line to browse. I should rephrase my question. If I have a headless linux server and I'm using SSH and Transmission, how do I tell the box to download a specific torrent? What if the site that has the torrent requires a user/pw?
|
# ? Jun 12, 2011 15:48 |
|
Hughmoris posted:What if the torrent site I'm using is private and needs a login/password. How would something like that be handled if for example, I was using SSH and Transmission? You could download it with your browser and use an scp client to copy it over. When I used a similar setup I used the transmission web interface and a private tracker by downloading the torrent file to my workstation and then uploading the torrent file to the transmission web interface. I think there are tools or possibly even browser plugins to make this process a snap, I never really dug that deeply. But I think what we're all saying is don't use a CLI for torrents, get yourself a web interface first. BnT fucked around with this message at 15:56 on Jun 12, 2011 |
# ? Jun 12, 2011 15:54 |
|
BnT posted:You could download it with your browser and use an scp client to copy it over. When I used a similar setup I used the transmission web interface and a private tracker by downloading the torrent file to my workstation and then uploading the torrent file to the transmission web interface. Okay, I'll give that a shot. Thanks!
|
# ? Jun 12, 2011 16:03 |
|
Hughmoris posted:Okay, I'll give that a shot. Thanks! Most torrent programs that run headless also have the ability to watch folders. Some of them even have clients that connect directly to remote sessions so you can have more functionality than the web client allows.
|
# ? Jun 12, 2011 16:46 |
|
You could also run a vnc server and use a GUI client from a remote computer.
|
# ? Jun 12, 2011 18:40 |
|
If you can implement watch folders (if you can't get a new loving client) You can use SCP or wget or Samba or Dropbox to put the torrent file in the watch directory. If you're using transmission, that has GUI and web front ends, and you can load a torrent through there. I'm also guessing the transmission cli program has a command to run to load a torrent file, but you'll still need to get the torrent file there (scp, wget, samba, dropbox).
|
# ? Jun 12, 2011 19:02 |
|
Wheelchair Stunts posted:I'm very surprised that wpa-supplicant isn't included in repositories. Perhaps you have to enable additional repositories via the apt sources? Ralink's official drivers include/require a modified WPA-supplicant. To compile it though you are not always supposed to follow the readme. I managed to generate a config file but it still wasn't happy. I would report a bug since this poo poo laptop (Averatec 2200) has perfect compatibility on the site but it's already widely reported in posts like the one I quoted. Also I just don't have good experience with bug reports. After a day of trying I'm really switching to Backtrack 5. Maybe next time Ubuntu...
|
# ? Jun 12, 2011 22:32 |
|
angrytech posted:Boom! Got it working. Thanks evol262, you put me on the right track; and stathol for showing me named-checkzone, which is way easier than restarting the damned server just to look for error messages. Yay. Now add reverse DNS. You may want to chroot BIND, too. Anjow posted:http://pastebin.com/B02URkr2 I don't see anything in the init script that would create a virtual IP, and absolutely nothing that'd start Apache. I mean, you may want to recursively grep through /etc/ha.d, but I'd suggest you use one of the other tutorials.
|
# ? Jun 13, 2011 15:30 |
|
evol262 posted:Yay. Now add reverse DNS. You may want to chroot BIND, too. Reverse dns was actually already implemented, I just didn't include those files. chrooting BIND, however, is probably one of my next projects
|
# ? Jun 13, 2011 16:45 |
|
Since we're talking about wpa_supplicant, can someone post their wpa_supplicant.conf that's known to work with a WPA Personal AP? I'm fighting with wpa_supplicant every step of the way to get wireless running on this headless ubuntu-server machine (laptop with broken screen that I figured I'd repurpose). "iwlist scan" shows that it finds my AP's SSID so I think (hope) that means my card is actually working. Here's mine, that I'm having zero luck with: ctrl_interface=/var/run/wpa_supplicant network={ ssid="Giewont" scan_ssid=1 proto=WPA key_mgmt=WPA-PSK pairwise=CCMP TKIP group=CCMP TKIP psk=passgoeshere }
|
# ? Jun 14, 2011 00:08 |
|
I recently installed Debian (Wheezy) on my machine. The system was freezing when logging into Gnome; however, I was able to remedy that by unplugging all of my peripherals and adding them back one at a time. It seems that the problem piece was an external hard drive attached via esata. This external drive has an entry in /etc/fstab When I turn the drive on after I have already booted properly, I get the following message in the terminal pre:Message from syslogd@pterodactyl at Jun 14 09:51:46 ... kernel:[59136.288386] Oops: 0000 [#1] SMP Message from syslogd@pterodactyl at Jun 14 09:51:46 ... kernel:[59136.288389] last sysfs file: /sys/devices/pci0000:00/0000:00:19.0/net/eth1/statistics/collisions Message from syslogd@pterodactyl at Jun 14 09:51:46 ... kernel:[59136.288490] Stack: Message from syslogd@pterodactyl at Jun 14 09:51:46 ... kernel:[59136.288500] Call Trace: Message from syslogd@pterodactyl at Jun 14 09:51:46 ... kernel:[59136.288603] Code: 00 44 39 f8 0f 84 39 03 00 00 4c 8b 23 49 8d 84 24 58 1c 00 00 48 39 c3 74 11 49 3b 9c 24 10 2e 00 00 b8 00 00 00 00 4c 0f 45 e0 <49> 8b 44 24 18 48 c1 e8 17 83 e0 01 88 44 24 4f f6 83 69 02 00 Message from syslogd@pterodactyl at Jun 14 09:51:46 ... kernel:[59136.288629] CR2: 0000000000000018
|
# ? Jun 14, 2011 14:56 |
|
Modern Pragmatist posted:Any ideas on what may be causing this or how to trouble shoot it? If you tail -f /var/log/dmesg when you turn on the drive, do you see anything of interest?
|
# ? Jun 14, 2011 15:18 |
|
taqueso posted:If you tail -f /var/log/dmesg when you turn on the drive, do you see anything of interest? Same as the output above. It appears as though this is an issue with 2.6.38-2. Apparently this issue is resolved in 2.6.39. Now to figure out how to do that...
|
# ? Jun 14, 2011 16:18 |
|
Is there an effective difference in security between chrooting BIND or using AppArmor?
|
# ? Jun 14, 2011 18:28 |
|
Modern Pragmatist posted:Apparently this issue is resolved in 2.6.39. Or just wait a week and update.
|
# ? Jun 14, 2011 18:35 |
|
Modern Pragmatist posted:Same as the output above. It appears as though this is an issue with 2.6.38-2. Apparently this issue is resolved in 2.6.39. Your best bet is to install the source package for 2.6.39 and compile it yourself, or try and use the package for sid. I don't think there's a binary package for it yet native to wheezy. Why exactly are you running unstable anyway? It's way too early in the release cycle for Wheezy to be running unstable for anything other than a toy, IMHO.
|
# ? Jun 14, 2011 18:46 |
|
angrytech posted:Is there an effective difference in security between chrooting BIND or using AppArmor? Chroot is easier to do, apparmor is more finely grained in control. Each is a hack to try and protect bloated, badly maintained code. If you're really security conscious, ditch bind for something like djbdns.
|
# ? Jun 14, 2011 18:52 |
|
nitrogen posted:Your best bet is to install the source package for 2.6.39 and compile it yourself, nitrogen posted:I don't think there's a binary package for it yet native to wheezy. nitrogen posted:Why exactly are you running unstable anyway? It's way too early in the release cycle for Wheezy to be running unstable for anything other than a toy, IMHO. I wouldn't recommend anyone run unstable who is unwilling to file a bug report though. That's one of the major points of running unstable vs. testing, to file bug reports when poo poo breaks.
|
# ? Jun 14, 2011 19:26 |
|
ExcessBLarg! posted:2.6.39 has been in sid for a little while, although they recently updated to 2.6.39-2. You can go through the trouble of adding sid repositories and APT pinning so only the kernel is updated I ended up going this route. eSATA seems to be working just fine now. nitrogen posted:Why exactly are you running unstable anyway? It's way too early in the release cycle for Wheezy to be running unstable for anything other than a toy, IMHO. Wheezy is supposed to be in "testing" and this is the only issue that I've had with it. I'm coming from Fedora where a lot of the packages are more recent versions and I was trying to get a similar experience. If the kernel is enough of a stability problem, I can always roll back and just deal without eSATA.
|
# ? Jun 14, 2011 19:49 |
|
Modern Pragmatist posted:
Welcome to Debian. May I suggest backports for stable? http://backports.debian.org/Instructions/ that might be a better way to accomplish what you want.
|
# ? Jun 14, 2011 20:14 |
|
nitrogen posted:http://backports.debian.org/Instructions/ that might be a better way to accomplish what you want. If he's coming from Fedora, testing sounds entirely appropriate. Also, who's to say his kernel bug isn't an issue in 2.6.32?
|
# ? Jun 14, 2011 20:35 |
|
|
# ? May 17, 2024 16:02 |
|
.
maskenfreiheit fucked around with this message at 21:04 on Apr 28, 2019 |
# ? Jun 14, 2011 21:01 |