Publicado por modprobe en 9Octubre, 2007
Some days a go i tried to use wget to download some files from internet, and I alway got the error `http://:8080/': Invalid host name, I read the man page but I couldn’t find anything that help me to solve the problem, then I searched in internet but anything again. So I used Opera to download the files, but I was not quite trying to know the strange behavior of wget but I leaf it in peace.
And now while I was testing a c program which uses extern char **environ I saw environ[10]: http_proxy=http://:8080/, I thought I had the answer to the strange behavior of wget, and I was right.
To solve it do
$ unset http_proxy
And in gnome look at System->preferences->Internet->proxy

Be sure to your proxy is well configured or choose direct connection
Publicado en Blog, GNU/Linux, Solaris | Etiquetado: download, http:8080, internet, linux, proxy, unix, wget | Deja un Comentario »
Publicado por modprobe en 17Julio, 2007
Se asume que:
- iwi0 es la interfaz primaria.
- El nombre del nodo es vaio
1. $ sudo hostname -S vaio
2. $ sudo vi /etc/nodename
: edita este archivo de forma que sólo contenga vaio
$ cat /etc/nodename
vaio
3. $ sudo touch /etc/hostame.iwi0
4. $ sudo touch /etc/dhcp.iwi0
5 . $ sudo vi /etc/nsswitch.conf
:edita la linea que continene files, añade dns; quedaría: files dns
6. $ sudo touch /etc/resolv.conf
7. Reiniciar la maquina, o reiniciar servicios de red, o ifconfig iwi0 dhcp, o wificonfig -i iwi0 auto
8. (Opcional) Revisar que /etc/default/dhcpagent tenga RELEASE_ON_SIGTERM=yes. Aunque es preferible configurar estas cuestiones del lado del servidor.
Publicado en Solaris | Deja un Comentario »