home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Linux and Unix
Ask a Tech Support Question (free)!

Linux to Windows Networking

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2282
Discussions: 200,919, Posts: 2,379,038, Members: 246,287
Old February 22nd, 2004, 08:09 PM   Digg it!   #1 (permalink)
Member
 
SunDizzle's Avatar
 
Join Date: Feb 2003
Location: Eastern PA
Posts: 394
Angry
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 February 22nd, 2004, 08:44 PM     #2 (permalink)
dword to your moms
 
krohnjw's Avatar
 
Join Date: Oct 2001
Location: ~/
Posts: 3,195
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 February 22nd, 2004, 11:26 PM     #3 (permalink)
Member
 
SunDizzle's Avatar
 
Join Date: Feb 2003
Location: Eastern PA
Posts: 394
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 February 22nd, 2004, 11:42 PM     #4 (permalink)
dword to your moms
 
krohnjw's Avatar
 
Join Date: Oct 2001
Location: ~/
Posts: 3,195
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 March 1st, 2004, 03:19 AM     #5 (permalink)
The Mad Redhatter
 
storm2k's Avatar
 
Join Date: Oct 2001
Location: NJ
Posts: 3,552
Send a message via ICQ to storm2k Send a message via AIM to storm2k Send a message via MSN 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 March 1st, 2004, 06:55 PM     #6 (permalink)
Leader of the Crab People
 
Redwolf's Avatar
 
Join Date: Oct 2001
Location: NCSU
Posts: 4,381
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 March 1st, 2004, 07:12 PM     #7 (permalink)
Real gangstas sip on Yacc
 
jkrohn's Avatar
 
Join Date: Oct 2001
Location: Suckas-ville
Posts: 4,552
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
__________________
Signatures blow hard
If your signature contains an ad of any kind, congratulations, you're on my ignore list.
jkrohn is offline   Reply With Quote
Old March 1st, 2004, 07:28 PM     #8 (permalink)
Leader of the Crab People
 
Redwolf's Avatar
 
Join Date: Oct 2001
Location: NCSU
Posts: 4,381
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 March 2nd, 2004, 07:15 AM     #9 (permalink)
Ultimate Member
 
nukes's Avatar
 
Join Date: Oct 2002
Location: Scotland, UK
Posts: 3,221
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 March 2nd, 2004, 07:36 AM     #10 (permalink)
Member
 
SunDizzle's Avatar
 
Join Date: Feb 2003
Location: Eastern PA
Posts: 394
All, Thanks for the help.

I will do this as soon as I get a chance and let you know what the deal is.
SunDizzle is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2844)
Why is Khalid Sheikh Mohammed even .. (9)
Obama the Muslim (9)
Is the PSU I received dead? (10)
windows vista security holes (7)
HIS HD5770 graphic card question (15)
Install XP pro and a Vista laptop ?.. (9)
Foreign voltage (8)
A good PSU? (10)
Dept. of HS: NSA 'Helped' Develop V.. (15)
Print spooler problem (10)
New Computer wont recognize XP disc (7)
Ideal cheap graph card for PC-Gamin.. (15)
EVGA 9800 gtx help with finding a g.. (8)
Recent Discussions
FiOS modem/router interfering with ne.. (7)
Browsers wont load websites (2)
Virus Doctor Popup? (1)
Help getting around port 80 for camer.. (1)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (31)
Foreign voltage (8)
Dept. of HS: NSA 'Helped' Develop Vis.. (15)
windows vista security holes (7)
Install XP pro and a Vista laptop ?? (9)
EVGA 9800 gtx help with finding a goo.. (8)
Modern Warfare For the PC (32)
Problem with speed step/turbo boost? (1)
monitor will not turn on at all, (0)
Modern Warfare 2: Who Bought It? (61)
World's largest Monopoly Game using G.. (330)
Print spooler problem (10)
SIS 740 and Widescreen (8)
Baffling Problem with my CPU/MoBo's. .. (0)
Display shows 3x5 inch in middle of s.. (0)
HIS HD5770 graphic card question (15)
Best file format to play on Windows H.. (0)
PSP Go bought in Japan (0)
Asus P4G8X Mobo (3)
Need hard disk drivers (4)
windows 7 internet problem (4)


All times are GMT -4. The time now is 06:04 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28