LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Printing from Mandrake 10 to W2K Pro (https://www.linuxquestions.org/questions/linux-hardware-18/printing-from-mandrake-10-to-w2k-pro-224392/)

DigiGato 09-06-2004 05:49 PM

Send it to me jorgehpm@acm.org

Peacedog 09-06-2004 08:06 PM

hi, sorry i haven't been available for the last couple of days, had some family in from out of town. my sinceriest apologies. since your email and your printing situation isn't working, i'm wondering if you network is functioning properly. please post as suggested, the output from the cupsd.conf, as welll as the output from

ifconfig -a

route -n

good luck.

idduke 09-07-2004 12:08 AM

Hi,

Cupsd.conf is 831 lines how do I copy it. I noticed that most of the writing is in blue. These are mainly instructions. I have copied out the bits written in white which seem to me to be default settings. I dont know if this will help

LogLevel info
TempDir /var/spool/cups/tmp
Port 631
Browsing On
BrowseDeny All
BrowseOrder Deny,Allow

Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.0.16
</Location>

<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>
BrowseInterval 0

BrowseInterval 0
#BrowsePoll 192.168.0.1:631
BrowsePoll 192.168.0.1:9000

Sorry, I know that this may not mean much, but if I know how to copy all 831 lines maybe that will help.

Output of ifconfig -a
[root@localhost etc]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:50:8B:DB:AA:EE
inet addr:192.168.0.16 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::250:8bff:fedb:aaee/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:95464 errors:0 dropped:0 overruns:0 frame:4
TX packets:16667 errors:0 dropped:0 overruns:7 carrier:1
collisions:22 txqueuelen:1000
RX bytes:9630727 (9.1 Mb) TX bytes:1630311 (1.5 Mb)
Interrupt:11 Base address:0x3000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:7619 errors:0 dropped:0 overruns:0 frame:0
TX packets:7619 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:500792 (489.0 Kb) TX bytes:500792 (489.0 Kb)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Output Route -n
[root@localhost etc]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
[root@localhost etc]#

Hope these help

BTW Peacedog, Welcome back.

Regards

Peacedog 09-07-2004 06:41 AM

thx, rereading the thread, i saw this,

Quote:

It lists "server.ltsp" as the server name. Says "created by redhat-config-printer 0.6.x" under description and "location uknown" under location.
what is the server name, or netbios name of the w2k machine? i'm wondering if you have the smb backend since it lists location unknown. the network configuration looks good, have you tried removing the printer from the mandrake machine, and configuring it again? what does

smbclient -L name of w2k machine

return?

idduke 09-07-2004 07:02 AM

Hi Peacedog, the W2K machine is called "Dialup".

I will do the printer when I get back in this evening as well the resuslt of smbclient -l

Regards

DigiGato 09-07-2004 08:51 AM

Hello PEACEDOG :) DigiGato here,

It may be OT, but a
Allow From 192.168.0.*
in the conf may help, in any rate, a wise advise to reinstall the printer is good. Are you able to browse the machine where the printer is hooked up through your SMB Explorer/MS Explorer? is it in the correct workgroup/domain? Have you tried to add it to your client machines by creating a "IP Printer port" (in Win)?

Sorry for all those questions in a row,
May you have a great day guys,
-DigiGato

idduke 09-07-2004 05:26 PM

Hi peacedog,

The W2K machine is called "Dialup" becos it is my dialup server to the \\\internet.

Ihave removed it form the Mandrake Machine, and guest what? It cannot find it anymore. When I do a hardware/printer installation using the Mandrake control panel, it says "no network printer found"

The contents of smbclient -L gives the following

[root@localhost root]# smbclient -L dialup
Password:
session setup failed: NT_STATUS_LOGON_FAILURE
[root@localhost root]# smbclient -L dialup
Password:
Anonymous login successful
Domain=[WORKGROUP] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
--------- ---- -------
Error returning browse list: NT_STATUS_ACCESS_DENIED
Anonymous login successful
Domain=[WORKGROUP] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]

Server Comment
--------- -------
AMINA
DIALUP

Workgroup Master
--------- -------
WORKGROUP DIALUP
[root@localhost root]#

HI DIgiGato,

Yes I can see Dialup in workgroup in SMB Explorer.

Yes the printer is in the right workgroup called "WORKGROUP"

How to create an "IP Printer Port" in WINS?

Regards

Peacedog 09-07-2004 05:48 PM

three things does your logged in user have a valid account on the windows box? does the windows box run a firewall? have you tried rebooting the windows machine and restarting services on the linux box?

idduke 09-09-2004 03:10 AM

Hi Peacedog,

Its the firewall on the W2K machine. The firewall itself is all messed up. Gonna have to rebuild it and then try again. Not going to make any changes on the Mandrake PC so that I can test it out once I've rebuilt the W2K PC.

Will keep you guys posted. Thanks all for your support.

Once this is sorted, the next thing I am loking at doing is to move the files from a W2K Server unto a Mandrake server and make the share available to all clients of the Mandrake Server. Any ideas on where I can read up on the how to?.

Regards

Peacedog 09-09-2004 07:01 AM

you can read for days about samba here

http://us4.samba.org/samba/docs/man/...TO-Collection/

http://fluffygerbil.com/unofficial-samba.txt

http://us4.samba.org/samba/docs/using_samba/toc.html

good luck.


All times are GMT -5. The time now is 04:42 AM.