15.10 can't connect to wired connection

I was previously toying with using 15.04 on my office computer, and it worked умер out of the box. This week I decided to give it another shot with 15.10 (using кусок веревки 2, then the past 3 days' daily builds). I understand these пахал not будьте перечитан versions, but I doubt that in the next 12 hours, developers will be focused on this specific issue versus обитайте release-related matters.

Anyways, when I boot either the installer or live интерфейс, I cannot connect to my network путь my wired connection. The wired connection worked find in 15.04, and works умер when I flip back to Windows. гve tried running lshw-c network, followed by ifconfig, and it is detecting the run-of-the-mill Realtek onboard adapter (model, MAC, и т.д.), and actively trying to get an IP. In the GUI, the network-менеджер indicator also шоу that it's trying to get an IP, but it periodically gives up.

If I manually set an IP with ifconfig, гm still unable to ping any other devices on the network.

Any suggestions?

Edit: NIC is в Realtek RTL8111E on an Asrock B75M-DGS R2.0 board

1
задан 27 October 2015 в 01:48

3 ответа

Получите IP от DHCP:

$ sudo dhclient enp3s0
1
ответ дан 7 December 2019 в 13:52

У нас есть подобная проблема о 2 машинах после 15,10 установок (не, обновляют). IP-адрес succefully полученный, работы локальной сети хорошо, но сбои интернет-соединения (проверяют с помощью ping-запросов connamd, показал 100%-ю потерю при проверке с помощью ping-запросов именем хоста или IP). Эта ссылка не решает мою проблему completly (я не вижу соединения в сетевом-manaher GUI), но теперь у меня есть доступ к СЕТИ.

мой проводной адаптер - enp2s0

vvs@SVIST:~$ ifconfig -a
enp2s0    Link encap:Ethernet  HWaddr 94:de:80:c6:b8:9b  
          inet addr:169.254.29.91  Bcast:169.254.29.255  Mask:255.255.255.0
          inet6 addr: fe80::96de:80ff:fec6:b89b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:183 errors:0 dropped:0 overruns:0 frame:0
          TX packets:117 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:19571 (19.5 KB)  TX bytes:13798 (13.7 KB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:244 errors:0 dropped:0 overruns:0 frame:0
          TX packets:244 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:23330 (23.3 KB)  TX bytes:23330 (23.3 KB)


vvs@SVIST:~$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         169.254.29.20   0.0.0.0         UG    100    0        0 enp2s0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 enp2s0
169.254.29.0    0.0.0.0         255.255.255.0   U     100    0        0 enp2s0


vvs@SVIST:~$ ping 169.254.29.20
PING 169.254.29.20 (169.254.29.20) 56(84) bytes of data.
64 bytes from 169.254.29.20: icmp_seq=1 ttl=254 time=0.325 ms
64 bytes from 169.254.29.20: icmp_seq=2 ttl=254 time=0.346 ms
64 bytes from 169.254.29.20: icmp_seq=3 ttl=254 time=0.343 ms
^C
--- 169.254.29.20 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.325/0.338/0.346/0.009 ms
vvs@SVIST:~$ ping 169.254.29.10
PING 169.254.29.10 (169.254.29.10) 56(84) bytes of data.
64 bytes from 169.254.29.10: icmp_seq=1 ttl=64 time=0.558 ms
64 bytes from 169.254.29.10: icmp_seq=2 ttl=64 time=0.162 ms
64 bytes from 169.254.29.10: icmp_seq=3 ttl=64 time=0.195 ms
^C
--- 169.254.29.10 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.162/0.305/0.558/0.179 ms
vvs@SVIST:~$ ping google.com
PING google.com (216.58.209.174) 56(84) bytes of data.
^C
--- google.com ping statistics ---
7 packets transmitted, 0 received, 100% packet loss, time 6046ms

vvs@SVIST:~$ dig @169.254.29.20 google.com

; <<>> DiG 9.9.5-11ubuntu1-Ubuntu <<>> @169.254.29.20 google.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16085
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 5

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;google.com.            IN  A

;; ANSWER SECTION:
google.com.     154 IN  A   216.58.209.174

;; AUTHORITY SECTION:
google.com.     166990  IN  NS  ns4.google.com.
google.com.     166990  IN  NS  ns3.google.com.
google.com.     166990  IN  NS  ns1.google.com.
google.com.     166990  IN  NS  ns2.google.com.

;; ADDITIONAL SECTION:
ns1.google.com.     341077  IN  A   216.239.32.10
ns2.google.com.     341077  IN  A   216.239.34.10
ns3.google.com.     341077  IN  A   216.239.36.10
ns4.google.com.     341077  IN  A   216.239.38.10

;; Query time: 30 msec
;; SERVER: 169.254.29.20#53(169.254.29.20)
;; WHEN: Mon Oct 26 15:06:13 EET 2015
;; MSG SIZE  rcvd: 191

, что я сделал: Отредактируйте файл “/etc/network/interfaces” и изменение, это похоже на это:

#The loopback network interface - this was default string
auto lo
iface lo inet loopback

#The primary network interface - I've add this
iface enp2s0 inet static 
address 169.254.29.64
netmask 255.255.255.0 
gateway 169.254.29.20
dns-nameservers 169.254.29.20
auto enp2s0
0
ответ дан 7 December 2019 в 13:52

Это должно помочь. Подключите к Интернету альтернативный путь и выполнение в терминале:

sudo apt-get install r8168-dkms
sudo modprobe -r r8169
sudo modprobe r8168

, Если Вы не можете соединить альтернативный путь, затем необходимо будет загрузить r8168-dkms и dkms пакеты отдельно.

1
ответ дан 7 December 2019 в 13:52

Другие вопросы по тегам:

Похожие вопросы: