Computing.Net > Forums > Linux > Damn it ...I still couldn't brouse

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

Damn it ...I still couldn't brouse

Reply to Message Icon

Name: LLL
Date: August 4, 2003 at 04:02:36 Pacific
OS: LINUX RH 8.0
CPU/Ram: Intel P-3/128 RAM
Comment:

Hello guys,
I'm desperate ... I've tried my best to bring 3 computers on the LAN. 2 r Windows 2000 and 1 is LINUX RH 8.0. I've tried my best .. so that i can see the comps in my windows neighborhood and in the LinNeighborhood .. but didn't succeeded so far...

please show some passiance and help me out here. I'll sketch u what i've done uptill now ..

Ok ... I've configured the /etc/hosts file as:
127.0.0.1 localhost.localhost localhost
10.10.100.2 pdc-new.ctirnd.com server
10.10.100.28 khattak.ctirnd.com hidayat

and I've configured the etc/samba/smb.conf as:

[global]
workgroup = khattak
server string = ItsMeeeee
printcap name = /etc/printcap
load printers = yes

please tell me the step by step procedure how to configure and brouse the network ...

I'll be greaful to this act of generosity ...

Thanks in advance ....



Sponsored Link
Ads by Google

Response Number 1
Name: 3Dave
Date: August 4, 2003 at 07:06:18 Pacific
Reply:

Er....is that the whole of your smb.conf?

You may want to try something like webmin
or swat to configure samba.


0

Response Number 2
Name: C_Legend
Date: August 4, 2003 at 14:50:57 Pacific
Reply:

Yeah, use swat. It cleared up my problems. Simply change the "disable = yes" to "disable = no" in /etc/xinetd.d/swat file and restart your xinetd daemon (service xinetd restart) and then go to a browser and enter http://127.0.0.1:901 to access it. Good luck.


0

Response Number 3
Name: Ahmad
Date: August 4, 2003 at 23:23:03 Pacific
Reply:

O.k ... now I got my LINUX station in the domain and i can ping all the windows computers and they can ping ....

To share the folders when i write this command:

smbmount //name_of_pc/name_of_shared_folder /home/username/folder -o username = accountname
OR
mount -t smbfs //computer_name/shareddoc /mnt/mydoc -o "username = uuuuu, password = *****"

it gives me the following message :

password:
when i type the psswd, it gives me the error 2238: session setup failed: ERRDOS - ERRnoaccess (Access Denied) SMB connection failed ....

and I can't find the directory u told me .... /etc/xinetd.d/swat ....and I'm using RH 8.0

thanks


0

Response Number 4
Name: 3Dave
Date: August 5, 2003 at 01:51:27 Pacific
Reply:

Don't put any spaces into the options bit,
ie:
smbmount //name_of_pc/name_of_shared_folder
/home/username/folder -o
username=accountname

I have never managed to pass the password
across, always seem to have to type it in.
Make sure that you have "encrypt passwords
= yes" enabled in your smb.conf file.

You can get a list of shares on a windoze
pc with the following:
$ smbclient -L servername


============================================


For an example smb.conf file, here's mine:


# This is the main Samba configuration
file. You should read the
# smb.conf(5) manual page in order to
understand the options listed
# here. 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]

# 1. Server Naming Options:
# workgroup = NT-Domain-Name or
Workgroup-Name
workgroup = COMMS2000GROUP

# netbios name is the name you will see in
"Network Neighbourhood",
# but defaults to your hostname
; netbios name =

# server string is the equivalent of the NT
Description field
server string = Daves Boxen %v

# Message command is run by samba when a
"popup" message is sent to it.
# The example below is for use with
LinPopUp:
; message command = /usr/bin/linpopup "%f"
"%m" %s; rm %s

# 2. Printing Options:
# CHANGES TO ENABLE PRINTING ON ALL CUPS
PRINTERS IN THE NETWORK
# (as cups is now used in linux-mandrake
7.2 by default)
# if you want to automatically load your
printer list rather
# than setting them up individually then
you'll need this
printcap name = lpstat
load printers = yes

# It should not be necessary to spell out
the print system type unless
# yours is non-standard. Currently
supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx,
cups
printing = cups

# Samba 2.2 supports the Windows NT-style
point-and-print feature. To
# use this, you need to be able to upload
print drivers to the samba
# server. The printer admins (or root) may
install drivers onto samba.
# Note that this feature uses the print$
share, so you will need to
# enable it below.
# This parameter works like domain admin
group:
# printer admin = @
; printer admin = @adm
# This should work well for winbind:
; printer admin = @"Domain Admins"

# 3. Logging Options:
# this tells Samba to use a separate log
file for each machine
# that connects
log file = /var/log/samba/log.%m

# Put a capping on the size of the log
files (in Kb).
max log size = 50

# Set the log (verbosity) level (0 /docs/Samba-HOWTO-Collection.pdf
[print$]
path = /var/lib/samba/printers
browseable = yes
read only = yes
write list = @adm root

# A useful application of samba is to make
a PDF-generation service
# To streamline this, install windows
postscript drivers (preferably colour)
# on the samba server, so that clients can
automatically install them.

[pdf-generator]
path = /var/tmp
guest ok = yes
printable = Yes
comment = PDF Generator
#print command =
/usr/share/samba/scripts/print-pdf file
path win_path recipient IP &
print command =
/usr/share/samba/scripts/print-pdf %s ~%u
\\\\\\\\%L\\\\%u %m %I &

# This one is useful for people to share
files
[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes

# A publicly accessible directory, but read
only, except for people in
# the "staff" group
;[public]
; comment = Public Stuff
; path = /home/samba/public
; public = yes
; writable = no
; write list = @staff
# Audited directory through experimental
VFS audit.so module:
# Uncomment next line.
; vfs object =
/usr/lib/samba/vfs/audit.so

# Other examples.
#
# A private printer, usable only by Fred.
Spool data will be placed in Fred's
# home directory. Note that fred must have
write access to the spool directory,
# wherever it is.
[root]
; comment = Fred's Printer
; valid users = fred
## path = /
; printer = freds_printer
## public = yes
## writable = no
# valid users = root
; printable = yes

# A private directory, usable only by Fred.
Note that Fred requires write
# access to the directory.
;[fredsdir]
; comment = Fred's Service
; path = /usr/somewhere/private
; valid users = fred
; public = no
; writable = yes
; printable = no

# a service which has a different directory
for each machine that connects
# this allows you to tailor configurations
to incoming machines. You could
# also use the %u option to tailor it by
user name.
# The %m gets replaced with the machine
name that is connecting.
;[pchome]
; comment = PC Directories
; path = /usr/pc/%m
; public = no
; writable = yes

# A publicly accessible directory,
read/write to all users. Note that all
files
# created in the directory by users will be
owned by the default user, so
# any user with access can delete any other
user's files. Obviously this
# directory must be writable by the default
user. Another user could of course
# be specified, in which case all files
would be owned by that user instead.
;[public]
; path = /usr/somewhere/else/public
; public = yes
; only guest = yes
; writable = yes
; printable = no

# The following two entries demonstrate how
to share a directory so that two
# users can place files there that will be
owned by the specific users. In this
# setup, the directory should be writable
by both users and should have the
# sticky bit set on it to prevent abuse.
Obviously this could be extended to
# as many users as required.
;[myshare]
; comment = Mary's and Fred's stuff
; path = /usr/somewhere/shared
; valid users = mary fred
; public = no
; writable = yes
; printable = no
; create mask = 0765
[Public]
path = /Public
writable = yes
valid users = @comms2000group
public = yes
create mode = 777
directory mode = 777
revalidate = yes


0

Response Number 5
Name: 3Dave
Date: August 5, 2003 at 01:53:01 Pacific
Reply:

Oh, and if you have spaces in the share
names, try an escape charater, eg:
$ smbmount //server/share\ name /mnt/point


0

Related Posts

See More



Response Number 6
Name: C_Legend
Date: August 5, 2003 at 02:09:58 Pacific
Reply:

It's a file, not a directory. You may need to install the "samba-swat" package (rpm -i), if you don't have that file.


0

Response Number 7
Name: Ahmad
Date: August 5, 2003 at 03:52:23 Pacific
Reply:

Thanks 3Dave and the rest,

now it gives me the error:

"could not resolve mount point"

i use
smbmount //pdc-new/WinRAR/home/Ahmad/test-o"username=uuu, password=********"
.... the path and every thing else is correct .. what could be the problem this time.

and the command "smbclient -L servername"
is also giving a tough time.

please be patient to answer my questions ..
thanks


0

Response Number 8
Name: 3Dave
Date: August 5, 2003 at 06:46:58 Pacific
Reply:

I dont think the command you are using is
correct. First on the windoze box, find the
folder WinRAR/home/Ahmad/test, right-click
on it and share it as "test" (without the
quotes). From the windoze box, you should
now be able to browse the network, look
inside the XP machine and see the share
"test".

You should now be able to get a list of
shares from the linux box by:
$ smbclient -L //pdc-new
If the user you are logged onto the linux
box does not have an account in windoze,
try:
$ smbclient -L //pdc-new -U
administrator

and then enter the windoze admin password.

Hopefully you should see the share "test"
which you can mount:
$ smbmount //pdc-new/test /mnt/pdc

This is assuming that you have already
created a directory under /mnt called "pdc"
and that you have write permission to it.

The unresolved mountpoint error was givven
because in the command "smbmount
//pdc-new/WinRAR/home/Ahmad/test-o"username=uuu,
password=********" you didn't actually
specify where to mount the share.

make sense?!?


0

Response Number 9
Name: Ahmad
Date: August 5, 2003 at 20:51:25 Pacific
Reply:

Thanks 3Dave, thanks alot.

one more thing ... how to print from a LINUX station to a WinDoz Print server..

Please be patient to answer my silly questions.

Long Live LINUX



0

Response Number 10
Name: 3Dave
Date: August 6, 2003 at 07:36:16 Pacific
Reply:

Cool...sounds like you got it working!=o)

Regarding printing, I have always had the
most success by installing CUPS (Common
Unix Printing System) and printing directly
to the printer via IP rather than a windoze
server print spool.

Once installed and running, you can access
a web frontend to configure it:
http://127.0.0.1:631

BTW, questions aren't "silly" if you learn
from them!


0

Response Number 11
Name: Ahmad
Date: August 7, 2003 at 07:20:11 Pacific
Reply:

Hi every1

I've downloaded the CUPS protocol. and I've installed it in its default directories and now i don't know how to run the GUI and how to configure it.

I'm desperate ...


0

Response Number 12
Name: 3Dave
Date: August 8, 2003 at 01:14:06 Pacific
Reply:

In a web browser, go to
http://127.0.0.1:631

(Make sure it has started too,
/etc/rc.d/cupsd [status|start|stop])


0

Response Number 13
Name: Ahmad
Date: August 8, 2003 at 05:42:43 Pacific
Reply:

I've accessed the CUPS GUI ... but there still is a problem ....

when I add a printer .. the wizard takes me smoothly untill i come to the "Model/Driver for test" step ... My printer is "HP LaserJet 4MV"

I can see alot of HP LaserJet 4M/L/S/ML but no MV ... and secondly what is this postscript,Gimp print, ijs all about ...

finally when i choose a 4M model it gives me the error "Client-error-not-authorized"

This is really frustrating but thanks to you 3Dave .... :)

good luck to Meeeeee


0

Response Number 14
Name: Ahmad
Date: August 8, 2003 at 06:41:14 Pacific
Reply:

O.k I installed it, but still I can't print.

I can't get it in the print queue of the windows computer. Is there any problem with samba configuration ....???


0

Response Number 15
Name: 3Dave
Date: August 8, 2003 at 08:24:49 Pacific
Reply:

I have always had a problem printing to a
windoze shared printer on a network, opting
for printing directy to the printer
instead.....which is OK if the printer is
plugged straight into the LAN but not if it
is attached to a PC.

HP LaserJet 4 is a very generic driver that should work for your printer as well as others not made by HP (the 4L one will probably work too). Stick with postscript as well if you can, linux likes to work in PS.


0

Response Number 16
Name: Ahmad
Date: August 11, 2003 at 08:04:19 Pacific
Reply:

Hi,

Sir, I still have problems in Printing .. but I'll figure them out.

Did you use vmware ... if yes ... can you access every program through it. I've installed it but when I'm configuring it ... it gives me an error ..."it asks me for the code" .. though I'm using a30-day trial version .....

One more question that I wanted to ask you is that : did you switched over to linux completely ? if yes how do you manage it ... please give me the motivation to do so ... :)


0

Response Number 17
Name: Ahmad
Date: August 11, 2003 at 08:11:03 Pacific
Reply:

and one more thing ...

how do I install and uninstall programs ...

./configure --PREFIX=[/usr/somedir]

what is the --PREFIX ... please give me the correct sytax for installing and uninstalling programs (source files, binaries and rpms)


thanks alot once again ... :)


0

Response Number 18
Name: 3Dave
Date: August 13, 2003 at 05:30:18 Pacific
Reply:

You should have got a serial in the email you received from vmware with the link to the downloads. And I can run just about anything on it providing that it doesn't require any flashy graphics cards (eg for 3D games) as it only installs a vmware svga driver.

Yes I have switched completely over to linux now, both on my two home computers and my work one. The one at work integrates well into our Win2000 domain and exchange. At home I do have a dual boot with windoze 98 (in case I want to play any games that I can't get working under linux) but I don't think the M$ install actually boots at the moment...needs a reinstall (sound familiar to windoze users?!?=o) I admit it has taken a little while (a few years) to completely make the change over, it is always handy to have a dual boot or something like vmware to run windoze on until you can settle on a distro that you like and can work with.

For a brief rundown on (un)installation:
RPMs (package.rpm)
install: rpm -ivh package.rpm
upgrade: rpm -Uvh package.rpm
uninstall: rpm -ev package

Source RPMs (package.src.rpm)
Compile: rpm --rebuild package.src.rpm
This will dump an RPM file somewhere under /usr/src/RPM which you can install with the above method.

Source: (package.tar.gz, package.tgz)
tar -zxvf package.tar.gz
cd package

Read any README or INSTALL files, then generally:
./configure
make
make install

Uninstall: make uninstall
(usually works!)

There are others as well, eg slackware (.tgz):
installpkg package.tgz

Debian (.deb)
apt-get install package

URPMI (RPM based but sorts out dependencies as well)
urpmi package


0

Response Number 19
Name: Ahmad
Date: August 14, 2003 at 21:27:12 Pacific
Reply:

Hello 3Dave,

You have been of great help ... thank you sir ....

I have a little problem in installing xine .. can you please give me a step by step procedure ... thank you ...

Hope you are doing fine ... I've installed vmware and i think it can prove the first tool to switch oover to Linux ... but the problem is that Its not free ... do you know any site where I can find its crack ...

Long Live Linux


0

Response Number 20
Name: 3Dave
Date: August 15, 2003 at 01:53:47 Pacific
Reply:

You can try "bochs" (pronounced box) for
free, although it is a little more complex
to get running than vmware. If you want to
evaluate vmware for longer than 30 days,
astalavista.box.sk has decent search engine
of security sites.

Regarding xine, do you have RPMs for it? If
not go to http://rpmfind.net and download
to one for your system. Then "rpm -ivh
xine-x.x.x.rpm" to install (you will have
to be root).


0

Response Number 21
Name: Ahmad
Date: August 16, 2003 at 03:48:39 Pacific
Reply:

hi 3 Dave,


I've installed the xine and when i provoke it it opens the GUI but then the computer logs off .... what could be the cause ..

one more thing ... I want my drives to automatically get mounted/unmounted on start/shut down ... i've tried editing the /etc/fstab by giving mount points ... but did not succeed ....

truely your's
Ahmad


0

Response Number 22
Name: 3Dave
Date: August 18, 2003 at 04:58:55 Pacific
Reply:

Post up you /etc/fstab


0

Response Number 23
Name: Ahmad
Date: August 20, 2003 at 03:39:10 Pacific
Reply:

Hello .... :)

Its ....

.......................
.......................
mount /dev/cdrom /mnt/CDROme
mount /dev/flopy /mnt/floppy

I've added the following lines
mount /dev/hda2 /mnt/windows/C
mount /dev/hda3 /mnt/windows/D
....
....
....
mount /dev/hda13 /mnt/windows/J

something like that .... :)

what about the xine problem.

thanks


0

Response Number 24
Name: 3Dave
Date: August 20, 2003 at 07:39:01 Pacific
Reply:

Are you sure that's your /etc/fstab? Maybe
redhat has changed sinxce the last time I
used it but each entry should be like the
following:
/dev/cdrom /mnt/cdrom iso9660 user,noauto,owner,ro 0 0

Regarding xine....did you install the RPM
or compile from source? It is a strange
problem....can't think what it is. Try
uninstalling and use the RPM off the
installation CDs instead (xine comes with
most ditros these days).


0

Response Number 25
Name: Ahmad03
Date: August 22, 2003 at 02:49:24 Pacific
Reply:

Hi 3Dave,

The actuall /etc/fstab is

-
LABEL=LINUX / ext2 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda7 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
------

My question is, how should it be modified so that my drives gets mounted/unmounted on restart/shutdown ....

thanks



0

Response Number 26
Name: Ahmad
Date: August 22, 2003 at 02:53:18 Pacific
Reply:

And yes ... one more thing ...

I've intalled vmware .... how do I access my drives to install the required programs ...


thanks once again .......

Long Live Linux (LLL)


0

Response Number 27
Name: 3Dave
Date: August 22, 2003 at 07:50:36 Pacific
Reply:

Ok....from the previous responses,
add/modify the lines in fstab like the
following:

/dev/hda2 /mnt/windows/C vfat umask=0 0 0
/dev/hda3 /mnt/windows/D vfat umask=0 0 0
/dev/hda13 /mnt/windows/J vfat umask=0 0 0



0

Response Number 28
Name: Ahmad
Date: August 26, 2003 at 01:29:16 Pacific
Reply:

Hi 3Dave,

The /etc/fstab worked .. thanks ...

I'll come back to a previous question abt vmware... how do I access my drives .... do I have to first network it with LINUX and then I copy the share folder and then install .... this is the only bottleneck that is remaining in my quest of switchng completely to LINUX ... :)

thanks ....

may I ask your name and what do you do besides job ... and what do you do ... i mean your profession and stuff related ...

thanks ..take care ...


0

Response Number 29
Name: 3Dave
Date: August 26, 2003 at 03:05:55 Pacific
Reply:

Well, you can either mount your drives as
raw devices (if you are running windoze
under vmware they will have to be either
FAT or NTFS if you want to easily access
them), or during doing a "vmware-config.pl"
as root you can choose to be able to access
your local linux drives via samba (if you
have it installed). You might have a few
problems if you mount the drives as raw
devices and also have them mounted under
linux....I would opt for the samba option.

Re me, my name is Dave (if you didn't
guess!=o), I live in the UK, currently work
with telephone and computer networks as an
engineer well as DJing, although I am
actually trained as a graphic artist. Been
using computers since I had a ZX80 (showing
my age now...) and linux for about the last
4-5 years, having completely made the
complete switch from windoze to linux both
at home and work in the last year.

And you.....?


0

Response Number 30
Name: Ahmad
Date: August 26, 2003 at 04:22:09 Pacific
Reply:

Hello Sir,

My name is Ahmad and I'm an engineer too, but a freash one and am working as an engineer in Telecomm company in its R&D dept.

I live in Pakistan, you must have surely heard about it. I've done my computer emgineering from Russia, Moscow. I've also visited London for a month and I really liked it.

Thank you very much for helping me all this time in Linux. I want to kick wiNdoZ aside and switch completely over to Linux.

hope that you won't get bored of my questions ...

thanks once again ... take care and bye ...



0
Reply to Message Icon

linux as domain controlle... Voice Modem



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Damn it ...I still couldn't brouse

3c509 Nic still won't initialise www.computing.net/answers/linux/3c509-nic-still-wont-initialise/3859.html

Can't install mandrake 8.1 www.computing.net/answers/linux/cant-install-mandrake-81/5628.html

Can't Mount Floppy Drive www.computing.net/answers/linux/cant-mount-floppy-drive/21988.html