If you get this error, simply replace your proxy settings socks host from “localhost” to “127.0.0.1″
And voilà !
If you get this error, simply replace your proxy settings socks host from “localhost” to “127.0.0.1″
And voilà !
After installed ATI proprietary driver, I cannot use graphic card 2 or 3.
The ATI panel give me an “unknown hardware” for these 2 others cards.
The soluce is simple, launch this command and reboot :
sudo aticonfig –adapter=all –initial=dual-head
Enjoy !
If you need driver for your network card under Ubuntu 10.04, follow instructions :
2 very usefull programs to :
apt-get install gcolor2 agave
Quelle est la probabilité durant une année quelconque qu’il y ait un accident nucléaire majeur, connaissant la probabilité d’accident majeur par réacteur et le nombre de réacteurs en service ?
Comme je n’ai plus fait de combinatoire depuis longtemps, je demandais aux commentateurs de me corriger si nécessaire. eneite (2) m’assure que ma formule est correcte, je la reproduis donc ici.
R(n) = 1 – (1-p)^n
Disons que le risque pour un réacteur est d’un accident majeur tous les cinq mille ans. S’il n’y a qu’un réacteur au monde, le risque d’un accident majeur pour une année x est de 0,2 %o. Si j’ai 443 réacteurs en service dans le monde – ce qui est apparemment le cas aujourd’hui – quel est le risque d’un accident majeur sur une année, et par exemple, sur l’année en cours ?
R(443) = 1 – (0,9998)^443 = 8,48 %
On voit donc que même avec une probabilité d’accident qui paraît extrêmement faible : un accident seulement tous les 5 000 ans pour un réacteur, on débouche pourtant sur une probabilité de 8,48 % d’accidents majeurs par an si l’on a 443 réacteurs en service, c’est-à-dire un niveau très loin d’être négligeable.
This is a little cookquide to setup a ssh tunnel through a proxy web. Your DNS queries will also be tunneled.
First step, you need a ssh server on a remote server.
Configure it to listen to port 443 :
file : /etc/ssh/sshd_config
Port 22
Port 443
Then you need to install corkscrew (on your local machine) :
sudo apt-get install corkscrew
Then create (or edit) your local ssh config file (~/.ssh/config) :
Host ssh-proxy
HostName your-remote-ssh-server
# Local SSH Server port
Port 443
# Keep-Alive
KeepAlive yes
ProtocolKeepAlives 60
# Use proxy with login/passwd
# ProxyCommand /usr/bin/corkscrew address-of-proxy 3128 %h %p /home/user/.ssh/proxy_auth
# Use proxy without authentication
ProxyCommand /usr/bin/corkscrew address-of-proxy 3128 %h %p
If your proxy need authentication, enable first ProxyCommand line and add in ~/.ssh/proxy_auth credentials for proxy :
user:password
Then launch your ssh tunnel through the proxy
ssh -D 9999 user@ssh-proxy
From this point, you can use your application with proxy socks enabled to localhost:9999 and you can reach the web.
if you just need to browse, you can directly forward your DNS queries through proxy socks with (in Firefox) :
about:config search string “dns” enable to “true” key “network.proxy.socks_remote_dns”
And now, how to send your DNS queries also through your ssh tunnel.
Install socat tool on your remote server AND on your local machine :
sudo apt-get install socat
On your remote server, launch socat to transform TCP request from 5353 to DNS UPD queries 53 (in this command, we use Google DNS) :
socat tcp4-listen:5353,reuseaddr,fork UDP:8.8.8.8:53
On your local machine, launch socat to transform local DNS queries to TCP port 5353 (need to be launched as root, since we listen on port 53) :
sudo socat -T15 udp4-recvfrom:53,reuseaddr,fork tcp:localhost:5353
Edit your /etc/resolv.conf file to add a “local DNS server” :
nameserver localhost
And eventually, launch a a specific DNS tunnel over SSH :
ssh -N -L 5353:localhost:5353 user@your-remote-server
You can ping real world
To resume, once tools are installed, you need to launch (in this order) :
First terminal :
Second terminal :
Third terminal :
Thanks to : http://zarb.org/~gc/html/udp-in-ssh-tunneling.html / http://tcweb.org/wiki/Traverser_un_proxy
Create a symlink and avoid the smb://…..file….
ln -s ./.gvfs network