LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-23-2003, 09:21 PM   #1
Viper168
Member
 
Registered: Oct 2003
Distribution: Gentoo
Posts: 54

Rep: Reputation: 15
A few simple problems


Hi, I'm having a few problems I had posted in "problems with connectivity" that were irrelevant to the topic. Since I didn't get too many answers, I thought I'd post them under a topic that was more related.

First off my windows mount folder is only accessable from root. I've tried going into the mount point options of the mandrake config too, and check "user". Done that but still can't access it.

Second, I'm having issues with sound. I ran the "aumix -q" supposedly to check "if the sound volume is muted or not". The results I got were not clear to me, so I thought I'd post them :

vol 0, 0, P
pcm 100, 42
speaker 0, 0
line 0, 0, P
mic 0, 0, R
cd 0, 0, P
igain 0, 0
line1 0, 0, P
phin 0, 0, P
video 0, 0, P


Does this mean sound volume is muted? If so how do I fix it? If not, what else might it be?



Third problem is when I try and run kppp, I need to enter root password. How can I make it cut that out?

One more thing I'd like to do, is be able to run rpm files out of root.

Just for reference I'm running mandrake 9.1


If you can help me fix any of these problems it would be greatly appreciated.

Thanks,

-Viper168
 
Old 10-23-2003, 09:59 PM   #2
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
for mounting windows partition: You have to edit the /etc/fstab (you have to be root to do it). Add the option umask=0 to the list of options and you should be fine. The user option only says that a user can mount it. If it gets auto-mounted it is still owned by root and the permission are set in such a way that others cannot see it.

sound: open aumix. It is in the menu under multi-media -> sound and turn up *everything* you can. If that doesn't help, it's not the volume settings.

kppp: don't know. Never asked me for a root password... maybe you have security settings higher than normal?

rpm: I'm not sure what you are asking.
 
Old 10-23-2003, 10:20 PM   #3
Viper168
Member
 
Registered: Oct 2003
Distribution: Gentoo
Posts: 54

Original Poster
Rep: Reputation: 15
I figured out the aumix thing and was just getting ready to post. Although, I just tried to tweak it and it froze.

I'll try the umask=0 in a minute.

I did set my security level to high when I first started, but set it back down once I decided to shut off the servers.

rpm, it's what you use to install things if you are too lazy/stupid to compile. I can only install the rpm files under root, and since I'm the only one who uses this computer, I'd like to run them without switching users.
 
Old 10-23-2003, 10:23 PM   #4
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
quatsch answered most but you do have to be root to install a rpm. You, usually, do not have to be root to run the program. Example, you install Mozilla, you have to be root to install it. Once you have it installed anybody can run it unless you tell it not to.

Since you are new, I'll let you in on this too. Before you download a program, check those CDs. There is a ton of software on there. Probably less than half is even listed during the install. To check and see if something is there do this: Start thingy then Configuration then Packaging then Install Software. You will have to enter the root password. In the search fiel, put the name of the program and click search. If it is there put a check by clicking on the box and click install. It may tell you about depenacies too if any. It may install some other stuff to go with it basically.

Hope you enjoy Linux.

Later



Oh, you may also need to check Aumix to see if it is muted. Sometimes they both are.
 
Old 10-23-2003, 10:24 PM   #5
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
you can't install programs as a normal user so there's nothing much you can do about it. It's not sucha big deal to type in a password, is it? Also, mandrake has urpmi. It can take care of dependencies: you might have noticed that sometimes, to install one rpm you have to install loads of others; it's annoying and tedious but urpmi can take care of it. The mandrake gui software tools are frontends for urpmi.
 
Old 10-23-2003, 10:26 PM   #6
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
damn!! dalek came in first
 
Old 10-23-2003, 11:01 PM   #7
Viper168
Member
 
Registered: Oct 2003
Distribution: Gentoo
Posts: 54

Original Poster
Rep: Reputation: 15
Where do I add umask=0 at in fstab? I've tried a few times but nothing consturctive came of it.

my fstab file looks like :

/dev/hda5 / ext2 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/scd0 /mnt/cdrom auto user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0
/dev/hdd /mnt/cdrom2 auto user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0
/dev/fd0 /mnt/floppy auto user,iocharset=iso8859-1,sync,codepage=850,noauto,exec 0 0
/dev/hda1 /mnt/windows ntfs user,iocharset=iso8859-1,suid,ro 0 0
none /proc proc defaults 0 0
 
Old 10-23-2003, 11:05 PM   #8
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
Like this:
/dev/hda1 /mnt/windows ntfs user,iocharset=iso8859-1,suid,ro,umask=0 0 0

you have to mount the partition again before the settings take effect.
 
Old 10-23-2003, 11:18 PM   #9
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Quote:
Originally posted by quatsch
damn!! dalek came in first:
Are we in a race? I'm sitting down. As a matter of fact, I can't run. It's not fair.

Later



Oh, you could always login as root. That is a VERY bad idea. I DO NOT recommend that though but, it would be the only way around it.
 
Old 10-23-2003, 11:21 PM   #10
Viper168
Member
 
Registered: Oct 2003
Distribution: Gentoo
Posts: 54

Original Poster
Rep: Reputation: 15
Funny, after I posted I had figured it out again. It took a little time to get back on cause I had to wrestle with kppp. For some reason, now kppp doesn't ask me for root password.
Lucky me

Thanks for your help.. I'm certain you'll hear from me again trying to solve yet another problem that I can't.
 
Old 10-23-2003, 11:25 PM   #11
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
Quote:
Are we in a race?
racing to help, sir, racing to help. Ah, the nobility of it.
 
Old 10-24-2003, 02:03 PM   #12
zaphod_es
Member
 
Registered: Jun 2003
Location: Brazil
Distribution: Ubuntu
Posts: 137

Rep: Reputation: 15
I was just browsing the thread and wondered if I could pre-empt your next question. The reason you cannot write to your Windows drive is because of your line in fstab:

/dev/hda1 /mnt/windows ntfs user,iocharset=iso8859-1,suid,ro 0 0
The ro stands for read only. If you are ever to write to this drive you need to change it to rw.

There are lots of warnings advising you not to write ntfs from Linux (or vice versa). It is still in development and http://linux-ntfs.sourceforge.net/status.html will give you the latest information.

If sharing files between the dual booting systems is needed your best bet is to create a FAT32 partition and rw to the new line in fstab

ZB
 
Old 10-24-2003, 03:34 PM   #13
Viper168
Member
 
Registered: Oct 2003
Distribution: Gentoo
Posts: 54

Original Poster
Rep: Reputation: 15
Yeah, I had read I shouldn't write to an ntfs partition from linux... I'd rather not have to go in and set out yet another partition just for transfer between linux and windows. Are there any good free linux programs for writing and erasing cd-rws? I've check the software pages but didnt get anything of much use.

Another question... I have a sad little nvidia tnt2.... Do I have to install extra drivers for it to work right? I do have what I hope is the right thing (NVIDIA-Linux-x86-1.0-4496-pkg2.run ???)... And are there any issues I should be worrying about before installing it?


Oh, and one more question. Are there any good downloader programs that I can use to resume broken downloads? The mozilla downloader doesn't like doing what I want it to half the time.

Last edited by Viper168; 10-24-2003 at 03:46 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple New user Problems. rvijay Debian 2 02-17-2005 06:04 PM
Problems with simple script.... jong357 Programming 6 12-20-2004 06:08 AM
problems creating a simple bootable cd to perform a simple task czarherr Linux - Software 1 11-11-2004 05:22 AM
Simple script problems... king_nothingzzz Programming 3 06-18-2004 10:04 PM
Slackware 9.0 and two (hopefully..) simple problems gatblast45 Slackware 2 10-24-2003 03:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration