!c99Shell v. 1.0 pre-release build #16!

Software: Apache/2.2.3 (CentOS). PHP/5.1.6 

uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/usr/share/doc/hplip-1.6.7/howtos/   drwxr-xr-x
Free 50.95 GB of 127.8 GB (39.87%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     io.html (9.71 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
HPLIP How-Tos - Connection
HP Linux Imaging and Printing

HP Linux Imaging and Printing (HPLIP)

Home > How-Tos > Connection

Connection How-Tos

How to check if the printer is connected to the computer.

  1. Unplug the printer from your computer, open a terminal/console window and enter this command. This will display the syslog.
tail -f /var/log/messages

for Ubuntu:

sudo tail -f /var/log/syslog

then reconnect the printer. You should see the system display something like:

Mar 16 11:45:43 localhost kernel: [4298892.030000] hub 2-1.2:1.0: USB hub found
Mar 16 11:45:43 localhost kernel: [4298892.033000] hub 2-1.2:1.0: 4 ports detected
Mar 16 11:45:44 localhost kernel: [4298892.316000] usb 2-1.3: new full speed USB device using uhci_hcd and address 11
Mar 16 11:45:44 localhost kernel: [4298892.409000] hub 2-1.3:1.0: USB hub found
Mar 16 11:45:44 localhost kernel: [4298892.412000] hub 2-1.3:1.0: 4 ports detected
Mar 16 11:45:44 localhost kernel: [4298892.697000] usb 2-1.2.1: new full speed USB device using uhci_hcd and address 12
Mar 16 11:45:44 localhost kernel: [4298892.798000] drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 12 if 1 alt 0 proto 2 vid 0x03F0 pid 0x4311
Mar 16 11:45:44 localhost kernel: [4298892.798000] scsi6 : SCSI emulation for USB Mass Storage devices
Mar 16 11:45:44 localhost kernel: [4298892.975000] usb 2-1.2.2: new full speed USB device using uhci_hcd and address 13
Mar 16 11:45:44 localhost kernel: [4298893.063000] usb 2-1.2.2: not running at top speed; connect to a high speed hub
Mar 16 11:45:45 localhost kernel: [4298893.077000] drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 13 if 0 alt 0 proto 2 vid 0x03F0 pid 0x8804
Mar 16 11:45:45 localhost kernel: [4298893.255000] usb 2-1.3.1: new full speed USB device using uhci_hcd and address 14
Mar 16 11:45:45 localhost kernel: [4298893.342000] usb 2-1.3.1: not running at top speed; connect to a high speed hub
Mar 16 11:45:45 localhost kernel: [4298893.356000] drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 14 if 0 alt 1 proto 2 vid 0x03F0 pid 0x2817
Mar 16 11:45:45 localhost kernel: [4298893.360000] scsi7 : SCSI emulation for USB Mass Storage devices
Mar 16 11:45:45 localhost kernel: [4298893.539000] usb 2-1.3.3: new full speed USB device using uhci_hcd and address 15
Mar 16 11:45:45 localhost kernel: [4298893.624000] usb 2-1.3.3: not running at top speed; connect to a high speed hub
Mar 16 11:45:45 localhost kernel: [4298893.638000] drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 15 if 1 alt 0 proto 2 vid 0x03F0 pid 0x5711
Mar 16 11:45:45 localhost kernel: [4298893.638000] scsi8 : SCSI emulation for USB Mass Storage devices

Then enter this command:

dmesg

You should see something like this displayed:

[4298893.638000] scsi8 : SCSI emulation for USB Mass Storage devices
[4298893.638000] usb-storage: device found at 15
[4298893.638000] usb-storage: waiting for device to settle before scanning
[4298897.802000]   Vendor: HP        Model: Officejet 74xx S  Rev: 1.00
[4298897.802000]   Type:   Direct-Access                      ANSI SCSI revision: 02
[4298897.816000] sd 6:0:0:0: Attached scsi removable disk sdb
[4298897.816000] sd 6:0:0:0: Attached scsi generic sg1 type 0
[4298897.817000] usb-storage: device scan complete
[4298898.366000]   Vendor: HP        Model: LaserJet 2840     Rev: 1.00
[4298898.366000]   Type:   Direct-Access                      ANSI SCSI revision: 02
[4298898.381000] sd 7:0:0:0: Attached scsi removable disk sdc
[4298898.381000] sd 7:0:0:0: Attached scsi generic sg2 type 0
[4298898.384000] usb-storage: device scan complete
[4298898.642000]   Vendor: HP        Model: Photosmart        Rev: 1.00
[4298898.642000]   Type:   Direct-Access                      ANSI SCSI revision: 02
[4298898.657000] sd 8:0:0:0: Attached scsi removable disk sdd
[4298898.657000] sd 8:0:0:0: Attached scsi generic sg3 type 0
[4298898.660000] usb-storage: device scan complete

enter this command:

/usr/lib/cups/backend/hp

You should see something like this displayed:

direct hp:/usb/Photosmart_series?serial=XXXXXXXXXXXXXX "HP Photosmart_series" "hp:/usb/Photosmart_series?serial=XXXXXXXXXXXXXX"
direct hp:/usb/HP_Color_LaserJet_2840?serial=XXXXXXXXXXXX "HP HP_Color_LaserJet_2840" "hp:/usb/HP_Color_LaserJet_2840?serial=XXXXXXXXXXXX"
direct hp:/usb/Deskjet_6980_series?serial=XXXXXXXXXXXXXX "HP Deskjet_6980_series" "hp:/usb/Deskjet_6980_series?serial=XXXXXXXXXXXXXX"
direct hp:/usb/Officejet_7400_series?serial=XXXXXXXXXXXXXX "HP Officejet_7400_series" "hp:/usb/Officejet_7400_series?serial=XXXXXXXXXXXXXX"

These are several ways to confirm that the printer is connected and working with your system.


Last update: Thu Mar 16 17:21:04 2006


:: Command execute ::

Enter:
 
Select:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0095 ]--