Bom Dia Gente!
Fiz todas configurações que estão sendo discutidas nesse forum, mais não sei o que acontece não está funcionando aqui.
Sempre que uso o apt-get update alguns repositórios dão certos e outro retornam umas mensagem.
"407 Proxy Authentication Required"
Quando uso a Sentral de Programas de Ubuntu da mesma mensagem.
Fiz a primeira configuração que foi a criação do arquivo /etc/apt.conf.d/00proxy com a seguinte configuração.
Acquire::HTTP::Proxy "
http://msn:bil9%@192.168.1.1:3128/";
Acquire::FTP::Proxy "
http://msn:bil9%@192.168.1.1:3128/";
E fiz também as alterações nos arquivos:
/etc/apt/apt.conf
Acquire{
HTTP::proxy "
http://msn:bil9%@192.168.1.1:3128";
FTP::proxy "
http://msn:bil9%@192.168.1.1:3128";
}
/etc/environment
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
http_proxy="
http://msn:bil9%@192.168.1.1:3128"
ftp_proxy="
http://msn:bil9%@192.168.1.1:3128"
Acquire {
HTTP::Proxy msn:bil9%@192.168.1.1:3128;
FTP::Proxy msn:bil9%@192.168.1.1:3128;
};
alias wget="wget --proxy-user=usuario --proxy-passwd=senha"
Obs. A primeria linha ja estava no arquivo.
/etc/profile
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ -d /etc/profile.d ]; then
for i in /etc/profile.d/*.sh; do
if [ -r $i ]; then
. $i
fi
done
unset i
fi
if [ "$PS1" ]; then
if [ "$BASH" ]; then
# The file bash.bashrc already sets the default PS1.
# PS1='\h:\w\$ '
if [ -f /etc/bash.bashrc ]; then
. /etc/bash.bashrc
fi
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '
else
PS1='$ '
fi
fi
fi
export http_proxy ftp_proxy