»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 02-22-2004, 05:09 PM   #1 (permalink)
Registered User
 
SunDizzle's Avatar
 
Join Date: Feb 2003
Location: Eastern PA
Posts: 152
SunDizzle is on a distinguished road
Outdoors Linux to Windows Networking

I am in quandry as to how to get my linux drive to speak with (or recognize) my windows drive in the same machine and my other windows machine on my network.

I am running Red Hat Publisher's Edition 7.2 and Windows xp
the router is a Linksys and a p3 450mhz in the red hat machine and a 2Ghz in the windows machine.


help please, I want to rwx to/from both systems and share the printe that is connected to the windows machine.

thanks in advance....

SunDizzle is offline   Reply With Quote
Old 02-22-2004, 05:44 PM   #2 (permalink)
Registered User
 
krohnjw's Avatar
 
Join Date: Oct 2001
Location: ~/
Posts: 2,567
krohnjw is on a distinguished road
Send a message via AIM to krohnjw
You will just use mount -t smbfs for the local drive and the windows shares
either
mount -t smbfs /dev/hdxX /mount/point
or
mount -t smbfs -o username=Name,password=pass //IP.address/ShareName /mount/point
This will allow Read/Write for all fat32 drives if the login has read/write access.

You can share your files to the windows boxes by setting up a samba server

You can set up your printer using CUPS assuming it is a supported printer. Look in the gimp-printing package for more printer drivesr not in foomatic.
krohnjw is offline   Reply With Quote
Old 02-22-2004, 08:26 PM   #3 (permalink)
Registered User
 
SunDizzle's Avatar
 
Join Date: Feb 2003
Location: Eastern PA
Posts: 152
SunDizzle is on a distinguished road
Yeah, how do I get the samba server set up. Sorry, I'm a 100% windows person but I am trying to understand the whole Linux aspect.
__________________
Fill cups like Double D's!!
SunDizzle is offline   Reply With Quote
Old 02-22-2004, 08:42 PM   #4 (permalink)
Registered User
 
krohnjw's Avatar
 
Join Date: Oct 2001
Location: ~/
Posts: 2,567
krohnjw is on a distinguished road
Send a message via AIM to krohnjw
I would suggest using webmin to set it up, but there is plenty of documentation online. Give these 2 a look

http://www.linuxorbit.com/howto/sambahowto.php3
http://www.linuxjunior.org/cgi-bin/p...Display&id=103
krohnjw is offline   Reply With Quote
Old 03-01-2004, 12:19 AM   #5 (permalink)
Registered User
 
storm2k's Avatar
 
Join Date: Oct 2001
Location: NJ
Posts: 3,417
storm2k is on a distinguished road
Send a message via ICQ to storm2k Send a message via AIM to storm2k Send a message via Yahoo to storm2k
one thing i would do is upgrade to redhat 9 or fedora, which have much more sophisticated graphical user tools than redhat 7.2 do. they can help you much more easily do some of the tasks you want to do. the printer applet is EXTREMELY useful and makes setting up a printer a breeze.

as for samba, all you should need to do is "service samba start" and make sure that your windows workgroup and the samba workgroup names match (if you haven't changed default windows settings they will be). you will then be able to mount the drives over samba as described above. as an added bonus, it wont' matter if the drive on the windows machine is fat32 or ntfs, as smb is filesystem transparent.

for the local drive, if it's ntfs, you're pretty much out of luck in rh7.2. there is better support for it in 9 or fedora, but your best results are with a fat32 partition. all you should need to do then is find out what linux thinks your hard drive is (/dev/hdX where X is a letter -- you can get it in the hardware browser) and issue a "mount /dev/hdX /mnt/(some mount point)" and it will work. make sure you first go into /mnt and mkdir a directory to mount to.

hope this helps a bit.

as for the windows drive.
storm2k is offline   Reply With Quote
Old 03-01-2004, 03:55 PM   #6 (permalink)
Registered User
 
Join Date: Oct 2001
Location: NC in the US
Posts: 3,732
Redwolf is on a distinguished road
Send a message via ICQ to Redwolf Send a message via AIM to Redwolf Send a message via Yahoo to Redwolf
Quote:
Originally posted by krohnjw

mount -t smbfs /dev/hdxX /mount/point
You can also say mount -t vfat /dev/hdxX /mount/point. It may be a bit faster in transfers, since the vfat driver is eitehr a module or compiled into the kernel directly.
Redwolf is offline   Reply With Quote
Old 03-01-2004, 04:12 PM   #7 (permalink)
Registered User
 
jkrohn's Avatar
 
Join Date: Oct 2001
Location: Champaign, IL
Posts: 3,253
jkrohn is on a distinguished road
Send a message via ICQ to jkrohn Send a message via AIM to jkrohn Send a message via Yahoo to jkrohn
Quote:
You can also say mount -t vfat /dev/hdxX /mount/point. It may be a bit faster in transfers, since the vfat driver is eitehr a module or compiled into the kernel directly.
Both vfat and smbfs are part of the kernel. smbfs has nothing to do with the samba package, it just allows mounting filesystems via sharing (Either windows or samba). Both can be found under FileSystems in your kernel config.

If vfat is indeed faster in transfers it has nothing to do with it being either a "module of compiled into the kernel directly" but more with it meant for direct access and not networked access.

Jkrohn
__________________
Jkrohn
jkrohn is offline   Reply With Quote
Old 03-01-2004, 04:28 PM   #8 (permalink)
Registered User
 
Join Date: Oct 2001
Location: NC in the US
Posts: 3,732
Redwolf is on a distinguished road
Send a message via ICQ to Redwolf Send a message via AIM to Redwolf Send a message via Yahoo to Redwolf
Ha, didn't know that. I thought thtat smbfs meant that it was calling the smbmount program. Guess I was wrong...again
Redwolf is offline   Reply With Quote
Old 03-02-2004, 04:15 AM   #9 (permalink)
Registered User
 
nukes's Avatar
 
Join Date: Oct 2002
Location: Scotland, UK
Posts: 2,946
nukes is on a distinguished road
Send a message via AIM to nukes Send a message via Yahoo to nukes
Yeah, the Samba package is just the server.
Here's how to get your printer working:

Go to www.linuxprinting.org and get the .ppd file for your printer.
Save it in /usr/share/cups/model/
Install CUPS and Ghostscript (foomatic wouldn't hurt either)
Go to the cups web admin thing.
http://localhost:631/
click "Do administration tasks" and login as root.
click "add printer"
Enter stuff into the fields.
Select the printer model

For the device URL use:
smb://usernameass@workgroup/host/printer
username is your username on the windows box
pass is the password
workgroup is the workgroup name
host is the NetBIOS machine name
printer is the share name of the printer.

That's worked for everyone I've shown it to. Hope it does the same for you
__________________
_____
NuKeS
nukes is offline   Reply With Quote
Old 03-02-2004, 04:36 AM   #10 (permalink)
Registered User
 
SunDizzle's Avatar
 
Join Date: Feb 2003
Location: Eastern PA
Posts: 152
SunDizzle is on a distinguished road
All, Thanks for the help.

I will do this as soon as I get a chance and let you know what the deal is.
__________________
Fill cups like Double D's!!
SunDizzle is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 07:37 PM.