blank screen on ubuntu ati graphics

sudo vi /etc/default/grub


GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"
GRUB_CMDLINE_LINUX=""

sudo update-grub

gmail and yahoo smtp, pop3, imap

Gmail POP3, IMAP and SMTP Settings

Incoming Mail (POP3) Server – requires SSL:
pop.gmail.com
Use SSL: Yes
Port: 995

Outgoing Mail (SMTP) Server – requires TLS:
smtp.gmail.com (use authentication)
Use Authentication: Yes
Use STARTTLS: Yes (some clients call this SSL)
Port: 465 or 587

Account Name: your full email address (including @gmail.com or @your_domain.com)
Email Address: your email address (username@gmail.com or username@your_domain.com)
Password: your Gmail password

IMAP Settings:
Incoming Mail (IMAP) Server – requires SSL: imap.gmail.com
Use SSL: Yes
Port: 993

Outgoing Mail (SMTP) Server – requires TLS: smtp.gmail.com (use authentication)
Use Authentication: Yes
Use STARTTLS: Yes
Port: 465 or 587

Account Name: your full email address (including @gmail.com) Google Apps users, please enter username@your_domain.com
Email Address: your full Gmail email address (username@gmail.com) Google Apps users, please enter username@your_domain.com
Password: your Gmail password


Yahoo POP3 and SMTP Settings

Incoming Mail Server (POP3): pop.mail.yahoo.com
Use SSL, port: 995

Outgoing Mail Server (SMTP): smtp.mail.yahoo.com
Use SSL, port: 465, use authentication

Account Name/Username: youraccount@yahoo.com
Email address: youraccount@yahoo.com
Password: Your Yahoo! password

Змонтувати папку з віддаленого сервера в локальну файлову систему Ubuntu

Для того, щоб змонтувати віддалену папку в локальну файлову систему можна використати утиліту sshfs

Спочатку встановимо sshfs

apt-get install sshfs

І сама команда монтування

sshfs user@remote_server:/path/to/folder /path/to/local/folder

Huawei E173 переключення в режим “модем”

вставимо модем Huawei E173 в комп’ютер і перевіримо чи побачила чи його ОС:
lsusb

Серед інших бачимо рядок:

… Bus 001 Device 004: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552/E1800/E173 (HSPA modem)

Шукаємо сам модем в каталозі /dev :
ls /dev

Серед безлічі пристроїв з'явилися :

ttyUSB0
ttyUSB1
ttyUSB2

Це і є наш модем

Ставимо програму minicon :
apt-get install minicom

Запускаємо її наалаштування :

minicom - s

Вибираємо " Налаштування послідовного порту" , в пункт " послідовний порт" ставимо / dev/ttyUSB0

Більше нічого не змінюємо в налаштуваннях. Для перемикання режимів роботи в модемах huawei використовуються наступні at - команди:

AT^U2DIAG=0 - пристрій в режимі тільки модем

AT^U2DIAG=1 - пристрій в режимі модем + CD- ROM

AT^U2DIAG=255 - пристрій в режимі модем + CD- ROM + Card Reader

AT^U2DIAG=256 - пристрій в режимі модем + Card Reader

Включаємо режим " тільки модем " :
AT^U2DIAG=0

У відповідь отримуємо " ОК " . Виходимо з програми , для цього тиснемо "Ctrl + A" і "Q" .

От і все...

shibboleth active directory login.conf

При такому форматі файлу login.conf shibboleth почав авторизовувати користувачів через Active Directory

ShibUserPassAuth {
edu.vt.middleware.ldap.jaas.LdapLoginModule required
host=”active-directory-host”
port=”3268″
base=”dc=mydomain,dc=local”
ssl=”false”
userField=”sAMAccountName”
serviceUser=”read-only-user@mydomain.local”
serviceCredential=”secret-password”
subtreeSearch=”true”;
};