LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-31-2002, 12:37 AM   #1
Kaiser_Sose
Member
 
Registered: Jan 2002
Posts: 53

Rep: Reputation: 15
Windows can see Linux but ...


When searching for the Windows computer I cant see it using Nautlious

How do I correct this
 
Old 01-31-2002, 04:03 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
presumably you are talking about samba. in which case you need LinNeighborhood if you want that naff network neighbourhood experience, but you should generally just mount the share, it's much easier
 
Old 01-31-2002, 03:08 PM   #3
Kaiser_Sose
Member
 
Registered: Jan 2002
Posts: 53

Original Poster
Rep: Reputation: 15
Yes, I am talking about Samba

How do I mount a windows folder so I can see it while sitting at the linux computer

Will I need nautilous or LinNeighborhood to view the windows folders
 
Old 01-31-2002, 04:10 PM   #4
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Rep: Reputation: 32
I got LinNeighborhood working.

All it's doing is providing a graphical interface for the underlying smb commands.

If you just want to mount an NT share, you don't need it. You can just manually issue the mount command at the command shell.
 
Old 02-01-2002, 01:27 AM   #5
Kaiser_Sose
Member
 
Registered: Jan 2002
Posts: 53

Original Poster
Rep: Reputation: 15
So you are saying that seeing the windows folder from Nautilous is not a permanet thing but can be activated by mounting a folder on the windows machine with a command line on the linux computer

Then using Nautilous I will be able to see the windows folder



What is the command
 
Old 02-01-2002, 11:14 AM   #6
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Rep: Reputation: 32
No you don't really need LinNeighborhood.

If you just manually mount the Windows share, from the Linux command line, then you can browse the mounted directories using your Linux filesystem browser.

The only thing LinNeighborhood does is provide a graphical way to "click a button" and mount and umount network shares.
 
Old 02-01-2002, 02:08 PM   #7
Kaiser_Sose
Member
 
Registered: Jan 2002
Posts: 53

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Kaiser_Sose




What is the command
What is the command
 
Old 02-01-2002, 02:36 PM   #8
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Rep: Reputation: 32
I don't have it memorized. Someone else could probably walk you through the exact command to use.

To find out for yourself, read the manual

man smbmount
 
Old 02-01-2002, 09:41 PM   #9
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
mkdir /lan
mkdir /lan/win2k

mount -t smbfs //win2k/pub /lan/win2k -o username=david,password=passwd
 
Old 02-01-2002, 10:57 PM   #10
Kaiser_Sose
Member
 
Registered: Jan 2002
Posts: 53

Original Poster
Rep: Reputation: 15
PHP Code:
[root@localhost root]# mount -t smbfs //Workgroup/Marc/d_drive
Usagemount -V                 : print version
       mount 
-h                 : print this help
       mount                    
: list mounted filesystems
       mount 
-l                 idemincluding volume labels
So far the informational part
Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
       mount -a [-t|-O] ...     : mount all stuff from /etc/fstab
       mount device             : mount device at the known place
       mount directory          : mount known device here
       mount -t type dev dir    : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
       mount --bind olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using  -L label  or by uuid, using  -U uuid .
Other options: [-nfFrsvw] [-o options].
For many more details, say  man 8 mount .
[root@localhost root]# service smb restart
Shutting down SMB services:                                [  OK  ]
Shutting down NMB services:                                [  OK  ]
Starting SMB services:                                     [  OK  ]
Starting NMB services:                                     [  OK  ] 
I did this and I cant see anything in Nautilous. I looked all over the file system. Is there a certain place I should look.

Working backwards from the linux computer it goes localhost > (mygroup or workgroup) workgroup >Marc> c_drive, d_drive, etc


What am I doing wrong

Last edited by Kaiser_Sose; 02-01-2002 at 11:02 PM.
 
Old 02-01-2002, 11:45 PM   #11
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
ok let me break it down


-t smbfs = filesystem type to mount

//win2k = host machine name win2k
/pub = shared folder on host win2k
/lan/win2k = mount location on linux

-o = more mount options
 
Old 02-02-2002, 01:31 AM   #12
Kaiser_Sose
Member
 
Registered: Jan 2002
Posts: 53

Original Poster
Rep: Reputation: 15
Thanks much

Samba is working more or less

I can see the folders I want to see with Linneighborhood and Network Neighborhoos

I am now trying to configure the printing. The printer is on the Win 98 machine that I that I setup Samba to work with above for file sharing.

I can go into webmin and under Hardware > printer administrator > add a remote windows server printer with the ip of the windows machine. I get no errors when I save it in webmin

I go to the linux computer and I can see the printer there and when i click print in the program no errors occurr, it just does not print.

I go back to webmin and try to print a test page and I get an error
Code:
Printing test page with command lpr -Php bw.ps ..

Status Information:
 sending job 'root@localhost+381' to hp@localhost
 connecting to 'localhost', attempt 1
 cannot open connection to localhost - Connection timed out
Make sure LPD server is running on the server

.. command failed!
but lpd is running

Code:
[root@localhost src]# service lpd status
lpd (pid 8296) is running...
How can I setup my HP 1200 on my win 98 computer to print from the linux computer
 
Old 02-02-2002, 01:51 AM   #13
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
make sure your /etc/printcap file is setup right
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Solution Dual Boot Windows & Linux [ALL DONE IN WINDOWS] No Linux terminology DSargeant Linux - Newbie 35 02-07-2006 03:29 PM
Solution Dual Boot Windows & Linux [ALL DONE IN WINDOWS] No Linux terminology DSargeant Linux - Newbie 4 11-10-2005 11:37 AM
Vnc only works linux to windows not windows to linux mbdayton Linux - Networking 2 04-16-2005 06:36 PM
Red Hat Linux 9 + Windows Server 2003 + Windows XP + Fedora in same domain wolfy339 Linux - Networking 5 03-02-2005 06:03 AM
Samba - Linux box can see Windows, but WIndows can't see Linux Korff Linux - Networking 1 06-02-2003 10:23 AM

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

All times are GMT -5. The time now is 07:26 PM.

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