|
niss posted:So I'm not sure if what I want to do is possible. I have a current windows7 installation which on it I am running an Ubuntu server via virtualbox. There is a secondary physical drive in the box which has a bunch of files on it I would like to share out via samba from the ubuntu server. Currently the drive is formatted ext4, so I can see the drive is there via disk management in windows but that is it. Yeah, I don't believe that's a supported feature with VirtualBox, at least not via the GUI; you might be able to hack the XML description to do it, but I haven't found a way in my (admittedly cursory) searches in the past.
|
# ¿ Dec 30, 2010 03:31 |
|
|
# ¿ May 20, 2024 15:48 |
|
rugbert posted:Do I need to install device specific drivers to get webcams to not look like rear end? Both my integrated laptop cam and my Logitech quickcam produce image quality thats as bad as most dumb phones and Im fairly certain it should be better. What model of cam specifically? My HP Mini 311 running Ubuntu and my MacBook (both have VGA-resolution internal cameras) yield similar results, but that's because they're using lovely VGA-res CCDs. I have a Logitech QuickCam Pro 9000 on my workstation which yields way better quality (running Ubuntu as well), but that's because it has a much higher quality CCD (and better optics). In short, if it's a VGA res integrated cam, or a cheapo VGA-res cam, don't be surprised at assy quality. This is normal, and Windows drivers probably would not do better. Edit: Duh, okay, Logitech QuickCam, obviously. Dinty Moore fucked around with this message at 23:53 on Jan 6, 2011 |
# ¿ Jan 6, 2011 23:24 |
|
xPanda posted:10.0.0.0/24 is the internal network the VMs are on, and the webserver is at 10.0.0.218. You should specify, in the PREROUTING rule, the IP address of your machine, otherwise it rewrites (as you are discovering) *ALL* connections to 80/tcp running through your machine. Something like this: code:
|
# ¿ Jan 20, 2011 04:27 |
|
xPanda posted:Ah! That did the trick, and it makes sense too. Thanks! Shouldn't this have not affected connections on the machine I was trying to route to, or does the routing change the connection to the point the machine no longer accepts them? More the latter. The VM's outgoing connections get rewritten to go to itself, so the packet goes back to itself directly, but when it tries to send responses to itself (since the initial SYN will then claim to be from a local address), the TCP session created by the caller ends up totally confused. This sort of IP rewrite wrangling gets tricky because of that.
|
# ¿ Jan 20, 2011 16:30 |
|
Kaluza-Klein posted:Ubuntu 10.10 here. Hm, I'm definitely not seeing this; what does: code:
|
# ¿ Jan 22, 2011 00:18 |
|
Modern Pragmatist posted:Is there a command line utility for determining resolution and codec of a video file in linux? I'm attempting to write a script that will run as a cron job and convert video files that meet certain criteria. As mentioned, you might be able to use mplayer, or just run 'ffmpeg -i [filename]', and it should provide you some info. Alternatively, try MediaInfo; it's available for Windows, Linux and OS X, with and without GUI, and should give you more detail than you can stomach.
|
# ¿ Jun 1, 2011 19:38 |
|
evol262 posted:(which doesn't make a difference if you're on OpenVZ/Xen PV anyway, as far as I know). On OpenVZ/Virtuozzo, you're correct; Xen (since early 3.0) has features to allow loading the kernel out of the domU's filesystem, and most deployments use that, because it's generally better and simpler to use distro kernels when possible. (I say this as someone involved in implementing a Xen-based VM hosting platform.)
|
# ¿ Jun 9, 2011 17:43 |
|
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 |
|
dolicf posted:Neat trick to save some time in situations like this: Seriously? I've been using Linux for... 15+ years now. How have I never heard of/thought of this? Thank you, goon sir.
|
# ¿ Jun 22, 2011 21:20 |
|
Megaman posted:I've installed debian 6 with dwm on my desktop that has an ATI card, I have 3 questions. I'm not sure about how this is done in Debian; I know in Ubuntu, you just use the "Additional Drivers" tool. You should be able to enable the non-free repository for Debian, run "apt-get update ; apt-get install fglrx fglrx-amdcccle", and then use its command line tool to configure Xorg to use the fglrx driver. You'll probably also need to add your user account to the 'video' group. Megaman posted:2) how do I reconfigure dwm I assume you mean "Compiz" in this case; once you have hardware acceleration working, run "apt-get install compiz compiz-gnome", and once everything is installed, run "compiz --replace &" in a terminal window. That should enable desktop compositing. Megaman posted:3) how do i disable capslock on login On Ubuntu, I do this by choosing System -> Preferences -> Keyboard, going to the Layouts tab, clicking the Options... button, and under "Ctrl key positioning", selecting "Make Caps Lock an additional Ctrl". I believe it should be similar on Debian.
|
# ¿ Jun 25, 2011 21:08 |
|
spankmeister posted:If google is not being stupid and is using a normal kernel with usbnet drivers included, most will work. Not necessarily. I got one of these earlier this year; it works with Linux, but you need the latest ASIX kernel driver. And guess what. The latest ASIX driver is *not* in the kernel. I ended up making my own Debian packages to use DKMS to build the driver for the installed kernel(s). (See here. Works for Debian and Ubuntu; I'm using it on a PPC Mac Mini at home.) It works fine now, but not every ASIX-based USB NIC will "just work" out of the box, sadly.
|
# ¿ Jun 29, 2011 16:25 |
|
Kaluza-Klein posted:o rly. I was thinking about buying this: http://www.newegg.com/Product/Product.aspx?Item=N82E16833124335 It's 10/100, so maybe the chip it uses works "out of the box" with Linux.
|
# ¿ Jun 29, 2011 16:47 |
|
|
# ¿ May 20, 2024 15:48 |
|
ExcessBLarg! posted:Hmm, that's interesting. No, 'update-grub' doesn't actually reinstall the bootstrap code in the MBR on its own at all. All it does is regenerate the grub.cfg (or menu.lst for pre-GRUB2). Unless you're moving your GRUB bootstrap files around a lot (why?) you should pretty much never need to do that, unless the actual installed GRUB version is updated, in which case the packages will reinstall the bootstrap. Since it can actually handle partition tables and filesystems, once it has the bare minimum blockmapped (the stage2, and the modules for accessing the filesystems), it doesn't have to keep a blockmap of every file - like your kernels - like LILO did (which was why if you updated your kernel back in the bad old days of LILO and rebooted before updating your bootloader, you could end up with a hosed system).
|
# ¿ Aug 8, 2011 14:58 |