Tag Archives: stable

Debian GNU/Linux lenny (stable) + cups + hplip + HP LaserJet 1010 + windows client

Sveiki,
kaip sekas?

Vat prireikė greitai išspręsti tokią problemėlę… Debian GNU/Linux lenny + HP LaserJet 1010 + Windows client 🙂

Taigi… Ką darom?
Na susidiekime CUPS su HP palaikymu…
aptitude install cups hplip -t lenny-backports
Dabar beliko tik sukonfiguruoti…

Tikiuosi samba jau susikonfiguruota.?.

Taigi atsidarom vi /etc/cups/mime.convs ir atkomentuokim:
application/octet-stream application/vnd.cups-raw 0 -
atsidarom failą:vi /etc/cups/mime.types ir ten atkomentuokit:
application/octet-stream
Tuomet vi /etc/cups/cupsd.conf ten paziurekite sias opcijas:
Listen *:631
<Location /printers>
AuthType None
Order Allow,Deny
Allow From 192.168.1.*
</Location>

Tuomet restartuokim CUPS 😉


/etc/init.d/cups restart


em, beje, uzeikim i http://localhost:631 ten pridekit printeliuka… 🙂
Ten eikime: Administration > Add Printer Čia pildome… Name bus matomas šiuo vardu.
Tuomet pasirenkame: HP Printer (HPLIP) ir ten pasirenkame iš sąrašo… na nepamenu dabar plačiau… 🙂

Taigi, jei jau spausdina… ( jei ne brūkštelkit, bandysim debug’inti )

Dabar samba 😉
Atsidarykime failiuką vi /etc/samba/smb.conf ir ten patikrinkime ir atkomentuokime:


[global]
printcap name = cups
printing = cups

[printers]
security = share
comment = All Printers
browseable = yes
path = /var/spool/samba
printable = yes
# guest ok = yes
guest only = yes
public = yes
read only = yes
create mask = 0700
create mode = 0700
use client driver = yes


Beliko tik perkrauti…
/etc/init.d/samba restart
lyg ir tiek 😉 Ai tiesa… draiveriuko juk reik!
Taigi draiveriukai:
XP
Vista (64 bit) ir Windows 7 (64 bit)
Vista (32 bit) ir Windows 7 (32 bit)

Ačiū
Internal Link:
SambA serveris mano namuose

External Link:
Sharing Printers With Windows PCs Debian and Windows Shared Printing mini-HOWTO

Debian GNU/Linux (stable / lenny) ATI Radeon X1950 Pro (two) dual head (monitors)

Hello, how are you mates?

I have received second monitor at my job. I had to make everything work as i wanted to.

1) I wanted to make my second monitor show something 😉

So I made a simple command:


dpkg-reconfigure -phigh xserver-xorg


then by pressing CTRL + ALT + BACKSPACE i restarted my X server, and whoohoo!

But is it what we wanted to be?
NO! So task number 2:
2) Make two monitors display different view 😉

So as I mentioned, I wanted that Second monitor would show something different 🙂 so I searched for dual-head xorg, found some xorg.conf files, but it didn’t worked for me… also found a super nice utility… so I tied to do something with it but no success 😉 what to do? Oh let’s try: man xorg.conf it was successful!!! So I modified /etc/X11/xorg.conf


# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us,ru(phonetic),lt"
Option "XkbVariant" "us,lt,ru(phonetic)"
Option "XkbOptions" "grp:alt_shift_toggle"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Screen1" 1280 0
Screen "Screen2" 0 0
#Screen "Screen2" RightOf "Screen1"
InputDevice "Generic Keyboard"
#InputDevice "Configured Mouse"
EndSection

Section "Files"
EndSection

Section "Module"
Load "glx"
EndSection

Section "Monitor"
Identifier "SAMSUNG"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Monitor"
Identifier "LG"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "Generic Video Card"
Driver "fglrx"
BusID "PCI:1:0:0"
Screen 0
EndSection

Section "Device"
Identifier "Device1"
Driver "fglrx"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen1"
Device "Generic Video Card"
Monitor "SAMSUNG"
DefaultDepth 24
SubSection "Display"
# Modes "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
# Virtual 2048 1024
EndSubSection
EndSection

Section "Screen"
Identifier "Screen2"
Device "Device1"
Monitor "LG"
DefaultDepth 24
SubSection "Display"
#Viewport 0 0
Depth 24
# Modes "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
# Virtual 2048 1024
EndSubSection
EndSection

Section "Extensions"
#Option "Composite" "Enable"
Option "Composite" "Disable"
EndSection


As you see it’s nothing so complicated 🙂 as it look’s like 😉