Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I use shared printers on my fedora box to serve redirected lpt printer ports, used by a couple of DOS applications, on my windows boxes. I did this with FC5, FC6, and Fedora 7 without any problems. I did no use Fedora 8, I skipped to Fedora 9.
This was the first time I installed such a recent release of any linux distribution. I expected a few issues and have solved all of them, so far, with the exception of the redirected Lpt printer port problem. On my windows boxes I use the following net use commands to redirect my printer ports:
Code:
net use lpt2 \\servername\epsonSoandSoPrinter
net use lpt3 \\servername\hpSoandSoPrinter
This have always worked. Jobs sent to these ports, whether from the command prompt or any DOS application, printed almost immediately. They now print but there is a delay of about 60 seconds.
I've been over all my settings and configuration files, several times, to see if I have done anything differently or if anything has to be done differently, to no avail. Has anyone else come across this problem?
It's the same network. I just wanted to upgrade my linux box. Been hearing a lot about improvements in Fedora 8 and Fedora 9
I'm not sure if LPSCHED is an issue here but could just well be. Some changes can baffle if you are not able to dig down deep into the innards of Linux. One of those changes gave me a very hard time but I was able, in the end to solve the problem, thanks to forums like these. That particular change did not allow my Windows 3.11/95/98se and OS2 warp virtual machines to log in to samba on Fedora 9. The fix for that was to ad these few lines to the global section in the smb.conf file:
Code:
;Next 3 Entries added to Dos/Windows3.1/Windows9x/OS2 support
lanman auth = Yes
; client plaintext auth = Yes # I did no need this
client lanman auth = Yes
These settings, apparently were set by default in previous versions of samba, but are not now. It could be that a change similar to the above mentioned one is affecting Samba and/or Cups.
It's the same network (same machines, same print servers, etc.) The only change was the version of Fedora on the linux box, which is also my main server.
the printer server is a machine (local or remote) that runs a daemon (service) through which print jobs are queued and dispatched to a printer.
my rationale is that perhaps your older O/S install used a different service (say lpsched) and now you are using cups. in any event, the starting point is to establish what print service you are using and then debug the various config and system settings, to identify the root cause to effect.
but if you dont want to help me to help you, then I cant be bothered either.
Both machine configuration, the previous Fedora 7 and the Current Fedora 9 use CUPs. All my Fedora installations, since Fedora Core 5 used CUPs. Even my Debian Installations Use Cups. In my brief exposure to Linux I have only used CUPs.
Below are portions of both Fedora's smb.conf files
Code:
smb.conf FEDORA 9
[global]
workgroup = DHOPI
netbios name = NASHIRA
server string = fedora 9
; server string = Samba Server Version %v
; encrypt password = Yes
username map = /etc/samba/smbusers
;Next 3 Entries added to Dos/Windows3.1/Windows9x/OS2 support
lanman auth = Yes
; client plaintext auth = Yes # May not be needed
client lanman auth = Yes
printing = cups
printcap name = cups
disable spoolss = Yes
show add printer wizard = No
;------------------------------------------------------
; other entries ***************************
;------------------------------------------------------
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
use client driver = Yes
browseable = No
guest ok = no
smb.conf FEDORA 7
[global]
workgroup = DHOPI
netbios name = NASHIRA
server string = fedora 7
; server string = Samba Server Version %v
username map = /etc/samba/smbusers
printcap name = cups
disable spoolss = Yes
show add printer wizard = No
;------------------------------------------------------
; other entries ***************************
;------------------------------------------------------
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
use client driver = Yes
browseable = No
guest ok = no
If you need any additional information, feel free to ask for it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.