Conexão de rede no Xubuntu 14.04 [RESOLVIDO]

13. Re: Conexão de rede no Xubuntu 14.04 [RESOLVIDO]

Josue de Jesus Santos
JJSantos

(usa Gentoo)

Enviado em 26/04/2014 - 13:33h

mcnd2 escreveu:

Então Josué, segue os resultados do comando.

root@inseto-xubuntu:/home/inseto# cat /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x1106:0x3065 (via-rhine)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:15:f2:c6:7e:32", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x1814:0x0302 (rt61pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1c:f0:13:d4:e3", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

# PCI device 0x10ec:0x8139 (8139too)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:7d:cf:f2:10", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# PCI device 0x1106:0x3065 (via-rhine)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0f:ea:26:4a:b0", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"
root@inseto-xubuntu:/home/inseto#


root@inseto-xubuntu:/home/inseto# cat /var/log/syslog

o resultado do comando não ta cabendo no quote, então deixo o link para baixar o txt para verificar o resultado...

>>> http://1drv.ms/1k3UHYv <<<


Oi.

Deixe o arquivo /etc/udev/rules.d/70-persistent-net.rules assim:

# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x10ec:0x8139 (8139too)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:7d:cf:f2:10", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x1814:0x0302 (rt61pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1c:f0:13:d4:e3", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"



  


14. Re: Conexão de rede no Xubuntu 14.04 [RESOLVIDO]

Josue de Jesus Santos
JJSantos

(usa Gentoo)

Enviado em 26/04/2014 - 13:39h

mcnd2 escreveu:

O módulo dessa placa de rede ethernet, pelo que eu pesquisei aqui no sistema é:

8139too

ou

8139cp

Ela é um realtek!

Já executei o comando 'modprobe -a 8139too', mais nada de conexão...


Opá não carrega dois módulos simultaneamente. E carrega-los não irá trazer a conexão ativa.

Vamos confirmar o modulo correto...

# dmesg | grep 8139 



15. Re: Conexão de rede no Xubuntu 14.04 [RESOLVIDO]

Josue de Jesus Santos
JJSantos

(usa Gentoo)

Enviado em 26/04/2014 - 13:41h

mcnd2 escreveu:

Tentei chamar o 'nm-applet' manualmente mais não sobe nenhum ícone no painel para gerenciamento.

O resultado do comando:

inseto@inseto-xubuntu:~$ nm-applet

** (nm-applet:1670): WARNING **: Could not initialize NMClient /org/freedesktop/NetworkManager: The name org.freedesktop.NetworkManager was not provided by any .service files

(nm-applet:1670): nm-applet-WARNING **: Error connecting to ModemManager: Erro ao chamar StartServiceByName para org.freedesktop.ModemManager1: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Cannot launch daemon, file not found or permissions invalid

(nm-applet:1670): nm-applet-WARNING **: Failed to register as an agent: (2) The name org.freedesktop.NetworkManager was not provided by any .service files

(nm-applet:1670): nm-applet-WARNING **: Failed to register as an agent: (2) The name org.freedesktop.NetworkManager was not provided by any .service files
^Z
[1]+ Parado nm-applet
inseto@inseto-xubuntu:~$


...

Como root executando pelo terminal o nm-applet, aparece o ícone no painel mais a rede esta desabilitada, não estando em execução.

O retorno que o comando pelo terminal retorna, é igual como ususário comum, só como uma linha a mais.


nm-applet-Message: using fallback from indicator to GtkStatusIcon



Link para ver o screen...

>>> http://1drv.ms/1hxMiya <<<

>>> http://1drv.ms/1hxMq0x <<<

...


Esqueça o nm-applet por enquanto!


16. Re: Conexão de rede no Xubuntu 14.04 [RESOLVIDO]

Josue de Jesus Santos
JJSantos

(usa Gentoo)

Enviado em 26/04/2014 - 13:44h

mcnd2 escreveu:

Pesquisando um pouco mais, executei os comando a seguir para tentar subir o nm-applet:

inseto@inseto-xubuntu:~$ sudo service network-manager stop
[sudo] password for inseto:
stop: Unknown instance:
inseto@inseto-xubuntu:~$ sudo rm /var/lib/NetworkManager/NetworkManager.state
inseto@inseto-xubuntu:~$ sudo service network-manager start
network-manager start/running, process 2571
inseto@inseto-xubuntu:~$


O ícone no painel não apareceu, já em Conexão de Rede > Configurações apareceu as duas interface de rede, como mostrado no screen.

FF:FF:FF:FF:FF:BF (eth0)

00:OF:EA:26:4A:B0 (?)


>>> http://1drv.ms/1k5PpvA <<<

Sendo que ainda não consigo conexão!...


FF:FF:FF:FF:FF:BF (eth0) Essa interface não existe!

00:OF:EA:26:4A:B0 (?) Essa é a sua placa de rede, mais tem configurar o arquivo /etc/udev/rules.d/70-persistent-net.rules, subir o modulo correto.



17. Re: Conexão de rede no Xubuntu 14.04 [RESOLVIDO]

Glauber GF
mcnd2

(usa Debian)

Enviado em 26/04/2014 - 13:49h

OK.

Vou lá pro PC executar o sugerido.

Só uma obseservação que "wlan0" provavelmente é o módulo da placa wireless da minha máquina quando fiz a instalação do xubuntu no HD, mais a outra é realmente da máquina em questão.

...


18. Re: Conexão de rede no Xubuntu 14.04 [RESOLVIDO]

Glauber GF
mcnd2

(usa Debian)

Enviado em 26/04/2014 - 14:01h

Executei as alterações no arquivo mencionado.

Segue o resultado do comando dmesg:

root@inseto-xubuntu:/home/inseto# dmesg | grep 8139
[ 0.155339] pci 0000:00:09.0: [10ec:8139] type 00 class 0x020000
[ 1.975631] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
[ 1.975694] 8139cp 0000:00:09.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip, use 8139too
[ 2.014951] 8139too: 8139too Fast Ethernet driver 0.9.28
[ 2.024807] 8139too 0000:00:09.0 eth0: RealTek RTL8139 at 0x00019000, ff:ff:ff:ff:ff:ff, IRQ 17
root@inseto-xubuntu:/home/inseto#


...

Reiniciei o sistema e ainda sem conexão!

Em Configurações > Conexão de Rede não me mostra nenhuma interface de rede!

Uma outra observação é que toda vez que o sistema e carregado, mostra a mensagem como descrita no início do tópico.


19. Re: Conexão de rede no Xubuntu 14.04 [RESOLVIDO]

Josue de Jesus Santos
JJSantos

(usa Gentoo)

Enviado em 26/04/2014 - 14:44h

mcnd2 escreveu:

Executei as alterações no arquivo mencionado.

Segue o resultado do comando dmesg:

root@inseto-xubuntu:/home/inseto# dmesg | grep 8139
[ 0.155339] pci 0000:00:09.0: [10ec:8139] type 00 class 0x020000
[ 1.975631] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
[ 1.975694] 8139cp 0000:00:09.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip, use 8139too
[ 2.014951] 8139too: 8139too Fast Ethernet driver 0.9.28
[ 2.024807] 8139too 0000:00:09.0 eth0: RealTek RTL8139 at 0x00019000, ff:ff:ff:ff:ff:ff, IRQ 17
root@inseto-xubuntu:/home/inseto#


...

Reiniciei o sistema e ainda sem conexão!

Em Configurações > Conexão de Rede não me mostra nenhuma interface de rede!

Uma outra observação é que toda vez que o sistema e carregado, mostra a mensagem como descrita no início do tópico.


Voltei.

Você está com dois driver carregados, ponha um deles no blacklist.

primeiro o 8139cp
reinicie e teste, depois faça o mesmo com o 8139too


20. Re: Conexão de rede no Xubuntu 14.04 [RESOLVIDO]

Josue de Jesus Santos
JJSantos

(usa Gentoo)

Enviado em 26/04/2014 - 14:46h

mcnd2 escreveu:

OK.

Vou lá pro PC executar o sugerido.

Só uma obseservação que "wlan0" provavelmente é o módulo da placa wireless da minha máquina quando fiz a instalação do xubuntu no HD, mais a outra é realmente da máquina em questão.

...


Então remova o wlan0, pensei que era note.

E posta ai:


# cat /etc/modules
# cat /etc/modprobe.d/blacklist.conf



21. Re: Conexão de rede no Xubuntu 14.04 [RESOLVIDO]

Glauber GF
mcnd2

(usa Debian)

Enviado em 26/04/2014 - 15:36h

Desculpe a demora, pois estava trocando a bateria do meu carro que estava parado já uma semana.

Vamos lá!

Não coloquei nenhum no backlist, pois como pensou que era notebook!...

Segue os resultados dos comandos sugeridos:

root@inseto-xubuntu:/home/inseto# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.

lp
root@inseto-xubuntu:/home/inseto# cat /etc/modprobe.d/blacklist.conf
# This file lists those modules which we don't want to be loaded by
# alias expansion, usually so some other driver will be loaded for the
# device instead.

# evbug is a debug tool that should be loaded explicitly
blacklist evbug

# these drivers are very simple, the HID drivers are usually preferred
blacklist usbmouse
blacklist usbkbd

# replaced by e100
blacklist eepro100

# replaced by tulip
blacklist de4x5

# causes no end of confusion by creating unexpected network interfaces
blacklist eth1394

# snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
# hardware on its own (Ubuntu bug #2011, #6810)
blacklist snd_intel8x0m

# Conflicts with dvb driver (which is better for handling this device)
blacklist snd_aw2

# causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
blacklist i2c_i801

# replaced by p54pci
blacklist prism54

# replaced by b43 and ssb.
blacklist bcm43xx

# most apps now use garmin usb driver directly (Ubuntu: #114565)
blacklist garmin_gps

# replaced by asus-laptop (Ubuntu: #184721)
blacklist asus_acpi

# low-quality, just noise when being used for sound playback, causes
# hangs at desktop session start (Ubuntu: #246969)
blacklist snd_pcsp

# ugly and loud noise, getting on everyone's nerves; this should be done by a
# nice pulseaudio bing (Ubuntu: #77010)
blacklist pcspkr

# EDAC driver for amd76x clashes with the agp driver preventing the aperture
# from being initialised (Ubuntu: #297750). Blacklist so that the driver
# continues to build and is installable for the few cases where its
# really needed.
blacklist amd76x_edac
root@inseto-xubuntu:/home/inseto#


...


22. Re: Conexão de rede no Xubuntu 14.04 [RESOLVIDO]

Josue de Jesus Santos
JJSantos

(usa Gentoo)

Enviado em 26/04/2014 - 15:42h

Testa ai:


# echo "modprobe 8139too" | tee -a /etc/modules
# echo "blacklist 8139cp" | tee -a /etc/modprobe.d/blacklist.conf
# cat /etc/modules
# cat /etc/modprobe.d/blacklist.conf





23. Re: Conexão de rede no Xubuntu 14.04 [RESOLVIDO]

Glauber GF
mcnd2

(usa Debian)

Enviado em 26/04/2014 - 15:48h

Josue A. Santos escreveu:

Testa ai:


# echo "modprobe 8139too" | tee -a /etc/modules
# echo "blacklist 8139cp" | tee -a /etc/modprobe.d/blacklist.conf
# cat /etc/modules
# cat /etc/modprobe.d/blacklist.conf




Esses comando foi, para adicionar o módulo 8139too e o outro para colocar o módulo 8139cp no backlist para não subir no boot do sistema? Só para aprender os comandos, rS...

Segue o resultado:

root@inseto-xubuntu:/home/inseto# echo "modprobe 8139too" | tee -a /etc/modules
modprobe 8139too
root@inseto-xubuntu:/home/inseto# echo "blacklist 8139cp" | tee -a /etc/modprobe.d/blacklist.conf
blacklist 8139cp
root@inseto-xubuntu:/home/inseto# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.

lp
modprobe 8139too
root@inseto-xubuntu:/home/inseto# cat /etc/modprobe.d/blacklist.conf
# This file lists those modules which we don't want to be loaded by
# alias expansion, usually so some other driver will be loaded for the
# device instead.

# evbug is a debug tool that should be loaded explicitly
blacklist evbug

# these drivers are very simple, the HID drivers are usually preferred
blacklist usbmouse
blacklist usbkbd

# replaced by e100
blacklist eepro100

# replaced by tulip
blacklist de4x5

# causes no end of confusion by creating unexpected network interfaces
blacklist eth1394

# snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
# hardware on its own (Ubuntu bug #2011, #6810)
blacklist snd_intel8x0m

# Conflicts with dvb driver (which is better for handling this device)
blacklist snd_aw2

# causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
blacklist i2c_i801

# replaced by p54pci
blacklist prism54

# replaced by b43 and ssb.
blacklist bcm43xx

# most apps now use garmin usb driver directly (Ubuntu: #114565)
blacklist garmin_gps

# replaced by asus-laptop (Ubuntu: #184721)
blacklist asus_acpi

# low-quality, just noise when being used for sound playback, causes
# hangs at desktop session start (Ubuntu: #246969)
blacklist snd_pcsp

# ugly and loud noise, getting on everyone's nerves; this should be done by a
# nice pulseaudio bing (Ubuntu: #77010)
blacklist pcspkr

# EDAC driver for amd76x clashes with the agp driver preventing the aperture
# from being initialised (Ubuntu: #297750). Blacklist so that the driver
# continues to build and is installable for the few cases where its
# really needed.
blacklist amd76x_edac
blacklist 8139cp
root@inseto-xubuntu:/home/inseto#


Agora reinicia o sistema ou devo rodar mais algum comando?

...


24. Re: Conexão de rede no Xubuntu 14.04 [RESOLVIDO]

Josue de Jesus Santos
JJSantos

(usa Gentoo)

Enviado em 26/04/2014 - 15:53h

mcnd2 escreveu:

Esses comando foi, para adicionar o módulo 8139too e o outro para colocar o módulo 8139cp no backlist para não subir no boot do sistema? Só para aprender os comandos, rS...

r: SIM

Agora reinicia o sistema?

r: SIM

...









Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts