no save
Assistance
Achat
News

Forum | Linux/Unix
Instruction pour installer un driver
NoX, le jeu. 16 sept. 2004 à 19:26:30
j'esay mais je n'y arrive pas. (hé oui je decouvre linux)
j'ai decompressé mon dossier,mais que faire apres?
j'ai ouvert mon fichier makefile, amsi que doi je faire?

# Comment/uncomment the following line to enable/disable debugging

include ./config.mk
obj-m := rt2500.o

config:
@touch config.mk
@./Configure
install:
@touch config.mk
#mkdir -p $(TARGET_MODDIR)
echo $(TARGET_MODDIR)


@if [ -d /etc/sysconfig/network-scripts ]; then \
echo "Create 'ifcfg-ra0' in /etc/sysconfig/network-scripts/"; \
cp ./redhat/ifcfg-ra0 /etc/sysconfig/network-scripts/ ; \
install $(DRIVERPATH) $(TARGET_MODDIR); \
fi

@if [ -d /etc/sysconfig/network ]; then \
echo "Create 'ifcfg-ra0' in /etc/sysconfig/network/"; \
cp ./suse/ifcfg-ra0 /etc/sysconfig/network/ ; \
install $(DRIVERPATH) $(TARGET_MODDIR); \
fi
@if ! grep 'ra0' /etc/modules.conf ; then \
echo "append 'alias ra0 rt2500' to /etc/modules.conf"; \
echo "alias ra0 rt2500" >> /etc/modules.conf ; \
fi

#make command : make -C path/to/src SUBDIRS=$PWD modules
#example : make -C /usr/src/linux-2.6.3-4mdk SUBDIRS=$PWD modules

Si tu as un lien sur les commandes de linux cela pourrai m'aider peu être ...
MErci
PrécédentXsin
sept. 04
asevere
sept. 04
Suivant
REPONSES
Xsin
sept. 04
NoX
sept. 04
asevere
sept. 04
Hafed
sept. 04
Hafed
sept. 04
NoX
sept. 04
Assimil
sept. 04
NoX
sept. 04
jojo
déc. 04
cocoon
févr. 05
Version Web
Réalisé par RedShift
no save