Lieber Besucher, herzlich willkommen bei: GentooForum.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
laptop michi # lsusb Bus 004 Device 001: ID 1d6b:0001 Bus 003 Device 001: ID 1d6b:0001 Bus 002 Device 001: ID 1d6b:0001 Bus 001 Device 002: ID 03f0:5d11 Hewlett-Packard Bus 001 Device 001: ID 1d6b:0002 laptop michi # dmesg | grep usb usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb usb usb1: configuration #1 chosen from 1 choice usb 1-2: new high speed USB device using ehci_hcd and address 2 usb 1-2: configuration #1 chosen from 1 choice usb usb2: configuration #1 chosen from 1 choice usb usb3: configuration #1 chosen from 1 choice usb usb4: configuration #1 chosen from 1 choice usblp0: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x03F0 pid 0x5D11 usbcore: registered new interface driver usblp usbcore: registered new interface driver usb-storage usb-storage: device found at 2 usb-storage: waiting for device to settle before scanning usb-storage: device scan complete laptop michi # lspci 00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02) 00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02) 00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02) 00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02) 00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03) 00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03) 00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03) 00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83) 00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03) 00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03) 00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03) 00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03) 00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03) 02:03.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 61) 02:05.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01) 02:06.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05) 02:09.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus Controller laptop michi # dmesg | grep -i print usblp0: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x03F0 pid 0x5D11 laptop michi # |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »monsterherz« (17.08.2008, 19:30)
Quellcode |
|
1 2 3 4 5 |
laptop michi # ping -c 4 127.0.0.1 PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data. --- 127.0.0.1 ping statistics --- 4 packets transmitted, 0 received, 100% packet loss, time 3012ms |
Quellcode |
|
1 2 |
laptop michi # /etc/init.d/apache2 start * WARNING: apache2 has already been started. |
Quellcode |
|
1 2 3 4 5 6 |
laptop apache2 # less error_log [Fri Aug 08 16:13:24 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8g configured -- resuming normal operations [Fri Aug 08 21:28:52 2008] [notice] caught SIGTERM, shutting down [Sat Aug 09 09:01:42 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8g configured -- resuming normal operations [Sat Aug 09 18:16:32 2008] [notice] caught SIGTERM, shutting down [Sun Aug 10 09:57:45 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8g configured -- resuming normal operations |
Quellcode |
|
1 |
# /etc/init.d/cupsd status |
Quellcode |
|
1 |
# netstat -nelpt |
Quellcode |
|
1 |
# route -n |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
michi@laptop ~ $ su Passwort: laptop michi # /etc/init.d/cupsd status * status: started laptop michi # netstat -nelpt Aktive Internetverbindungen (Nur Server) Proto Recv-Q Send-Q Local Address Foreign Address State Benutzer Inode PID/Program name tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 0 5694 3644/apache2 tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 0 5692 3644/apache2 laptop michi # route -n Kernel IP Routentabelle Ziel Router Genmask Flags Metric Ref Use Iface 192.168.2.0 0.0.0.0 255.255.255.0 U 2000 0 0 eth1 0.0.0.0 192.168.2.1 0.0.0.0 UG 2000 0 0 eth1 laptop michi # |
Quellcode |
|
1 2 |
# rc-update show | grep net.lo net.lo | boot |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# cat /etc/cups/cupsd.conf LogLevel info SystemGroup lpadmin # Allow remote access Port 631 Listen /var/run/cups/cups.sock # Enable printer sharing and shared printers. Browsing On BrowseOrder allow,deny BrowseAllow @LOCAL BrowseAddress @LOCAL DefaultAuthType Basic <Location /> # Allow shared printing... Order allow,deny Allow @LOCAL </Location> <Location /admin> Encryption Required Order allow,deny Allow localhost </Location> <Location /admin/conf> AuthType Basic Require user @SYSTEM Order allow,deny Allow localhost </Location> <Policy default> <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job> Require user @OWNER @SYSTEM Order deny,allow </Limit> <Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default> AuthType Basic Require user @SYSTEM Order deny,allow </Limit> <Limit Cancel-Job CUPS-Authenticate-Job> Require user @OWNER @SYSTEM Order deny,allow </Limit> <Limit All> Order deny,allow </Limit> </Policy> |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
michi@laptop ~ $ su Passwort: laptop michi # rc-update show | grep net.lo laptop michi # /etc/init.d/net.lo start * Starting lo * Bringing up lo * 127.0.0.1/8 [ ok ] * Adding routes * 127.0.0.0/8 ... [ ok ] laptop michi # route -n Kernel IP Routentabelle Ziel Router Genmask Flags Metric Ref Use Iface 192.168.2.0 0.0.0.0 255.255.255.0 U 2000 0 0 eth1 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 192.168.2.1 0.0.0.0 UG 2000 0 0 eth1 laptop michi # vi /etc/cups/cupsd.conf laptop michi # ping -c 4 127.0.0.1 PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data. 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.035 ms 64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.030 ms 64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.016 ms 64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.013 ms --- 127.0.0.1 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 2997ms rtt min/avg/max/mdev = 0.013/0.023/0.035/0.010 ms laptop michi # /etc/init.d/cupsd status * status: started |
Ja:Hast du cups neu gestartet und via "netstat -nelpt" (siehe oben) geguckt, ob cups an den Port 631 horcht?
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 |
michi@laptop ~ $ su Passwort: laptop michi # /etc/init.d/cupsd restart * Stopping cupsd ... [ ok ] * Starting cupsd ... [ ok ] laptop michi # netstat -nelpt Aktive Internetverbindungen (Nur Server) Proto Recv-Q Send-Q Local Address Foreign Address State Benutzer Inode PID/Program name tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 0 5701 3653/apache2 tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 0 5699 3653/apache2 laptop michi # |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
#less /var/log/cups/error.log I [15/Aug/2008:19:25:33 +0200] Saving job cache file "/var/cache/cups/job.cache"... I [15/Aug/2008:19:25:33 +0200] Listening to 127.0.0.1:631 (IPv4) I [15/Aug/2008:19:25:33 +0200] Listening to /var/run/cups/cups.sock (Domain) I [15/Aug/2008:19:25:33 +0200] Loaded configuration file "/etc/cups/cupsd.conf" I [15/Aug/2008:19:25:33 +0200] Using default TempDir of /var/spool/cups/tmp... I [15/Aug/2008:19:25:33 +0200] Configured for up to 100 clients. I [15/Aug/2008:19:25:33 +0200] Allowing up to 100 client connections per host. I [15/Aug/2008:19:25:33 +0200] Using policy "default" as the default! I [15/Aug/2008:19:25:33 +0200] Full reload is required. I [15/Aug/2008:19:25:33 +0200] Loaded MIME database from '/etc/cups': 35 types, 38 filters... I [15/Aug/2008:19:25:33 +0200] Loading job cache file "/var/cache/cups/job.cache"... I [15/Aug/2008:19:25:33 +0200] Full reload complete. I [15/Aug/2008:19:25:33 +0200] Cleaning out old temporary files in "/var/spool/cups/tmp"... E [15/Aug/2008:19:25:33 +0200] Unable to bind socket for address 127.0.0.1:631 - Cannot assign requested address. I [15/Aug/2008:19:25:33 +0200] Listening to /var/run/cups/cups.sock on fd 3... I [15/Aug/2008:19:25:33 +0200] Resuming new connection processing... |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# # "$Id: cupsd.conf.in 7199 2008-01-08 00:16:30Z mike $" # # Sample configuration file for the Common UNIX Printing System (CUPS) # scheduler. See "man cupsd.conf" for a complete description of this # file. # # Log general information in error_log - change "info" to "debug" for # troubleshooting... LogLevel info # Administrator user group... SystemGroup lpadmin # Only listen for connections from the local machine. #Listen localhost:631 Listen localhost:631 Listen /var/run/cups/cups.sock # Show shared printers on the local network. "" |
Hehe ... das log sagt, er ist an. Dein netstat sagt er ist es nicht ...
Dreh mal den LogLevel von "info" auf "debug" ...
Gibt es eine Möglichkeit sich auf die Maschine einzuloggen? Ich würde das mal gerne sehen ....
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 |
I [17/Aug/2008:10:43:05 +0200] Listening to /var/run/cups/cups.sock on fd 3... I [17/Aug/2008:10:43:05 +0200] Resuming new connection processing... I [17/Aug/2008:12:58:13 +0200] Scheduler shutting down normally. I [17/Aug/2008:12:58:13 +0200] Saving job cache file "/var/cache/cups/job.cache"... I [17/Aug/2008:13:29:17 +0200] Listening to 127.0.0.1:631 (IPv4) I [17/Aug/2008:13:29:17 +0200] Listening to /var/run/cups/cups.sock (Domain) I [17/Aug/2008:13:29:17 +0200] Loaded configuration file "/etc/cups/cupsd.conf" I [17/Aug/2008:13:29:17 +0200] Using default TempDir of /var/spool/cups/tmp... I [17/Aug/2008:13:29:17 +0200] Configured for up to 100 clients. I [17/Aug/2008:13:29:17 +0200] Allowing up to 100 client connections per host. I [17/Aug/2008:13:29:17 +0200] Using policy "default" as the default! I [17/Aug/2008:13:29:17 +0200] Full reload is required. |
Quellcode |
|
1 |
I [17/Aug/2008:13:29:17 +0200] Listening to 127.0.0.1:631 (IPv4) |
Quellcode |
|
1 |
# netstat -nelpt |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
laptop michi # /etc/init.d/net.lo start * Starting lo * Bringing up lo * 127.0.0.1/8 [ ok ] * Adding routes * 127.0.0.0/8 ... [ ok ] laptop michi # route -n Kernel IP Routentabelle Ziel Router Genmask Flags Metric Ref Use Iface 192.168.2.0 0.0.0.0 255.255.255.0 U 2000 0 0 eth1 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 192.168.2.1 0.0.0.0 UG 2000 0 0 eth1 laptop michi # netstat -nelpt Aktive Internetverbindungen (Nur Server) Proto Recv-Q Send-Q Local Address Foreign Address State Benutzer Inode PID/Program name tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 0 5687 3638/apache2 tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 0 5685 3638/apache2 laptop michi # ping -c 4 127.0.0.1 PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data. 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.034 ms 64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.019 ms 64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.017 ms 64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.013 ms --- 127.0.0.1 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 2997ms rtt min/avg/max/mdev = 0.013/0.020/0.034/0.009 ms laptop michi # |
Quellcode |
|
1 2 3 |
/etc/init.d/net.lo start /etc/init.d/cupsd restart netstat -nelpt |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
laptop michi # /etc/init.d/net.lo start * Caching service dependencies ... [ ok ] * WARNING: net.lo has already been started. laptop michi # /etc/init.d/cupsd restart * Stopping cupsd ... [ ok ] * Starting cupsd ... [ ok ] laptop michi # netstat -nelpt Aktive Internetverbindungen (Nur Server) Proto Recv-Q Send-Q Local Address Foreign Address State Benutzer Inode PID/Program name tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 0 5687 3638/apache2 tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 497111 18141/cupsd tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 0 5685 3638/apache2 laptop michi # |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »monsterherz« (18.08.2008, 09:20)