Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

linux for newbies

Status
Not open for further replies.

tottie

MIS
Jan 5, 2003
60
hi all,
i dont think this is a good place to ask basic questions for newbies in linux. is there a forum somewhere where i can ask very basic questions? like changing screen resolutions, LAN browsing, file sharing, etc.?
 
thanks mbrooks. we're using windows. WS's on win98, Win2000Server for authentication. i set-up 1 linux pc RH9. How do i configure my pc's(Win98 & linux) in such a way they could browse/share each other's files?
 
You have to setup samba shares on the linux box.

make sure that samba is installed and started,

chkconfig --level 2345 smb on

then edit the etc/samba/smb.conf file, detailed instructions are included in the file, anyway the basic steps to take are

workgroup = your workgroup
hosts allow = 192.168.1. -to allow the 192.168.1.x subnet

and create a share for example /tmp

[temp]
path = /tmp
comment = linux share
browseable = yes
writable = yes
public = yes


now restart smb daemon,

service smb restart

and open start/run
//linux_machine/temp


To do the opposite, open a windoz share from linux, create the directory /mnt/samba

now from linux

mount -t smbfs -o ip=windoz_ip_address,username,password //windoz_netbios_name/share //mnt/samba


This will mount your windoz share in the directory /mnt/samba on your linux box.

If you want the linux box, finally to join the domain,

smbpasswd -j your_windoz_domain -r your_pdc_server

DO this only after adding linux in the server list in windoz server.

There is a lot more about samba at
I hope my instructions will point you in the right direction.

Bye

Qatqat




Life is what happens when you are making other plans.
 
qatqat,
i get the error "Must have both SECURITY=DOMAIN and ENCRYPT PASSWORD = YES" when i type the command "smbpasswd -j your_windoz_domain -r your_pdc_server"
and
get the error "bash://mistottie/temp: No such directory" when i type
ip=192.168.0.29,sad,111 //computername/temp //mnt/samba
 
1) have you got a sher called temp in the windoz box?

2) yes, to join the domain you have to set security to domain and specify the domain master in your smb.conf file.

If you scroll through the smb.conf file you should find a domain master = 192.168....line. Correct the address and uncomment it.

restart samba and check it. In order to succesfully join the domain you also make sure that your samba box does not try to act as master browser for windoz (keeping the list of computer on the network). That task, if you have a microsoft PDC, it is typically performed by the windoz server. So set OS level very low and set local master = no in smb.conf.

Good luck.

Qatqat

Life is what happens when you are making other plans.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top