troubleshooting [newbie needs help]

Started by
13 comments, last by zaidgs 19 years, 11 months ago
ok, forget most of my questions,
and lets just consider
how i can specify that i want a file\folder
to be shared on my home network.

btw, metal leper,
it didnt work, but the root can do
read\write, while others cannot,
well, if needed it i will log in as root.

EDIT:
to get one thing straight, when i used
"owner" instead of "user" in the permissions,
did i give more permissions to the ordinary
users, or the other way round ?!?!



[edited by - zaidgs on May 10, 2004 5:09:33 PM]
Advertisement
I don''t have any experience with networking, but about the other thing..

I think owner should mean only root can mount it, user (or try users, though that''s not what I have in my fstab which works ok) should let other people mount it (_maybe_ the user needs to be in the "users" group - type groups to see)

Make sure that you type "mount /mnt/win" (or probably mount /dev/hda1 will work too) if you want to mount it when you aren''t root, specifying the device and the mount point won''t work unless you are root (but if there''s an entry in fstab you should be able to mount it by just specifying the mount point - if root can''t mount it by specifying just the mount point something is probably wrong with fstab, if normal users can''t then it''s less worrying, but still odd)

Failing that, mount it as root using:
mount -o uid= /dev/hda1 /mnt/win

In theory you should be able to specify uid= (or gid= in fstab, but I never had much luck with that)
thanks metal leper,
i finally got it right.
weird, i had some big trouble,
so i had to re-install,
after that, i did it the right way
without any problems.

thanks for explaining the permissions thing,
seems i got it the wrong way:
i thought if i write "owner",
other users will get same rights as an owner :S

if someone could help with the problem i had
to re-install for (well, for next time, its now OK)
aparently after i installed a component, it took
almost all space in the partition.
then when i log in, it logs me out saying no disk
space in /tmp.
i tried to restart, sadly i couldnt even get to the
log in screen !!!
when its at the linux command-line prompt, it automatically
runs the GUI for login screen, but it gets killed automatically
(probably because no disk space,
then the system keeps running it, and it keeps getting killed :S

so i couldnt get to the command-line. (well, even if i could,
i dont know how to do anything)

You need to boot up to a different runlevel. If your using grub, you need to specify the command line (press ''e'' while in grub) and put in ''single'' at the end.*

This will drop you into the command line only mode. From there you should be able to loog in can find out what the problem is.

I''m sure someone will provide a linky that teaches you the command line.

* Note: This is what I type. I''m not sure its the same for your distro.
guess our dixtros work the same !!!

i once tried to press 'e' in grub, but didnt know
what to do !!!

i also tried booting from cd into rescue mode,
but i didnt know what to do.

by the way, i noticed today some strange behavior!!

i entered a terminal shell,
type su and the password,
got into /mnt directory,
and made a folder called network-c
then typed:
mount //hostname/c /mnt/network-c
it asked for password, and i gave it (this password
is to log on the network, but my network dont
require a password, so *any* password works here)
then when i entered /mnt/network-c
i found my shared files there !!!

following this success, i tried to add:
//hostname/c /mnt/network-c auto noauto,user 0 0
to the fstab, then restarted.
to my surprise it say: special device does not
exist !!!
i enter a terminal and typed the mount command
it worked !! then unmounted it, and tried to mount
it from the KDE, it didnt work!!

i think that most of the explanation for this is in
that when normally mounting a device it doesnt ask for
a password, but when mounting a network folder it does !!

any insight ?!?!


EDIT:
now talking about my windows XP seeing the linux files over the
network, i think i should have mentioned that when i right
click a folder under kde, under 'local network sharing' tab,
this error message is given:
error running 'filesharelist', check if installed and in $PATH or /usr/sbin.
so i thought it might be smart to make a new empty file called
filesharelist in /usr/sbin , but that didnt work.
anyone with better ideas ?!?!




[edited by - zaidgs on May 11, 2004 3:15:02 PM]

This topic is closed to new replies.

Advertisement