LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-18-2004, 11:01 AM   #46
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49

You have to create a mount point under mnt eg XP i.e. go into /mnt and create a new directory called XP. In your fstab;
/dev/hda1 /mnt/XP vfat umask=000 00
 
Old 03-18-2004, 03:02 PM   #47
urzumph
Member
 
Registered: Jan 2004
Location: Australia
Distribution: Debian
Posts: 168

Rep: Reputation: 30
you will need to be the root user to edit your /etc/fstab - you can read it (with cat) just fine as a normal user, but you need to be root for write permissions
 
Old 03-18-2004, 07:23 PM   #48
seow_ming
Member
 
Registered: Mar 2004
Location: Currently in China
Distribution: Fedora 9
Posts: 130

Original Poster
Rep: Reputation: 15
To xfiles_wolvie:

I'm so sorry for this later reply and thanks for your suggestion. Well, I will try to implement ur suggesstion when I'm at HOME, i'm on my work now. Thanks ya~~! :P
 
Old 03-19-2004, 08:19 AM   #49
xfiles_wolvie
Member
 
Registered: Mar 2004
Location: Singapore
Distribution: RH 9.0
Posts: 34

Rep: Reputation: 15
harlow every1

thanks for the reply. I am login as a root when startup, so can i safely say that I am using root for all my terminals? my terminal has a title on hte top bar :
root@localhost:
does that mean i am login as root?
i can do ifconfig n fdisk wif no prob bt when i type su they do not indicate anything onhte screen, they jus go on to the new line and that's it. like as if nothin has happen. aft i type su. no prompting of anithing.

can any1 pls show me the step by step guide to mounting?
if I m nt wrong (according to urzumph)it starts wif
fdisk -l
check for the file system to see if it is FAT32 or NTFS. (mine is FAT32 and is hda1)
when i key in /etc/fstab, they said

[root@localhost root]# /etc/fstab
bash: /etc/fstab: Permission denied

I have no idea wat is happening. Thanks.
 
Old 03-19-2004, 10:21 AM   #50
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
It would probably be easier for you if you use the system while in kde or gnome then you can visualise things better.
Login as the root user and go into your file manager (house icon). Go to /mnt and open it. Right click and select Create New directory and give it a name like XP. A new folder called XP should be visible.
Now go to /etc and open it. Go down until you find fstab. Open this. It will either open as a separate text document or in the file manager itself depending on you windows manager. Create a new line in fstab;
/dev/hda1 /mnt/XP vfat umask 000 00
Save it.
When you boot again it will mount the partition automatically.
 
Old 03-19-2004, 02:51 PM   #51
urzumph
Member
 
Registered: Jan 2004
Location: Australia
Distribution: Debian
Posts: 168

Rep: Reputation: 30
Quote:
[root@localhost root]# /etc/fstab
bash: /etc/fstab: Permission denied
Heh. if you don't specify a program to edit it with, It wont work. I don't know what gets installed default on redhat, but try nano or pico or joe or vi or vim
(if you have nano on there, use that, it's easy to use)
 
Old 03-20-2004, 06:43 AM   #52
xfiles_wolvie
Member
 
Registered: Mar 2004
Location: Singapore
Distribution: RH 9.0
Posts: 34

Rep: Reputation: 15
urzumph,

thanks bt that's just too advance to me. I have yet to figure out the terms yet. Only know I have EMACS editor. n i hve no idea how to use it.

Tiger,

thanks i will try to do tat. Initially i wanted to do tat bt was afraid mite affect oth files or system.

But does any1 know wat's the reason for having hte permission denied thing when I am login as a root? becos i din specify a editor like wat urzumph said? I have no idea and its getting weird in this linux. I get back to every1 here soon.

c ya soon.
 
Old 03-20-2004, 07:12 AM   #53
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Quote:


But does any1 know wat's the reason for having hte permission denied thing when I am login as a root? becos i din specify a editor like wat urzumph said? I have no idea and its getting weird in this linux. I get back to every1 here soon.

c ya soon.
The reason is that you just specified /etc/fstab which is a command. If you wanted to edit you would specify the editor first and the file you want to edit # vi /etc/fstab where vi is the editor and /etc/fstab is a file.
 
Old 03-20-2004, 07:22 AM   #54
xfiles_wolvie
Member
 
Registered: Mar 2004
Location: Singapore
Distribution: RH 9.0
Posts: 34

Rep: Reputation: 15
Hi Tiger,

Thanks for the advise. I have managed to edit fstab in EMAC and I have rebooted and I have got the XP drive.

How do you execute mplayer in a terminal coz I tried to install mplayer gui but I can't execute the binary program as instructed in the documentation. Is there any way that I can get the mplayer to play my video files without doing it in terminal or maybe you can recommend another video player to me for linux redhat 9.

Thank you for your advises so far.

p.s. Has Anix replied yet?
(for her situation, could it be that she need to restart her computer after she has gotten online in linux ? For my case I couldn't get online in linux initially when another of my computer running in xp can get on line through a router that both the computers are connected to. After I restarted, i can get online. Could it be after restarting, the linux can detect the internet connection through the network card when they are doing the testing during the booting up and therefore be able to access the internet?
 
Old 03-20-2004, 09:55 AM   #55
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Are you sure its correctly installed? It should show up under Multimedia apps. To run it the exec should be in /usr/lib. Do the mplayer -h and follow the requirements.
 
Old 03-20-2004, 08:53 PM   #56
xfiles_wolvie
Member
 
Registered: Mar 2004
Location: Singapore
Distribution: RH 9.0
Posts: 34

Rep: Reputation: 15
Hi Tiger,

(The reason is that you just specified /etc/fstab which is a command. If you wanted to edit you would specify the editor first and the file you want to edit # vi /etc/fstab where vi is the editor and /etc/fstab is a file.)
=>I get wat u mean. Thanks.

(Are you sure its correctly installed? It should show up under Multimedia apps. To run it the exec should be in /usr/lib. Do the mplayer -h and follow the requirements)
=>yup. I did ./configure, make, make install. i cant get it to work or execute in a terminal. the help file is rather not in layman terms. or mayb i just couldn't understand it. Is my installation procedures correct?

i oso tried ./configure --enable-gui, make, make install, bt still it does not work. I hrd that check install can turn them into RPM packages, bt I do not have any check install plugin or smeting like tat. tink i ned to dwnload.

After i tried the gui install, it still did not have anything that appears in the menu nor have a launcher/application for me to double click. is this normal or shld i have a launcher/application smewhere?

Isit possible to let me have a few examples on how to execute the mplayer in a terminal? like to play a vcd or a video file?
 
Old 03-21-2004, 03:19 AM   #57
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
If the compile, make and make install went without errors then update your menu with Kappfinder for kde. If you use Gnome it should already be listed.
 
Old 03-21-2004, 05:05 AM   #58
urzumph
Member
 
Registered: Jan 2004
Location: Australia
Distribution: Debian
Posts: 168

Rep: Reputation: 30
Tiger & Xfiles... If this is going to get too long, you might want to create another topic in software, don't forget other people with the same problem may want to read this tread and I think having a whole lot of stuff about mplayer in the middle of it might just confuse them
 
Old 03-21-2004, 06:04 AM   #59
xfiles_wolvie
Member
 
Registered: Mar 2004
Location: Singapore
Distribution: RH 9.0
Posts: 34

Rep: Reputation: 15
Hi Tiger,

I am using gnome, but I cant see any at either menu or sub menus.

To urzumph,

ok sori, gt too carried away in here. Will transferred out soon. Will come back wif the thread address if both of you are still interested to help me.thanks.
 
Old 03-23-2004, 08:10 PM   #60
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
Internet Explorer Settings

Given what you have posted, I have no idea how it is working. It just makes no sense.

I would not make any changes, as they appear to be working for you.

I do notice that you have your NIC "dual homed" and that it appears to be running M$ Internet Connection Sharing (at least by looking at the information and the IP addressed).

That being said, what happens if you configure you Linux box to be on the same network:

ifconfig eth0 192.168.0.2 netmask 255.255.255.0

and configure the default gateway to be your Windows box:

route add default gw 192.168.0.1

and use the Windows box for you DNS:

echo nameserver 192.168.0.1 >>/etc/resolv.conf


Can you now access the internet with your Linux box?


Cheers,

MrKnisely
 
  


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
Kerberos Connnection Refused! mesh2005 Linux - Networking 0 11-13-2005 02:54 AM
setup internet king kong killa Linux - Networking 18 06-07-2004 03:54 PM
internet setup oregonroper Linux - Networking 3 10-06-2003 08:36 PM
redhat valhalla internet setup help!! siegwulf Linux - Networking 1 03-22-2003 11:42 PM
Internet setup Ungabi ! Linux - Software 17 03-16-2002 04:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:14 AM.

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