»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 11-16-2003, 12:09 PM   #1 (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
Outdoors CUPS, samba, Slack 9.1, oh the pain...

I'm trying out Slackware 9.1, and so far I REALLY like what I see. Biggest problem I have right now is getting my printer to work. My printer is on a Win98 machine sitting not but 20 feet away. It's never been hard to set up, but I've run into a brick wall now that Google can't get me out of

In the KDE control pannel (in root of course), I set up the machine to run CUPS (which I selected in the install). Works fine. I go to install the printer. Uh-oh. The SMB option is greyed out. So samba isn't up yet, eh? I set it up under 'Network Browsing' (I only really need the client, right?). Still no go... I restart the CUPS server. Still no go. So I install LinNeighborhood to make sure that Samba works. I can see everything on that particular machine (and the other machines on the network of course). Hmmm... Strange.

Oh look, smb.conf doesn't exits, I see in the console for LinNeighborhood. So I set up smb.conf as the sample config file ( cp smb.conf-example smb.conf ), and tweak it to my liking.

Still no go, even after logging out and refreshing the CUPS server again.

So...what am I missing? Do I not have something installed?

edit: Oh, and I did the full install of Slack 9.1 BTW.


Last edited by Redwolf; 11-16-2003 at 12:11 PM.
Redwolf is offline   Reply With Quote
Old 11-16-2003, 03:36 PM   #2 (permalink)
Registered User
 
pbharris's Avatar
 
Join Date: Oct 2001
Location: Chicago, IL
Posts: 2,403
pbharris is on a distinguished road
Send a message via ICQ to pbharris Send a message via AIM to pbharris Send a message via Yahoo to pbharris
hi redwolf,
well i ahve no idea on hwo to have a windows printer share to linux. everything i have done is the other way around, but i would guess that one needs to have the printers shared. anyway - unless you are sharing things on the linux machine there is no need to have an smb.conf file.
__________________
I don't use Linux because I hate Windows (which I do) I use Linux because I like it.
play mtrek! telnet://mtrek.com:23
Odds are very good there are several spelling mistakes in this post.
pbharris is offline   Reply With Quote
Old 11-16-2003, 11:28 PM   #3 (permalink)
Registered User
 
Join Date: Mar 2002
Posts: 135
[A3D]Hatswitch is on a distinguished road
Send a message via AIM to [A3D]Hatswitch
Quote:
I only really need the client, right?
If someone else is accessing something on your box, then you are "serving."

Look in /etc for either an /smb or an /smb3 directory. If either one is there, then your smb.conf resides in one of those directories.

Reply with exactly what you need. I'll make a simple smb.conf file for you.
__________________
[i]Keyboards and mice are great... for word processing.
[A3D]Hatswitch is offline   Reply With Quote
Old 11-18-2003, 03:27 PM   #4 (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 [A3D]Hatswitch


If someone else is accessing something on your box, then you are "serving."

Look in /etc for either an /smb or an /smb3 directory. If either one is there, then your smb.conf resides in one of those directories.

Reply with exactly what you need. I'll make a simple smb.conf file for you.
Fo rnow I just need to be able to print using a Printer shared on Windows.
Redwolf is offline   Reply With Quote
Old 11-18-2003, 09:44 PM   #5 (permalink)
Registered User
 
Join Date: Mar 2002
Posts: 135
[A3D]Hatswitch is on a distinguished road
Send a message via AIM to [A3D]Hatswitch
Quote:
My printer is on a Win98 machine sitting not but 20 feet away.
Whoops! Perhaps I should have read your post more thoroughly. I don't have any printers hooked up to Windows boxes to try it out (my printer is hooked up via a print server, which is plugged directly into the network).
__________________
[i]Keyboards and mice are great... for word processing.
[A3D]Hatswitch is offline   Reply With Quote
Old 11-19-2003, 07:42 AM   #6 (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
I've finally got this working on my machine. I don't use KDE though. Just the CUPS web interface. I also don't use Slack, but Gentoo so there may be some differences. It should be pretty much the same way to do it though.
Start the CUPS daemon on the local (linux) machine.
Download the file for your printer from www.linuxprinting.org.
Connect to: http://localhost:631/ in a browser. (it may need https://localhost:631 depending on your setup)
From here you should be able to perform most required tasks for printer managment. Find the button for "add printer"
Most of the options are self explanatory. For the location/device URL you need to input:
Code:
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.
Hopefully most applications should detect a CUPS daemon running and will just work. They did for me.
I had been going mad for months trying to get this to work. I had given up on the idea. Only 2 weeks ago I managed to get it working.
I really hope this helps you. I know how fustrating it is having to save something to a samba share and run to another machine just to print it. If you have any more questions or problems, post back and we'll see what we can do. :)
__________________
_____
NuKeS
nukes is offline   Reply With Quote
Old 11-19-2003, 06:41 PM   #7 (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
Hmmm...I don't think my version of CUPS has Samba support at all...

I;m gonna try loading a new version.

...edit...

Yep, that's what it was. I installed CUPS 1.1.19 w/ samba libraries and it works.

Thanks nukes! If you hadn't shown me that, I would have gone on thinking it was KDE that's messed up.

Oh, and Slack 9.1 is stable as a nuclear missile silo. I don't think I've had it crash once, which is absolutely amazing. The problem is, as you saw here, it's missing alot of stuff I have to install myself. No biggie though.

Last edited by Redwolf; 11-19-2003 at 07:08 PM.
Redwolf is offline   Reply With Quote
Old 11-21-2003, 01:07 PM   #8 (permalink)
Registered User
 
flashingcurser's Avatar
 
Join Date: Jan 2002
Posts: 332
flashingcurser is on a distinguished road
Yes slackware is very stable, almost every program has installed with the normal ./configure make su make install
I've seen your threads on other distro's, I think you'll be very happy with slack.

You may want to check out swaret ( debian apt clone for slack ) and linuxpackages.net

Happy slacking
flashingcurser is offline   Reply With Quote
Old 11-22-2003, 02:16 PM   #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
Sorry, double post.
__________________
_____
NuKeS

Last edited by nukes; 11-22-2003 at 02:21 PM.
nukes is offline   Reply With Quote
Old 11-22-2003, 02:17 PM   #10 (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
I'd look more at emerde:
http://freaknet.org/alpt/Emerde/
A port of Gentoo's Emerge (portage) and Slapt-get:
http://software.jaos.org/
another apt-get port.
I haven't used either of them, but I've heard lots of people have had trouble making swaret work. Personally, I'd just remove the CUPS package and compile from source (if it does in fact not have SMB support) using --prefix/usr
__________________
_____
NuKeS
nukes 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 03:43 PM.