Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Ubuntu-Instalacija mrezne kartice...?

[es] :: Linux hardware :: Ubuntu-Instalacija mrezne kartice...?

[ Pregleda: 4251 | Odgovora: 7 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

mardzoni
Mardzoni
Beograd

Član broj: 154877
Poruke: 34
91.150.115.*



Profil

icon Ubuntu-Instalacija mrezne kartice...?18.05.2008. u 20:02 - pre 164 meseci
Jel moze neko da mi objasni kako se instalira drajver za LAN karticu na Linux Ubuntu,imam CD,i u uputstvu pise sledece:


*************************************************
** Silan SC92031 PCI Fast Ethernet Adapter **
** **
** LINUX driver **
*************************************************

Introduction:
=============

The instructions are for linux driver installation. You must
compile the source code to generate sc92031.o and use insmod command to
insert sc92031.o as module.

Contents of the Subdirectory:
=============================

readme.txt This file.
sc92031.c The linux core driver source code file
Makefile Makefile for generating driver object file

Kernel Supported
================
This driver support linux kernel version 2.4.x/2.5.x now.

Installation
============
1) Create a temporary directory:
# mkdir /temp

2) Change to the temporary directory:
#cd /temp

3) Copy driver (sl_linux.tgz) from CD-ROM to the temporary directory, and follow the commands:
# mount -t iso9660 /dev/cdrom /mnt
# cp /mnt/sl_linux.tgz /temp

4) untar the archive file:
# tar xzvf sl_linux.tgz
# cd sc92031

5) Compile the driver source files and it will generate sc92031.o, and
copy it to correct driver installation path (The installation directory
is different in different kernel versions. In 2.4.x kernel, the path is
/lib/modules/KERNEL_VERSION/kernel/drivers/net/, and in 2.2.x kernel,
the path is /lib/modules/KERNEL_VERSION/net/)
# make install

6) Check configuration file (/etc/modules.conf or /etc/conf.modules,it
depend on your Linux distribution) for loading kernel modules. Make sure
there is the following content in the configuration file, where # is
interface number :
alias eth# sc92031

7) Reboot now:
shutdown -r now

8) Install your driver module (If the driver module is in the wrong place,
an error message will appear, and say that can't find the driver
module):
insmod sc92031.o

8) Use ifconfig command to assign the IP address, where # is network
interface number:
ifconfig eth# <IP>

9) Check the interface works:
ping <remote_host_IP>

Uninstallation
==============
Please enter the following commands to uninstall your driver:
# make uninstall

Module Parameter:
=================
The following parameters can be set when we install the driver module. You can add this parameters when
you execute 'insmod' command to install the driver
# insmod sc92031.o work_node =0x00

work_mode
work_mode is used for setting the speed and duplex mode of NIC.Value is as followed:
Autoselect 0x00
M10-half 0x01
M10-full 0x02
M100-half 0x04
M100-full 0x08

If you want to use other modes,it can be changed by the following steps:
# ifdown eth0
# rmmod sc92031
# insmod sc92031.o work_mode= ****




Potpuni sam pocetnik sa linux-om,tako da vas molim da mi neko detaljno opise sta se radi...
Hvala
 
Odgovor na temu

Tyler Durden
Tyler Durden
Beograd

Član broj: 4312
Poruke: 3379
*.adsl.verat.net.



+1365 Profil

icon Re: Ubuntu-Instalacija mrezne kartice...?18.05.2008. u 20:54 - pre 164 meseci
:)
Pa ne može ti se detaljnije od ovoga što si postovao napisati...
Beneath civilization's fragile crust, cold chaos churns...
 
Odgovor na temu

jablan

Član broj: 8286
Poruke: 4541



+709 Profil

icon Re: Ubuntu-Instalacija mrezne kartice...?18.05.2008. u 21:40 - pre 164 meseci
Taj ti se drajver već nalazi u Ubuntuu (barem u poslednjem), nije potrebno da ga posebno instaliraš:

[email protected]:/lib/modules/2.6.24-16-generic/kernel/drivers/net$ ll sc92031.ko
-rw-r--r-- 1 root root 22404 2008-04-10 18:52 sc92031.ko

Da li si siguran da ti kartica nije prepoznata i taj modul već učitan?
 
Odgovor na temu

mardzoni
Mardzoni
Beograd

Član broj: 154877
Poruke: 34
77.46.165.*



Profil

icon Re: Ubuntu-Instalacija mrezne kartice...?20.05.2008. u 00:44 - pre 164 meseci
OK.Pretpostavljam da ovo treba da kucam u terminalu?
Potpuni sam pocetnik sa linuxom...
Hvala
 
Odgovor na temu

jablan

Član broj: 8286
Poruke: 4541



+709 Profil

icon Re: Ubuntu-Instalacija mrezne kartice...?20.05.2008. u 07:37 - pre 164 meseci
Pogrešno pretpostavljaš. Još nije jasno da li uopšte treba da instaliraš drajver ili ne.

Kucaj sledeće komande u terminalu i okači ovde njihov izlaz:

lspci
lsmod
ifconfig
 
Odgovor na temu

mardzoni
Mardzoni
Beograd

Član broj: 154877
Poruke: 34
79.101.210.*



Profil

icon Re: Ubuntu-Instalacija mrezne kartice...?20.05.2008. u 18:35 - pre 164 meseci
Evo:

[email protected]:~$ lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] SiS645DX Host & Memory & AGP Controller
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS962 [MuTIOL Media IO] (rev 04)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:05.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
00:09.0 Ethernet controller: Hangzhou Silan Microelectronics Co., Ltd. RTL8139D [Realtek] PCI 10/100BaseTX ethernet adaptor (rev 01)
00:0a.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
00:0a.1 Input device controller: Creative Labs SB Live! Game Port (rev 07)
00:0c.0 Communication controller: Agere Systems 56k WinModem (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 PRO] (rev 01)
01:00.1 Display controller: ATI Technologies Inc RV280 [Radeon 9200 PRO] (Secondary) (rev 01)
[email protected]:~$ lsmod
Module Size Used by
nls_iso8859_1 4992 1
nls_cp437 6656 1
isofs 36388 1
vfat 14464 1
fat 54556 1 vfat
udf 88612 0
ipv6 267780 8
radeon 124192 2
drm 82580 3 radeon
rfcomm 41744 2
l2cap 25728 13 rfcomm
bluetooth 61156 4 rfcomm,l2cap
ppdev 10372 0
speedstep_lib 6532 0
cpufreq_stats 7104 0
cpufreq_conservative 8712 0
cpufreq_userspace 5284 0
cpufreq_powersave 2688 0
cpufreq_ondemand 9740 0
freq_table 5536 2 cpufreq_stats,cpufreq_ondemand
container 5632 0
sbs 15112 0
dock 11280 0
video 19856 0
output 4736 1 video
sbshc 7680 1 sbs
battery 14212 0
iptable_filter 3840 0
ip_tables 14820 1 iptable_filter
x_tables 16132 1 ip_tables
ac 6916 0
lp 12324 0
evdev 13056 3
parport_pc 36260 1
parport 37832 3 ppdev,lp,parport_pc
serio_raw 7940 0
psmouse 40336 0
snd_cmipci 38528 2
snd_opl3_lib 12928 1 snd_cmipci
snd_mpu401_uart 9728 1 snd_cmipci
snd_seq_dummy 4868 0
pcspkr 4224 0
emu10k1_gp 4608 0
snd_emu10k1_synth 8064 0
snd_emux_synth 36224 1 snd_emu10k1_synth
gameport 16008 3 snd_cmipci,emu10k1_gp
snd_seq_virmidi 8192 1 snd_emux_synth
snd_seq_midi_emul 7552 1 snd_emux_synth
snd_emu10k1 146880 4 snd_emu10k1_synth
snd_ac97_codec 101028 1 snd_emu10k1
ac97_bus 3072 1 snd_ac97_codec
snd_pcm_oss 42144 0
snd_mixer_oss 17920 1 snd_pcm_oss
snd_seq_oss 35584 0
snd_seq_midi 9376 0
snd_rawmidi 25760 4 snd_mpu401_uart,snd_seq_virmidi,snd_emu10k1,snd_seq_midi
snd_pcm 78596 4 snd_cmipci,snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_page_alloc 11400 2 snd_emu10k1,snd_pcm
snd_util_mem 5632 2 snd_emux_synth,snd_emu10k1
snd_hwdep 10500 3 snd_opl3_lib,snd_emux_synth,snd_emu10k1
snd_seq_midi_event 8320 3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi
snd_seq 54224 9 snd_seq_dummy,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 24836 4 snd_opl3_lib,snd_emu10k1,snd_pcm,snd_seq
snd_seq_device 9612 9 snd_opl3_lib,snd_seq_dummy,snd_emu10k1_synth,snd_emux_synth,snd_emu10k1,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
button 9232 0
snd 56996 27 snd_cmipci,snd_opl3_lib,snd_mpu401_uart,snd_seq_dummy,snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_rawmidi,snd_pcm,snd_hwdep,snd_seq,snd_timer,snd_seq_device
sc92031 17796 0
soundcore 8800 1 snd
i2c_sis96x 6148 0
i2c_core 24832 1 i2c_sis96x
shpchp 34452 0
pci_hotplug 30880 1 shpchp
sis_agp 10116 1
agpgart 34760 2 drm,sis_agp
ext3 136712 1
jbd 48404 1 ext3
mbcache 9600 1 ext3
loop 18948 2
sg 36880 0
sr_mod 17956 1
cdrom 37408 1 sr_mod
sd_mod 30720 3
usb_storage 73664 1
libusual 19108 1 usb_storage
pata_sis 15236 2
pata_acpi 8320 0
floppy 59588 0
ata_generic 8324 0
ehci_hcd 37900 0
ohci_hcd 25348 0
libata 159344 3 pata_sis,pata_acpi,ata_generic
usbcore 146028 5 usb_storage,libusual,ehci_hcd,ohci_hcd
scsi_mod 151436 5 sg,sr_mod,sd_mod,usb_storage,libata
thermal 16796 0
processor 36872 1 thermal
fan 5636 0
fbcon 42912 0
tileblit 3456 1 fbcon
font 9472 1 fbcon
bitblit 6784 1 fbcon
softcursor 3072 1 bitblit
fuse 50580 5
[email protected]:~$ ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1088 errors:0 dropped:0 overruns:0 frame:0
TX packets:1088 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:54400 (53.1 KB) TX bytes:54400 (53.1 KB)

[email protected]:~$

 
Odgovor na temu

unleaded

Član broj: 114756
Poruke: 72
*.teol.net.



Profil

icon Re: Ubuntu-Instalacija mrezne kartice...?20.05.2008. u 19:52 - pre 164 meseci
Citat:
Kernel Supported
================
This driver support linux kernel version 2.4.x/2.5.x now.
Nista od kompajliranja, kernel 2.6.x nije podrzan.

Modul
Citat:
sc92031 17796 0
ti je vec ucitan i ocigledno ne radi.

Citat:
00:09.0 Ethernet controller: Hangzhou Silan Microelectronics Co., Ltd. RTL8139D [Realtek] PCI 10/100BaseTX ethernet adaptor (rev 01)

Mogao bi da probas sa Realtek-drajverom (u terminalu):
Code:
sudo rmmod sc92031
sudo modprobe 8139too
ifconfig

Mozda i upali.
Programmer is an organism that turns coffee into software.
 
Odgovor na temu

boodala2
savetnik u avokaci forumu za
istraživanje ruda i gubljenje vremena
Tunguzija

Član broj: 182069
Poruke: 60
*.adsl-a-1.sezampro.yu.



Profil

icon Re: Ubuntu-Instalacija mrezne kartice...?23.05.2008. u 03:59 - pre 164 meseci
sudo modinfo sc92031
sudo lspci -n

da vidis da li im se poklapaju one brojke
sudo ifconfig -a

treba da se pojavi eth0 koji je down,
i onda ga u network gore negde stavi na dhcp ili rucno mu upisi adresu
a 8139too nema da radi na ovu jebenu karticu garant
a i vidi se da je vec ucitan drajver, pa radi on jos od 7.04
Citat:
sc92031 17796 0

原子公爵
 
Odgovor na temu

[es] :: Linux hardware :: Ubuntu-Instalacija mrezne kartice...?

[ Pregleda: 4251 | Odgovora: 7 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.