Forum Home
Press F1
 
Thread ID: 40697 2003-12-15 04:00:00 Some more linux problems mejobloggs (264) Press F1
Post ID Timestamp Content User
200682 2003-12-15 09:46:00 To help here is my fstab

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/usr /usr ext3 defaults 1 2
/dev/hda10 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/hdd /mnt/ls120.0 auto noauto,owner,kudzu 0 0
/dev/hda6 /mnt/2000Data vfat defaults 0 0
/dev/hda7 /mnt/Pictures vfat defaults 0 0
/dev/sda1 /mnt/Camera auto noauto,owner 0 0

/dev/hdd is my LS120 drive
/dev/hda6 and 7 are partitions on my Windows disk and
/dev/sda1 is for my camera
mikebartnz (21)
200683 2003-12-15 10:13:00 Aahhhh. I give up for now. Much too confusing for me.

I need a step by step, or click by click, and key by key thing.

I just found out that you can log in as root. mmm.

How do you add a new hard drive?
mejobloggs (264)
200684 2003-12-15 10:14:00 Oh, and I dont have this "create new" thing on my right click from the desktop mejobloggs (264)
200685 2003-12-15 10:45:00 I'm not too sure how to add smb mounts to your fstab, but I'd suggest this:
Add the command you used to mount the smb share to:
/etc/rc.d/rc.local

You can do this to make a Symlink on your desktop:
cd Desktop
ln -s /mnt/ShareNameHere
That'll make a symlink to the share on your desktop :-)
It may pay to put it in /home/username/ too :-)

In a console, to become root, type:
su -
You should _never_ have to log in as root... its too easy to break stuff!

Next, to setup Sharing FROM your PC3, you'll wanna edit your /etc/samba/smb.conf file (as root).
Type:
nano /etc/samba/smb.conf

Now here's what my smb.conf file looks like:

# Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.
#
#================ Global Settings ========================
[global]
log file = /var/log/samba/%m.log
smb passwd file = /etc/samba/smbpasswd
load printers = yes
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*success fully*
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
obey pam restrictions = yes
encrypt passwords = yes
passwd program = /usr/bin/passwd %u
dns proxy = no
server string = amd athlon xp 1700+ Slackware 9.1
printing = lprng
unix password sync = Yes
workgroup = bedroom
os level = 20
printcap name = /etc/printcap
security = share
max log size = 0
pam password change = yes

[Misc Files]
path = /mnt/hdc1/Misc
guest ok = yes
writeable = no

[transfer]
comment = Transfer Folder
writeable = yes
guest ok = yes
path = /transfer

[Install]
comment = My Install Files
guest ok = yes
path = /Install

[My Music]
path = /Music
guest ok = yes
comment = My MP3 Collection
read only = yes

[Vidz]
path = /Vidz
guest ok = yes
comment = My Music Vidz

[DVD]
path = /mnt/cdrom
public = yes

#End of smb.conf

If you copy and paste that even, and just edit the shares, the workgroup/workstation name and you should be sweet :-)

Let us know how you get on

Cheers


Chill.
Chilling_Silently (228)
200686 2003-12-15 20:43:00 >
> [DVD]
> path = /mnt/cdrom
> public = yes


Wow! does that mean you are sharing you cd drive over the network?

Or does that mean something else?

I gotta go to the orthadontist now, so I will try it later.

Thanks
mejobloggs (264)
200687 2003-12-15 21:28:00 Yup, Im sharing it over the LAN..
Its no longer a DVD-ROM, but a CD-R/W.

I called it DVD back when I had a DVD-Rom, and was trying to play DVD's across the LAN.
Then I came across VLC (VideoLAN Client) which will send DVD's, Mpg's, DivX, mp3's, and a host of other files streaming across the LAN to a WinXP machine the family uses (There's a Win32 Client for VLC too).

Its great fun :D
Chilling_Silently (228)
200688 2003-12-16 20:41:00 I seem to have done something wrong. I dunno if I have the right stuff installed.

I am going to format, and start again, because I changed a lot of stuff while I was root, because it looked interesting, but now it doesnt work.


My aim is to use the linux pc as storeage, and as a PHP server on the network, so I can learn PHP, and also have mysql things.

What stuff will I need to install for that?
What are some othere good things that I should install?

Once I have done this, then I can start again on the samba thing.

Thanks
mejobloggs (264)
200689 2003-12-16 20:45:00 All you'll need is apache and Samba.

I dont think you wuold have started the Samba service. You need to restart Samba after each change to smb.conf for it to take effect.

as root, run:
/etc/rc.d/rc.samba start

That should start your samba sharing days :-)


Chill.
Chilling_Silently (228)
200690 2003-12-16 21:45:00 Just apache? Not all this apache-php stuff that is there?

And what about mysql?

I can have apache-mysql, or in the database section, I can have mysql, and it doesnt say anything about apache.
mejobloggs (264)
200691 2003-12-16 23:20:00 Oh, and I don't have a 'nano' command either mejobloggs (264)
1 2 3 4