LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1364|回复: 10

archLinux RTL8111/8168B网卡问题

[复制链接]
发表于 2009-2-10 19:27:57 | 显示全部楼层 |阅读模式
archlinux默认安装后的RTL8111/8168B驱动模块是r8169, 上不了网,谁碰到类似的问题,请共享下解决的方法。。。

ifconfig:
eth0      Link encap:Ethernet  HWaddr 00:1F:C6:4A:1E:F6  
          inet addr:192.168.9.253  Bcast:192.168.9.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:18 Base address:0xa000

lo        Link encapocal Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:33 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3696 (3.6 Kb)  TX bytes:3696 (3.6 Kb)
============================================================
lspci:
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation Unknown device 042e (rev a1)
03:00.0 Network controller: Atheros Communications, Inc. AR5418 802.11a/b/g/n Wireless PCI Express Adapter (rev 01)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
08:03.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
08:03.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
08:03.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
08:03.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
08:03.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
===================================================================
lsmod:
Module                  Size  Used by
r8169                  25352  0
joydev                  8512  0
firewire_ohci          15360  0
firewire_core          36032  1 firewire_ohci
crc_itu_t               2304  1 firewire_core
ohci1394               31408  0
ieee1394               81720  1 ohci1394
pcspkr                  2944  0
sdhci                  14860  0
mmc_core               23300  1 sdhci
usbhid                 38048  0
hid                    26240  1 usbhid
ff_memless              5256  1 usbhid
rtc_cmos                7328  0
rtc_core               14984  1 rtc_cmos
rtc_lib                 2944  1 rtc_core
psmouse                35984  0
serio_raw               5764  0
sg                     26652  0
intel_agp              21524  0
agpgart                27224  1 intel_agp
tsdev                   6720  0
evdev                   8192  0
thermal                10888  0
processor              24788  1 thermal
button                  6160  0
battery                 8324  0
ac                      4100  0
snd_seq_oss            29312  0
snd_seq_midi_event      6528  1 snd_seq_oss
snd_seq                46672  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          6924  2 snd_seq_oss,snd_seq
snd_hda_intel         277532  0
snd_hwdep               7300  1 snd_hda_intel
snd_pcm_oss            37024  0
snd_pcm                69124  2 snd_hda_intel,snd_pcm_oss
snd_timer              19332  2 snd_seq,snd_pcm
snd_page_alloc          8072  2 snd_hda_intel,snd_pcm
snd_mixer_oss          14592  1 snd_pcm_oss
snd                    45028  9 snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               6496  1 snd
reiserfs              234880  2
sd_mod                 22784  4
sr_mod                 14756  0
cdrom                  34336  1 sr_mod
ehci_hcd               30732  0
uhci_hcd               22416  0
usbcore               112520  4 usbhid,ehci_hcd,uhci_hcd
ata_piix               11652  3
ata_generic             5380  0
libata                108084  2 ata_piix,ata_generic
========================================
rc.conf
#
# /etc/rc.conf - Main Configuration for Arch Linux
#

#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.utf8"
HARDWARECLOCK="localtime"
TIMEZONE="Canada/Pacific"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USEcolor="yes"

#
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# Scan hardware and load required modules at bootup
MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST=()
#
# Modules to load at boot-up (in this order)
#   - prefix a module with a ! to blacklist it
#
MODULES=(r8169 ath_hal ath_pci wlan snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="Arch"
#
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
# interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
eth0="eth0 192.168.9.253 netmask 255.255.255.0 broadcast 192.168.9.255"
INTERFACES=(lo eth0)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.9.1"
ROUTES=(gateway)
#
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network-profiles
#
#NET_PROFILES=(main)

#
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng network netfs crond)


# End of file
===========================================
resolv.conf

#
# /etc/resolv.conf
#

#search <yourdomain.tld>
#nameserver <ip>
nameserver 124.16.136.254

# End of file
==========================
发表于 2009-2-10 19:39:49 | 显示全部楼层
最好是发一些错误提示或者日志之类的信息上来,否则不太好回答
回复 支持 反对

使用道具 举报

发表于 2009-2-10 23:14:23 | 显示全部楼层
去掉lo="lo 127.0.0.1"这一行和INTERFACES=(lo eth0)中的l0    希望LZ检查下resolv.conf这个DNS配置的文件
回复 支持 反对

使用道具 举报

发表于 2009-2-10 23:42:32 | 显示全部楼层
用2008.06装的?
可能是内核模块有问题,装下最新的内核试下吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-2-11 09:34:49 | 显示全部楼层
非常感谢各位的回答,我会把大家提供的方法实验下的,说明下:安装好的archlinux 内核版本是2.6.22不是2008.06的版本
回复 支持 反对

使用道具 举报

发表于 2009-2-11 09:47:02 | 显示全部楼层
2.6.22应该是2008.03吧?
回复 支持 反对

使用道具 举报

发表于 2009-2-11 16:47:37 | 显示全部楼层
lz试一下realtek官方的r8168驱动,我的此网卡试过也没能驱动,只好加的独立网卡
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-2-11 17:54:10 | 显示全部楼层
我这网卡是笔记本带的 加个独立网卡!!!那就郁闷老!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-2-11 22:01:20 | 显示全部楼层
用2008.06安装后问题解决了 可以上网了!!!
回复 支持 反对

使用道具 举报

发表于 2009-2-12 08:59:45 | 显示全部楼层
我的F3400网卡是8011,也是驱不起来。。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表