»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 02-21-2004, 09:48 AM   #1 (permalink)
Registered User
 
SunDizzle's Avatar
 
Join Date: Feb 2003
Location: Eastern PA
Posts: 152
SunDizzle is on a distinguished road
Linux Illiterate

All,
either I am an ass or I just can not figure out the connection between windows and linux? I want to connect my linux machine to my windows network, how do I configure the samba server?

SunDizzle is offline   Reply With Quote
Old 02-21-2004, 11:27 AM   #2 (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
What exactly would you like to do?
1) Put shares from your linux machine on the network so that Windows machines can access them.
2) Access windows shares from your linux machine.

Jkrohn
__________________
Jkrohn
jkrohn is offline   Reply With Quote
Old 02-21-2004, 07:27 PM   #3 (permalink)
Registered User
 
SunDizzle's Avatar
 
Join Date: Feb 2003
Location: Eastern PA
Posts: 152
SunDizzle is on a distinguished road
Both actually. What I ultimately want to do is have my Linux drive recognize my windows pc and vice versa. I would also like to have the printer connected to the windows pc available for my linux machine.
__________________
Fill cups like Double D's!!
SunDizzle is offline   Reply With Quote
Old 02-21-2004, 07:33 PM   #4 (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
What Distribution/Version of linux are you using?

Jkrohn
__________________
Jkrohn
jkrohn is offline   Reply With Quote
Old 02-22-2004, 07:07 AM   #5 (permalink)
Registered User
 
SunDizzle's Avatar
 
Join Date: Feb 2003
Location: Eastern PA
Posts: 152
SunDizzle is on a distinguished road
Red Hat Pub Ed 7.2
__________________
Fill cups like Double D's!!
SunDizzle is offline   Reply With Quote
Old 02-25-2004, 07:51 PM   #6 (permalink)
Registered User
 
flashingcurser's Avatar
 
Join Date: Jan 2002
Posts: 332
flashingcurser is on a distinguished road
I'm not a RH guy but isnt 7.2 a little long in the tooth?


flashingcurser is offline   Reply With Quote
Old 02-26-2004, 10:49 AM   #7 (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
The file you need to edit is /etc/samba/smb.conf
This holds all the configuration for setting up a samba server.
RH probably has a GUI tool to do it.
To mount network shares on a windows machine:
Assuming the windows machine is called windows and set in /etc/hosts. Also assuming the share is called share:
Code:
mount -t smbfs -o username=youruser,rw //windows/share /mnt/samba_mountpoint
you will need to input your password as well.
To do this in /etc/fstab:
Code:
//windows/share /mnt/samba_share smbfs rw,username=youruser 0 0
You can also add a password= field to it if you don't want to be prompted for the password, but /etc/fstab is normally world-readable so its a security list.
As to the printers, I did write a howto for that, but I can't seem to find it. but I'll dig it out for you.
Hope that's enough to get you started
__________________
_____
NuKeS
nukes is offline   Reply With Quote
Old 02-26-2004, 11:01 AM   #8 (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
right, found it:
(from http://www.usalug.org/phpBB2/viewtop...ght=cups+print )
Install CUPS, and go to the web-based control panel.
Go to www.linuxprinting.org and get the PPD file for your printer. Install it how it says.
In the CUPS control panel, add a printer, when asked for the URL follow these instructions:
Quote:
Posted by nukes over at usalug
For the device URL use:
smb://username:pass@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.
I guess it wasn't the full mini-howto I thought it was. :D
Hope that sorts you out for now.
And:
Quote:
I'm not a RH guy but isnt 7.2 a little long in the tooth?
Yeah, its old, but many servers still run it that have been in place for a long time. RPM systems don't always (hardly ever in my experience) handle upgrades well at all. One of the reasons I use Debian and BSD on my servers, and Gentoo on my desktop.
edit: just disabled smilies as it screwed up the device URL with :p
__________________
_____
NuKeS
nukes is offline   Reply With Quote
Old 03-02-2004, 04:33 AM   #9 (permalink)
Registered User
 
SunDizzle's Avatar
 
Join Date: Feb 2003
Location: Eastern PA
Posts: 152
SunDizzle is on a distinguished road
Thanks all, I will do this as soon as I get time this week.


I apreciate all the help
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:32 PM.