Install NIC baru


Iseng iseng saya mencoba untuk mengkompile driver DLink DFE 538Tx ethernet card yang harus saya pasang di Fedora Core, lewat text mode/terminal/console . kebetulan ada cd untuk linux disertakan di cd drivernya ‘make’, but hayhay .. keluar error …

Code:
[malc@centrale LINUX]$ make 
In file included from dfe528.c:91:
/usr/include/linux/config.h:5:2: error: #error Incorrectly using glibc headers for a kernel module
dfe528.c:106:26: error: linux/string.h: No such file or directory
dfe528.c:107:25: error: linux/timer.h: No such file or directory
dfe528.c:110:26: error: linux/malloc.h: No such file or directory
In file included from /usr/include/linux/interrupt.h:9,
                 from dfe528.c:111:
/usr/include/asm/bitops.h:327:2:gcc -DMODULE -Wall -Wstrict-prototypes -O6 -I/usr/src/linux/include -c dfe528.c
 warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:328:2: warning: #warning Using kernel headers in userspace: atomicity not guaranteed
In file included from dfe528.c:111:
/usr/include/linux/interrupt.h:12:25: error: asm/hardirq.h: No such file or directory
/usr/include/linux/interrupt.h:13:25: error: asm/softirq.h: No such file or directory
dfe528.c:114:31: error: linux/etherdevice.h: No such file or directory
dfe528.c:115:26: error: linux/skbuff.h: No such file or directory
In file included from dfe528.c:116:
/usr/include/asm/processor.h:73: error: array type has incomplete element type
In file included from dfe528.c:118:
/usr/include/asm/io.h:4:2: warning:

*** Kemudian saya coba menginstall kernel-devel, mudah mudahan ini penyakitnya …..

[root@fc6 LINUX]# [root@fc6 LINUX]# yum install kernel-devel
—> Package kernel-devel.i686 0:2.6.25-14.fc9 set to be installed
–> Finished Dependency Resolution

Dependencies Resolved
-bash: [root@fc6: command not found
[root@fc6 LINUX]# Loaded plugins: refresh-packagekit
-bash: Loaded: command not found
[root@fc6 LINUX]# fedora                                                   | 2.4 kB     00:00
-bash: 2.4: command not found
-bash: fedora: command not found
[root@fc6 LINUX]# updates                                                  | 2.6 kB     00:00
-bash: updates: command not found
-bash: 2.6: command not found

[root@fc6 LINUX]# Setting up Install Process
-bash: Setting: command not found
[root@fc6 LINUX]# Parsing package install arguments
-bash: Parsing: command not found
[root@fc6 LINUX]# Resolving Dependencies
-bash: Resolving: command not found
[root@fc6 LINUX]# –> Running transaction check
=============================================================================
Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
kernel-devel            i686       2.6.25-14.fc9    fedora            5.1 M

Transaction Summary
=============================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 5.1 M
Is this ok [y/N]: y
Downloading Packages:
-bash: –: command not found
(1/1): kernel-devel-2.6.25-14.fc9.i686.rpm               | 5.1 MB     01:54
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
[root@fc6 LINUX]# —> Package kernel-devel.i686 0:2.6.25-14.fc9 set to be installed
-bash: —: command not found
[root@fc6 LINUX]# –> Finished Dependency Resolution
-bash: –: command not found
[root@fc6 LINUX]#
[root@fc6 LINUX]# Dependencies Resolved
-bash: Dependencies: command not found
[root@fc6 LINUX]#
[root@fc6 LINUX]# =============================================================================
-bash: =============================================================================: command not found
[root@fc6 LINUX]#  Package                 Arch       Version          Repository        Size
-bash: Package: command not found
[root@fc6 LINUX]# =============================================================================
-bash: =============================================================================: command not found
[root@fc6 LINUX]# Installing:
-bash: Installing:: command not found
[root@fc6 LINUX]#  kernel-devel            i686       2.6.25-14.fc9    fedora            5.1 M
-bash: kernel-devel: command not found
[root@fc6 LINUX]#
[root@fc6 LINUX]# Transaction Summary
-bash: Transaction: command not found
[root@fc6 LINUX]# =============================================================================
-bash: =============================================================================: command not found
[root@fc6 LINUX]# Install      1 Package(s)
-bash: syntax error near unexpected token `(‘
[root@fc6 LINUX]# Update       0 Package(s)
-bash: syntax error near unexpected token `(‘
[root@fc6 LINUX]# Remove       0 Package(s)
-bash: syntax error near unexpected token `(‘
[root@fc6 LINUX]#
[root@fc6 LINUX]# Total download size: 5.1 M
-bash: Total: command not found
[root@fc6 LINUX]# Is this ok [y/N]: y
-bash: Is: command not found
[root@fc6 LINUX]# Downloading Packages:
-bash: Downloading: command not found
[root@fc6 LINUX]# (1/1): kernel-devel-2.6.25-14.fc9.i686.rpm               | 5.1 MB     01:54
-bash: syntax error near unexpected token `:’
[root@fc6 LINUX]# Running rpm_check_debug
-bash: Running: command not found
[root@fc6 LINUX]# Running Transaction Test
-bash: Running: command not found
[root@fc6 LINUX]# Finished Transaction Test
-bash: Finished: command not found
[root@fc6 LINUX]# Transaction Test Succeeded
-bash: Transaction: command not found
[root@fc6 LINUX]# Running Transaction
-bash: Running: command not found
[root@fc6 LINUX]#   Installing: kernel-devel                 ######################### [1/1]
-bash: Installing:: command not found
[root@fc6 LINUX]#
[root@fc6 LINUX]# Installed: kernel-devel.i686 0:2.6.25-14.fc9
-bash: Installed:: command not found
[root@fc6 LINUX]# Complete!

Complete alias lengkap katanya , then aku coba lagi make atawa compile

Tetep gagal ….

eh pake perintah

[root@fc6 LINUX]# system-config-network

kasih nama NIC satunya eth1 dan ip address dan bla bla bla nya … langsung detect sendiri ….. hmmmmm geloooo gelooo

~ oleh desktopku pada Juli 23, 2009.

Satu Tanggapan to “Install NIC baru”

  1. of course like your web-site but you need to test the spelling on quite a few of your posts.

    Several of them are rife with spelling problems
    and I in finding it very bothersome to inform the truth nevertheless
    I’ll certainly come back again.

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

 
%d blogger menyukai ini: