Multi-Tech Systems MT9234MU Modem User Manual


 
AppendixBInstallingonLinux
MultiTechSystems,Inc.MT9234MUUserGuide 45
PreparingtheKernelSources
Thisstepmayormaynotbenecessary,dependingonhowyourLinuxdistributioninstallsthekernelsources.
Loginasrootanddothefollowing:
Command Explanation
1.cd/usr/src/linux<version> Changetothesourcedirectory.
2.makemrproper Cleanupanyoldfiles.
3.Useeitherofthesecommands:
makeoldconfig
OR‐
makecloneconfig
Makeaconfigurationfiletomatchyour
runningkernel.
forRedHat
forSUSE
Forotherdistributionsthesesamecommands
mightwork,oryoumightneedtofinda
configfilein/bootorinaconfigsdirectory,
copyitto.config,andrun"makeoldconfig".
4.makeprepare Topreparethekernelsourcesforyour
machine.
Ifyoubuiltyourownkernel,thekernelsourcesarealreadyinstalledandprepared.Ifyouareusingakernelthat
camewithaLinuxdistribution,itcansometimesbedifficulttogetthekernelsourcescorrectlyinstalledand
prepared,sinceeachLinuxdistributionhandleskernelsourcesslightlydifferently.
Forexample,ifyougeterrorsaboutthewrongkernelversion,youmayhaveinstalledthewrongkernelso urces,
oryoumayneedtoeditthekernelversioninthetoplevelMakefileofthekernelsources.Ifyougeterrorsabout
amissingusbserial.h,youmayonlyhavethekernelheadersinstalled.Ifyouhavetroublegettingthefullkernel
sourcesinstalledandprepared,youcancopythecorrectversionofusbserial.htodrivers/usb/serialinthe
kernelheadersdirectoryandthentheotherkernelsourcesarenotneeded.
Ifyouhavedifficulties,lookcarefullyattheerrormessageswheninstallingtheTGZorRPMpackages.Those
messagesshouldgiveyouanindicationofjustwhattheerroris.