tbejava
(usa Ubuntu)
Enviado em 22/05/2013 - 11:23h
Nada Buck, não sei se errei, mas segui o seu post e não deu certo.
root@tiago-PC:~# cd /home/tiago/Documentos
root@tiago-PC:~/Documentos# tar -xvjf r8168-8.035.00.tar.bz2
r8168-8.035.00/
r8168-8.035.00/autorun.sh
r8168-8.035.00/src/
r8168-8.035.00/src/rtl_eeprom.h
r8168-8.035.00/src/rtltool.h
r8168-8.035.00/src/Makefile
r8168-8.035.00/src/Makefile_linux24x
r8168-8.035.00/src/rtl_eeprom.c
r8168-8.035.00/src/r8168.h
r8168-8.035.00/src/r8168_n.c
r8168-8.035.00/src/r8168_asf.c
r8168-8.035.00/src/r8168_asf.h
r8168-8.035.00/src/rtltool.c
r8168-8.035.00/Makefile
r8168-8.035.00/README
root@tiago-PC:~/Documentos# lsmod
Module Size Used by
nls_iso8859_1 12713 1
parport_pc 28152 0
ppdev 17073 0
rfcomm 42641 0
bnep 18036 2
bluetooth 228619 10 bnep,rfcomm
snd_hda_codec_hdmi 36913 1
snd_hda_codec_realtek 78399 1
arc4 12615 2
coretemp 13355 0
kvm_intel 132891 0
snd_hda_intel 39619 3
snd_hda_codec 136453 3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
kvm 443165 1 kvm_intel
snd_hwdep 13602 1 snd_hda_codec
snd_pcm 97451 3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc 18710 2 snd_pcm,snd_hda_intel
ghash_clmulni_intel 13259 0
cryptd 20373 1 ghash_clmulni_intel
sparse_keymap 13890 0
snd_seq_midi 13324 0
rtl8192ce 53594 0
snd_seq_midi_event 14899 1 snd_seq_midi
rtlwifi 79673 1 rtl8192ce
snd_rawmidi 30180 1 snd_seq_midi
rtl8192c_common 48779 1 rtl8192ce
mac80211 606457 3 rtlwifi,rtl8192c_common,rtl8192ce
snd_seq 61554 2 snd_seq_midi_event,snd_seq_midi
i915 600351 3
snd_seq_device 14497 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 29425 2 snd_pcm,snd_seq
snd 68876 16 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device
wmi 19070 0
video 19390 1 i915
drm_kms_helper 49394 1 i915
cfg80211 510937 2 mac80211,rtlwifi
joydev 17377 0
soundcore 12680 1 snd
mac_hid 13205 0
drm 286313 4 i915,drm_kms_helper
lpc_ich 17061 0
mei 41158 0
i2c_algo_bit 13413 1 i915
microcode 22881 0
lp 17759 0
parport 46345 3 lp,ppdev,parport_pc
psmouse 95870 0
serio_raw 13215 0
hid_generic 12540 0
usbhid 47074 0
hid 101002 2 hid_generic,usbhid
usb_storage 57204 1
ahci 25731 2
libahci 31364 1 ahci
r8169 67446 0
root@tiago-PC:~/Documentos# rmmod r8169
root@tiago-PC:~/Documentos# cd r8168-8.035.00
root@tiago-PC:~/Documentos/r8168-8.035.00# ./autorun.sh
Check old driver and unload it.
Build the module and install
/home/tiago/Documentos/r8168-8.035.00/src/r8168_n.c:14545:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_init_board’
/home/tiago/Documentos/r8168-8.035.00/src/r8168_n.c:14715:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_init_sequence’
/home/tiago/Documentos/r8168-8.035.00/src/r8168_n.c:14968:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_init_one’
/home/tiago/Documentos/r8168-8.035.00/src/r8168_n.c:15132:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_remove_one’
/home/tiago/Documentos/r8168-8.035.00/src/r8168_n.c:17651:12: error: ‘rtl8168_init_one’ undeclared here (not in a function)
/home/tiago/Documentos/r8168-8.035.00/src/r8168_n.c:17652:2: error: implicit declaration of function ‘__devexit_p’ [-Werror=implicit-function-declaration]
/home/tiago/Documentos/r8168-8.035.00/src/r8168_n.c:17652:25: error: ‘rtl8168_remove_one’ undeclared here (not in a function)
/home/tiago/Documentos/r8168-8.035.00/src/r8168_n.c:17301:12: warning: ‘rtl8168_poll’ defined but not used [-Wunused-function]
/home/tiago/Documentos/r8168-8.035.00/src/r8168_n.c:1368:1: warning: ‘rtl8168_xmii_reset_pending’ defined but not used [-Wunused-function]
/home/tiago/Documentos/r8168-8.035.00/src/r8168_n.c:1383:1: warning: ‘rtl8168_xmii_link_ok’ defined but not used [-Wunused-function]
/home/tiago/Documentos/r8168-8.035.00/src/r8168_n.c:1395:1: warning: ‘rtl8168_xmii_reset_enable’ defined but not used [-Wunused-function]
/home/tiago/Documentos/r8168-8.035.00/src/r8168_n.c:1544:1: warning: ‘rtl8168_link_option’ defined but not used [-Wunused-function]
/home/tiago/Documentos/r8168-8.035.00/src/r8168_n.c:1823:1: warning: ‘rtl8168_set_speed_xmii’ defined but not used [-Wunused-function]
/home/tiago/Documentos/r8168-8.035.00/src/r8168_n.c:2151:13: warning: ‘rtl8168_gset_xmii’ defined but not used [-Wunused-function]
/home/tiago/Documentos/r8168-8.035.00/src/r8168_n.c:2886:13: warning: ‘rtl8168_get_mac_version’ defined but not used [-Wunused-function]
/home/tiago/Documentos/r8168-8.035.00/src/r8168_n.c:3002:1: warning: ‘rtl8168_print_mac_version’ defined but not used [-Wunused-function]
/home/tiago/Documentos/r8168-8.035.00/src/r8168_n.c:3044:1: warning: ‘rtl8168_hw_phy_config’ defined but not used [-Wunused-function]
/home/tiago/Documentos/r8168-8.035.00/src/r8168_n.c:13681:1: warning: ‘rtl8168_release_board’ defined but not used [-Wunused-function]
/home/tiago/Documentos/r8168-8.035.00/src/r8168_n.c:14914:17: warning: ‘rtl8168_try_msi’ defined but not used [-Wunused-function]
cc1: some warnings being treated as errors
make[3]: *** [/home/tiago/Documentos/r8168-8.035.00/src/r8168_n.o] Error 1
make[2]: *** [_module_/home/tiago/Documentos/r8168-8.035.00/src] Error 2
make[1]: *** [modules] Error 2
make: *** [modules] Error 2
root@tiago-PC:~/Documentos/r8168-8.035.00# lsmod | grep r8168
root@tiago-PC:~/Documentos/r8168-8.035.00# blacklist r8169 driver
blacklist: command not found
root@tiago-PC:~/Documentos/r8168-8.035.00# /lib/udev/write_net_rules all_interfaces
missing $INTERFACE
root@tiago-PC:~/Documentos/r8168-8.035.00#