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
teapot
Dec 27, 2003

by Fistgrrl

The Merkinman posted:

I'm terribly sorry I'm not omniscient in Linux and realized that all of my hardware needed to be listed.
Would you not list your hardware when asking for help with a hardware problem in any other system?

quote:

ASUS A8N-SLI Premium Mobo
AMD Athlon 64+ 3200
1GB RAM
2 IDE HDs, 160GB Maxtor, 160 Seagate

I don't know where all that aggression is coming from. I'm pretty sure I mentioned I did try some howtos, which, as you know would entail getting drivers. I also never went on some rant about how much Linux sucks or that I'm not going to use it anymore. If that were the case, I wouldn't bother asking for help to get the wireless to work.

Do you really think that describing a problem in this form, making absolutely no reference to what exactly is "this long ndiswrapper tutorial", and what did you do (if you done it right it would work, so obviously it matters what exactly you thought you did, and what you have seen) is useful for finding how to fix it?

quote:

However, I also dual boot in Ubuntu 7.10 and cant' for the life of me get it to work. I've tried looking at ubuntuforums.org and even making a thread, but it just gets pushed down pages from everyone else having wireless problems.

I tried this long ndiswrapper tutorial but when I run ndiswrapper -l it says invalid driver.

I'm thinking of reformatting/restructuring my ext/ntfs partitions, so if someone's advice is to start with a reinstallation of Ubuntu from scratch, I wouldn't have a problem with it.

What are those "some howtos", what exactly did you do, and what have you seen being returned by the programs you ran?

Adbot
ADBOT LOVES YOU

The Merkinman
Apr 22, 2007

I sell only quality merkins. What is a merkin you ask? Why, it's a wig for your genitals!
I went to NIDSwapper's site and scrolled down to WUSB54GSC for instructions.
Followed the howto linked on that page
When that didnt' work, I tried this which is in the troubleshooting section of the second link

Currently /etc/nidswrapper/wusb54gsc contains:
rndismpk.sys usb8023k.sys wusb54gsc.inf

and
code:
merk@ubuntu-desktop:~$ sudo ndiswrapper -i WUSB54GSC.inf
[sudo] password for merk:
driver wusb54gsc is already installed
merk@ubuntu-desktop:~$ ndiswrapper -l
wusb54gsc : invalid driver!

Kobayashi
Aug 13, 2004

by Nyc_Tattoo
Running Gutsy, I've noticed that the screensaver, when the screen is locked, has an extra option: "leave message." Does anyone know what I'm talking about? Where do these messages go? How would I check them?

EDIT: Also, by playing around with the power options, I managed to disable my keyboard's shut down button and remap it to lock the screen, which is nice. :)

Crush
Jan 18, 2004
jot bought me this account, I now have to suck him off.

Kobayashi posted:

Running Gutsy, I've noticed that the screensaver, when the screen is locked, has an extra option: "leave message." Does anyone know what I'm talking about? Where do these messages go? How would I check them?

EDIT: Also, by playing around with the power options, I managed to disable my keyboard's shut down button and remap it to lock the screen, which is nice. :)

It's for people to leave you a message, when you unlock your desktop, they should just pop up.

Kobayashi
Aug 13, 2004

by Nyc_Tattoo

Crush posted:

It's for people to leave you a message, when you unlock your desktop, they should just pop up.

I figured, but they don't. They just disappear into the ether.

Crush
Jan 18, 2004
jot bought me this account, I now have to suck him off.

Kobayashi posted:

I figured, but they don't. They just disappear into the ether.

Hmm, do you still have both of your panels and do you still have the notification area applet on one of them?

teapot
Dec 27, 2003

by Fistgrrl

The Merkinman posted:

I went to NIDSwapper's site and scrolled down to WUSB54GSC for instructions.
Followed the howto linked on that page
You installed ndsiwrapper manually from sources?

Did you have packaged version of ndiswrapper installed before doing that?
Have you uninistalled the packaged version before installing ndiswrapper from sources?

Very likely it's no longer necessary to use custom compiled ndiswrapper in the first place, however even if it is necessary, you need to make sure that you don't have pieces of two versions installed. First, unload the driver:
code:
sudo rmmod ndiswrapper
Run
code:
sudo make uninstall
from directory with ndiswrapper sources, then
code:
sudo apt-get remove --purge ndiswrapper-utils ndiswrapper-common
, then remove all ndiswrapper files:
code:
sudo rm -rf /etc/ndiswrapper
Even if you didn't have ndiswrapper packages installed, you still have to remove the kernel module --
code:
sudo rm -fR /lib/modules/$(uname -r)/kernel/drivers/net/ndiswrapper
though if you still have it I recommend to move it to somewhere else instead of removing:

code:
sudo mv /lib/modules/$(uname -r)/kernel/drivers/net/ndiswrapper ~/ndiswrapper-modules-old
so you will be able to put them back if necessary.

After that reinstall your built from sources ndiswrapper:
code:
sudo make install
and continue driver installation from "If you have a Windows XP installation" point in the howto. Record all error messages or other responses you will see, and the output of
code:
dmesg
after "modprobe ndiswrapper".


quote:

When that didnt' work, I tried this which is in the troubleshooting section of the second link

Currently /etc/nidswrapper/wusb54gsc contains:
rndismpk.sys usb8023k.sys wusb54gsc.inf

and
code:
merk@ubuntu-desktop:~$ sudo ndiswrapper -i WUSB54GSC.inf
[sudo] password for merk:
driver wusb54gsc is already installed
merk@ubuntu-desktop:~$ ndiswrapper -l
wusb54gsc : invalid driver!

Very likely it's exactly what it says -- you given it the wrong or corrupt file. It's supposed to be Windows XP 32-bit driver. However it's also possible that something remained from another version of ndiswrapper you already had.

Instant Stalker
Aug 8, 2002
JUST ADD RAPE
I might be asking too much but..

Is there a script or program that can compare more than two different files and show me how each individual file differs from each other individual file?

And is there a program/command/script that can show the difference of two different files and squish them together into a new file?

Scaevolus
Apr 16, 2007

Instant Stalker posted:

I might be asking too much but..

Is there a script or program that can compare more than two different files and show me how each individual file differs from each other individual file?

And is there a program/command/script that can show the difference of two different files and squish them together into a new file?

You want "diff" (assuming the files are text)

teapot
Dec 27, 2003

by Fistgrrl

Instant Stalker posted:

I might be asking too much but..

Is there a script or program that can compare more than two different files and show me how each individual file differs from each other individual file?

And is there a program/command/script that can show the difference of two different files and squish them together into a new file?

I use Ediff package in Emacs/XEmacs (load all files in buffers, then run M-x ediff-buffers <Enter>), however kdiff3 can be useful for the same purpose, too (up to three files at a time, but you can run multiple copies of it).

Harokey
Jun 12, 2003

Memory is RAM! Oh dear!
I've set up a bunch of lab machines. Right now we don't have any logins, so the machines are basically open to anyone with a username/password "user" "user".

One of the students is complaining that using these computers its "trivial" to take down the campus email server, because all of these systems are running email servers ( as is the norm with linux ) My question is: Is there any problem to just disabling postfix? I.e. removing it from the startup programs. I know that there's a lot of stuff that uses email which makes me hesitant of just disabling postfix. Any thoughts?

teapot
Dec 27, 2003

by Fistgrrl

Harokey posted:

I've set up a bunch of lab machines. Right now we don't have any logins, so the machines are basically open to anyone with a username/password "user" "user".

One of the students is complaining that using these computers its "trivial" to take down the campus email server, because all of these systems are running email servers ( as is the norm with linux ) My question is: Is there any problem to just disabling postfix? I.e. removing it from the startup programs. I know that there's a lot of stuff that uses email which makes me hesitant of just disabling postfix. Any thoughts?

If it's "trivial" to bring down campus email server with a bunch of Linux boxes running Postfix, it would be just as trivial without them, and you have a more important problem on your hands to begin with.

You can configure mail to forward everything to smarthost, and have smarthost block everything it doesn't like, but it won't prevent determined people from running spam scripts that send all kinds of poo poo over smtp.

yotta
Jul 27, 2004

The opinions expressed here are my own and do not necessarily represent those of the voices in my head.

Harokey posted:

One of the students is complaining that using these computers its "trivial" to take down the campus email server, because all of these systems are running email servers ( as is the norm with linux ) My question is: Is there any problem to just disabling postfix? I.e. removing it from the startup programs. I know that there's a lot of stuff that uses email which makes me hesitant of just disabling postfix. Any thoughts?

You could set them up for local delivery only. I use a package called nullmailer on many of my systems for getting system emails off system.

teapot
Dec 27, 2003

by Fistgrrl

yotta posted:

You could set them up for local delivery only. I use a package called nullmailer on many of my systems for getting system emails off system.

Yes, but then no one will be able to read reports sent to local root, what usually is the reason why MTA is installed in the first place.

Skrill.exe
Oct 3, 2007

"Bitcoin is a new financial concept entirely without precedent."
I feel like such an idiot asking this but can I get some help installing flashplayer? I have it downloaded on my desktop as a .tar and I extracted it to the same place. The website says that I need to navigate to the file and run a command through the terminal but I have no idea how to navigate to a file in the terminal.

yippee cahier
Mar 28, 2005

Mr. Banana Grabber posted:

I feel like such an idiot asking this but can I get some help installing flashplayer? I have it downloaded on my desktop as a .tar and I extracted it to the same place. The website says that I need to navigate to the file and run a command through the terminal but I have no idea how to navigate to a file in the terminal.

Most distros have it in the package manager. What are you using?

Skrill.exe
Oct 3, 2007

"Bitcoin is a new financial concept entirely without precedent."

sund posted:

Most distros have it in the package manager. What are you using?

I'm using Ubuntu 7.10 Gutsy. It says it's installed and youtube works but all of the pornotube variants don't work.

Harokey
Jun 12, 2003

Memory is RAM! Oh dear!

teapot posted:

Yes, but then no one will be able to read reports sent to local root, what usually is the reason why MTA is installed in the first place.

Why not? Doesn't this software allow mail sent to local accounts. I like this idea because it won't break anything internal. There's no reason why email should be going out of the machine anyway.

teapot
Dec 27, 2003

by Fistgrrl

Harokey posted:

Why not? Doesn't this software allow mail sent to local accounts. I like this idea because it won't break anything internal. There's no reason why email should be going out of the machine anyway.

No sane admin will log in locally to every machine in the student lab just to read email -- at best he will make ssh/rsync/... push updates and configuration changes and never bother touching those boxes, and never manually log in to anything but a few of them choosen for testing/staging.

Harokey
Jun 12, 2003

Memory is RAM! Oh dear!

teapot posted:

No sane admin will log in locally to every machine in the student lab just to read email -- at best he will make ssh/rsync/... push updates and configuration changes and never bother touching those boxes, and never manually log in to anything but a few of them choosen for testing/staging.

True but I don't read the root emails on these machines anyway. We re-install the OS at least every quarter.


Edit: Is there any reason to care about independent lab machines that don't really matter all that much? I understand watching servers...

Harokey fucked around with this message at 06:59 on Dec 12, 2007

marcan
Sep 3, 2006
(:(){ :|:;};:)
You don't need a real MTA to send local e-mails off to somewhere else. ssmtp is the default under gentoo and works fine with my box. Any failures get sent to postmaster at my server, which then show up in my Thunderbird.

Either way though, unless you want to do network filtering, whether there's an MTA or not doesn't change the security of the system. If someone wants to send bulk mail all they have to do is write a stupid "MAIL FROM:<blah>/RCPT TO:<blah>/DATA/(spam)/./QUIT" script and have it connect directly to the main mailserver. If you really don't want mail getting out of the boxes, install a firewall rule to block outgoing port 25 to the campus mailserver. If you really need to get local mails out of the box, add a dummy MTA (ssmtp is okay) and add firewall rules to let only privileged users use port 25. I believe iptables has rule match options that can match by UID.

Harokey
Jun 12, 2003

Memory is RAM! Oh dear!
I've never used postfix, but is there some sort of configuration I can hit that will only send emails to itself?

Edit: A student told me that its possible that someone might get pissed at a professor and write a script to send tons of email to that professor through the lab.

Prince John
Jun 20, 2006

Oh, poppycock! Female bandits?

Mr. Banana Grabber posted:

I'm using Ubuntu 7.10 Gutsy. It says it's installed and youtube works but all of the pornotube variants don't work.

Hmm, are you quite sure you installed the flashplugin-nonfree (or similar) package and not the open source version?

Anyway, to answer your original question (and you should uninstall the package if you go this route):

Applications -> Accessories -> Terminal

This will take you to the command prompt, by default you are probably in your home directory.

code:
$ pwd
(print working directory) will print the current directory you are in:
code:
$ /home/username
To navigate to your desktop folder just do
code:
cd Desktop
code:
$ pwd
$ /home/username/Desktop
If you've extracted the tar file already then just do 'cd <tab><tab>' and it will present a list of directories on your desktop, find the right one, start typing the first couple of letters then hit <tab> again to autocomplete.

Once you're in the extracted directory, you need to run the install script. Try running:

code:
$ ./flashplayer-installer
(from here)

If you get a permission denied error immediately, you may need to make the script executable:

code:
$ chmod +x flashplayer-installer

other people
Jun 27, 2004
Associate Christ
This seems like a relatively simple problem, but I cannot figure out how to adjust (lower) the mouse sensitivity in X. I am suing XFCE as my window manager.

XFCE only has controls for mouse acceleration etc.

Section "InputDevice"
Identifier "Mouse1"
Driver "evdev"
Option "evBits" "+1-2"
Option "keyBits" "~272-287"
Option "relbits" "~0-2 ~6 ~8"
EndSection

I have tried adding an Option resolution line with various values but as far as I can tell it is ignored.

There has to be a way to do this?!

Hey!
Feb 27, 2001

MORE MONEY = BETTER THAN
Quick sed question: I want to do captures and replacements with sed, but I think the syntax is different than normal regex syntax.

I just want to turn
code:
([^\.])Name\.Space
into
code:
$1New.Name\.Space
In other words, I want to turn "Name.Space" into "New.Name.Space", but only if the preceding character isn't a period, and I want to keep that preceding character.

Here's my sed command, which is obviously not working:
code:
sed -i 's/([^\.])Name\.Space/$1New.Name.Space/g' File.txt

covener
Jan 10, 2004

You know, for kids!

Hey! posted:

code:
sed -i 's/([^\.])Name\.Space/$1New.Name.Space/g' File.txt

you have to escape parens in sed to make them capture; backreferences are in the \1 form.

Hey!
Feb 27, 2001

MORE MONEY = BETTER THAN
Awesome, thanks.

opblaaskrokodil
Oct 26, 2004

Your morals are my morals. Your wishes are my code.
Will it mess anything up to just rm error.log from the apache directory?
/var/log/apache2/error.log

Need space :(

Also if anyone has advice on how to make it not get to be so big, that would be nice, too :)

Sergeant Hobo
Jan 7, 2007

Zhu Li, do the thing!
I had this idea to create a shared directory on my Samba server so my brother and I (and anyone really) can read, copy and execute files from it. The people with writing ability to this share should only be myself (for obvious reasons).

So right now, this is the section of my smb.conf file for the public share (based off the commented example in the file):
code:
[public]
   comment = Public
   path = /home/public
   public = yes
   browseable = yes
   writeable = yes
   printable = no
   write list = me
Now, as it stands, I can connect in but I cannot write anything to this directory. Just in case I've missed something obvious, here's the ls -l output for the directory in question:

drwxr-xr-x 2 public users 4096 2007-12-12 19:28 public

What's preventing me from having write access to this directory when I'm logged in under my username?

Also, if it wasn't obvious from that output, I made a Linux user called public with a home directory of /home/public. Do I need to have a Linux user to have a Samba user? If not, I imagine I wouldn't want an extra user in existence if I don't need to.

FallenGod
May 23, 2002

Unite, Afro Warriors!

I'm trying out rc2 of mplayer under Ubuntu 7.10, installed through backports. I can't seem to get the new -lavdopts fast:threads=2 (I have a dual core CPU) option for multicore H264 decoding to work, though, as putting that in the config file results in mplayer failing to load. I'm not sure if I'm inputting it wrong or what, but it just won't work for me.

I'm a bit of a newbie at this, so if mplayer is dumping a log that details why it won't load, I have no idea where that would be. Considering that the most CPU intensive thing I really do anymore is watch HD video and very high bitrate 1080 is dropping frames pretty hard in high motion scenes, this is a pretty big annoyance.

Smackbilly
Jan 3, 2001
What kind of a name is Pizza Organ! anyway?

Sergeant Hobo posted:

here's the ls -l output for the directory in question:

drwxr-xr-x 2 public users 4096 2007-12-12 19:28 public

What's preventing me from having write access to this directory when I'm logged in under my username?

Also, if it wasn't obvious from that output, I made a Linux user called public with a home directory of /home/public. Do I need to have a Linux user to have a Samba user? If not, I imagine I wouldn't want an extra user in existence if I don't need to.

Because your user is not the same user as "public".

The permissions on that directory are read/write/exec for the owner and only read/exec for group and world. At the moment, the only user who can write to that directory is the user "public". If you want to allow everyone to write to this directory, you need to give it world-write permissions - chmod 777.

Sergeant Hobo
Jan 7, 2007

Zhu Li, do the thing!

Smackbilly posted:

Because your user is not the same user as "public".

The permissions on that directory are read/write/exec for the owner and only read/exec for group and world. At the moment, the only user who can write to that directory is the user "public". If you want to allow everyone to write to this directory, you need to give it world-write permissions - chmod 777.

So there's no way to give write permissions only to a user who is not the owner? Or am I going about this the wrong way entirely?

EDIT: Had a brainstorm right before I went to bed. Instead of giving "public" write access, I give myself write access by chowning the directory. I tried that and it looks like I got the functionality I wanted. Thanks for the inspiration I got from your post. :shobon:

Sergeant Hobo fucked around with this message at 06:52 on Dec 13, 2007

yippee cahier
Mar 28, 2005

Hey guys, got my new T61 today and promptly deleted Vista. Does anyone have experience using USB security dongles in a guest OS using this fancy virtualization stuff? Am I dreaming or is this sort of thing possible?

Alowishus
Jan 8, 2002

My name is Mud

sund posted:

Does anyone have experience using USB security dongles in a guest OS using this fancy virtualization stuff? Am I dreaming or is this sort of thing possible?
Specifically which fancy virtualization stuff? You're running Windows virtualized on Linux? Many of the virtualization solutions can pass USB devices through, so it's potentially possible.

yippee cahier
Mar 28, 2005

Alowishus posted:

Specifically which fancy virtualization stuff? You're running Windows virtualized on Linux? Many of the virtualization solutions can pass USB devices through, so it's potentially possible.
Intel VT-x. Right now I'm investigating if running Windows as a guest is going to be feasible.

What's the generally accepted best choice for software? It looks like QEMU supports USB passthrough so I guess QEMU and the in-kernel KVM? I've only ever briefly played around with VMware in the past so I'm pretty new to this.

Tap
Apr 12, 2003

Note to self: Do not shove foreign objects in mouth.
I'm a linux noob, and I need some advice.

I'm getting into web development, and I'd like to set up a web server on a linux platform, but I'd also like to learn how to use the linux evironment as well. Which is the best distro to get the best of both worlds? I hear Debian is pretty standard as the backend platform for a lot of websites, or is this inquiry skewed?

deimos
Nov 30, 2006

Forget it man this bat is whack, it's got poobrain!

Tap posted:

I'm a linux noob, and I need some advice.

I'm getting into web development, and I'd like to set up a web server on a linux platform, but I'd also like to learn how to use the linux evironment as well. Which is the best distro to get the best of both worlds? I hear Debian is pretty standard as the backend platform for a lot of websites, or is this inquiry skewed?

Get Ubuntu or Fedora, this forum (and myself) lean towards Ubuntu. Regardless of what you pick, you're not going to be hosting anything yourself so it doesn't matter what distro you pick, they all come with Apache and/or lighttpd as a package in the repository, and also your myriad of web programming languages (perl, python, ruby, hell even java and lisp (and more)). And if you really want to I guess most also have PHP.

covener
Jan 10, 2004

You know, for kids!

Tap posted:

I'm a linux noob, and I need some advice.

I'm getting into web development, and I'd like to set up a web server on a linux platform, but I'd also like to learn how to use the linux evironment as well. Which is the best distro to get the best of both worlds? I hear Debian is pretty standard as the backend platform for a lot of websites, or is this inquiry skewed?

debian and ubuntu packaging of Apache is pretty awful...

Smackbilly
Jan 3, 2001
What kind of a name is Pizza Organ! anyway?

Sergeant Hobo posted:

So there's no way to give write permissions only to a user who is not the owner? Or am I going about this the wrong way entirely?

Although it seems you fixed your problem, the way to give write permissions to 1 or more users who are not the owner is to create a group, put the users who should have write permissions into that group, assign group ownership of the directory to that group, and then give the directory group write permissions. If you need anything more fine-grained than that, you need to look into ACLs.

Adbot
ADBOT LOVES YOU

Instant Stalker
Aug 8, 2002
JUST ADD RAPE

teapot posted:

I use Ediff package in Emacs/XEmacs (load all files in buffers, then run M-x ediff-buffers <Enter>), however kdiff3 can be useful for the same purpose, too (up to three files at a time, but you can run multiple copies of it).
I'll have to check that out. What I was trying to do is compare eeight different php.ini files in a system.


Now I have another question.

Does anyone know of a place on the internet where I can get VIDEO tutorials of linux stuff? For example, aomething like this video on youtube where someone is just talking and explaining things while typing out commands in the terminal.

I dont really want any GUI stuff, just terminal stuff.

Is there a place on the internet that provides this type of service? Just curious. :saddowns:

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