четверг, 16 декабря 2010 г.

sqlredir не слушает управляющий (5555) порт

Не был очищен семафор, из-за некоректного выхода.
излечивается командой ipcrm -S 1375791270

Ключ  1375791270 для CONFIG_FILE = "/etc/squid/sqlredir/sqlredir.conf"

среда, 15 декабря 2010 г.

true

вторник, 14 декабря 2010 г.

Sams + PHP 5.3

[Tue Dec 14 11:34:16 2010] [error] [client 192.168.11.4] PHP Fatal error: Cannot redeclare GetHostName() in /usr/share/sams/src/webconfigtray.php on line 25, referer: http://sams/lframe.php

в файлах:
/usr/share/sams/src/configtray.php
/usr/share/sams/src/webconfigtray.php

заменить GetHostName на GetHostNameSams.

DNS server на 2800 рутере

#configure terminal
(config)# ip dns server
(config)# ip dns primary test.com soa ns.ns.test.com postmaster.postmaster.test.com
(config)# ip host test.com ns ns.ns.test.com

понедельник, 13 декабря 2010 г.

1231G password recovery

If neither the GUI nor the CLI is available with sufficient privileges, complete these instructions in order to use the Mode button:

Disconnect power from the AP.

Disconnect the power jack for external power or the Ethernet cable for inline power.

Press and hold the MODE button while you reconnect power to the AP.

Hold the MODE button until the Status LED turns amber, and then release the button.

The Status LED turns amber in approximately 1 to 2 seconds.

After the AP reboots, reconfigure the AP and use the web browser interface, the Telnet interface, or Cisco IOS Software commands.

Note: The AP is configured with the factory default values that include:

The IP address, which is set to receive an IP address with DHCP

The default username and password, "Cisco"