Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sharing Deskjet 722C on mandrake server

Status
Not open for further replies.

turbokawi

Technical User
Apr 22, 2001
3
US
I am new at Linux and have set up a Mandrake 8.1 server with Samba and cannot figure out how to set up my Deskjet 722C printer so my W98 and W2K machines can print to it. I have tried a Jet Direct print server I brought home to try from work but found out that the JD model I have won't work w/that printer. ??? Anyone know how to get it to work?

Thanks!
 
Hi,

You need to set up the following in your smb.conf file :

[printers]
print ok=yes
path=/var/spool/samba
guest ok=yes

The special share name [printers] causes samba to automatically create a share for every printer defined on the linux box, i.e. in /etc/printcap . Alternatively, you can be more explicit :

[deskjet]
print ok= yes
path=/var/spool/samba
printer= lp
guest ok= yes

Here the 'printer=' entry points at the 'lp' locally defined printer, i.e. assuming its attached to 'lpt1:' (sic) and is configured as a valid linux printer in the first place.

Hope this helps
 
How do I set up Mandrake 8.1 as a server and as a webserver. I also have a problem getting to the internet

thanks

mv7878
 
Hi,

For the webserver you need to install a number of Apache rpms :

ftp://rpmfind.net/linux/Mandrake/8.1/i586/Mandrake/RPMS/apache-1.3.20-3mdk.i586.rpm
ftp://rpmfind.net/linux/Mandrake/8.1/i586/Mandrake/RPMS/apache-common-1.3.20-3mdk.i586.rpm
ftp://rpmfind.net/linux/Mandrake/8.1/i586/Mandrake/RPMS/apache-conf-1.3.20-3mdk.i586.rpm
ftp://rpmfind.net/linux/Mandrake/8.1/i586/Mandrake/RPMS/apache-modules-1.3.20-3mdk.i586.rpm

There are other add-ons, source, etc., but I think they are the ones you need. So just download those rpms to a directory of your choice, change directory to the same directory, and then install as root with :

rpm -Uvh apache*.rpm

It should start automatically every reboot but to start without a reboot do (as root)

/etc/rc.d/init.d/httpd start

Then test by going to - you should get the apache test page.

On the 'server' - if you mean to share with M$/Win machines you need to install samba. Again there's more than one rpm :

ftp://rpmfind.net/linux/Mandrake/8.1/i586/Mandrake/RPMS/samba-2.2.1a-15mdk.i586.rpm
ftp://rpmfind.net/linux/Mandrake/8.1/i586/Mandrake/RPMS/samba-client-2.2.1a-15mdk.i586.rpm
ftp://rpmfind.net/linux/Mandrake/8.1/i586/Mandrake/RPMS/samba-common-2.2.1a-15mdk.i586.rpm

(that includes swat - the gui tool)

its similar with apache - the server should start at boor time but to start by hand do root :

/etc/rc.d/init.d/smb start
/sbin/chkconfig swat on

The goto (swat - samba web admin tool) and sign in as root to set it all up.

As to the internet problems... like what ?

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top