[Ubuntu-PT 2159] Re: Problemas com a ligação à net

Bruno Miguel brunoalexandremiguel gmail.com
Quarta-Feira, 13 de Junho de 2007 - 17:53:48 BST


Só tenho uma placa de rede, mais nada.
Segui a tua sugestão e depois configurei o ip com a applet do 
networkmanager. Agora tenho isto no /etc/network/interfaces:

    auto lo
    iface lo inet loopback

    iface eth0 inet static
    address 192.168.1.2
    netmask 255.255.255.0
    gateway 192.168.1.1

    auto eth0


Bruno Santos escreveu:
> Por acaso não é uma lan party da dfi, não?
>
> Tens um ou dois interfaces de rede?
>
> Apaga as alusões às eth do /etc/network/interfaces e tenta usar só o
> NetworkManager (pela nm-applet).
>
> O teu interfaces só deverá ter:
>
> auto lo
> iface lo inet loopback
>
>
>
> On Wed, 2007-06-13 at 16:15 +0100, Bruno Miguel wrote:
>   
>> Corri o comando {sudo /etc/init.d/networking restart} e deu-me este 
>> resultado estranho.
>>
>>     * Reconfiguring network
>>     interfaces...                                          eth1: ERROR
>>     while getting interface flags: No such device
>>     There is already a pid file /var/run/dhclient.eth1.pid with pid
>>     134993416
>>     Internet Systems Consortium DHCP Client V3.0.4
>>     Copyright 2004-2006 Internet Systems Consortium.
>>     All rights reserved.
>>     For info, please visit http://www.isc.org/sw/dhcp/
>>
>>     SIOCSIFADDR: No such device
>>     eth1: ERROR while getting interface flags: No such device
>>     eth1: ERROR while getting interface flags: No such device
>>     Bind socket to interface: No such device
>>     Failed to bring up eth1.
>>     eth2: ERROR while getting interface flags: No such device
>>     There is already a pid file /var/run/dhclient.eth2.pid with pid
>>     134993416
>>     Internet Systems Consortium DHCP Client V3.0.4
>>     Copyright 2004-2006 Internet Systems Consortium.
>>     All rights reserved.
>>     For info, please visit http://www.isc.org/sw/dhcp/
>>
>>     SIOCSIFADDR: No such device
>>     eth2: ERROR while getting interface flags: No such device
>>     eth2: ERROR while getting interface flags: No such device
>>     Bind socket to interface: No such device
>>     Failed to bring up eth2.
>>     ath0: ERROR while getting interface flags: No such device
>>     There is already a pid file /var/run/dhclient.ath0.pid with pid
>>     134993416
>>     Internet Systems Consortium DHCP Client V3.0.4
>>     Copyright 2004-2006 Internet Systems Consortium.
>>     All rights reserved.
>>     For info, please visit http://www.isc.org/sw/dhcp/
>>
>>     SIOCSIFADDR: No such device
>>     ath0: ERROR while getting interface flags: No such device
>>     ath0: ERROR while getting interface flags: No such device
>>     Bind socket to interface: No such device
>>     Failed to bring up ath0.
>>     wlan0: ERROR while getting interface flags: No such device
>>     There is already a pid file /var/run/dhclient.wlan0.pid with pid
>>     134993416
>>     Internet Systems Consortium DHCP Client V3.0.4
>>     Copyright 2004-2006 Internet Systems Consortium.
>>     All rights reserved.
>>     For info, please visit http://www.isc.org/sw/dhcp/
>>
>>     SIOCSIFADDR: No such device
>>     wlan0: ERROR while getting interface flags: No such device
>>     wlan0: ERROR while getting interface flags: No such device
>>     Bind socket to interface: No such device
>>     Failed to bring up wlan0.
>>
>> Não me sabem explicar porque é que isto acontece? A minha placa de rede 
>> é um nvidia nforce2 onboard. O kernel que tenho é o mais generic recente 
>> dos repositórios. Se precisarem de mais informação, digam.
>>
>> Jorge Alves escreveu:
>>     
>>> Caro Bruno,
>>>
>>> O problema que relata não é normal.
>>>
>>> Não sei se já o fez, mas poderia reproduzir aqui na lista o resultado 
>>> do comando ifconfig quando em modo consola?
>>>
>>> Jorge
>>>
>>> */Bruno Miguel <brunoalexandremiguel  gmail.com>/* wrote:
>>>
>>>     Resolvi instalar o Ubuntu 7.04 outra vez, mas o problema
>>>     mantém-se. Agora ocorre com menos frequência, mas isto é
>>>     irritante. Já troquei o cabo de rede e continua na mesma... Ou é
>>>     do hardware ou então algum módulo ou algo que o valha...
>>>
>>>     Ninguém tem ideia do que isto possa ser?
>>>
>>>     On 6/10/07, *Bruno Miguel* <brunoalexandremiguel  gmail.com
>>>     <mailto:brunoalexandremiguel  gmail.com>> wrote:
>>>
>>>         Olá. Tenho tido vários problemas com a minha ligação à net. Os
>>>         programas
>>>         de chat estão sempre a desconectar-se, o browser nem sempre
>>>         consegue
>>>         aceder aos sites, o deluge nem sempre saca; enfim, só dores de
>>>         cabeça e
>>>         o engraçado é que estou ligado a um router.
>>>         Já consegui, penso eu, descobrir a origem do problema: o
>>>         networkmanager.
>>>         Mas ainda não encontrei nenhuma solução. Agradeço toda a ajuda
>>>         que me
>>>         possam dar nisto. Eu chego a ter que reiniciar o computador
>>>         para poder
>>>         ter o acesso à net mais estável.
>>>
>>>
>>>
>>>
>>>     -- 
>>>     Bruno Alexandre dos Santos Miguel --
>>>     ubuntu-pt mailing list
>>>     ubuntu-pt  lists.ubuntu.com
>>>     https://lists.ubuntu.com/mailman/listinfo/ubuntu-pt
>>>
>>>
>>> ------------------------------------------------------------------------
>>> Looking for a deal? Find great prices on flights and hotels 
>>> <http://us.rd.yahoo.com/evt=47094/*http://farechase.yahoo.com/;_ylc=X3oDMTFicDJoNDllBF9TAzk3NDA3NTg5BHBvcwMxMwRzZWMDZ3JvdXBzBHNsawNlbWFpbC1uY20-> 
>>> with Yahoo! FareChase. 
>>>       
>
>
>   



Mais informações acerca da lista ubuntu-pt