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 money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
SynVisions
Jun 29, 2003

Bohemian Cowabunga posted:

A simple question that has been bugging me for a while, how do i search recursively with wildcards(*) using ls?
I am trying to do the bash counterpart of C:\dir /s *.junk

Have tried to read the documentation and looked around with google, but I am unable to find a simple answer for this.

find /c/dir -name '*.junk'

or if you want ls -l output of the matches:

find /c/dir -name '*.junk' -exec ls -l {} \;

Change the -name to -iname if you want to match case insensitively.

I don't know what the /s switch does for dir (is that for recursion?) but whatever it is there's a way to accomplish the equivalent. Check out man find for more options.

SynVisions fucked around with this message at 06:27 on Mar 17, 2009

Adbot
ADBOT LOVES YOU

Peanutmonger
Dec 6, 2002

NZAmoeba posted:

Any idea on what I can do to try and diagnose the problem? I'm running Fedora 10.

RANCID is...special. I can't guess at what its getting hung up on, though the bare bones configuration given in the guide seems smaller than it should be. If you look at the default that comes packaged with RANCID you'll see what I mean. Also, you might want to check permissions on directories, files, etc, although I would expect it to break rather than hang in that case.

NZAmoeba
Feb 14, 2005

It turns out it's MAN!
Hair Elf

Peanutmonger posted:

RANCID is...special. I can't guess at what its getting hung up on, though the bare bones configuration given in the guide seems smaller than it should be. If you look at the default that comes packaged with RANCID you'll see what I mean. Also, you might want to check permissions on directories, files, etc, although I would expect it to break rather than hang in that case.

I'm not to sure it's so much a 'hang' rather it just doesn't do anything, I hit enter and I immediately get a new line and a new prompt.

Also that guide seems to be copy/pasted all over the internet, but I'll double check some others just in case there are other steps around.

Bohemian Cowabunga
Mar 24, 2008

SynVisions posted:

find /c/dir -name '*.junk'

or if you want ls -l output of the matches:

find /c/dir -name '*.junk' -exec ls -l {} \;

Change the -name to -iname if you want to match case insensitively.

I don't know what the /s switch does for dir (is that for recursion?) but whatever it is there's a way to accomplish the equivalent. Check out man find for more options.

Yes the /s is the windows version of -R.

And Thanks, gonna look into to this.

juggalol
Nov 28, 2004

Rock For Sustainable Capitalism

Bohemian Cowabunga posted:

A simple question that has been bugging me for a while, how do i search recursively with wildcards(*) using ls?
I am trying to do the bash counterpart of C:\dir /s *.junk

Have tried to read the documentation and looked around with google, but I am unable to find a simple answer for this.

code:
find -iname '*.junk'
Ought to get you there.

Edit: Oops, didn't see that we'd moved onto another page. My mistake.

Dimitri ExZemos
Aug 9, 2006
Dimitri
I have a question regarding anti-virus and NTFS scanning.

I would like to build a computer dedicated to scanning hard drives for viruses. What distribution and software should I use for this? How should I set it up? Are there PXEs available for this sort of thing already?

Thanks for your suggestions!

spiritual bypass
Feb 19, 2008

Grimey Drawer

Dimitri ExZemos posted:

I have a question regarding anti-virus and NTFS scanning.

I would like to build a computer dedicated to scanning hard drives for viruses. What distribution and software should I use for this? How should I set it up? Are there PXEs available for this sort of thing already?

Thanks for your suggestions!

The only virus scanning tool I'm aware of is ClamAV. It's not difficult to use and has a good reputation (I think). Most distros these days play well with NTFS with no fooling around, so I doubt it'll be too difficult to get your project going.

Dimitri ExZemos
Aug 9, 2006
Dimitri

royallthefourth posted:

The only virus scanning tool I'm aware of is ClamAV. It's not difficult to use and has a good reputation (I think). Most distros these days play well with NTFS with no fooling around, so I doubt it'll be too difficult to get your project going.

ClamAV, that's what I was thinking of. Now the external enclosure drivers are the only thing I'm worried about. I just hope the drivers are common.

I'll refer back to the OP to find out what type of distro to go with then, unless someone has a suggestion of a fairly light weight one to install.

Thanks!

deong
Jun 13, 2001

I'll see you in heck!

Dimitri ExZemos posted:

ClamAV, that's what I was thinking of. Now the external enclosure drivers are the only thing I'm worried about. I just hope the drivers are common.

I'll refer back to the OP to find out what type of distro to go with then, unless someone has a suggestion of a fairly light weight one to install.

Thanks!

The enclosures should just need a USB driver, which any modern distro will have. Xubuntu is nice and light weight, with all the features of the standard Ubuntu. It should have ClamAV in its repo's too.

NZAmoeba
Feb 14, 2005

It turns out it's MAN!
Hair Elf

NZAmoeba posted:

Another question! (Thanks for the prior help, issue solved)

I'm trying to install rancid on this box, following the instructions from this guide: http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch1_:_Network_Backups_With_Rancid

All was going well up until I got to the part where I'm supposed to run the rancid-cvs command. At first I got the error 'cvs: command not found' and quickly realised that I needed to install something else, so a quick 'yum install cvs' fixed that.

However, now when I run the rancid-cvs command, nothing happens, no error, no output at all, certainly not the output shown in the guide there. I tried re-compiling/installing rancid from the beginning in case something got missed due to cvs not being present earlier, but same problem.

Any idea on what I can do to try and diagnose the problem? I'm running Fedora 10.

to make sure nothing was happening instead of it working, just no output, I checked to see if the /usr/local/rancid//var/CVS/networking/ directory was created, it wasn't.

Just following up on this, I'm going to try re-installing rancid again, but making sure I uninstall everything properly first. How do you go about cleanly removing something that was initially installed by 'make install' ?

edit: woop nevermind, got the answer from the rancid newsgroup. make uninstall was leaving behind a CVS and group folder in my var directory, killing those manually allowed rancid-cvs to run properly.

NZAmoeba fucked around with this message at 23:11 on Mar 17, 2009

Saukkis
May 16, 2003

Unless I'm on the inside curve pointing straight at oncoming traffic the high beams stay on and I laugh at your puny protest flashes.
I am Most Important Man. Most Important Man in the World.

Dimitri ExZemos posted:

I have a question regarding anti-virus and NTFS scanning.

I would like to build a computer dedicated to scanning hard drives for viruses. What distribution and software should I use for this? How should I set it up? Are there PXEs available for this sort of thing already?

Thanks for your suggestions!
F-secure has a live CD made for virus scanning, that's one option.

Doc Faustus
Sep 6, 2005

Philippe is such an angry eater
I'm running the latest version of Ubuntu on a Dell GX270. Works great, except that I cannot get dual monitors working. I've got one monitor running off of a DVI card, and the other off of the onboard VGA. I can get mirrored screens, but whenever I attempt to get non-mirrored screens, I get the message seen below. If I click OK, it asks for my password, tells me to log out and back in, and then neither monitor works. If I click No, then obviously nothing happens.

Help?

edit: Additional details! When I say neither monitor works, I mean they remain mirrored, and do not show the login screen. I can still log in "blind," but even after logging in it never shows me anything other than a brown background. I can get back to normal operation by booting into recovery mode and having it fix X-Serve or whatever.

Only registered members can see post attachments!

Doc Faustus fucked around with this message at 02:13 on Mar 18, 2009

Ganson
Jul 13, 2007
I know where the electrical tape is!

Doc Faustus posted:

I'm running the latest version of Ubuntu on a Dell GX270. Works great, except that I cannot get dual monitors working. I've got one monitor running off of a DVI card, and the other off of the onboard VGA. I can get mirrored screens, but whenever I attempt to get non-mirrored screens, I get the message seen below. If I click OK, it asks for my password, tells me to log out and back in, and then neither monitor works. If I click No, then obviously nothing happens.

Help?

edit: Additional details! When I say neither monitor works, I mean they remain mirrored, and do not show the login screen. I can still log in "blind," but even after logging in it never shows me anything other than a brown background. I can get back to normal operation by booting into recovery mode and having it fix X-Serve or whatever.

Could you priv me the contents of /etc/X11/xorg.conf?

jimbroof
Sep 4, 2003

my wife drew this for me :]
So I've just gotten ubuntu installed and I'm getting all my packages and basically getting it ready for use with a mysql project. One of the issues I've come across is that I can't set my primary user's password. When I log in, I'm only prompted for my username. When I attempt to change my password through the command line, i get this:

code:
me@machine:~$ passwd
passwd: password updated successfully
How do I get the password to update? I've tried typing in all kinds of crap, using sudo, etc. but I'm still never prompted for my password and I'm not even able to change it with this command. Is there some setting i'm missing?

jimbroof fucked around with this message at 07:11 on Mar 18, 2009

Harry Totterbottom
Dec 19, 2008

WHORENDOUS posted:

So I've just gotten ubuntu installed and I'm getting all my packages and basically getting it ready for use with a mysql project. One of the issues I've come across is that I can't set my primary user's password. When I log in, I'm only prompted for my username. When I attempt to change my password through the command line, i get this:

code:
me@machine:~$ passwd
passwd: password updated successfully
How do I get the password to update? I've tried typing in all kinds of crap, using sudo, etc. but I'm still never prompted for my password and I'm not even able to change it with this command. Is there some setting i'm missing?

Try using passwd <username>

If that doesn't work try passwd -f <username> then relog.

Harry Totterbottom fucked around with this message at 14:26 on Mar 18, 2009

Doc Faustus
Sep 6, 2005

Philippe is such an angry eater

Ganson posted:

Could you priv me the contents of /etc/X11/xorg.conf?

No need to Priv, here's the non-commented portion:
code:
Section "Device"
	Identifier	"Configured Video Device"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
EndSection

ShoulderDaemon
Oct 9, 2003
support goon fund
Taco Defender

Doc Faustus posted:

No need to Priv, here's the non-commented portion:
code:
Section "Device"
	Identifier	"Configured Video Device"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
EndSection

In the Screen section, add the following:
code:
	SubSection "Display"
		Virtual x y
	EndSubSection
Where x is the total horizontal resolution you need, and y is the total vertical resolution you need. For example, if you have a 1600x1200 display and a 1280x1024 display, and you want them to appear side-by-side, you'd want "Virtual 2080 1200". It's OK to have more virtual space than you'll need, it just wastes a little bit of video RAM on parts of the framebuffer that will never be seen.

And if you don't mind me asking, what video card are you using, and what version of the X.org server are you on? We should be getting to the point where X dynamically allocates backing store and doesn't need the virtual line.

Doc Faustus
Sep 6, 2005

Philippe is such an angry eater

ShoulderDaemon posted:

In the Screen section, add the following:
code:
	SubSection "Display"
		Virtual x y
	EndSubSection
Where x is the total horizontal resolution you need, and y is the total vertical resolution you need. For example, if you have a 1600x1200 display and a 1280x1024 display, and you want them to appear side-by-side, you'd want "Virtual 2080 1200".

And if you don't mind me asking, what video card are you using, and what version of the X.org server are you on? We should be getting to the point where X dynamically allocates backing store and doesn't need the virtual line.

It says I don't have the permissions necessary to save the file, and I'm too linux-dumb to make sudo work properly.

The video card is, I believe, just a passthrough card from Dell. I have some other cards laying around if needed, not sure if they work though. I have no idea what version of X.org I'm on, but I install updates pretty constantly.

And I realize now that, with this request, I am every terrible ticket I've ever seen at the helpdesk. :smith:

ShoulderDaemon
Oct 9, 2003
support goon fund
Taco Defender

Doc Faustus posted:

It says I don't have the permissions necessary to save the file, and I'm too linux-dumb to make sudo work properly.

The video card is, I believe, just a passthrough card from Dell. I have some other cards laying around if needed, not sure if they work though. I have no idea what version of X.org I'm on, but I install updates pretty constantly.

And I realize now that, with this request, I am every terrible ticket I've ever seen at the helpdesk. :smith:

I assume you're on Ubuntu?

If you run dpkg -l xserver-xorg it should tell you the version of your X.org server. If you could also paste the output of lspci -nn I can get the information I'd like about your video card.

To fix your problem, first open a terminal and run sudo id. If it prompts you for a password, enter your normal password. It should then spit out something a lot like uid=0(root) gid=0(root) groups=0(root). This means that sudo is working; if you can't get to this point, I'll need to know what error message you get instead.

Once you can get to that point, please run sudo nano /etc/X11/xorg.conf. That will put you in an editor in the terminal where you can make the change I asked you to make. Once you have put in the Display subsection, press control-X to exit nano. It will ask if you want to save changes; answer y for yes. It should, at that point, drop you back at the shell. If it instead gives you an error, I will need to know what that message was.

If you get the xorg.conf changed without issue, then just logging out and logging back in should be enough to start using the new configuration, and you should be able to configure your displays with the normal control panel.

Doc Faustus
Sep 6, 2005

Philippe is such an angry eater

ShoulderDaemon posted:

I assume you're on Ubuntu?

Yup, it's ubuntu.

Results:
code:
:~$ dpkg -l xserver-xorg
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  xserver-xorg   1:7.4~5ubuntu3 the X.Org X server
code:
:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface [8086:2570] (rev 02)
00:02.0 VGA compatible controller [0300]: Intel Corporation 82865G Integrated Graphics Controller [8086:2572] (rev 02)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 [8086:24d2] (rev 02)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 [8086:24d4] (rev 02)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 [8086:24d7] (rev 02)
00:1d.3 USB Controller [0c03]: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 [8086:24de] (rev 02)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller [8086:24dd] (rev 02)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev c2)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge [8086:24d0] (rev 02)
00:1f.1 IDE interface [0101]: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller [8086:24db] (rev 02)
00:1f.2 IDE interface [0101]: Intel Corporation 82801EB (ICH5) SATA Controller [8086:24d1] (rev 02)
00:1f.3 SMBus [0c05]: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller [8086:24d3] (rev 02)
I'll try sudo nano and edit in the results in a sec...

EDIT: Same results as before. Have to boot into recovery in order to get my computer back.

Doc Faustus fucked around with this message at 20:07 on Mar 20, 2009

ShoulderDaemon
Oct 9, 2003
support goon fund
Taco Defender

Doc Faustus posted:

EDIT: Same results as before. Have to boot into recovery in order to get my computer back.

Ah, I think I understand. I believe the display is coming up mirrored, but the window manager thinks it's in a dual-display mode and is displaying everything on the "other" display. The most productive thing you can do at this point is file a bug report. Both Ubuntu and Debian have excellent X support teams, and they can make sure the report gets filed correctly upstream and possibly either get you on a newer Xorg or talk you through some other workaround.

Open up a terminal, and run reportbug xserver-xorg-video-intel. This will walk you through the process of describing your problem, and send the bug report for you. Early on in the process it will ask you if your bug is the same as any of about 200 preexisting bugs; I've already checked the open bugs on your behalf, so just answer no and don't bother reading through all of them unless you're bored.

Edit: If you're desperate to make this work and willing to go through some effort, I can talk you through some further diagnosis, but I can't promise I can get you into dual-monitor mode. And please file the bug report anyway, because X shouldn't be putting you in the situation you're in.

ShoulderDaemon fucked around with this message at 20:43 on Mar 20, 2009

Doc Faustus
Sep 6, 2005

Philippe is such an angry eater
Before I submit a bug, I'll try and describe in even greater detail. I wish I had a way to post video, because it's really bizarre.

When I log out, I get just a brown gradient (default background) and the mouse on *both* screens. Though I'm never presented with a login prompt, I can type in my username and password. If I do so, it clearly goes through some portion of the login process as the background changes slightly. After a few (20?) seconds, both monitors just display white with some random blue lines. Then I reboot, rebuild xserve, and post about it on the forums.

edit: I'm up for whatever further diagnosis you're willing to pursue. This is a work machine, and I have a lot of down time.

Doc Faustus fucked around with this message at 21:19 on Mar 20, 2009

ShoulderDaemon
Oct 9, 2003
support goon fund
Taco Defender

Doc Faustus posted:

Before I submit a bug, I'll try and describe in even greater detail. I wish I had a way to post video, because it's really bizarre.

When I log out, I get just a brown gradient (default background) and the mouse on *both* screens. Though I'm never presented with a login prompt, I can type in my username and password. If I do so, it clearly goes through some portion of the login process as the background changes slightly. After a few (20?) seconds, both monitors just display white with some random blue lines. Then I reboot, rebuild xserve, and post about it on the forums.

Yeah, I stand by my earlier guess. X thinks it's in a dual-monitor mode, but the card is still mirroring.

File the bug report, first off.

In a working X configuration, open a terminal and run xrandr. Post the output.

Then, get to the broken configuration and log in. Once the background starts changing, press Control-Alt-F1. This should switch you to a text mode, with a login prompt. Log in again here. Run DISPLAY=:0 xrandr and post the output here. That will tell us in detail what X thinks is going on.

Run DISPLAY=:0 import -window root screenshot-1.png. This takes a screenshot of your entire X session and saves it as screenshot-1.png; if you can get that uploaded at some point, it may be enlightening.

Now, and this is sheer guesswork on my part, run DISPLAY=:0 xrandr --output VGA --left-of DVI, post any error message it gives you, run DISPLAY=:0 import -window root screenshot-2.png, then press Control-Alt-F7 and report if anything's changed. Then press Control-Alt-F1, and this time run DISPLAY=:0 xrandr --output VGA --same-as DVI, post any error message it gives you, run DISPLAY=:0 import -window root screenshot-3.png, then press Control-Alt-F7 and report if anything's changed.

Thanks!

Doc Faustus
Sep 6, 2005

Philippe is such an angry eater

ShoulderDaemon posted:

Yeah, I stand by my earlier guess. X thinks it's in a dual-monitor mode, but the card is still mirroring.

File the bug report, first off.

In a working X configuration, open a terminal and run xrandr. Post the output.

Thanks!

code:
:~$ xrandr
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 1600 x 1600
VGA connected 1280x1024+0+0 (normal left inverted right x axis y axis) 359mm x 287mm
   1280x1024      60.0*+   75.0     60.0     60.0* 
   1600x1024      60.2  
   1400x1050      60.0  
   1440x900       59.9  
   1280x960       60.0  
   1360x768       59.8  
   1152x864       75.0     75.0     75.0     70.0     60.0  
   1024x768       75.1     75.0     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     75.0     60.0     59.9  
   720x400        70.1  
TMDS connected 1280x1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm
   1280x1024      60.0*+   75.0     60.0     60.0* 
   1600x1024      60.2  
   1400x1050      60.0  
   1440x900       59.9  
   1280x960       60.0  
   1360x768       59.8  
   1152x864       75.0     75.0     75.0     70.0     60.0  
   1024x768       75.1     75.0     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     75.0     60.0     59.9  
   720x400        70.1  
I think I'm beginning to see the issue...

Doc Faustus fucked around with this message at 21:47 on Mar 20, 2009

ShoulderDaemon
Oct 9, 2003
support goon fund
Taco Defender

Doc Faustus posted:

xrandr output

Everywhere I said "DVI" in my previous post, use "TMDS" instead.

Magicmat
Aug 14, 2000

I've got the worst fucking attorneys
I'm trying to resize a partition using GParted and I'm running into a little trouble.

I just recently expanded my disk from 12 to 15GBs (a virtual disk inside VMWare) and now need to expand the partition to take advantage of that. Problem is, the swap space seems to be sitting between the main partition and the free space, and I can't figure out how to move it (the item is greyed out in GParted when I right click the 'extended' partition or the 'linux-swap' partition inside of it.)

The disk layout was automatically created by Ubuntu when I installed it.

Would it be best to just delete and recreate and swap partition? How could I do that in a way that will make sure Ubuntu doesn't go crazy on next boot because it can't find its swap space or something?

Edit: Never mind, figured it out. I first had to right-click the swap partition and select "Swapoff", then I was able to move and resize it at will.

Magicmat fucked around with this message at 22:43 on Mar 20, 2009

Doc Faustus
Sep 6, 2005

Philippe is such an angry eater

ShoulderDaemon posted:

Everywhere I said "DVI" in my previous post, use "TMDS" instead.

When I login and switch to text only mode, it's extremely hard to work with, as it stretches the text so much I can't see what I'm writing, and there's at least 10 lines beyond the end of the screen. The screenshot just dumped a black image, no data.

ShoulderDaemon
Oct 9, 2003
support goon fund
Taco Defender

Doc Faustus posted:

When I login and switch to text only mode, it's extremely hard to work with, as it stretches the text so much I can't see what I'm writing, and there's at least 10 lines beyond the end of the screen. The screenshot just dumped a black image, no data.

I'd guess Xorg is leaving your hardware is some poorly-defined state and the kernel can't get it back to a working textmode. I don't think there's a lot I can do to help you at this point; I'll ask some of the Xorg people at Intel if they have any ideas, but waiting on a response to the bug report is probably your best bet.

Mode 7 Samurai
Jan 9, 2001

I just installed Mandriva on a Sony Vaio laptop I have, and it starts up fine, but I am having a problem with my wireless card. When I try to configure it from the network center it says "Your wireless card is disabled, please enable the wireless switch (RF kill switch) first."

I did some research on google, but nothing I found seems to have fixed the problem. Anyone have any suggestions?

EDIT: Nevermind, I fixed the problem.

Mode 7 Samurai fucked around with this message at 07:42 on Mar 23, 2009

G-Philez
Feb 11, 2005
Drinking, Driving, Thinking of You
I have been a MS bitch my whole life, and I'm trying to break the trend now. Heck, I am even a Microsoft Certified one. Anyway, my brother-in-law and some co-workers have gone on and on about how great Linux is and that I should give it a try. Now, I have it dual booting successfully on my laptop (Ubuntu 8.10 32-Bit Desktop Edition with Windows XP Home Edition) and my desktop (Ubuntu 8.10 64-Bit Desktop Edition with Windows Vista Home Premium x64).

I've had a bit of a learning curve in getting this to work, more so on my desktop than my laptop. For my wireless in my laptop I am using a Netgear WN511T. I followed the directions at http://madberry.org/2008/11/how-to-get-the-netgear-wn311t-to-work/ to make it work. It appears that people got the Netgear WN311T to work for their 32-Bit versions of Ubuntu. Unfortunately, I am using the same card with the 64-Bit version. I've also visited Netgear's web site looking for another driver, but their site appears to be having problems in the Downloads area.

Now, another problem I've encountered is with my Ubuntu on my desktop not being able to see my Vista partition. I have Vista running on a RAID 0. Ubuntu is on its own hard drive, and I have one other hard drive, which Ubuntu sees just fine. I have installed dmraid and ran "sudo dmraid -r" in the terminal to confirm that it is properly detected. The RAID_SET_NAME is nvidia_jadcdcch, and the PARTITION_NUM is 1. In terminal I've run "sudo mount -t ntfs /dev/mapper/nvidia_jadcdcch1 /windows" and it appears I am doing something wrong. Since the RAID configuration is already set up I'm thinking there cannot be much to simply mounting it so that I can read the data.

Thanks in advance! I was a nut and stood up until past 10 AM this morning trying to figure Linux out.

Dippin' Sauce
May 8, 2005

Ask why, asshole.
I made my own thread in the Haus of tech support and received no replies, so I'm trying my luck here :/

I've been struggling with this for days now so I'm finally asking for help. I have openSuSE 11.0 (or 11.1 not sure) installed with an ATI X800XL video card. All I'm trying to do is get my dual displays working so they aren't mirroring each other. I've been trying to install the ATI drivers following these instructions with no luck: http://en.opensuse.org/Howto/ATI_Driver#1-click_install_for_openSUSE_11.1.2C_11.0_and_10.3

So I downloaded the file it lists and then run sax2 -r 0=fglrx from the command line as root. It eventually just does this:
(Sorry for the wasted space, I'm using Gimp for the first time and spent 15 minutes just cropping it down to that)

I let it sit there for 15 minutes and it never went back to the terminal prompt, so I went ahead with the instructions and restarted the X server. I then pulled up SaX and tried to enable dual screen and got this error:

The end of that log just says this:

quote:

(II) fglrx(0): Display2: No EDID information from DDC.
(EE) fglrx(0): Unknown EDID version 0
(II) fglrx(0): Display2: Failed to get EDID information.
(II) fglrx(0): Primary Controller - CRT on primary DAC
(II) fglrx(0): Secondary Controller - CRT on secondary DAC
(II) fglrx(0): Internal Desktop Setting: 0x00000008
(II) fglrx(0): POWERplay version 3. 1 power state available:
(II) fglrx(0): 1. 398/493MHz @ 0Hz [enable load balancing]
Backtrace:
0: /usr/sbin/xw(xf86SigHandler+0x79) [0x80b3619]
1: [0xffffe400]
Fatal server error:
Caught signal 11. Server aborting

So now I have no idea what driver I'm using; whether it's the default SuSE one or the ATI one. A look at YaST2 Hardware Information reveals this:


I've re-installed about 3 times now from breaking the X server and am just lost at this point. If this should be in a Linux mega thread or different forum let me know.

ShoulderDaemon
Oct 9, 2003
support goon fund
Taco Defender

Dippin' Sauce posted:

I've been struggling with this for days now so I'm finally asking for help. I have openSuSE 11.0 (or 11.1 not sure) installed with an ATI X800XL video card. All I'm trying to do is get my dual displays working so they aren't mirroring each other.

It looks like you're probably running Xorg 7.4, which is a good sign. I'm not exactly sure what state your system is in now, so I'm going to assume it's relatively clean.

What I want you to do is remove the file /etc/X11/xorg.conf, then restart X. At this point I expect X to come up with both screens enabled and mirroring eachother; if this doesn't work, we'll have a bit more work to do.

Once you get to this point, please run the command xrandr and post the output.

Grigori Rasputin
Aug 21, 2000
WE DON'T NEED ROME TELLING US WHAT TO DO
Ubuntu on a laptop - what should I know? Are there any major hiccups to running it on a Thinkpad? What laptops play nicely with Ubuntu? What should I know?

ShoulderDaemon
Oct 9, 2003
support goon fund
Taco Defender

Grigori Rasputin posted:

Ubuntu on a laptop - what should I know? Are there any major hiccups to running it on a Thinkpad? What laptops play nicely with Ubuntu? What should I know?

Thinkpads should pretty much work without any issues or special treatment.

G-Philez
Feb 11, 2005
Drinking, Driving, Thinking of You
I want to sum up my above post.

How do I get my WN311T to work using Ubuntu 8.10 64-Bit Desktop Edition?

How do I mount a RAID partition and read files from it?

Thanks!

LiquidRain
May 21, 2007

Watch the madness!

Grigori Rasputin posted:

Ubuntu on a laptop - what should I know? Are there any major hiccups to running it on a Thinkpad? What laptops play nicely with Ubuntu? What should I know?
X60s user here - ThinkPads pretty much use nothing but Intel hardware and work fantastically. You may have a problem with your wifi switch though. It's a well documented issue and it's easy to get around by flipping it on, opening a terminal, and:

sudo rmmod iwl3945
sudo modprobe iwl3945

You may have to specify something other than iwl3945 - I'm not sure what it'd be in your laptop, IF you have this issue.

You may also want to look at this treasure trove of information: http://www.thinkwiki.org The page on saving power gave me an extra 45 minutes on battery when I implemented the changes!

Pile Of Garbage
May 28, 2007



I run a small home server (Ubuntu 8.10 Server with Linux kernel 2.6.27) and have been having some MySQL issues. About a week ago I went to import a SQL dump using the Webmin MySQL module and it started throwing up errors. I attempted to restart the MySQL server (sudo /etc/init.d/mysql restart) and it returned an error stating that /var/run/mysqld.sock was missing which, after checking, was in fact missing.

Assuming it was an issue with incorrect binary paths due to an upgrade I did locate mysqld.sock and locate mysql.sock however they returned nothing. So I said gently caress it and attempted to remove and reinstall mysql-server via apt which went through successfully however when I went to import the SQL dump it prompted me for the master password which I could not remember (I assumed it was the same as my root password but it wasn't).

So I purged the mysql-server package (sudo apt-get purge mysql-server) and manually removed /etc/mysql and /var/lib/mysql. After that I reinstalled the mysql-server package and during installation it prompted me to set a master password which I did and then it spat out an error.

So now not only is MySQL hosed but the apt package repository on my computer is hosed. This is what happens when I try to start the MySQL service:

code:
cheese-cube@DarkStar0:~$ sudo /etc/init.d/mysql start
 * /etc/init.d/mysql: WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz
 * Starting MySQL database server mysqld                                 [fail]
And it leaves the following in my logs:

code:
Mar 24 17:35:19 DarkStar0 /etc/init.d/mysql[14130]: WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz
Mar 24 17:35:19 DarkStar0 mysqld_safe[14172]: started
Mar 24 17:35:19 DarkStar0 mysqld[14176]: InnoDB: Log scan progressed past the checkpoint lsn 0 36808
Mar 24 17:35:19 DarkStar0 mysqld[14176]: 090324 17:35:19  InnoDB: Database was not shut down normally!
Mar 24 17:35:19 DarkStar0 mysqld[14176]: InnoDB: Starting crash recovery.
Mar 24 17:35:19 DarkStar0 mysqld[14176]: InnoDB: Reading tablespace information from the .ibd files...
Mar 24 17:35:19 DarkStar0 mysqld[14176]: InnoDB: Restoring possible half-written data pages from the doublewrite
Mar 24 17:35:19 DarkStar0 mysqld[14176]: InnoDB: buffer...
Mar 24 17:35:19 DarkStar0 mysqld[14176]: InnoDB: Doing recovery: scanned up to log sequence number 0 43655
Mar 24 17:35:19 DarkStar0 mysqld[14176]: 090324 17:35:19  InnoDB: Starting an apply batch of log records to the database...
Mar 24 17:35:19 DarkStar0 mysqld[14176]: InnoDB: Progress in percents: 3 4 5 6 ... 96 97 98 99 
Mar 24 17:35:19 DarkStar0 mysqld[14176]: InnoDB: Apply batch completed
Mar 24 17:35:19 DarkStar0 mysqld[14176]: 090324 17:35:19  InnoDB: Started; log sequence number 0 43655
Mar 24 17:35:19 DarkStar0 mysqld[14176]: 090324 17:35:19 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
Mar 24 17:35:19 DarkStar0 mysqld_safe[14187]: ended
Mar 24 17:35:33 DarkStar0 /etc/init.d/mysql[14343]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Mar 24 17:35:33 DarkStar0 /etc/init.d/mysql[14343]: Could not open required defaults file: /etc/mysql/debian.cnf
Mar 24 17:35:33 DarkStar0 /etc/init.d/mysql[14343]: Fatal error in defaults handling. Program aborted
Mar 24 17:35:33 DarkStar0 /etc/init.d/mysql[14343]:
This is what happens when I try to remove the mysql-server package (Either with apt-get remove or apt-get purge):

code:
cheese-cube@DarkStar0:~$ sudo apt-get remove mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mysql-server is not installed, so not removed
The following packages were automatically installed and are no longer required:
  libhtml-template-perl mysql-server-5.0
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up mysql-server-5.0 (5.0.67-0ubuntu6) ...
 * Stopping MySQL database server mysqld                                 [ OK ]
/var/lib/dpkg/info/mysql-server-5.0.postinst: line 143: /etc/mysql/conf.d/old_passwords.cnf: No such file or directory
dpkg: error processing mysql-server-5.0 (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 mysql-server-5.0
E: Sub-process /usr/bin/dpkg returned an error code (1)
And when I try to install the mysql-server package:

code:
cheese-cube@DarkStar0:~$ sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  mysql-server
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/54.9kB of archives.
After this operation, 90.1kB of additional disk space will be used.
Selecting previously deselected package mysql-server.
(Reading database ... 50738 files and directories currently installed.)
Unpacking mysql-server (from .../mysql-server_5.0.67-0ubuntu6_all.deb) ...
 * Stopping MySQL database server mysqld                                 [ OK ]
Setting up mysql-server-5.0 (5.0.67-0ubuntu6) ...
 * Stopping MySQL database server mysqld                                 [ OK ]
/var/lib/dpkg/info/mysql-server-5.0.postinst: line 143: /etc/mysql/conf.d/old_passwords.cnf: No such file or directory
dpkg: error processing mysql-server-5.0 (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-server-5.0; however:
  Package mysql-server-5.0 is not configured yet.
dpkg: error processing mysql-server (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 mysql-server-5.0
 mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have trawled through Google and have been unable to find an answer. Any help would be appreciated. Apologies for the wall of text.

Cyne
May 30, 2007
Beauty is a rare thing.

Edit: Nevermind, got it resolved.

Cyne fucked around with this message at 10:30 on Mar 25, 2009

Dippin' Sauce
May 8, 2005

Ask why, asshole.

ShoulderDaemon posted:

It looks like you're probably running Xorg 7.4, which is a good sign. I'm not exactly sure what state your system is in now, so I'm going to assume it's relatively clean.

What I want you to do is remove the file /etc/X11/xorg.conf, then restart X. At this point I expect X to come up with both screens enabled and mirroring eachother; if this doesn't work, we'll have a bit more work to do.

Once you get to this point, please run the command xrandr and post the output.

I deleted the xorg.conf file (although there were a lot of other xorg.conf.xxx files) and then accidentally rebooted trying to restart X. (I thought init 6 was for stopping the X server, whoops) When I came back up I tried starting X and got this:

quote:

Fatal Server Error: Cannot run in framebuffer mode. Please specify bus ID's for all framebuffer devices.
I tried running xrandr for kicks and just got 'Cant open display'. Would it be easier if I just re-installed at this point?

-Edit Running X -configure reults in 'Fglrx: No matching Device section for instance (BusID PCI:blahblah) found. Caught signal 11'

I guess I'll just re-install and let you know when I'm done. Thanks for the help!

-Edit2- I've re-installed and I'm using what I can only assume is the default driver now. Should I try those steps you gave me earlier again?

Dippin' Sauce fucked around with this message at 22:29 on Mar 24, 2009

Adbot
ADBOT LOVES YOU

ShoulderDaemon
Oct 9, 2003
support goon fund
Taco Defender

Dippin' Sauce posted:

I deleted the xorg.conf file (although there were a lot of other xorg.conf.xxx files) and then accidentally rebooted trying to restart X. (I thought init 6 was for stopping the X server, whoops) When I came back up I tried starting X and got this:

I tried running xrandr for kicks and just got 'Cant open display'. Would it be easier if I just re-installed at this point?

Reinstalling will at least get it back to a known-good point, so if you're willing to do that again it may be simplest. Xorg doesn't play well with some framebuffers, which I guess SuSE is using to present a graphical bootup sequence or something.

You might want to try running "X -configure" as root to produce a new xorg.conf; I'm not sure if that will work in the presence of framebuffers, especially if SuSE has patched X as a lot of distros do.

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