• CONTEST ALERT - Experience the power of DDR5 memory with Kingston Click for details

intalling drivers for ubuntu

Status
Not open for further replies.

rachitpant

Broken In
i installed ubuntu 2 days back,
now im trying 2 figure out how 2 installl hardwares drivers ,
i have intex Rtl8139 lan card , can some 1 suggest how 2 make it usable,

following the cubersome installation procedure as expalined in the readme file of the lan card , i tried compling the driver C source code , but it gave 100's of error messages ,

also is there no device manager in linux ( ubuntu) , and r all drivers installed in the same way ( by compiling) n there r no setup packages or wat ?

also all media files refuse 2 play , i get missing codecs as the answer in the media player but i guess it is coz of missing driver files ( i havnt installed ny drivers )

PLEASE HELP ME IN SIMPLE LANGUAGE , I HAVE INSTALLED LINUX DISTRIBUTION FOR THE FIRST TIME
 

eddie

El mooooo
Open a terminal window and pass the following two commands one-by-one in it. The paste their outputs here. Here are the commands
Code:
sudo lspci

lsmod
Remember you need to execute the commands one by one.
 

praka123

left this forum longback
lan card does not need drivers,it is auto detected.how do u assume that lan card is not supported.it is the most common one and supported too.those "linux" drivers may be worth for 2.4 range of kernel.no compile n installing drivers.it is way better than in windows.almost all drivers if available are included as kernel modules.only ur nividia or amd ati gfx cards needs external driver and for winmodems or internal modems.
and no way installshields and setups with next,next in GNU/Linux.linux is simply way different and its totally another architecture(UNIX-like).
http://linux.oneandoneis2.org/LNW.htm
^ will be enlightning.

as with ur multimedia problems,just go through:
Can't play mp3, wmv and other files? Need to install Codecs? Check here

How-to Install Apps/Software in Ubuntu

http://ubuntuguide.org
 
Last edited:

Satissh S

Youngling
As Eddie told, type these commands in a terminal. (Applications -> Accessories -> Terminal)
Code:
sudo modprobe 8139too
type that command, that loads the 8139too kernel module required for the onboard realtek ethernet cards.
Then configure the network. I think, in GNOME its something like System -> Administration -> Network.
If you have DHCP connection (automatic assigning of address) then simply type
Code:
sudo dhclient eth0
where eth0 is the interface. If you get something like eth0 not found.. etc then the device has not been detected.
Do you have a seperate lan card installed via PCI ??? If then, give the output of lspci...
Code:
sudo lspci > lspci.txt
post the contents of lspci.txt file here.
I think that you may have to compile, install, load the module for that lan card. But you need to install build-essential package to get the compiler and development tools. I think its in the ubuntu cd.

Sorry for the double post, but I think you might be screwed.. Googlling for intex rtl8139 linux drivers gave this thread,
http://www.linuxquestions.org/questions/showthread.php?t=441115

So its a Silan ethernet card. This requires the sc92031 module to be built and installed, they have provided a make file and the source.. but for 2.2 and 2.4 kernels. (These are different linux kernels, the current widely used one is 2.6 kernel.)

By the way, it still requires kernel-source package to be installed. I think you might be in the classic catch-22 :).
 
Last edited:

praka123

left this forum longback
^ that card too afaik is supported in 2.6 afaik.one person asked about the same card earlier @razza thats why/
 
OP
R

rachitpant

Broken In
output of first command

rachit@rachit-desktop:~$ sudo lspci
Password:
00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 01)
00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
01:00.0 Multimedia controller: Philips Semiconductors SAA7130 Video Broadcast Decoder (rev 01)
01:01.0 Ethernet controller: Hangzhou Silan Microelectronics Co., Ltd. Unknown device 2031 (rev 01)
rachit@rachit-desktop:~$


output of second command

rachit@rachit-desktop:~$ lsmod
Module Size Used by
nls_utf8 3072 1
ntfs 107764 1
nls_cp437 6784 1
isofs 36284 1
udf 85252 0
ipv6 268704 8
binfmt_misc 12680 1
rfcomm 40856 0
l2cap 25728 5 rfcomm
bluetooth 55908 4 rfcomm,l2cap
i915 24448 2
drm 81044 3 i915
ppdev 10116 0
speedstep_lib 6148 0
cpufreq_conservative 8200 0
cpufreq_ondemand 9228 0
cpufreq_userspace 5408 0
cpufreq_stats 7360 0
freq_table 5792 2 cpufreq_ondemand,cpufreq_stats
cpufreq_powersave 2688 0
tc1100_wmi 8068 0
pcc_acpi 13184 0
dev_acpi 12292 0
sony_acpi 6284 0
asus_acpi 17308 0
button 8720 0
dock 10268 0
sbs 15652 0
i2c_ec 5888 1 sbs
container 5248 0
ac 6020 0
battery 10756 0
video 16388 0
backlight 7040 1 asus_acpi
af_packet 23816 0
parport_pc 36388 0
lp 12452 0
parport 36936 3 ppdev,parport_pc,lp
fuse 46612 0
saa7134_alsa 15392 0
tuner 61864 0
saa7134 122080 1 saa7134_alsa
video_buf 26116 2 saa7134_alsa,saa7134
compat_ioctl32 2304 1 saa7134
snd_intel8x0 34204 1
snd_ac97_codec 98336 1 snd_intel8x0
ir_kbd_i2c 9872 1 saa7134
ac97_bus 3200 1 snd_ac97_codec
snd_pcm_oss 44544 0
snd_mixer_oss 17408 1 snd_pcm_oss
snd_pcm 79876 4 saa7134_alsa,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_seq_dummy 4740 0
snd_seq_oss 32896 0
ir_common 31236 2 saa7134,ir_kbd_i2c
snd_seq_midi 9600 0
snd_rawmidi 25472 1 snd_seq_midi
snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi
videodev 28160 1 saa7134
v4l2_common 25216 3 tuner,saa7134,videodev
v4l1_compat 15236 2 saa7134,videodev
pcspkr 4224 0
psmouse 38920 0
snd_seq 52592 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 23684 2 snd_pcm,snd_seq
snd_seq_device 9100 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 54020 13 saa7134_alsa,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 8672 1 snd
serio_raw 7940 0
i2c_i810 6276 0
snd_page_alloc 10888 2 snd_intel8x0,snd_pcm
i2c_algo_bit 8712 1 i2c_i810
intel_agp 25116 1
shpchp 34324 0
pci_hotplug 32576 1 shpchp
iTCO_wdt 11812 0
agpgart 35400 3 drm,intel_agp
i2c_core 22784 6 i2c_ec,tuner,saa7134,ir_kbd_i2c,i2c_i810,i2c_algo_bit
iTCO_vendor_support 4868 1 iTCO_wdt
tsdev 8768 0
evdev 11008 4
ext3 133128 1
jbd 59816 1 ext3
mbcache 9604 1 ext3
sg 36252 0
sr_mod 17060 1
cdrom 37664 1 sr_mod
sd_mod 23428 4
ata_generic 9092 0
ata_piix 15492 4
libata 125720 2 ata_generic,ata_piix
scsi_mod 142348 4 sg,sr_mod,sd_mod,libata
floppy 59524 0
generic 5124 0 [permanent]
ehci_hcd 34188 0
uhci_hcd 25360 0
usbcore 134280 3 ehci_hcd,uhci_hcd
thermal 14856 0
processor 31048 1 thermal
fan 5636 0
fbcon 42656 0
tileblit 3584 1 fbcon
font 9216 1 fbcon
bitblit 6912 1 fbcon
softcursor 3200 1 bitblit
vesafb 9220 0
capability 5896 0
commoncap 8192 1 capability

thanku for ur replies

1 info i missed 2 mention in the first post

i used ubuntu 7.04 with linux kernel 2.6.20-15

there is a new prob, i can boot into ubuntu now , i get a blank screen after ubuntu loads ,
only way i work with it , first go to recovvery mode n then type "exit"
 

praka123

left this forum longback
Silan card is supported from kernel version:2.6.21 onwards afaik.there are people using this card using with ndiswrapper too :(
ndiswrapper allows windows drivers for ur card to work with Linux.
so the logical option is to compile a kernel or somehow get a kernel-2.6.21.
.but the changelog of kernel reads:
Code:
 driver for Silan SC92031 netdev

This is a driver for the Silan SC92031/Rsltek 8139D NIC chip.

This chip is found on at least one counterfeit Encore ENL832-TX-RENT NIC
[1], which came with a mini-CD with the 2.4 driver.  A slightly older
version of the driver was found at [2].  The main difference between them
is that the newer one has a small bugfix in the RX path, a lot of
gratuitous renaming of functions, all the printable strings changed to show
as a "Rsltek 8139D" [sic], and a PCI ID of 8139 instead of 2031.  The
driver on this patch is a rewrite of the vendor drivers (based mostly on
the older one).

Changes from the previous patch sent to netdev:
- Use MMIO instead of PIO
- Changed TX bounce buffers allocation
- Use skb_copy_and_csum_dev
- Several small bug fixes
- Tested for more than just a few minutes each time

[1] See http://www.encore-usa.com/faq.php under ENL832-TX-RENT for more
    information
[2] Look for SL_LINUX.ZIP (which is really a .tar.gz) at
    http://broadbandforum.in/dataone_Intex_LAN_cardlinux-t4207-s15.html
[3] To compile on 2.6.17, simply add back the last argument to the
    interrupt handler in two places, and copy the boolean declarations
    from 2.6.19

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=bf345707299b34de90fbae062eff51e76561eb40
Code:
 01:01.0 Ethernet controller: Hangzhou Silan Microelectronics Co., Ltd. Unknown device [U]2031[/U] (rev 01)
SO have ur luck with a 2.6.21 kernel.I hope this is supported.get urself this kernel compiled or ask some Ubuntu g33ks here to compile kernel for u with silan support built and host somewhere :)
 
Last edited:
Status
Not open for further replies.
Top Bottom