Форум русскоязычного сообщества Ubuntu


Получить помощь и пообщаться с другими пользователями Ubuntu можно
на irc канале #ubuntu-ru в сети Freenode
и в Jabber конференции ubuntu@conference.jabber.ru

Автор Тема: Ubuntu 12.04 и d-link DGE-560T  (Прочитано 15451 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн iva_ubuntu

  • Автор темы
  • Новичок
  • *
  • Сообщений: 10
    • Просмотр профиля
Ubuntu 12.04 и d-link DGE-560T
« : 12 Сентября 2012, 12:12:29 »
Доброго времени суток Установил Ubuntu server 32bit Сервер не увидел 2 карточки d-link DGE-560T

lspci
00:00.0 Host bridge: Intel Corporation Ivy Bridge DRAM Controller (rev 09)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 05)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation C202 Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 Ethernet controller: D-Link System Inc DGE-528T Gigabit Ethernet Adapter (rev 06)
02:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
03:02.0 VGA compatible controller: Silicon Motion, Inc. SM712 LynxEM+ (rev b0)



sudo lshw -C network
  *-network
       description: Ethernet interface
       product: 82579LM Gigabit Network Connection
       vendor: Intel Corporation
       physical id: 19
       bus info: pci@0000:00:19.0
       logical name: eth0
       version: 05
       serial: 00:1e:67:51:7c:97
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=1.5.1-k duplex=full firmware=0.13-4 ip=10.1.1.230 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       resources: irq:43 memory:c1b00000-c1b1ffff memory:c1b70000-c1b70fff ioport:4040(size=32)
  *-network UNCLAIMED
       description: Ethernet controller
       product: DGE-528T Gigabit Ethernet Adapter
       vendor: D-Link System Inc
       physical id: 0
       bus info: pci@0000:01:00.0
       version: 06
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd cap_list
       configuration: latency=0
       resources: ioport:3000(size=256) memory:c1020000-c1020fff memory:c1c00000-c1c03fff memory:c1000000-c101ffff
  *-network DISABLED
       description: Ethernet interface
       product: 82574L Gigabit Network Connection
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: eth1
       version: 00
       serial: 00:1e:67:51:7c:96
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=1.5.1-k firmware=2.1-0 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:16 memory:c1a00000-c1a1ffff ioport:2000(size=32) memory:c1a20000-c1a23fff


Драйвера скачанные с оф сайта и с Диска не ставятся по файлу РидМи помогите

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Ubuntu 12.04 и d-link DGE-560T
« Ответ #1 : 12 Сентября 2012, 12:59:39 »
СЮДА
вот
cd
wget -q http://paste.ubuntu.com/11221900/ -O- | sed '/+=start=/,/-=end=/!d;/+=start=/d;/-=end=/d' | base64 -d > r8168-8.039.00.sh
chmod +x r8168-8.039.00.sh
sudo ./r8168-8.039.00.sh
sudo reboot

(Нажмите, чтобы показать/скрыть)
« Последнее редактирование: 19 Мая 2015, 12:14:51 от victor00000 »
Wars ~.o

Оффлайн iva_ubuntu

  • Автор темы
  • Новичок
  • *
  • Сообщений: 10
    • Просмотр профиля
Re: Ubuntu 12.04 и d-link DGE-560T
« Ответ #2 : 12 Сентября 2012, 14:23:53 »
 lspci -knn | grep "Eth\|Net" -A2
00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network Co                                                                                                                                                             nnection [8086:1502] (rev 05)
        Subsystem: Intel Corporation Device [8086:357a]
        Kernel driver in use: e1000e
--
02:00.0 Ethernet controller [0200]: D-Link System Inc DGE-528T Gigabit Ethernet                                                                                                                                                              Adapter [1186:4300] (rev 06)
        Subsystem: D-Link System Inc Device [1186:4b10]
        Kernel modules: r8169
03:00.0 Ethernet controller [0200]: D-Link System Inc DGE-528T Gigabit Ethernet                                                                                                                                                              Adapter [1186:4300] (rev 06)
        Subsystem: D-Link System Inc Device [1186:4b10]
        Kernel modules: r8169
04:00.0 Ethernet controller [0200]: Intel Corporation 82574L Gigabit Network Con                                                                                                                                                             nection [8086:10d3]
        Subsystem: Intel Corporation Device [8086:357a]
        Kernel driver in use: e1000e

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Ubuntu 12.04 и d-link DGE-560T
« Ответ #3 : 12 Сентября 2012, 14:50:28 »
wget victor2012.info/r8168-r8169.txt -O- 2>/dev/null | tee ~/r8168r8169.sh
chmod +x ~/r8168r8169.sh
~/r8168r8169.sh
Wars ~.o

Оффлайн iva_ubuntu

  • Автор темы
  • Новичок
  • *
  • Сообщений: 10
    • Просмотр профиля
Re: Ubuntu 12.04 и d-link DGE-560T
« Ответ #4 : 12 Сентября 2012, 15:17:41 »
Если я правильно понял то выполнять код надо построчно в итоге получаю

sudo wget victor2012.info/r8168-r8169.txt -O- 2>/dev/null | tee ~/r8168r8169.sh

картинка


if [ "$UID" != "0" ];then
echo 'root?'
exit
fi
cd ~
if [ ! -f r8169-6.017.00.tar.bz2 ];then
rm -r r816[8-9]-*
wget victor2012.info/r8169-6.017.00.tar.bz2
wget victor2012.info/r8168-8.031.00.tar.bz2
[ ! -f r8169-6.017.00.tar.bz2 ] && echo 'error internet :(' && exit
[ ! -f r8168-8.031.00.tar.bz2 ] && echo 'error internet :(' && exit
[ "`md5sum r8169-6.017.00.tar.bz2 | awk '{print $1}'`" != "396d7e28d573bde416fbdfdef723f4bd" ] && rm r8169-6.017.00.tar.bz2 && echo 'md5sum error :(' && exit
[ "`md5sum r8168-8.031.00.tar.bz2 | awk '{print $1}'`" != "ec1654f02e2dad930bbeb0210ddab7e5" ] && rm r8168-8.031.00.tar.bz2 && echo 'md5sum error :(' && exit
apt-get install build-essential -y
echo OK
tar xf r8169-6.017.00.tar.bz2
tar xf r8168-8.031.00.tar.bz2
fi
echo -n "r8169 ..."
cd r8169-6.017.00
make clean 2>&1 >/dev/null
make 2>&1 > /tmp/r8169.error
er=`cat /tmp/r8169.error | grep -i "error\|ошибка"`
if [ "$er" != "" ];then
cat /tmp/r8169.error
echo 'ERROR (ОШИБКА) :('
exit
fi
make install 2>&1 >/dev/null
echo " OK"
echo -n "r8168 ..."
cd ../r8168-8.031.00
make clean 2>&1 >/dev/null
make 2>&1 > /tmp/r8168.error
er=`cat /tmp/r8168.error | grep -i "error\|ошибка"`
if [ "$er" != "" ];then
cat /tmp/r8168.error
echo 'ERROR (ОШИБКА) :('
exit
fi
make install 2>&1 >/dev/null
depmod -a
echo " OK"
echo 'reboot :)'



ivg@gateway:~$ sudo chmod +x ~/r8168r8169.sh

ivg@gateway:~$ sudo ~/r8168r8169.sh
r8169 ...make: *** /lib/modules/3.2.0-30-generic-pae/build: No such file or directory.  Stop.
make[1]: *** [clean] Error 2
make: *** [clean] Error 2
make: *** /lib/modules/3.2.0-30-generic-pae/build: No such file or directory.  Stop.
make[1]: *** [clean] Error 2
make: *** [clean] Error 2
make: *** /lib/modules/3.2.0-30-generic-pae/build: No such file or directory.  Stop.
make[1]: *** [install] Error 2
make: *** [install] Error 2
 OK
r8168 ...make: *** /lib/modules/3.2.0-30-generic-pae/build: No such file or directory.  Stop.
make[1]: *** [clean] Error 2
make: *** [clean] Error 2
make: *** /lib/modules/3.2.0-30-generic-pae/build: No such file or directory.  Stop.
make[1]: *** [clean] Error 2
make: *** [clean] Error 2
make: *** /lib/modules/3.2.0-30-generic-pae/build: No such file or directory.  Stop.
make[1]: *** [install] Error 2
make: *** [install] Error 2
 OK
reboot :)

Соответственно после ребута картина та-же

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Ubuntu 12.04 и d-link DGE-560T
« Ответ #5 : 12 Сентября 2012, 15:21:39 »
sudo lshw -C network
Wars ~.o

Оффлайн iva_ubuntu

  • Автор темы
  • Новичок
  • *
  • Сообщений: 10
    • Просмотр профиля
Re: Ubuntu 12.04 и d-link DGE-560T
« Ответ #6 : 12 Сентября 2012, 15:23:38 »
 *-network UNCLAIMED
       description: Ethernet controller
       product: DGE-528T Gigabit Ethernet Adapter
       vendor: D-Link System Inc
       physical id: 0
       bus info: pci@0000:02:00.0
       version: 06
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd cap_list
       configuration: latency=0
       resources: ioport:4000(size=256) memory:c1b20000-c1b20fff memory:c2700000-c2703fff memory:c2720000-c273ffff
  *-network
       description: Ethernet interface
       product: 82579LM Gigabit Network Connection
       vendor: Intel Corporation
       physical id: 19
       bus info: pci@0000:00:19.0
       logical name: eth0
       version: 05
       serial: 00:1e:67:51:7c:97
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=1.5.1-k duplex=full firmware=0.13-4 ip=10.1.1.230 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       resources: irq:45 memory:c1c00000-c1c1ffff memory:c1c70000-c1c70fff ioport:5040(size=32)
  *-network UNCLAIMED
       description: Ethernet controller
       product: DGE-528T Gigabit Ethernet Adapter
       vendor: D-Link System Inc
       physical id: 0
       bus info: pci@0000:03:00.0
       version: 06
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd cap_list
       configuration: latency=0
       resources: ioport:3000(size=256) memory:c1020000-c1020fff memory:c1d00000-c1d03fff memory:c1000000-c101ffff
  *-network DISABLED
       description: Ethernet interface
       product: 82574L Gigabit Network Connection
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: eth1
       version: 00
       serial: 00:1e:67:51:7c:96
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=1.5.1-k firmware=2.1-0 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:16 memory:c1a00000-c1a1ffff ioport:2000(size=32) memory:c1a20000-c1a23fff

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Ubuntu 12.04 и d-link DGE-560T
« Ответ #7 : 12 Сентября 2012, 15:25:10 »
/lib/modules/3.2.0-30-generic-pae/build нету.
тогда
sudo apt-get install build-essential
Wars ~.o

Оффлайн iva_ubuntu

  • Автор темы
  • Новичок
  • *
  • Сообщений: 10
    • Просмотр профиля
Re: Ubuntu 12.04 и d-link DGE-560T
« Ответ #8 : 12 Сентября 2012, 15:26:06 »
sudo apt-get install build-essential
Чтение списков пакетов… Готово
Построение дерева зависимостей
Чтение информации о состоянии… Готово
Уже установлена самая новая версия build-essential.
обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 2 пакетов не обновлено.

Пользователь решил продолжить мысль 12 Сентября 2012, 15:27:11:
я его ставил но он почему-то не появляется

Пользователь решил продолжить мысль 12 Сентября 2012, 15:30:38:
/lib/modules/3.2.0-30-generic-pae
/lib/modules/3.2.0-29-generic-pae

Вот такие 2 папки есть в наличии не в одной из них нету build

« Последнее редактирование: 12 Сентября 2012, 15:30:38 от iva_ubuntu »

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Ubuntu 12.04 и d-link DGE-560T
« Ответ #9 : 12 Сентября 2012, 15:43:31 »
Цитировать
и 2 пакетов не обновлено.
sudo apt-get upgrade?
« Последнее редактирование: 12 Сентября 2012, 15:50:17 от victor00000 »
Wars ~.o

Оффлайн iva_ubuntu

  • Автор темы
  • Новичок
  • *
  • Сообщений: 10
    • Просмотр профиля
Re: Ubuntu 12.04 и d-link DGE-560T
« Ответ #10 : 12 Сентября 2012, 15:51:42 »
sudo apt-get upgrade
Чтение списков пакетов… Готово
Построение дерева зависимостей
Чтение информации о состоянии… Готово
обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.


sudo apt-get install build-essential
Чтение списков пакетов… Готово
Построение дерева зависимостей
Чтение информации о состоянии… Готово
Уже установлена самая новая версия build-essential.
обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.

sudo ~/r8168r8169.sh
r8169 ...make: *** /lib/modules/3.2.0-30-generic-pae/build: No such file or directory.  Stop.
make[1]: *** [clean] Error 2
make: *** [clean] Error 2
make: *** /lib/modules/3.2.0-30-generic-pae/build: No such file or directory.  Stop.
make[1]: *** [clean] Error 2
make: *** [clean] Error 2
make: *** /lib/modules/3.2.0-30-generic-pae/build: No such file or directory.  Stop.
make[1]: *** [install] Error 2
make: *** [install] Error 2
 OK
r8168 ...make: *** /lib/modules/3.2.0-30-generic-pae/build: No such file or directory.  Stop.
make[1]: *** [clean] Error 2
make: *** [clean] Error 2
make: *** /lib/modules/3.2.0-30-generic-pae/build: No such file or directory.  Stop.
make[1]: *** [clean] Error 2
make: *** [clean] Error 2
make: *** /lib/modules/3.2.0-30-generic-pae/build: No such file or directory.  Stop.
make[1]: *** [install] Error 2
make: *** [install] Error 2
 OK
reboot :)


Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Ubuntu 12.04 и d-link DGE-560T
« Ответ #11 : 12 Сентября 2012, 15:55:36 »
aptitude search . | grep "3.2.0-30-generic-pae\|3.2.0-29-generic-pae"?
Wars ~.o

Оффлайн iva_ubuntu

  • Автор темы
  • Новичок
  • *
  • Сообщений: 10
    • Просмотр профиля
Re: Ubuntu 12.04 и d-link DGE-560T
« Ответ #12 : 12 Сентября 2012, 15:56:40 »
ivg@gateway:/lib$ aptitude search . | grep "3.2.0-30-generic-pae\|3.2.0-29-generic-pae"
ivg@gateway:/lib$

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Ubuntu 12.04 и d-link DGE-560T
« Ответ #13 : 12 Сентября 2012, 16:00:44 »
aptitude search . | grep "3.2.0-30\|3.2.0-29"
Wars ~.o

Оффлайн iva_ubuntu

  • Автор темы
  • Новичок
  • *
  • Сообщений: 10
    • Просмотр профиля
Re: Ubuntu 12.04 и d-link DGE-560T
« Ответ #14 : 12 Сентября 2012, 16:01:52 »
p   linux-headers-3.2.0-29          - Header files related to Linux kernel versi
p   linux-headers-3.2.0-29-generic  - Linux kernel headers for version 3.2.0 on
p   linux-headers-3.2.0-29-generic- - Linux kernel headers for version 3.2.0 on
p   linux-headers-3.2.0-29-virtual  - Linux kernel headers for version 3.2.0 on
p   linux-headers-3.2.0-30          - Header files related to Linux kernel versi
p   linux-headers-3.2.0-30-generic  - Linux kernel headers for version 3.2.0 on
p   linux-headers-3.2.0-30-generic- - Linux kernel headers for version 3.2.0 on
p   linux-headers-3.2.0-30-virtual  - Linux kernel headers for version 3.2.0 on
p   linux-headers-lbm-3.2.0-29-gene - Header files related to linux-backports-mo
p   linux-headers-lbm-3.2.0-29-gene - Header files related to linux-backports-mo
p   linux-headers-lbm-3.2.0-30-gene - Header files related to linux-backports-mo
p   linux-headers-lbm-3.2.0-30-gene - Header files related to linux-backports-mo
p   linux-image-3.2.0-29-generic    - Linux kernel image for version 3.2.0 on 32
i   linux-image-3.2.0-29-generic-pa - Linux kernel image for version 3.2.0 on 32
p   linux-image-3.2.0-29-virtual    - Linux kernel image for version 3.2.0 on 32
p   linux-image-3.2.0-30-generic    - Linux kernel image for version 3.2.0 on 32
i A linux-image-3.2.0-30-generic-pa - Linux kernel image for version 3.2.0 on 32
p   linux-image-3.2.0-30-virtual    - Linux kernel image for version 3.2.0 on 32
p   linux-image-extra-3.2.0-29-virt - Linux kernel image for version 3.2.0 on 32
p   linux-image-extra-3.2.0-30-virt - Linux kernel image for version 3.2.0 on 32
p   linux-tools-3.2.0-29            - Linux kernel version specific tools for ve
p   linux-tools-3.2.0-30            - Linux kernel version specific tools for ve

 

Страница сгенерирована за 0.051 секунд. Запросов: 25.