Search Amazon.com:
Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us $3,400 per month for bandwidth bills alone, and since we don't believe in shoving popup ads to our registered users, we try to make the money back through forum registrations.
«2 »
  • Post
  • Reply
Scaevolus
Apr 16, 2007



Jo posted:

I need to run check disk on an NTFS partition from Linux. What are my options, other than booting into windows twice?

EDIT: To ellaborate, I'm mounting a TrueCrypt encrypted NTFS partition that's being read off an NTFS partition. I do not have access to Windows.
The ntfsprogs package contains the program "ntfsfix", which is probably what you're looking for, but I'm not sure how nicely it works with truecrypt. If truecrypt gives you a virtual block device, it should work.

Z-Bo posted:

I'm trying to find out which file gftp uses to store login credentials. I have an old ftp account I haven't used in over a year on a box that I can only ssh into. I've misplaced my login credentials for the ftp account, but am sure it is still stored in some file on that box. How can I get at it?
Gftp is just a graphical front-end to the ftp server. The server itself is probably running something like proftpd or vsftpd, in which case your password would be hashed and shadowed in /etc/passwd. Unless you're root, you won't even be able to read the hash, and even then you most likely won't be able to crack it.

6174 posted:

Not even close. gFTP is a FTP client, not a graphical front-end to a FTP server. Not to mention most FTP daemons keep their login credentials separate from rest of the system by default, making your comment about /etc/passwd crazy.
Yeah, I worded that badly. But most ftp daemons have their login credentials in the same file as all the other users-- which would be the shadow passwords in /etc/passwd

Scaevolus fucked around with this message at Jul 21, 2007 around 18:10

Adbot
ADBOT LOVES YOU

Scaevolus
Apr 16, 2007



James IV posted:

I've got an older linux box running an old copy of fedora that's pretty much on its last legs. It kernel panics when I try to boot it but I'm 99% sure there's nothing wrong with the data of the files, which is what I'm after. I'm wondering if there's a way to use a modern linux live cd or boot cd or some such to load up a modern copy of linux so I can get the archived files I need off the hard drive then be done with it for good? So...is it possible to boot into a live cd and mount the current filesystem drives?

Yes. You can also pull the hard drive out and try to use a different computer to get the data off as well.

Scaevolus
Apr 16, 2007



evilmonkeh posted:

I've only ever hosted websites on paid for web hosting before, and to point a domain at it all I did was change the domains name servers. I have a computer running ubuntu server which I want to host my website with, what is the best way to point my domain name at it? eg I would like to be able to setup sub domains etc.

What internet connection do you have? Many residential connections forbid you to run a server over their network.

Scaevolus
Apr 16, 2007



shyguy posted:

Are there any good GUI based programming programs out there? I'm using Ubuntu and I'm getting the itch to play around with Python/C/C++. I could do it and have using the command line programs, but I really don't want to.

You should try vim as well, but the learning curve is a bit steeper than emacs.

Scaevolus
Apr 16, 2007



rugbert posted:

Hey, does linux have a sweet spot when it comes to RAM like XP or vista?

Im gunna buy a laptop this week and I want to dedicate it to Linux but I dont know if I should spring extra money for a full gig of RAM since Im on a budget at the moment.

Also - Other than Unbuntu (I didnt like it when I tried it a few years back) whats a good flavor to put on a laptop?
I ran xubuntu for a year on 256MB... 512MB should be fine with GNOME/KDE, just as long as you don't run multiple memory hungry apps (firefox) at a time. More memory is nice though, because of the caching, as the previous poster mentioned.

Scaevolus fucked around with this message at Aug 23, 2007 around 03:24

Scaevolus
Apr 16, 2007



JoeNotCharles posted:

It's probably people who come from Debian, who are used to running the "unstable" build because there are rarely serious problems with it and the stable build is very slow to update.
That's the problem, Gentoo stable = Debian unstable.

Scaevolus
Apr 16, 2007



SnatchRabbit posted:

I guess either one would be ok. Is it just easier to run a few programs with an emulator?

What programs do you want to run?

Also, WINE Is Not an Emulator.

Scaevolus
Apr 16, 2007



SnatchRabbit posted:

video encoders
All the best video encoders run on Linux, provided you're not afraid of the command line.

Scaevolus
Apr 16, 2007



thenameseli posted:

There is currently no OSS encoder (any very limited decoding) of wmv9 (VC-1), for example.
Yes, that was a reckless bit of hyperbole, but I don't really like VC-1. At least according to this, it's inferior to H.264, not to mention less widely supported.

Scaevolus fucked around with this message at Aug 30, 2007 around 03:52

Scaevolus
Apr 16, 2007



SnatchRabbit posted:

Intel 945 it looks like. For now, I've been usi ing the wired ethernet. I'm trying to get my vmware installed but I'm kind of lost. I've dled the rpm file for linux but not sure how to install it via command line.

This is where google comes in handy. Most everything has been documented--

http://www.google.com/search?q=ubuntu+vmware posted:

HowTo: Windows (XP) on Ubuntu with VMWare Server - Ubuntu ForumsHowTo: Windows (XP) on Ubuntu with VMWare Server Tutorials & Tips.
ubuntuforums.org/showthread.php?t=183209

Scaevolus
Apr 16, 2007



emf posted:

Hey, here's a quick one.

How good/bad is AMD64 SMP (Core 2 Duo and Athlon 64x2) support in Debian (testing or unstable) for things like Wine, and drivers for the IBM X3000 and nvidia 7050 onboard video? Would I be better off with the 32 bit version for a while, yet?

The SMP bit shouldn't be a problem. Nvidia drivers work fine with 64-bit. Wine should be able to work with 64-bit*. I couldn't find a hardware listing for the X3000 with lazy googling.

*Hasn't used Debian recently

Scaevolus
Apr 16, 2007



Toiletbrush posted:

The most recent example, that set me off asking this:

http://images.tomservo.cc/desksep.jpg

This is a desktop screenshot. Check the artifacting around the icon labels. I've manually increased the sampling to 4:2:2 in the advanced settings. Quality slider set to 85 percent. I think for that motive, Photoshop would have yielded better results at 420kb target file size. To make them go away, I have to put the slider at 100%, and even then...

No, desktops always look like crap using jpeg. I challenge you to find a desktop screenshot using jpeg that doesn't look horrible.

Or, upload it as (lossless) png somewhere, and I can save it as jpeg with photoshop to demonstrate that the results are equivalent.

Scaevolus
Apr 16, 2007



To demonstrate, I found a random desktop, and exported it to JPEG with Photoshop CS2 and GIMP 2.4rc1

Original (lossless) png (from http://jamesthevicar.com/images/png...op-20050325.png)

Photoshop, saved with Save for Web dialog, Optimized, Quality 64 (384KB)

GIMP, saved with quality 85, optimized on, subsampling 1x1,1x1,1x1 (best quality), and DCT Method Floating point (387KB)

The one made by photoshop looks just slightly better. Feel free to tweak settings if you can make one that looks better.

Edit: woops, a stray brush stroke in the GIMP example... please ignore it

Scaevolus fucked around with this message at Sep 1, 2007 around 02:25

Scaevolus
Apr 16, 2007



teapot posted:

Though the difference is still visible (Photoshop file size is smaller even though it shows slightly less artifacts), its quality factor is absolutely definitely not 64 but 88.

Photoshop's quality setting and the resulting file's reported quality must be different then. Here's shakey proof (who knows, I could have photoshopped it )

Scaevolus
Apr 16, 2007



Kobayashi posted:

A) What should I use /mnt for?

/mnt/store sounds like a perfectly fine place for that. It's the same question as how your home folder should be organized-- it's all personal preference. If the files are mostly an extension of what might be in your home folder, I would make a symbolic link so it appears in your home folder (/home/kobayashi/svn -> /mnt/store/svn, etc.)

Scaevolus
Apr 16, 2007



Harokey posted:

I want to find the hardware address of a machine.

So far I have this:

/sbin/ifconfig eth0 | grep HWaddr

I thought I would pipe that into "cut" but it looks like cut only wants to read from a file, and won't go from stdin. Any other ideas?

/sbin/ifconfig eth0 | grep HWaddr | cut -c 39-

works, but I don't think ifconfig gives constant output.

/sbin/ifconfig eth0 | grep HWaddr | awk '{print $5}'

might work slightly better

e;f,b

improved space squeezing:
code:
/sbin/ifconfig eth0 | head -n 1 | tr -s ' '| cut -d ' ' -f 5

Scaevolus fucked around with this message at Sep 19, 2007 around 23:48

Scaevolus
Apr 16, 2007



Harokey posted:

Edit:
Out of curiosity, is there a way to do this all in perl, other than by just calling that command?(which I'm doing right now)

You can also just grab the contents of /sys/class/net/eth0/address

Scaevolus
Apr 16, 2007



dfn_doe posted:

PC internal clocks are notoriously inaccurate, setup ntp on a cron job to skew it back to the correct time if it bothers you.

Don't use ntp on a cron job, use ntpd.

Scaevolus
Apr 16, 2007



Yoghurt posted:

Ok, I've got one:

Let's say I've loaded Ubuntu and Windows XP onto my computer as per this walkthrough. How would I do it differently so that it automatically booted into windows without prompting me every time and only booted into Ubuntu when the computer detected a boot CD at startup (again, no prompt)?

You could just use fixmbr under Windows, although you could also set it to boot Windows by default on grub's selection screen. Unless a 3 second pause in your boot is undesirable?

Scaevolus
Apr 16, 2007



Yoghurt posted:

I have a week or two of holidays coming up and this is the holiday project I've designated myself this time around. I figure if I'm going to do this and I've got all this spare time to do it, I may as well research how to boot the thing so that I'll never have to worry about it again. It's not that the extra boot time is undesirable, it's that I've curently got the time and effort to get rid of it - so I'm going to.
Just using the Windows bootloader along with a GRUB boot CD will get you the desired results.

Scaevolus
Apr 16, 2007



The Remote Viewer posted:

Looks like the problems I was having with AAC files were most likely caused by this:

https://bugs.launchpad.net/ubuntu/+...fmpeg/+bug/6366

Doesn't look like they have any intention of fixing it. Everyone asking for a fix has been told to either fix it themselves or to "not use stupid proprietary codecs". Unfortunately solid AAC support is a dealbreaker for me.

Well, there's another reason not to use Ubuntu.

Scaevolus
Apr 16, 2007



Comatoast posted:

1) Is ext2 in windows better or worse than ntfs-3g in linux? I've been nervous about running torrents on a ntfs drive under linux, and equally nervous about accessing an ext3 partition from windows. Bottom line: ext3 or ntfs?

3) I have an nvidia geforce 6600 series video card. OpenGL screen savers seem to run really slow. I haven't had much luck getting any complicated games going yet so I'm not completely sure if I'm having real issues or not. Are the default drivers always no good in a linux build? Should I always use the ones from nvidia.com?

1) I'd use ntfs-3g. The windows ext2 driver doesn't work with uncleanly dismounted ext3 filesystems (e.g. hibernating)

3) Optimally, use the nvidia drivers offered by your package manager. Otherwise, you'll need to compile them against the kernel headers of whatever kernel you're using.

Scaevolus
Apr 16, 2007



LesserEvil665 posted:

I'm new to using linux on a personal copmputer, but was interested in trying it out on my new Dell Inspiron 1520. I'm looking for a distribution that would support the hardware, compliment the laptop platform, have good features, and be lightweight. What would you goons recommend?
Ubuntu is the general recommendation for beginners.

Scaevolus
Apr 16, 2007



teapot posted:


Surely quote + copy/paste could make this fewer than 4 replies?

Scaevolus
Apr 16, 2007



Magicmat posted:

Am I correct in assuming that that would require Pidgin to be running to work? I really need something that exists entirerly in a single command, with no background processes or additional commands to execute.

AIM isn't really very well suited for one-shot messages.

Scaevolus
Apr 16, 2007



Bubba Ho-Tep posted:

I've got a question:

I recently fixed up a 2 year old laptop, and plan on throwing Linux on it. How is the wi-fi support, because back when I used Linux with some regularity, it was a bitch to set up.

(Note: I'll be using Ubuntu)

I've never used wireless with Linux myself, but I hear Ubuntu's wireless support is excellent.

Scaevolus
Apr 16, 2007



Crush posted:

Is it possible to go through a file and find the highest (greatest) first number, and of those lines find the highest second number, and of those lines find the lowest third number and then finally the lowest fourth number?

code:
cat foo.txt | sort -g

Scaevolus
Apr 16, 2007



Steve French posted:

That doesn't handle the following, if I'm reading the question right:

Oh, sorry, I misread the problem specification

Scaevolus
Apr 16, 2007



Exi7wound posted:

Doesn't have to be text/console. I've enjoyed FreeCiv and am wondering what else is out there that wasn't an option or is so much better on a Linux box.

Thanks for the suggestions.

Battle for Wesnoth gets pretty high ratings, although turn-based games aren't my type.

http://happypenguin.org has information on games for Linux, browse through the highest ranked ones and try a few out.

Scaevolus
Apr 16, 2007



edit: never mind

Scaevolus
Apr 16, 2007



Neslepaks posted:

Something like
code:
find . -type f -printf "%T@ %f\n"

Alternatively, -printf "%T+ %h%f\n" for more readable time, and directories for the files.

Scaevolus
Apr 16, 2007



Cowboy Mark posted:

Second is much simpler. I have a load of extensionless files in a directory. How do I recurse through them and add .txt onto the end of each one? I tried mv * *.txt as a blind stab in the dark. Again, googling is dificult when it's hard to describe the problem, I just get mountains of unrelated information.
If you find yourself renaming files a lot (or even occasionally), you might find ren (lets you do things like ren '*' '#1.txt') or rename (has some more advanced features) useful.

Also,
code:
for i in *
do j="$i.txt"
mv "$i" "$j"
done
can be replaced by
code:
for i in *
do mv "$i" "$i".txt
done

Scaevolus
Apr 16, 2007



Local Yokel posted:

But with a better video card, and a wireless card added in.
I feel like Ubuntu 7.10 is a little too heavy for this machine (or am I crazy?).

I'd like something that actually installs on the hard-drive, not something that runs only in ram.

Ubuntu installs on the hard drive.

Scaevolus
Apr 16, 2007



Anunnaki posted:

I just installed Ubuntu 7.10 on my home PC, and I've got a couple of questions:

1. The GRUB loader shows an entry called "Windows XP Home Edition", but I don't have XP installed on this machine at all... Wtf?

2. How do I change the order in which the OSs are displayed? I want Vista to be the default entry.

Following this guide, I went into the text editor and changed the title of the Vista boot entry to "Windows Vista Home Premium x64" and deleted the whole entry for XP, since that's not even installed. But I don't see what it means by changing the number from "0" to "4". Can someone help me out here?

Would it work just to move the whole "Other Operating Systems:" section to above the Linux kernels?
1. It's just guessing based on NTFS, and XP Home is most common

2. If you want to change display order, just move the chunks around. If you want Vista to load by default, put the line "savedefault" after it, and remove any other savedefaults in the file.

Scaevolus
Apr 16, 2007



Anunnaki posted:

The Vista and XP entry were the only ones with "savedefault" in them, and I deleted the XP entry, but the Ubuntu kernel was still the first entry on the list; and the message at the bottom says that it will load the first one that's highlighted.

As I said, you can shift the entries around if you want. Also, savedefault should make that entry be the first one that's highlighted.

Scaevolus
Apr 16, 2007



Ozean posted:

So. Any advice to make this work, or just an alternative app I can use?
I really like Grip. It can use CDDB databases to automatically get tags, checks rips for errors (CD read errors), lets you specify options to LAME, and is overall a pretty slick tool.

Scaevolus
Apr 16, 2007



Gvaz posted:

thats what i was thinking of, i have fluxbuntu downloaded and tried it via a VM on my windows box and it seemed to run fine, althought it didnt have much of anything thats fine too. is there any linux program that saves in .doc or something that isnt OO or am i gonna have to be stuck to .rtf files?

Abiword is more lightweight, but it doesn't support as many features as OpenOffice.

Scaevolus
Apr 16, 2007



Nevermind

Scaevolus
Apr 16, 2007



teapot posted:

You may have to install ntfs-3g package and reboot before it will work -- I have no idea if it is installed by default.

7.10 has ntfs-3g installed by default, if I remember the release notes correctly.

Adbot
ADBOT LOVES YOU

Scaevolus
Apr 16, 2007



teapot posted:

They probably use some ActiveX control, so it definitely needs IE, but may or may not run properly in Wine. Install ies4linux and see it it will work.

I'm pretty sure they use Windows Media Player (with DRM) for their videos, so getting it working in Wine will be close to impossible.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply
«2 »