LinuxForum.Fans
Тема

Интернет в Ubuntu 10.04

Автор: HOWARD 27 сообщений 15513 просмотров
#158835

Так , что мы имеем сейчас:

А имеем мы только что установленную Ubuntu 10.04.2 LTS.


Имеем файлы:

alex-1-12-81@alex-laptop:~$ cd /etc/network
alex-1-12-81@alex-laptop:/etc/network$ ls
if-down.d if-post-down.d if-pre-up.d if-up.d interfaces
alex-1-12-81@alex-laptop:/etc/network$

Дальнейшие мои действия, проверяем на наличие сетевой карты:

alex-1-12-81@alex-laptop:~$ sudo lspci | grep eth
[sudo] password for alex-1-12-81:
alex-1-12-81@alex-laptop:~$ sudo lspci
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 18)
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 18)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 06)
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 06)
01:00.0 VGA compatible controller: ATI Technologies Inc Broadway PRO [Mobility Radeon HD 5800 Series]
01:00.1 Audio device: ATI Technologies Inc Juniper HDMI Audio [Radeon HD 5700 Series]
02:00.0 Ethernet controller: Atheros Communications AR8151 v1.0 Gigabit Ethernet (rev c0)
09:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)

ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 05)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 05)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 05)
ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 05)
ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 05)
ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 05)
alex-1-12-81@alex-laptop:~$

Что дальше?

#158842

Точнее "См.Выше."

или ещё точнее:

Termo: О настройках сети

P.S. Если тему не закроют постараюсь завтра отписаться о результате. Всем Спасибо за терпение и помощь.

#158855
ALEX-1-12-81 написал:
Если сетевая карта в системе не определяется , то как её настраивать?

абсолютно также, как и в венде
скачать драйвера Atheros (мать скорее всего Asus) и установить руками
предварительно прочитав файл README или INSTALL


02:00.0 Ethernet controller: Atheros Communications AR8151 v1.0 Gigabit Ethernet (rev c0)

всё 10.04 определила. что еще надо???

#159457

Сверив две версии удостоверился, что всё идентично, только разница у файлов /etc/udev/rules.d/70-persistent-net.rules:

Ubuntu 10.04.2 LTS

# 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 0x168c:0x002b (ath9k)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="18:f4:6a:27:47:0e", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

Ubuntu 11.04

# This file maintains persistent names for network interfaces.
# See udev(7) for syntax.
#
# Entries are automatically added by the 75-persistent-net-generator.rules
# file; however you are also free to add your own entries.

# PCI device 0x1969:0x1073 (atl1c)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="60:eb:69:5a:7b:9c", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x168c:0x002b (ath9k)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="18:f4:6a:27:47:0e", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

Похоже не у меня одного проблема с: Ethernet controller: Atheros Communications AR8151 v1.0 Gigabit Ethernet (rev c0)

Вот похожие темы:

http://forum.ubuntu.ru/index.php?topic=113250.0 , http://forum.ubuntu.ru/index.php?topic=108183.0

P.S. Будем всё же ставить драйвер.

#159476

Всё чудесно установилось. Пишу данное сообщение с версии Ubuntu 10.04.2 LTS.
Читал что после обновления ядра драйвер может отвалиться, соответственно повторяем процедуру установки драйвера и пользуемся интернетом.

#159479

Действительно после обновления ядра повторяем процедуру:

alex-1-12-81@alex-laptop:~$ cd /home/alex-1-12-81/AR81Family-linux-v1.0.1.14/srcalex-1-12-81@alex-laptop:~/AR81Family-linux-v1.0.1.14/src$ sudo su
[sudo] password for alex-1-12-81:
root@alex-laptop:/home/alex-1-12-81/AR81Family-linux-v1.0.1.14/src# make installmake -C /lib/modules/2.6.32-32-generic/build SUBDIRS=/home/alex-1-12-81/AR81Family-linux-v1.0.1.14/src modules
make[1]: Вход в каталог `/usr/src/linux-headers-2.6.32-32-generic'
make[2]: Внимание: Файл `/home/alex-1-12-81/AR81Family-linux-v1.0.1.14/src/.kcompat.o.cmd' имеет будущее время 1,1e+04 s модификации
CC [M] /home/alex-1-12-81/AR81Family-linux-v1.0.1.14/src/at_common_main.o
CC [M] /home/alex-1-12-81/AR81Family-linux-v1.0.1.14/src/atl1e_main.o
CC [M] /home/alex-1-12-81/AR81Family-linux-v1.0.1.14/src/atl1c_main.o
CC [M] /home/alex-1-12-81/AR81Family-linux-v1.0.1.14/src/atl1c_hw.o
CC [M] /home/alex-1-12-81/AR81Family-linux-v1.0.1.14/src/atl1e_hw.o
CC [M] /home/alex-1-12-81/AR81Family-linux-v1.0.1.14/src/atl1e_param.o
CC [M] /home/alex-1-12-81/AR81Family-linux-v1.0.1.14/src/atl1c_param.o
CC [M] /home/alex-1-12-81/AR81Family-linux-v1.0.1.14/src/atl1e_ethtool.o
CC [M] /home/alex-1-12-81/AR81Family-linux-v1.0.1.14/src/atl1c_ethtool.o
CC [M] /home/alex-1-12-81/AR81Family-linux-v1.0.1.14/src/kcompat.o
LD [M] /home/alex-1-12-81/AR81Family-linux-v1.0.1.14/src/atl1e.o
make[2]: предупреждение: Неправильный ход часов. Сборка может быть неполной.
Building modules, stage 2.
make[2]: Внимание: Файл `/home/alex-1-12-81/AR81Family-linux-v1.0.1.14/src/.atl1e.mod.o.cmd' имеет будущее время 1,1e+04 s модификации
MODPOST 1 modules
CC /home/alex-1-12-81/AR81Family-linux-v1.0.1.14/src/atl1e.mod.o
LD [M] /home/alex-1-12-81/AR81Family-linux-v1.0.1.14/src/atl1e.ko
make[2]: предупреждение: Неправильный ход часов. Сборка может быть неполной.
make[1]: Выход из каталога `/usr/src/linux-headers-2.6.32-32-generic'
make: Внимание: Файл `atl1e.7.gz' имеет будущее время 1,1e+04 s модификации
# remove all old versions of the driver
find /lib/modules/2.6.32-32-generic -name atl1e.ko -exec rm -f {} \; || true
find /lib/modules/2.6.32-32-generic -name atl1e.ko.gz -exec rm -f {} \; || true
install -D -m 644 atl1e.ko /lib/modules/2.6.32-32-generic/kernel/drivers/net/atl1e/atl1e.ko
/sbin/depmod -a || true
install -D -m 644 atl1e.7.gz /usr/share/man/man7/atl1e.7.gz
man -c -P'cat > /dev/null' atl1e || true
atl1e.
make: предупреждение: Неправильный ход часов. Сборка может быть неполной.
root@alex-laptop:/home/alex-1-12-81/AR81Family-linux-v1.0.1.14/src# modprobe atl1e
root@alex-laptop:/home/alex-1-12-81/AR81Family-linux-v1.0.1.14/src# exit
alex-1-12-81@alex-laptop:~/AR81Family-linux-v1.0.1.14/src$

Или покороче:

mkdir AR81Family
mv AR81Family-Linux-v1.0.1.9.tar.gz AR81Family
cd AR81Family
tar zxvf AR81Family-Linux-v1.0.1.9.tar.gz
sudo su
make install
modprobe atl1e
exit
Войдите или зарегистрируйтесь, чтобы ответить.