Метро 2033 wine1.3
Привет!
Есть ubuntu 11.04 wine 1.3 и игра Метро2033
У кого нить заработало???
У меня заработало но клава и мышь пипец че вытворяют .
Мышь плохо работает (((
а поиграть охота (((
Привет!
Есть ubuntu 11.04 wine 1.3 и игра Метро2033
У кого нить заработало???
У меня заработало но клава и мышь пипец че вытворяют .
Мышь плохо работает (((
а поиграть охота (((
Привет всем Назрел вопрос по PPTP Поиском находил все что связано с PPTP но не было моего случая. Дистр
uname -sr; lsb_release -ds
Linux 2.6.32-31-generic-pae
Ubuntu 10.04.2 LTS
Вот скриный замера скорости без поднятия VPN Сюда! И Сюда!
А вот скрины замера скорости с подключеныv vpn Сюда!
вот конфиг сервера
name pptpd
refuse-pap
refuse-chap
require-mschap
require-mschap-v2
ms-dns 192.168.1.11
ms-dns 85.x.x.x
ms-dns 85.x.x.x
debug
proxyarp
nodefaultroute
lock
nobsdcomp
Hарод на ноуте стоит 9.10 Ubuntu sensor-detect не находит ни один датчик ((( Ноут hp dv5 pavilion 1222er Тип ЦП Mobile DualCore AMD Turion X2 Ultra ZM-82, 2200 MHz Host bridge Advanced Micro Devices [AMD] Mobile K10 [Turion X2, Athlon X2, Sempron] Link Control
root@avolon-linux:/# sensors -v sensors version 3.1.1 with libsensors version 3.1.1 root@avolon-linux:/#
ненаходит не один датчик ((((( ставил через apt-get install
Где еще посмотреть
Привет!
Возник вопрос как сделать так чтоб пройдя все проверки писмо перед тем как положится в папку пользователю обрабатывалось скриптом и потом ложилось в папку пользователя
Скрипт на перле
выдергивает size и ложит в базу Код:
cat mail
#!/usr/bin/perl
use Net::SMTP;
use DBI;
# GET OPTIONS
# something happend if I get all @ARGV => try shift
my $argv=shift(@ARGV);
my($host,$mail_hello,$mail_from,$mail_to,$nextargv)=split(/::/,$argv,5);
# LOAD MAIL
my $mail_data;
while(<STDIN>) {$mail_data.=$_};
my $size_bytes=length($mail_data);
# SEND MAIL BACK
if($size_bytes>0) {
my $smtp=Net::SMTP->new($host);
$smtp->hello($mail_hello);
$smtp->mail($mail_from);
$smtp->to($mail_to);
# $smtp->cc($mail_cc);
$smtp->data();
$smtp->datasend($mail_data);
$smtp->dataend();
$smtp->quit;
};
$SUBJPREFIX='*';
$mail_data=~s/(
Subject:)(.*?)(
)/$1$2$SUBJPREFIX$3/si;
my $mail_subj=$2;
my $logoutdir='/home/avolon/log';
# LOG
eval {
my ($sec,$min,$hour,$mday,$mon,$year)=localtime(time());
++$mon;
$year+=1900;
my $DATE=sprintf(«%.4d-%.2d-%.2d»,$year,$mon,$mday);
my $TIME=sprintf(«%.2d:%.2d:%.2d»,$hour,$min,$sec);
my $DATIM=«$DATE $TIME»;
my $filename=«$logoutdir/postfix.$DATE.log»;
$filename=~tr/ :/--/;
if(open(FL,«>>$filename»)) {
print FL «$DATE $mail_from $mail_to $size_bytes
»;
$dbh = DBI->connect(«DBI:mysql:host=*.*.*.*;database=test»,«фыв»,«фыв»)
or die «Нет доступа к СУБД!»;
$sth = $dbh->prepare( q{
insert into mail (date,ot,komu,size) values (?,?,?,?)
}) || die «Can't prepare statement: $DBI::errstr»;
$sth->execute(«$DATE»,«$mail_from»,«$mail_to»,«$size_bytes»);
$dbh->disconnect;
close(FL);
};
};
В master.cf Код:
smtp inet n - - - - smtpd
-o content_filter=test
localhost:10027 inet n - n - 10 smtpd
test unix - n n - 5 pipe
flags=q. user=pochta argv=/etc/postfix/mail localhost:10027::localhost::${sender}::${recipient}::
Согласно этому скрипту сейчас все что приходит на почту проходит через этот скрипт и потом дальше!
Но это не вариант так как он считает и спам (((((((
А хотелось бы не посредственно перед тем как положить в ящик!!
Есть ли у кого мысли!
ALT desktop 4 Стоит две сетевухи eth1 10.11.*.* eth0 192.168.1.3 На другом компе сетевуха 192,168,1,5 (поднят WEB 88 порту) как сделать переброс с 10,11,*,* подсетка видела 192,168,1,5 echo 1 > /proc/sys/net/ipv4/ip_forward машруты настрояны iptables -t nat -A POSTROUTING -j MASQUERADE вот iptables -t nat -A PREROUTING -p tcp -i 10.11.*.* -d 192.168.1.3 -m multiport --dport 88 -j DNAT --to 192.168.1.5 не катит подскажите
>>> Подробности (Invalid URL, no host part!)
Вопрос вчем собственно!! Стоит ALT DESKTOP(рабочий комп) 2сетевухи ))) eth0 192.168.1.*(local инет дом) и eth1 10.11.*.* (рабочий) на втором компе 1сетевуха) 192,168,1,* Настроил на чтоб на рабочем компе видит инет домашний локалку и рабочую тоесть 192,168,1,* и 10,11,*,* Дома вижу тока 192,168,1,* но не как немогу видеть 10,11,*,* есть мысля просто все что приходит на 192,168,1,* перебрасывалось на 10,11,*,* Но как (((( потскажите плиз (
>>> Подробности (Invalid URL, no host part!)
>>> Подробности (Invalid URL, no host part!)
>>> Подробности (Invalid URL, no host part!)
Вопрос короче мне надо чтоюб user1 мог смотреть с 8,00 до 19,00 но не качать, а user2 мог качать 19,00 до 8,00 причем user1 с 19,00 до 8,00 даже несмог заходить на фтп и user2 с 8,00 до 19,00 тоже немог заходить на фтп во )))) как это реализовать
>>> Подробности (Invalid URL, no host part!)
Купил сие чудо ))) Вопрос как поднять модем (( дистр поставил Suse10.3 (( HDAudio Soft smartCP модем
>>> Подробности (Invalid URL, no host part!)
Вот решил трафик ограничить вот так ./tc qdisc add dev eth0 root handle 1: htb default 30 ./tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit burst 125k ./tc class add dev eth0 parent 1:1 classid 1:10 htb rate 2Mbit ceil 1Mbit prio 2 ./tc qdisc add dev eth0 parent 1:10 handle 10: sfq perturb 10 ./tc class add dev eth0 parent 1:1 classid 1:20 htb rate 1mbit burst 125k ./tc qdisc add dev eth0 parent 1:20 handle 20: sfq perturb 10 ./tc class add dev eth0 parent 1:1 classid 1:30 htb rate 90Mbit ceil 100Mbit prio 1 ./tc qdisc add dev eth0 parent 1:30 handle 30: sfq perturb 10 после добовления фильтра ./tc filter add dev eth0 protocol ip parent 1:1 prio 1 fw flowid 1:30 пишет RTNETLINK answers: Invalid argument We have an error talking to the kernel а на этот фильтр ругается ./tc filter add dev eth0 protocol ip parent 1:1 prio 2 u32 match ip dport 445 0xffff flowid 1:10 Illegal "match" Блин помогите фильтры настроить смысл чтоб все кто обращался по порту SAmba 445 имели ограничения 1мегабит а все остальное без ограничения хоть убейся недогоняю((( Помогите
>>> Подробности (Invalid URL, no host part!)
>>> Подробности (Invalid URL, no host part!)
Все поставил!! mpd --create-db пишу а в ответ mpd --verbose --create-db /etc/12 flushing warning messages done flushing warning messages setFsCharset: fs charset is: UTF-8 flushing warning messages done flushing warning messages explore: attempting to opendir: explore: explore: found: 6.mp3 (6.mp3) addToDirectory: 6.mp3 is not a directory or music explore: found: 3.mp3 (3.mp3) addToDirectory: 3.mp3 is not a directory or music explore: found: 2.mp3 (2.mp3) addToDirectory: 2.mp3 is not a directory or music explore: found: 5.mp3 (5.mp3) addToDirectory: 5.mp3 is not a directory or music explore: found: 4.mp3 (4.mp3) addToDirectory: 4.mp3 is not a directory or music removing empty directories from DB sorting DB writing DB в конфиге прописано music_directory "/root/.mpd/music" playlist_directory "~/.mpd/playlists" db_file "~/.mpd/mpd.db" log_file "~/.mpd/mpd.log" error_file "~/.mpd/mpd.error" запускаю все от root переделываю под пользователя тоже самое ((( Все файлы насвоих местах
поставил icecast b ices
icecast запустил все ок но вот запускаю ices -c /etc/ices.conf
выдает
ices -c /etc/ices.conf
IceS 2.0.1
(c) Copyright 2001-2004 The IceS Development Team <team@icecast.org>
Michael Smith <msmith@icecast.org>
Karl Heyes <karl@xiph.org>
and others
Usage: "ices config.xml"
Конфиг
<?xml version="1.0"?>
<ices>
<!-- run in background -->
<background>1</background>
<!-- where logs, etc go. -->
<logpath>/var/log/ices</logpath>
<logfile>ices.log</logfile>
<!-- 1=error,2=warn,3=info,4=debug -->
<loglevel>4</loglevel>
<!-- set this to 1 to log to the console instead of to the file above -->
<consolelog>0</consolelog>
<!-- optional filename to write process id to -->
<!-- <pidfile>/home/ices/ices.pid</pidfile> -->
<stream>
<!-- metadata used for stream listing (not currently used) -->
<metadata>
<name>Example stream name</name>
<genre>Example genre</genre>
<description>A short description of your stream</description>
</metadata>
<!-- input module
The module used here is the playlist module - it has
'submodules' for different types of playlist. There are
two currently implemented, 'basic', which is a simple
file-based playlist, and 'script' which invokes a command
to returns a filename to start playing. -->
<input>
<module>playlist</module>
<param name="type">basic</param>
<param name="file">/home/Avolon/1</param>
<!-- random play -->
<param name="random">0</param>
<!-- if the playlist get updated that start at the beginning -->
<param name="restart-after-reread">0</param>
<!-- if set to 1 , plays once through, then exits. -->
<param name="once">0</param>
</input>
<!-- Stream instance
You may have one or more instances here. This allows you to
send the same input data to one or more servers (or to different
mountpoints on the same server). Each of them can have different
parameters. This is primarily useful for a) relaying to multiple
independent servers, and b) encoding/reencoding to multiple
bitrates.
If one instance fails (for example, the associated server goes
down, etc), the others will continue to function correctly.
This example defines two instances as two mountpoints on the
same server. -->
<instance>
<!-- Server details:
You define hostname and port for the server here, along with
the source password and mountpoint. -->
<hostname>*,*,*,*</hostname>
<port>888</port>
<password>*</password>
<mount>/example1.ogg</mount>
<!-- Reconnect parameters:
When something goes wrong (e.g. the server crashes, or the
network drops) and ices disconnects from the server, these
control how often it tries to reconnect, and how many times
it tries to reconnect. Delay is in seconds.
If you set reconnectattempts to -1, it will continue
indefinately. Suggest setting reconnectdelay to a large value
if you do this.
-->
<reconnectdelay>2</reconnectdelay>
<reconnectattempts>5</reconnectattempts>
<!-- maxqueuelength:
This describes how long the internal data queues may be. This
basically lets you control how much data gets buffered before
ices decides it can't send to the server fast enough, and
either shuts down or flushes the queue (dropping the data)
and continues.
For advanced users only.
-->
<maxqueuelength>80</maxqueuelength>
<!-- Live encoding/reencoding:
Currrently, the parameters given here for encoding MUST
match the input data for channels and sample rate. That
restriction will be relaxed in the future.
-->
<encode>
<nominal-bitrate>64000</nominal-bitrate> <!-- bps. e.g. 64000 for 64 kbps -->
<samplerate>44100</samplerate>
<channels>2</channels>
</encode>
</instance>
</stream>
</ices>
блин че делать незнаю ((| следующие → |