/l3/users/eb/2009/linux10/user :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 (local_session_id::420313402930321216-1243926536) |
|
#vim /etc/a[[rox/approx.conf
|
#~
10 # See approx.conf(5) for details. 11 12 #$max_wait 10 "/etc/approx/approx.conf" 19L, 549C+q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31 13 #$max_rate unlimited 14 #$user approx 15 #$group approx 16 #$syslog daemon 17 #$pdiffs true 18 #$verbose false ~ ~ ~ "/etc/approx/approx.conf" 19L, 549C записано |
#approx-import
Usage: approx-import [options] file ... Import local files into the approx cache Options: -s|--simulate scan but do not actually import any files -q|--quiet do not print the file names that are imported -v|--verbose print information about each file |
#approximport
bash: approximport: команда не найдена |
#approx import
Failure: not running as user approx |
#apt-get update
Ош http://192.168.15.10 sid Release.gpg Не удаётся соединиться с 192.168.15.10:9999 (192.168.15.10). - connect (113 Нет пути до хоста) 0% [Соединение с 192.168.15.10 (192.168.15.10)]^C |
#vim /etc/apt/sources.list
|
#apt-get install tcpdump
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово Следующие пакеты устанавливались автоматически и больше не требуются: portmap Для их удаления используйте 'apt-get autoremove'. НОВЫЕ пакеты, которые будут установлены: tcpdump обновлено 0, установлено 1 новых пакетов, для удаления отмечено 0 пакетов, и 54 пакетов не обновлено. Необходимо скачать 325kБ архивов. После данной операции, объём занятого дискового пространства возрастёт на 733kB. Получено:1 http://192.168.105.2 sid/main tcpdump 4.0.0-2 [325kB] Получено 325kБ за 0s (2860kБ/c) Выбор ранее не выбранного пакета tcpdump. (Чтение базы данных ... на данный момент установлено 61413 файлов и каталогов.) Распаковывается пакет tcpdump (из файла .../tcpdump_4.0.0-2_i386.deb)... Обрабатываются триггеры для man-db ... Настраивается пакет tcpdump (4.0.0-2) ... |
#ssh 192.168.105.1
The authenticity of host '192.168.105.1 (192.168.105.1)' can't be established. RSA key fingerprint is 34:6c:c2:da:38:7c:d7:17:e9:cd:17:8d:e7:cf:f1:a6. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.105.1' (RSA) to the list of known hosts. root@192.168.105.1's password: Linux linux9 2.6.29-2-686 #1 SMP Sun May 17 17:56:29 UTC 2009 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sat May 30 15:32:07 2009 |
#tcpdump -i eth0 -n
bash: tcpdump: команда не найдена |
#exit
exit Connection to 192.168.105.1 closed. |
#mii-tool
SIOCGMIIREG on eth0 failed: Input/output error SIOCGMIIREG on eth0 failed: Input/output error eth0: negotiated 100baseTx-FD, link ok |
#mii-tool eth0
SIOCGMIIREG on eth0 failed: Input/output error SIOCGMIIREG on eth0 failed: Input/output error eth0: negotiated 100baseTx-FD, link ok |
#mii-tool --help
usage: mii-tool [-VvRrwl] [-A media,... | -F media] [interface ...] -V, --version display version information -v, --verbose more verbose output -R, --reset reset MII to poweron state -r, --restart restart autonegotiation -w, --watch monitor for link status changes -l, --log with -w, write events to syslog -A, --advertise=media,... advertise only specified media -F, --force=media force specified media technology media: 1000baseTx-HD, 1000baseTx-FD, 100baseT4, 100baseTx-FD, 100baseTx-HD, 10baseT-FD, 10baseT-HD, (to advertise both HD and FD) 1000baseTx, 100baseTx, 10baseT |
#mii-tool -F 100
SIOCSMIIREG on eth0 failed: Operation not supported |
#mii-tool -F=media 100
Invalid media specification '=media'. |
#mii-tool -F media eth0 100
Invalid media specification 'media'. |
#mii-tool -F media eth0 10
Invalid media specification 'media'. |
#mii-tool -F eth0 10
Invalid media specification 'eth0'. |
#mii-tool --force=media eth0 10
Invalid media specification 'media'. |
|