Fórum Ubuntu CZ/SK
Ostatní => Archiv => Téma založeno: Glaster 30 Května 2007, 22:15:06
-
Zdravim.
mám takový problém mám nainstalovaný Ubuntu 6.06 a pracuju v GNOME. Jenže mi tam neběží síťovka Edimax EP-4103DL. Podporu linuxu má. Na CD jsou 2 složky CardBus a Pcmcia.
ve složce Cardbus jsou soubory:
rtl8139.c
kern_compat.h
Guide.txt
v Guide je toto:
Realtek CardBus Ethernet Card Installation on Linux
1. Compile the source code :
->Copy the source code rtl8139.c (ver 1.08 above) to a directory
and execute "gcc -DCARDBUS -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes
-O6 -c rtl8139.c -o realtek_cb.o -I/usr/src/linux/pcmcia-cs-3.0.9/include/"
The directory "pcmcia-cs-3.0.9" stands for the card service version you
use. Please change it to the version on your system in order to include
proper .h file. The final file is realtek_cb.o
2. Copy driver :
->Copy the file "realtek_cb.o" to "/lib/modules/2.2.14-5.0/pcmcia"
3. Edit config:
->Add 5 lines to the file "/etc/pcmcia/config"
#
# Device driver definitions
#
device "realtek_cb" (==>Add 1/5)
class "network" module "cb_enabler", "realtek_cb" (==>Add 2/5)
:
:
#
# CardBus Cards
#
card "Realtek CardBus Ethernet Card" (==>Add 3/5)
manfid 0x0000, 0x024C (==>Add 4/5)
bind "realtek_cb" (==>Add 5/5)
The values 0x0000, 0x024C are JEDEC ID and can be read by typing
"cardctl ident" on console with one card on socket.
4. Edit linuxconf
->Type "linuxconf" and choose "Config"-->"Networking"-->"Client tasks"-->
"Basic host information". Select an adapter, enable it, and type "realtek_cb"
on "Kernel module" and "eth0" (or eth1, eth2) on "Net device". Click on
"Accept" button and "Act/change" button.
5. Restart the computer.
------------------------------------------------------------
v adresáři Pcmcia jsou soubory:
8390.c
CONFIG
GEN1
GEN2
PCNET_CS.c
README.txt
v Readme je toto:
AX88190 LINUX DRIVER INSTALL
Note: this driver for linux 2.2.x
1. copy driver to /asix
# mcopy a:/* /asix
2. download pcmcia-cs-3.1.8.tar.gz from hyper.stanford.edu
read PCMCIA-HOWTO file & install it
# mcopy pcmcia-cs-3.1.8.tar.gz /usr/src/linux
# tar zxvf pcmcia-cs-3.1.8.tar.gz
# cd /usr/src/linux/pcmcia-cs-3.1.8
# make config
# make all; make install
3. add the following lines into /etc/pcmcia/config
card "ASIX AX88190 Based Fast Ethernet PCMCIA Card"
version "ASIX", "AX88190"
bind "pcnet_cs"
* ASIX: Manufacture ID in CIS
* AX88190: Product ID in CIS
4. copy pcnet_cs.c from /usr/src/pcmcia-cs-3.1.8/clients/
5. please check pcnet_cs.c has the following lines:
static hw_info_t hw_info[]={
.
.
{ /* ASIX AX88190 */ 0x0400, 0x88, 0x19, 0x00, 0 },
.
.
}
PS.0x0400 : The Node Address location
0x88, 0x19, 0x00 : Node Address
6.# cd /asix
# chmod +x gen1 gen2
7.# gen1
# gen2
8.# reboot
-------------------------------------------
jsem začátečník tak plz o radu jak to rozběhnout.
domovský adresář u mě se jmenuje "glaster"
díky za snahu.
-
Tato karta by měla jít pod linuxem bezproblémů - ovladače mají být přímo v jádře...
Pošlete výpis příkazu lspci (výpis hw v pcmcia slotech - nemusíte celý, stačí, když se vám podaří identifikovat část, kde se jedná o této kartě).
-
tak tady je výpis:
glaster@glaster-NB:~$ lspci
0000:00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (AGP disabled) (rev 02)
0000:00:02.0 VGA compatible controller: Neomagic Corporation NM2160 [MagicGraph 128XD] (rev 01)
0000:00:04.0 CardBus bridge: Texas Instruments PCI1220 (rev 02)
0000:00:04.1 CardBus bridge: Texas Instruments PCI1220 (rev 02)
0000:00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
0000:00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
0000:00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
0000:00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
0000:05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
glaster@glaster-NB:~$
-
Tak už se mi to podařilo rozjet. problém byl že já ten NB s linuxem mám připojenej na HUB a to ten linux nějak nepobral hlásil že je odpojeno. a když jsem ty PC propojil na přímo tak to funguje. Ale stejně bych potřeboval aby to umělo i připojení přes HUB.