matchedcrontab
crontab 时间:2021-01-12 阅读:(
)
V2616LinuxUser'sManualFirstEdition,October2011www.
moxa.
com/product2011MoxaInc.
Allrightsreserved.
V2616LinuxUser'sManualThesoftwaredescribedinthismanualisfurnishedunderalicenseagreementandmaybeusedonlyinaccordancewiththetermsofthatagreement.
CopyrightNotice2011MoxaInc.
Allrightsreserved.
TrademarksTheMOXAlogoisaregisteredtrademarkofMoxaInc.
Allothertrademarksorregisteredmarksinthismanualbelongtotheirrespectivemanufacturers.
DisclaimerInformationinthisdocumentissubjecttochangewithoutnoticeanddoesnotrepresentacommitmentonthepartofMoxa.
Moxaprovidesthisdocumentasis,withoutwarrantyofanykind,eitherexpressedorimplied,including,butnotlimitedto,itsparticularpurpose.
Moxareservestherighttomakeimprovementsand/orchangestothismanual,ortotheproductsand/ortheprogramsdescribedinthismanual,atanytime.
Informationprovidedinthismanualisintendedtobeaccurateandreliable.
However,Moxaassumesnoresponsibilityforitsuse,orforanyinfringementsontherightsofthirdpartiesthatmayresultfromitsuse.
Thisproductmightincludeunintentionaltechnicalortypographicalerrors.
Changesareperiodicallymadetotheinformationhereintocorrectsucherrors,andthesechangesareincorporatedintoneweditionsofthepublication.
TechnicalSupportContactInformationwww.
moxa.
com/supportMoxaAmericasToll-free:1-888-669-2872Tel:+1-714-528-6777Fax:+1-714-528-6778MoxaChina(Shanghaioffice)Toll-free:800-820-5036Tel:+86-21-5258-9955Fax:+86-21-5258-5505MoxaEuropeTel:+49-89-3700399-0Fax:+49-89-3700399-99MoxaAsia-PacificTel:+886-2-8919-1230Fax:+886-2-8919-1231TableofContents1.
Introduction.
1-1Overview1-2SoftwareSpecifications1-2SoftwareComponents1-32.
SoftwareConfiguration2-1TheRead-onlyFileSystem.
2-2StartingfromaVGAConsole.
2-2ConnectingfromaTelnetConsole.
2-2ConnectingfromanSSHConsole.
2-3WindowsUsers2-3LinuxUsers2-4AdjustingtheSystemTime2-4SettingtheTimeManually2-4NTPClient2-5UpdatingtheTimeAutomatically.
2-5EnablingandDisablingDaemons2-6SettingtheRun-Level.
2-8Cron—DaemonforExecutingScheduledCommands.
2-9InsertingaUSBStorageDeviceintotheComputer2-10CheckingtheLinuxVersion2-11APT—InstallingandRemovingPackages2-113.
ManagingCommunications3-1DetectingNetworkInterfaces3-2ChangingtheNetworkSettings3-2Changingthe"interfaces"ConfigurationFile3-2StaticIPAddress3-3DynamicIPAddressusingDHCP3-3AdjustingIPAddresseswith"ifconfig"3-3Telnet/TFTPServer3-3EnablingtheTelnet/TFTPServer.
3-4DisablingtheTelnet/TFTPServer.
3-4DNSClient.
3-4etc/hostname3-4etc/resolv.
conf3-5etc/nsswitch.
conf3-5ApacheWebServer3-6DefaultHomepage.
3-6DisablingtheCGIFunction3-6SavingWebPagestoaUSBStorageDevice.
3-7IPTABLES3-8IPTABLESHierarchy.
3-9IPTABLESModules.
3-10ObserveandEraseChainRules3-10DefinePolicyforChainRules.
3-11AppendorDeleteRules.
3-11NAT(NetworkAddressTranslation)3-12NATExample3-12EnablingNATatBootup.
3-13PPP(PointtoPointProtocol)3-13ConnectingtoaPPPServeroveraSimpleDial-upConnection.
3-14ConnectingtoaPPPServeroveraHard-wiredLink.
3-15CheckingtheConnection.
3-15SettingupaMachineforIncomingPPPConnections3-16PPPoE.
3-17NFS(NetworkFileSystem)Client3-19SNMP(SimpleNetworkManagementProtocol)3-20OpenVPN3-20EthernetBridgingforPrivateNetworksonDifferentSubnets.
3-21EthernetBridgingforPrivateNetworksontheSameSubnet3-24RoutedIP3-254.
ProgrammingGuide4-1RTC(RealTimeClock)4-2UART4-2DigitalI/O4-2SpecialNote4-4Examples4-4WDT(WatchDogTimer)4-4Introduction4-4HowtheWDTWorks4-4TheuserAPI.
4-4SpecialNote4-5Examples4-55.
RAID0/1FunctionConfiguration.
5-1dm-raid5-2CreatingRAIDfromtheBIOS.
5-2MountingtheRAIDVolume.
5-5ReplacingaFailedDisk.
5-6SoftwareRAID—mdadm5-7CreatingSoftwareRAIDVolume5-7CheckingtheSoftwareRAIDStatus5-8ReplacingaFailedDisk.
5-96.
SystemRecovery.
6-1RecoveryEnvironment6-2RecoveryProcedure6-2SavingtheSystemtotheUSBDrive6-9A.
SoftwareComponentsA-111.
IntroductionThankyouforpurchasingtheMoxaV2616seriesofx86ready-to-runembeddedcomputers.
ThismanualintroducesthesoftwareconfigurationandmanagementoftheV2616-LX,whichrunstheLinuxoperatingsystem.
Forhardwareinstallation,connectorinterfaces,setup,andupgradingtheBIOS,pleaserefertothe"V2616HardwareUser'sManual.
"Linuxisanopen,scalableoperatingsystemthatallowsyoutobuildawiderangeofinnovative,smallfootprintdevices.
SoftwarewrittenfordesktopPCscanbeeasilyportedtotheLinux-basedembeddedcomputerwithaGNUcrosscompilerandaminimumofsourcecodemodifications.
AtypicalLinux-baseddeviceisdesignedforaspecificuse,andisoftennotconnectedtoothercomputers,oranumberofsuchdevicesconnecttoacentralized,front-endhost.
Examplesincludeenterprisetoolssuchasindustrialcontrollers,communicationshubs,point-of-saleterminals,anddisplaydevices,whichincludeHMIs,advertisementappliances,andinteractivepanels.
Thefollowingtopicsarecoveredinthischapter:OverviewSoftwareSpecificationsSoftwareComponentsV2616LinuxUser'sManualIntroduction1-2OverviewV2616embeddedcomputersarebasedontheIntelCore2DuoSP9300x86processorandfeaturetwoserialports,dual10/100or10/100/1000MbpsLANports,threeUSB2.
0hosts,andaCFsocket.
TheV2616seriesoffersbothVGAandDVI-Doutputs,makingitexceptionallywellsuitedforindustrialapplicationssuchasSCADAandfactoryautomation.
TheV2616's2serialportsmakeitidealforconnectingawiderangeofserialdevices,andthedual10/100/1000MbpsEthernetportsofferareliablesolutionfornetworkredundancy,whichtakentogetherpromisecontinuousdatacommunicationandmanagementoperations.
Foraddedconvenience,theV2616computershave6DIsand2DOsforconnectingdigitalinput/outputdevices.
Inaddition,theCFandUSBportsprovideV2616computerswithdatabufferingandstorageexpansion,whichprovidethenecessaryreliabilityforindustrialapplications.
Pre-installedwithLinux,theV2616seriesprovidesprogrammerswithafriendlyenvironmentfordevelopingsophisticated,bug-freeapplicationsoftwareatalowercost.
SoftwareSpecificationsTheLinuxoperatingsystempre-installedontheV2616embeddedcomputersistheDebianSqueeze6.
0distribution.
TheDebianprojectinvolvesaworldwidegroupofvolunteerswhoendeavortoproduceanoperatingsystemdistributioncomposedentirelyoffreesoftware.
TheDebianGNU/LinuxfollowsthestandardLinuxarchitecture,makingiteasytouseprogramsthatmeetthePOSIXstandard.
ProgramportingcanbedonewiththeGNUToolChainprovidedbyMoxa.
InadditiontoStandardPOSIXAPIs,devicedriversforMoxaUARTandotherspecialperipheralsarealsoincluded.
Anexamplesoftwarearchitectureisshownbelow:ATTENTIONRefertohttp://www.
debian.
org/andhttp://www.
gnu.
org/forinformationanddocumentationrelatedtoDebianGNU/Linuxandthefreesoftwareconcept.
ATTENTIONTheabovesoftwarearchitectureisonlyanexample.
DifferentmodelsordifferentbuildrevisionsoftheLinuxoperatingsystemmayincludecomponentsnotshownintheabovegraphic.
RS-232/422/485,Ethernet,CompactFlash,SATA,USBMemoryControl,Schedule,ProcessCF,TTY,USB,UART,RTC,VGATCP,IP,UDP,CMP,ARP,HTTP,SNMP,SMTPDaemon(Apache,Telnet,FTPD)ApplicationInterface(POSIX,Socket,SecureSocket)UserApplicationsFileSystemHardwareMicroKernelDeviceDriverProtocolStackAPIAPLinuxKernelV2616LinuxUser'sManualIntroduction1-3SoftwareComponentsTheV2616-LXarepre-installedwiththeDebianSqueeze6.
0Linuxdistribution.
Forthesoftwarecomponents,see"AppendixA.
"22.
SoftwareConfigurationInthischapter,weexplainhowtooperateaV2616-LXcomputerdirectlyfromyourdesktop.
TherearethreewaystoconnecttotheV2616-LXcomputer:throughaVGAmonitor,viaTelnetoverthenetwork,orwithanSSHconsolefromaWindowsorLinuxmachine.
ThischapterdescribesbasicLinuxoperatingsystemconfigurations.
Advancednetworkmanagementandconfigurationinstructionswillbedescribedinthenextchapter,"ManagingCommunications.
"Thefollowingtopicsarecoveredinthischapter:TheRead-onlyFileSystemStartingfromaVGAConsoleConnectingfromaTelnetConsoleConnectingfromanSSHConsoleWindowsUsersLinuxUsersAdjustingtheSystemTimeSettingtheTimeManuallyNTPClientUpdatingtheTimeAutomaticallyEnablingandDisablingDaemonsSettingtheRun-LevelCron—DaemonforExecutingScheduledCommandsInsertingaUSBStorageDeviceintotheComputerCheckingtheLinuxVersionAPT—InstallingandRemovingPackagesV2616LinuxUser'sManualSoftwareConfiguration2-2TheRead-onlyFileSystemTherootfilesystem(/)inMoxa'sembeddedsystemismountedasread-onlytopreventunexpectedcrashes.
Takethefollowingstepstomakeitwritabletemporarily:1.
Maketherootfilesystem(/)writable:Moxa:~#mount-oremount,rw/2.
Performyouroperations,suchasapt-getordisk-access.
3.
Umounttherootfilesystemasread-only:Moxa:~#umount/StartingfromaVGAConsoleConnectthedisplaymonitortotheV2616-LXVGAconnector,andthenpoweritupbyconnectingittothepoweradaptor.
Ittakesapproximately30to60secondsforthesystemtobootup.
Oncethesystemisready,aloginscreenwillappearonyourmonitor.
Tologin,typetheloginnameandpasswordasrequested.
Thedefaultvaluesarebothroot.
Login:rootPassword:rootMoxalogin:rootPassword:Lastlogin:ThuSep1522:46:00CST2011ontty1LinuxMoxa2.
6.
32-5-amd64#1SMPTueJun1409:42:28UTC2011x86_64TheprogramsincludedwiththeDebianGNU/Liuxsystemarefreesoftware;TheexactdistributiontermsforeachprogramaredescribedintheIndividualfilesin/usr/share/doc/*/copyright.
DebianGNU/LinuxcomeswithABSOLUTELYNOWARRANTY,totheextentPermittedbyapplicablelaw.
root@Moxa:~#ConnectingfromaTelnetConsoleTheV2616-LXcomputerscomewithtwoGigabitportsnamedLAN1andLAN2.
ThedefaultIPaddressesandnetmasksofthenetworkinterfacesareasfollows:DefaultIPAddressNetmaskLAN1192.
168.
3.
127255.
255.
255.
0LAN2192.
168.
4.
127255.
255.
255.
0BeforeusingtheTelnetclient,youshouldchangetheIPaddressofyourdevelopmentworkstationsothatthenetworkportsareonthesamesubnetastheIPaddressfortheLANportthatyouwillconnectto.
Forexample,ifyouwillconnecttoLAN1,youcouldsetyourPC'sIPaddressto192.
168.
3.
126,andthenetmaskto255.
255.
255.
0.
IfyouwillconnecttoLAN2,youcouldsetyourPC'sIPaddressto192.
168.
4.
126,andthenetmaskto255.
255.
255.
0.
Useacross-overEthernetcabletoconnectyourdevelopmentworkstationdirectlytothetargetcomputer,oruseastraight-throughEthernetcabletoconnectthecomputertoaLANhuborswitch.
Next,useaTelnetclientonyourdevelopmentworkstationtoconnecttothetargetcomputer.
Afteraconnectionhasbeenestablished,typetheloginnameandpasswordasrequestedtologontothecomputer.
Thedefaultvaluesarebothroot.
V2616LinuxUser'sManualSoftwareConfiguration2-3Login:rootPassword:rootConnectingfromanSSHConsoleTheV2616-LXcomputerssupportanSSHconsoletoofferusersbetternetworksecuritycomparedtoTelnet.
WindowsUsersClickonthelinkhttp://www.
chiark.
greenend.
org.
uk/~sgtatham/putty/download.
htmltodownloadPuTTY(freesoftware)tosetupanSSHconsolefortheV2616-LXinaWindowsenvironment.
Thefollowingscreenshowsanexampleoftheconfigurationthatisrequired.
V2616LinuxUser'sManualSoftwareConfiguration2-4LinuxUsersFromaLinuxmachine,usethesshcommandtoaccesstheV2616-LX'sconsoleutilityviaSSH.
#ssh192.
168.
3.
127Selectyestoopentheconnection.
[root@bee_notebookroot]#ssh192.
168.
3.
127Theauthenticityofhost'192.
168.
3.
127(192.
168.
3.
127)'can'tbeestablished.
RSAkeyfingerprintis8b:ee:ff:84:41:25:fc:cd:2a:f2:92:8f:cb:1f:6b:2f.
Areyousureyouwanttocontinueconnection(yes/no)yes_AdjustingtheSystemTimeTheV2616-LXhastwotimesettings.
Oneisthesystemtime,andtheotherisprovidedbyanRTC(RealTimeClock)builtintotheV2616-LX'shardware.
SettingtheTimeManuallyUsethedatecommandtoquerythecurrentsystemtimeortosetanewsystemtime.
UsehwclocktoquerythecurrentRTCtimeortosetanewRTCtime.
Usethefollowingcommandtosetthesystemtime.
#dateMMDDhhmmYYYYMM:MonthDD:Datehhmm:HourandMinuteYYYY:YearV2616LinuxUser'sManualSoftwareConfiguration2-5UsethefollowingcommandtowritethecurrentsystemtimetotheRTC.
#hwclock–wMOXA:~#dateWedDec1603:34:46CST2009MOXA:~#hwclockWed16Dec200903:35:16AMCST-0.
017600secondsMOXA:~#date121616352009WedDec1616:35:00CST2009MOXA:~#hwclock–wMOXA:~#date;hwclockWedDec1616:36:12CST2009Wed16Dec200903:38:13AMCST-0.
016751secondsMOXA:~#NTPClientTheV2616-LXhasabuilt-inNTP(NetworkTimeProtocol)clientthatisusedtoinitializeatimerequesttoaremoteNTPserver.
Usentpdatetoupdatethesystemtime.
#ntpdatetime.
stdtime.
gov.
tw#hwclock–wVisithttp://www.
ntp.
orgformoreinformationaboutNTPandNTPserveraddresses.
MOXA:~#date;hwclockWedDec1616:36:12CST2009Wed16Dec200903:38:13AMCST-0.
016751secondsMOXA:~#MOXA:~#ntpdatetime.
stdtime.
gov.
tw16Dec03:49:48ntpdate[2510]:steptimeserver220.
130.
158.
52offset155905087.
984256secMOXA:~#MOXA:~#hwclock-wMOXA:~#date;hwclockWedDec1603:51:07CST2009Wed16Dec200903:51:07AMCST-0.
016771secondsMOXA:~#ATTENTIONBeforeusingtheNTPclientutility,checkyourIPaddressandnetworksettings(gatewayandDNS)tomakesureanInternetconnectionisavailable.
UpdatingtheTimeAutomaticallyThissectiondescribeshowtouseashellscripttoupdatethetimeautomatically.
Exampleshellscriptforupdatingthesystemtimeperiodically#!
/bin/shntpdatetime.
stdtime.
gov.
tw#Youcanusethetimeserver'sipaddressordomain#namedirectly.
Ifyouusedomainname,youmustV2616LinuxUser'sManualSoftwareConfiguration2-6#enablethedomainclientonthesystembyupdating#/etc/resolv.
conffile.
hwclock–wsleep100#Updatesevery100seconds.
Themin.
timeis100seconds.
#Change100toalargernumbertoupdateRTClessoften.
Savetheshellscriptusinganyfilename.
Forexample,fixtime.
HowtoruntheshellscriptautomaticallywhenthekernelbootsupBecausetherootfilesystemismountedinRead-onlymode,weneedtore-mountitusingwritablepermission.
#mount-oremount,rw/Copytheexampleshellscriptfixtimetothedirectory/etc/init.
d,andthenusechmod755fixtimetochangetheshellscriptmode.
#chmod755fixtimeNext,usevieditortoeditthefile/etc/inittab.
#vi/etc/inittabAddthefollowinglinetothebottomofthefile:ntp:2345:respawn:/etc/init.
d/fixtimeAfteryoufinishwritingormodifyingthecode,remembertoexecuteumount/tochangetherootdirectorybacktoRead-onlymode.
#umount/Usethecommand#initqtore-initializethekernel.
#initqEnablingandDisablingDaemonsThefollowingdaemonsareenabledwhentheV2616-LXbootsupforthefirsttime.
Snmpd:SNMPAgentDaemonTelnetd:TelnetServer/ClientDaemonInetd:InternetDaemonsFtpd:FTPServer/ClientDaemonSshd:SecureShellServerDaemonHttpd:ApacheWWWServerDaemonTypethecommandps–eftolistallprocessescurrentlyrunning.
Moxa:~#ps-efUIDPIDPPIDCSTIMETTYTIMECMDroot10000:0200:00:00init[2]root20000:0200:00:00[kthreadd]root32000:0200:00:00[migration/0]root42000:0200:00:00[ksoftirqd/0]root52000:0200:00:00[watchdog/0]root62000:0200:00:00[migration/1]root72000:0200:00:00[ksoftirqd/1]root82000:0200:00:00[watchdog/1]root92000:0200:00:00[events/0]root102000:0200:00:00[events/1]root112000:0200:00:00[cpuset]V2616LinuxUser'sManualSoftwareConfiguration2-7root122000:0200:00:00[khelper]root132000:0200:00:00[netns]root142000:0200:00:00[async/mgr]root152000:0200:00:00[pm]root172000:0200:00:00[sync_supers]root182000:0200:00:00[bdi-default]root192000:0200:00:00[kintegrityd/0]root202000:0200:00:00[kintegrityd/1]root212000:0200:00:00[kblockd/0]root222000:0200:00:00[kblockd/1]root232000:0200:00:00[kacpid]root242000:0200:00:00[kacpi_notify]root252000:0200:00:00[kacpi_hotplug]root262000:0200:00:00[ata/0]root272000:0200:00:00[ata/1]www-data27072664000:0300:00:00/usr/sbin/apache2-kstartwww-data27082664000:0300:00:00/usr/sbin/apache2-kstartwww-data27092664000:0300:00:00/usr/sbin/apache2-kstartwww-data27102664000:0300:00:00/usr/sbin/apache2-kstartroot27202700000:15tty100:00:00-bashroot27242000:1500:00:00[flush-8:0]root27452536100:2100:00:00sshd:root@pts/0root27472745000:21pts/000:00:00-bashroot27512747000:21pts/000:00:00ps-efMoxa:~#Torunaprivatedaemon,youcaneditthefilerc.
local,asshownbelow:1.
BecausetherootfilesystemismountedinRead-onlymode,youneedtore-mountitwithwritepermission.
MOXA:~#mount-oremount,rw/2.
Typecd/etc/tochangedirectories.
MOXA:~#cd/etc/3.
Typevirc.
localtoedittheconfigurationfilewithvieditor.
MOXA:/etc/#virc.
local4.
Next,addtheapplicationdaemonthatyouwanttorun.
Weusetheexampleprogramtcps2-release,whichyoucanfindontheCD,toillustrate,andconfigureittoruninthebackground.
#!
/bin/sh#Addyouwanttorundaemon/home/yourprogram&5.
Afteryoufinishwritingormodifyingthecode,remembertoexecuteumount/tochangetherootdirectorybacktoRead-onlymode.
MOXA:~#umount/6.
Youshouldbeabletofindtheenableddaemonafteryourebootthesystem.
MOXA:~#ps-efPIDUidVmSizeStatCommand1root1296SinitV2616LinuxUser'sManualSoftwareConfiguration2-82rootS[keventd]3rootS[ksoftirqd_CPU0]4rootS[kswapd]5rootS[bdflush]6rootS[kupdated]7rootS[mtdblockd]8rootS[khubd]10rootS[jffs2_gcd_mtd3]32rootD[ixp425_csr]38root1256Sstdef47root1368S/usr/sbin/inetd53root4464S/usr/sbin/httpd63nobody4480S/usr/sbin/httpd64nobody4480S/usr/sbin/httpd65nobody4480S/usr/sbin/httpd66nobody4480S/usr/sbin/httpd67nobody4480S/usr/sbin/httpd92bin1460S/sbin/portmap97root1264S/root/tcps2-release105root1556S/usr/sbin/rpc.
statd109root4044S/usr/sbin/snmpd–s–l/dev/null111root2832S/usr/sbin/snmptrapd-s140root1364S/sbin/cardmgr144root1756S/usr/sbin/rpc.
nfsd146root1780S/usr/sbin/rpc.
mountd153root2960S/usr/sbin/sshd161root1272S/bin/reportip162root3464S/bin/massupfirm163root1532S/sbin/getty115200ttyM0164root1532S/sbin/getty115200ttyM1166root3464S/bin/massupfirm168root3464S/bin/massupfirm171root3652S/usr/sbin/sshd172root2200S-bash174root1592Sps-efMOXA:~#SettingtheRun-LevelTosettheLinuxrun-levelandexecutionpriorityofaprogram,usethefollowingcommand(becausetherootfilesystemismountedinRead-onlymode,weneedtore-mountitwithwritepermission).
MOXA:~#mount-oremount,rw/Editashellscripttoexecute/root/tcps2-releaseandsaveittotcps2asanexample.
#cd/etc/rc2.
d#ln–s/etc/root/tcps2S60tcps2or#ln–s/etc/root/tcps2k30tcps2MOXA:~#cd/etc/rc2.
dMOXA:/etc/rc2.
d#V2616LinuxUser'sManualSoftwareConfiguration2-9MOXA:/etc/rc2.
d#lsS19nfs-commonS25nfs-user-serverS99showreadyledS20snmpdS55sshS24pcmciaS99rmnologinMOXA:/etc/rc2.
d#MOXA:/etc/rc2.
d#ln–s/root/tcps2-releaseS60tcps2MOXA:/etc/rc2.
d#lsS19nfs-commonS25nfs-user-serverS99rmnologinS20snmpdS55sshS99showreadyledS24pcmciaS60tcps2ThecommandSxxRUNFILEhasthefollowingmeaning:S:StarttherunfilewhileLinuxbootsup.
xx:Anumberbetween00and99.
Thesmallernumberhasahigherpriority.
RUNFILE:ThescriptfilenameThecommandKxxRUNFILEhasthefollowingmeaning:K:StarttherunfilewhileLinuxshutsdownorhalts.
xx:Anumberbetween00and99.
Thesmallernumberhasahigherpriority.
RUNFILE:ThescriptfilenameToremovethedaemon,usethefollowingcommandtoremovetherunfilefrom/etc/rc2.
dby:MOXA:~#rm–f/etc/rc2.
d/S60tcps2Afteryoufinishwritingormodifyingthecode,remembertoexecuteumount/tochangetherootdirectorybacktoRead-onlymode.
MOXA:~#umount/Cron—DaemonforExecutingScheduledCommandsTheCrondaemonwillsearch/etc/crontabforcrontabfiles.
Cronwakesupeveryminuteandcheckseachcommandtoseeifitshouldberunatthattime.
Whenexecutingcommands,outputismailedtotheownerofthecrontab(ortotheusernamedintheMAILTOenvironmentvariableinthecrontab,ifsuchauserexists).
Modifythefile/etc/crontabtosetupyourscheduledapplications.
Crontabfileshavethefollowingformat:mmhdommondowusercommandminutehourdatemonthweekusercommand0-590-231-311-120-6(0isSunday)Forexample,issuethefollowingcommandifyouwanttolaunchaprogramat8:00everyday:#minutehourdatemonthdowusercommand*8***root/path/to/your/programThefollowingexampledemonstrateshowtouseCrontoupdatethesystemtimeandRTCtimeeverydayat8:00.
1.
Writeashellscriptnamedfixtime.
shandsaveitto/home/.
#!
/bin/shntpdatetime.
stdtime.
gov.
twV2616LinuxUser'sManualSoftwareConfiguration2-10hwclock–wexit02.
Changethemodeoffixtime.
sh#chmod755fixtime.
sh3.
Modifythe/etc/crontabfiletorunfixtime.
shat8:00everyday.
Addthefollowinglinetotheendofcrontab:*8***root/home/fixtime.
shInsertingaUSBStorageDeviceintotheComputerSincemountingUSBstoragedevicesmanuallycanbedifficult,aDebianpackagenamedusbmountisusedtomounttheUSBdriversautomatically.
usbmountreliesonudevtomountUSBstoragedevicesautomaticallyatcertainmountpoints.
TheUSBstoragedeviceswillbemountedon/media/usb0,/media/usb1,etc.
MOXA:~#mount/dev/hda1on/typeext2(rw,errors=remount-ro)tmpfson/lib/init/rwtypetmpfs(rw,nosuid,mode=0755)procon/proctypeproc(rw,noexec,nosuid,nodev)sysfson/systypesysfs(rw,noexec,nosuid,nodev)procbususbon/proc/bus/usbtypeusbfs(rw)udevon/devtypetmpfs(rw,mode=0755)tmpfson/dev/shmtypetmpfs(rw,nosuid,nodev)devptson/dev/ptstypedevpts(rw,noexec,nosuid,gid=5,mode=620)/dev/hdb2on/hometypeext2(rw)nfsdon/proc/fs/nfsdtypenfsd(rw)rpc_pipefson/var/lib/nfs/rpc_pipefstyperpc_pipefs(rw)/dev/sda1on/media/usb0typevfat(rw,noexec,nodev,sync,noatime,gid=25,dmask=0007,fmask=0117)/dev/sdb1on/media/usb1typevfat(rw,noexec,nodev,sync,noatime,gid=25,dmask=0007,fmask=0117)MOXA:~#Notethatusbmountisalight-weightsolutionfortextmode,anddoesnotfullysupportthegnomedesktopenvironment.
Forbettersupportability,installgnome-volume-managerinsteadofusbmount:MOXA:~#mount-o,remountrw/MOXA:~#apt-getremoveusbmountMOXA:~#apt-getinstallgnome-volume-managerMOXA:~#umount/ATTENTIONRemembertotypethecommand#syncbeforeyoudisconnecttheUSBstoragedevice.
Ifyoudonotissuethecommand,youmaylosedata.
ATTENTIONRemembertoexitthe/media/usb0or/media/usb1directorywhenyoudisconnecttheUSBstoragedevice.
Ifyoustayin/media/usb0or/media/usb1,theautomaticun-mountprocesswillfail.
Ifthathappens,type#umount/media/usb0toun-mounttheUSBdevicemanually.
V2616LinuxUser'sManualSoftwareConfiguration2-11CheckingtheLinuxVersionTheprogramuname,whichstandsfor"UnixName"andispartoftheUnixoperatingsystem,printsthename,version,andotherdetailsabouttheoperatingsystemrunningonthecomputer.
Usethe-aoptiontogeneratearesponsesimilartotheoneshownbelow:MOXA:~#uname-aLinuxMoxa2.
6.
32-5-amd64#1SMPTueJun1409:42:28UTC2011x86_64GNU/LinuxMOXA:~#APT—InstallingandRemovingPackagesAPTistheDebiantoolusedtoinstallandremovepackages.
Beforeinstallingapackage,youneedtoconfiguretheaptsourcefile,/etc/apt/sources.
list,whichislocatedintheread-onlypartition.
1.
Mounttherootfilesystemwithwritepermission.
MOXA:~#mount-oremount,rw2.
Next,usevieditortoconfigure/etc/apt/sources.
list.
MOXA:~#vi/etc/apt/sources.
list##debcdrom:[DebianGNU/Linux6.
0.
2.
1_Squeeze_-Officialamd64NETINSTBinary-120110628-12:58]/Squeezemain#debcdrom:[DebianGNU/Linux6.
0.
2.
1_Squeeze_-Officialamd64NETINSTBinary-120110628-12:58]/Squeezemaindebhttp://ftp.
us.
debian.
org/debian/squeezemaindeb-srchttp://ftp.
us.
debian.
org/debian/squeezemaindebhttp://security.
debian.
org/squeeze/updatesmaindeb-srchttp://security.
debian.
org/squeeze/updatesmain#squeeze-updates,previouslyknownas'volatile'debhttp://ftp.
us.
debian.
org/debiansqueeze-updatesmaindeb-srchttp://ftp.
us.
debian.
org/debiansqueeze-updatesmain3.
Updatethesourcelistafteryouconfigureit.
MOXA:~#apt-getupdateMOXA:~#4.
Onceyouindicatewhichpackageyouwanttoinstall(openswan,forexample),type:MOXA:~#apt-getinstallopenswanMOXA:~#5.
Useoneofthefollowingcommandstoremoveapackage:a.
Forasimplepackageremoval:MOXA:~#apt-getremoveopenswanMOXA:~#b.
Foracompletepackageremoval:MOXA:~#apt-getremoveopenswan--purgeMOXA:~#V2616LinuxUser'sManualSoftwareConfiguration2-126.
Iftheinstallationiscomplete,remembertoumounttherootdirectorybacktoread-onlymode.
MOXA:~#umount/MOXA:~#ATTENTIONTheAPTcachespace/var/cache/aptislocatedintmpfs.
Ifyouneedtoinstallahugepackage,link/var/cache/apttoUSBmassstorageormountittoanNFSspacetogeneratemorefreespace.
Usedf–htocheckhowmuchfreespaceisavailableontmpfs.
Moxa:~#df-hFilesystemSizeUsedAvailUse%Mountedonrootfs1.
5G1001M440M70%/udev10M748K9.
3M8%/dev/dev/sda11.
5G1001M440M70%/tmpfs501M0501M0%/lib/init/rwtmpfs501M0501M0%/dev/shmnone501M19M482M4%/tmp/dev/sda2270M130M126M51%/homeMoxa:~#ATTENTIONYoucanfreeupthecachespacewiththecommand#apt-getclean.
MOXA:~#apt-getcleanMOXA:~#33.
ManagingCommunicationsTheV2616-LXready-to-runembeddedcomputerisanetwork-centricplatformdesignedtoserveasafront-endfordataacquisitionandindustrialcontrolapplications.
ThischapterdescribeshowtoconfigurethevariouscommunicationfunctionssupportedbytheLinuxoperatingsystem.
Thefollowingtopicsarecoveredinthischapter:DetectingNetworkInterfacesChangingtheNetworkSettingsChangingthe"interfaces"ConfigurationFileAdjustingIPAddresseswith"ifconfig"Telnet/TFTPServerEnablingtheTelnet/TFTPServerDisablingtheTelnet/TFTPServerDNSClient/etc/hostname/etc/resolv.
conf/etc/nsswitch.
confApacheWebServerDefaultHomepageDisablingtheCGIFunctionSavingWebPagestoaUSBStorageDeviceIPTABLESIPTABLESHierarchyIPTABLESModulesObserveandEraseChainRulesDefinePolicyforChainRulesAppendorDeleteRulesNAT(NetworkAddressTranslation)NATExampleEnablingNATatBootupPPP(PointtoPointProtocol)ConnectingtoaPPPServeroveraSimpleDial-upConnectionConnectingtoaPPPServeroveraHard-wiredLinkCheckingtheConnectionSettingupaMachineforIncomingPPPConnectionsPPPoENFS(NetworkFileSystem)ClientSNMP(SimpleNetworkManagementProtocol)OpenVPNEthernetBridgingforPrivateNetworksonDifferentSubnetsEthernetBridgingforPrivateNetworksontheSameSubnetRoutedIPV2616LinuxUser'sManualManagingCommunications3-2DetectingNetworkInterfacesLinuxsystemsuseudevdtodetectnewnetworkinterfaces,includingEthernetinterfacesandwirelessinterfaces.
Theresultissavedin/etc/udev/rules.
d/70-persistent-net.
rules.
Thecontentissimilartothefollowing:#PCIdevice0x10ec:0x8168(r8168)SUBSYSTEM=="net",ACTION=="add",DRIVERS=="*",ATTR{address}=="00:90:e8:00:00:20",ATTR{dev_id}=="0x0",ATTR{type}=="1",KERNEL=="eth*",NAME="eth0"#PCIdevice0x10ec:0x8168(r8168)SUBSYSTEM=="net",ACTION=="add",DRIVERS=="*",ATTR{address}=="00:90:e8:00:00:21",ATTR{dev_id}=="0x0",ATTR{type}=="1",KERNEL=="eth*",NAME="eth1"TheaboveexampleindicatesthatthesystemhasdetectedtwoEthernetinterfaces.
ATTENTIONWhenreplacingorconnectinganetworkinterface,thesystemmaykeeptheoldrecordin/etc/udev/rules.
d/70-persistent-net.
rules,whichcouldcausenetworkinterfacestobedetectedabnormally.
Toavoidthisproblem,deletethecontentofthefile/etc/udev/rules.
d/70-persistent-net.
rulesandrebootthesystem.
ChangingtheNetworkSettingsTheV2616-LXcomputerhastwo10/100/1000EthernetportsnamedLAN1andLAN2.
ThedefaultIPaddressesandnetmasksofthesenetworkinterfacesare:DefaultIPAddressNetmaskLAN1192.
168.
3.
127255.
255.
255.
0LAN2192.
168.
4.
127255.
255.
255.
0Thesenetworksettingscanbemodifiedbychangingtheinterfacesconfigurationfile,ortheycanbeadjustedtemporarilywiththeifconfigcommand.
Changingthe"interfaces"ConfigurationFile1.
Typecd/etc/networktochangedirectories.
MOXA:~#cd/etc/network2.
Typeviinterfacestoeditthenetworkconfigurationfilewithvieditor.
YoucanconfiguretheV2616-LX'sEthernetportsforstaticordynamic(DHCP)IPaddresses.
MOXA:/etc/network#viinterfacesV2616LinuxUser'sManualManagingCommunications3-3StaticIPAddressAsshowninthefollowingexample,thedefaultstaticIPaddressescanbemodified.
#Theloopbacknetworkinterfaceautoloifaceloinetloopback#Theprimarynetworkinterfaceautoeth0ifaceeth0inetstaticaddress192.
168.
3.
127netmask255.
255.
255.
0broadcast192.
168.
3.
255autoeth1ifaceeth1inetstaticaddress192.
168.
4.
127netmask255.
255.
255.
0broadcast192.
168.
4.
255DynamicIPAddressusingDHCPToconfigureoneorbothLANportstorequestanIPaddressdynamically,replacestaticwithdhcpandthendeletetherestofthelines.
#Theprimarynetworkinterfaceautoeth0ifaceeth0inetdhcpAftermodifyingthebootsettingsoftheLANinterface,issuethefollowingcommandtoactivatetheLANsettingsimmediately.
#/etc/init.
d/networkingrestartMOXA:~#/etc/init.
d/networkingrestartAdjustingIPAddresseswith"ifconfig"IPsettingscanbeadjustedduringrun-time,butthenewsettingswillnotbesavedtotheflashROMwithoutmodifyingthefile/etc/network/interfaces.
Forexample,typethecommand#ifconfigeth0192.
168.
1.
1tochangetheIPaddressofLAN1to192.
168.
1.
1.
MOXA:~#ifconfigeth0192.
168.
1.
1MOXA:~#Telnet/TFTPServerInadditiontosupportingTelnetclient/serverandFTPclient/server,theV2616-LXalsosupportsSSHandsftpclient/server.
ToenableordisabletheTelnet/ftpserver,youneedtoeditthefile/etc/inetd.
conf.
1.
Mounttherootfilesystemwithwritepermission.
MOXA:~#mount-oremount,rw/V2616LinuxUser'sManualManagingCommunications3-42.
Type#cd/etctochangethedirectory.
MOXA:~#cd/etc3.
Type#viinetd.
conftoedittheconfigurationfile.
MOXA:/etc#viinetd.
confEnablingtheTelnet/TFTPServerThefollowingexampleshowsthedefaultcontentofthefile/etc/inetd.
conf.
Thedefaultisto"enabletheTelnet/ftpserver:"telnetstreamtcpnowaittelnetd/usr/sbin/tcpd/usr/sbin/in.
telnetdtftpdgramudpwaitnobody/usr/sbin/tcpd/usr/sbin/in.
tftpd/srv/tftpDisablingtheTelnet/TFTPServerDisablethedaemonbytyping"#"infrontofthefirstcharacteroftherowtocommentouttheline.
Forexample,todisabletheTFTPserver,usethefollowingcommands:telnetstreamtcpnowaittelnetd/usr/sbin/tcpd/usr/sbin/in.
telnetd#tftpdgramudpwaitnobody/usr/sbin/tcpd/usr/sbin/in.
tftpd/srv/tftpAfteryoufinishwritingormodifyingthecode,remembertoexecute"umount/"tochangetherootdirectorybacktoRead-onlymode.
MOXA:~#umount/DNSClientTheV2616-LXsupportsDNSclient(butnotDNSserver).
TosetupDNSclient,youneedtoeditthreeconfigurationfiles:/etc/hostname,/etc/resolv.
conf,and/etc/nsswitch.
conf.
/etc/hostname1.
Mounttherootfilesystemwithwritepermission.
MOXA:~#mount-oremount,rw/2.
Edit/etc/hostname:MOXA:~#vi/etc/hostnameMOXA3.
Afteryoufinishwritingormodifyingthecode,remembertoexecute"umount/"tochangetherootdirectorybacktoRead-onlymode.
MOXA:~#umount/V2616LinuxUser'sManualManagingCommunications3-54.
Re-configurethehostname.
MOXA:~#/etc/init.
d/hostname.
shstart5.
Checkthenewhostname.
MOXA:~#hostname/etc/resolv.
confThisisthemostimportantfilethatyouneedtoeditwhenusingDNS.
Forexample,beforeusing#ntpdatetime.
stdtime.
gov.
twtoupdatethesystemtime,youwillneedtoaddtheDNSserveraddresstothefile.
AskyournetworkadministratorwhichDNSserveraddressyoushoulduse.
TheDNSserver'sIPaddressisspecifiedwiththenameservercommand.
Forexample,addthefollowinglineto/etc/resolv.
conf(assumingtheDNSserver'sIPaddressis168.
95.
1.
1):nameserver168.
95.
1.
1MOXA:/etc#catresolv.
conf##resolv.
confThisfileistheresolverconfigurationfile#Seeresolver(5).
##nameserver192.
168.
1.
16nameserver168.
95.
1.
1nameserver140.
115.
1.
31nameserver140.
115.
236.
10MOXA:/etc#/etc/nsswitch.
confThisfiledefinesthesequenceoffiles,/etc/hostsor/etc/resolv.
conf,tobereadtoresolvetheIPaddress.
Thehostslinein/etc/nsswitch.
confmeansuse/etc/hostfirstandDNSservicetoresolvetheaddress.
#/etc/nsswitch.
conf##ExampleconfigurationofGNUNameServiceSwitchfunctionality.
#Ifyouhavethe`glibc-doc-reference'and`info'packagesinstalled,try:#`infolibc"NameServiceSwitch"'forinformationaboutthisfile.
passwd:compatgroup:compatshadow:compathosts:filesdnsnetworks:filesprotocols:dbfilesservices:dbfilesethers:dbfilesrpc:dbfilesnetgroup:nisV2616LinuxUser'sManualManagingCommunications3-6ApacheWebServerDefaultHomepageTheApachewebserver'smainconfigurationfileis/etc/apache2/sites-enabled/000-default,withthedefaulthomepagelocatedat/var/www/apache2-default/index.
html.
Saveyourownhomepagetothefollowingdirectory:/var/wwwSaveyourCGIpagetothefollowingdirectory:/var/wwwBeforeyoumodifythehomepage,useabrowser(suchasMicrosoftInternetExploreorMozillaFirefox)fromyourPCtotestiftheApachewebserverisworking.
TypetheLAN1IPaddressinthebrowser'saddressboxtoopenthehomepage.
Forexample,ifthedefaultIPaddress192.
168.
3.
127isstillactive,type:http://192.
168.
3.
127/TotestthedefaultCGIpage,type:http://192.
168.
3.
127/cgi-bin/w3mmail.
cgiDisablingtheCGIFunctionTheCGIfunctionisenabledbydefault.
Ifyouwanttodisablethefunction,modifythefile/etc/apache2/sites-enabled/000-default.
1.
Mounttherootfilesystemwithwritepermission.
MOXA:~#mount-oremount,rw2.
Type#vi/etc/apache2/sites-enabled/000-defaulttoedittheconfigurationfile.
Commentoutthefollowinglines:#ScriptAlias/cgi-bin//var/www/cgi-bin/##AllowOverrideNone#OptionsExecCGI-MultiViews+SymLinksIfOwnerMatch##Orderallow,deny#Orderdeny,allow#Allowfromall#MOXA:/etc#vi/etc/apache2/sites-available/default#ScriptAlias/cgi-bin//var/www/cgi-bin/##AllowOverrideNone#OptionsExecCGI-MultiViews+SymLinksIFOwnerMatch##Orderallow,deny#Orderdeny,allow#Allowfromall#3.
Afteryoufinishwritingormodifyingthecode,remembertoexecute"umount/"tochangetherootdirectorybacktoRead-onlymode.
MOXA:~#umount/V2616LinuxUser'sManualManagingCommunications3-74.
Re-starttheapacheserver.
MOXA:~#/etc/init.
d/apache2restartATTENTIONWhenyoudevelopyourownCGIapplication,makesureyourCGIfileisexecutable.
SavingWebPagestoaUSBStorageDeviceSomeapplicationsmayhavewebpagesthattakeupalotofstoragespace.
ThissectiondescribeshowtosavewebpagestotheUSBmassstoragedevice,andthenconfiguretheApachewebserver'sDocumentRoottoopenthesepages.
ThefilesusedinthisexamplecanbedownloadedfromMoxa'swebsite.
1.
PreparethewebpagesandthensavethepagestotheUSBstoragedevice.
Clickonthefollowinglinktodownloadthewebpagetestsuite:http://www.
w3.
org/MarkUp/Test/HTML401.
zip.
2.
UncompressthezipfiletoyourdesktopPC,andthenuseFTPtotransferittotheV2616-LX's/media/usb0directory.
3.
Mounttherootfilesystemwithwritepermission.
MOXA:~#mount-oremount,rw/4.
Type#vi/etc/apache2/sites-avaliable/defaultand#vi/etc/apache2/sites-avaliable/default-ssltoedittheconfigurationfile.
MOXA:/etc#MOXA:/etc#vi/etc/apache2/sites-avaliable/defaultMOXA:/etc#vi/etc/apache2/sites-avaliable/default-s5.
ChangetheDocumentRootdirectorytotheUSBstoragedirectory/media/usb0/www.
.
.
.
.
.
.
.
.
.
DocumentRoot/media/usb0/wwwOptionsFollowSymLinksAllowOverrideNone.
.
.
.
.
.
ScriptAlias/cgi-bin//media/usb0/www/cgi-bin/AllowOverrideNoneOptionsExecCGI-MultiViews+SymLinksIfOwnerMatchOrderallow,denyAllowfromall.
.
.
"etc/apache2/sites-avaliable/default".
.
.
.
.
.
DocumentRoot/media/usb0/wwwV2616LinuxUser'sManualManagingCommunications3-8OptionsFollowSymLinksAllowOverrideNone.
.
.
.
.
.
ScriptAlias/cgi-bin//media/usb0/www/cgi-bin/AllowOverrideNoneOptionsExecCGI-MultiViews+SymLinksIfOwnerMatchOrderallow,denyAllowfromall.
.
.
/etc/apache2/sites-avaliable/default-ssl"6.
UsethefollowingcommandstorestarttheApachewebserver:#cd/etc/init.
d#.
/apache2restart7.
StartyourbrowserandconnecttotheV2616-LXbytypingthecurrentLAN1IPaddressinthebrowser'saddressbox.
8.
Remembertoexecute"umount/"tochangetherootdirectorybacktoRead-onlymode.
MOXA:~#umount/9.
Re-starttheapacheserver.
MOXA:~#/etc/init.
d/apache2restartATTENTIONVisittheApachewebsiteathttp://httpd.
apache.
org/docs/formoreinformationaboutsettingupApacheservers.
IPTABLESIPTABLESisanadministrativetoolforsettingup,maintaining,andinspectingtheLinuxkernel'sIPpacketfilterruletables.
Severaldifferenttablesaredefined,witheachtablecontainingbuilt-inchainsanduser-definedchains.
Eachchainisalistofrulesthatapplytoacertaintypeofpacket.
Eachrulespecifieswhattodowithamatchingpacket.
Arule(suchasajumptoauser-definedchaininthesametable)iscalledatarget.
TheV2616-LXsupportsthreetypesofIPTABLES:Filtertables,NATtables,andMangletables.
FilterTable—includesthreechains:INPUTchainOUTPUTchainFORWARDchainNATTable—includesthreechains:PREROUTINGchain—transfersthedestinationIPaddress(DNAT).
POSTROUTINGchain—worksaftertheroutingprocessandbeforetheEthernetdeviceprocesstotransferthesourceIPaddress(SNAT).
V2616LinuxUser'sManualManagingCommunications3-9OUTPUTchain—produceslocalpackets.
Sub-tablesSourceNAT(SNAT)—changesthefirstsourceIPaddressofthepacket.
DestinationNAT(DNAT)—changesthefirstdestinationIPaddressofthepacket.
MASQUERADE—aspecialformforSNAT.
IfonehostcanconnecttotheInternet,thentheothercomputersthatconnecttothishostcanconnecttotheInternetwhenthecomputerdoesnothaveanactualIPaddress.
REDIRECT—aspecialformofDNATthatre-sendspacketstoalocalhostindependentofthedestinationIPaddress.
MangleTable—includestwochainsPREROUTINGchain—pre-processespacketsbeforetheroutingprocess.
OUTPUTchain—processespacketsaftertheroutingprocess.
Mangletablescanhaveoneofthreeextensions—TTL,MARK,TOS.
IPTABLESHierarchyThefollowingfigureshowstheIPTABLEShierarchy.
IncomingPacketsMangleTablePREROUTINGChainNATTablePREROUTINGChainNATTablePOSTROUTINGChainOutgoingPacketsOtherHostPacketsMangleTableFORWARDChainFilterTableFORWARDChainMangleTablePOSTROUTINGChainLocalHostPacketsMangleTableINPUTChainFilterTableINPUTChainLocalProcessMangleTableOUTPUTChainNATTableOUTPUTChainFilterTableOUTPUTChainV2616LinuxUser'sManualManagingCommunications3-10IPTABLESModulesTheV2616-LXsupportsthefollowingsub-modules.
Besuretousethemodulethatmatchesyourapplication.
arptable_filter.
koarp_tables.
koarpt_mangle.
koip_conntrack_amanda.
koip_conntrack_ftp.
koip_conntrack_h323.
koip_conntrack_irc.
koip_conntrack.
koip_conntrack_netbios_ns.
koip_conntrack_netlink.
koip_conntrack_pptp.
koip_conntrack_proto_sctp.
koip_conntrack_sip.
koip_conntrack_tftp.
koip_nat_amanda.
koip_nat_ftp.
koip_nat_h323.
koip_nat_irc.
koip_nat.
koip_nat_pptp.
koip_nat_sip.
koip_nat_snmp_basic.
koip_nat_tftp.
koip_queue.
koiptable_filter.
koiptable_mangle.
koiptable_nat.
koiptable_raw.
koip_tables.
koipt_addrtype.
koipt_ah.
koipt_CLUSTERIP.
koipt_dscp.
koipt_DSCP.
koipt_ecn.
koipt_ECN.
koipt_hashlimit.
koipt_iprange.
koipt_LOG.
koipt_MASQUERADE.
koipt_NETMAP.
koipt_owner.
koipt_recent.
koipt_REDIRECT.
koipt_REJECT.
koipt_SAME.
koipt_TCPMSS.
koipt_tos.
koipt_TOS.
koipt_ttl.
koipt_TTL.
koipt_ULOG.
koThebasicsyntaxtoenableandloadanIPTABLESmoduleisasfollows:#lsmod#modprobeip_tables#modprobeiptable_filter#modprobeiptable_mangle#modprobeiptable_natUselsmodtocheckiftheip_tablesmodulehasalreadybeenloadedintheV2616-LX.
Usemodprobetoinsertandenablethemodule.
Useiptables,iptables-restore,andiptables-savetomaintainthedatabase.
ATTENTIONIPTABLESplaystheroleofpacketfilteringorNAT.
BecarefulwhensettinguptheIPTABLESrules.
Iftherulesarenotcorrect,remotehoststhatconnectviaaLANorPPPmaybedenied.
WerecommendusingtheVGAconsoletosetuptheIPTABLES.
ClickonthefollowinglinksformoreinformationaboutIPTABLES.
http://www.
linuxguruz.
com/iptables/http://www.
netfilter.
org/documentation/HOWTO//packet-filtering-HOWTO.
htmlSincetheIPTABLEScommandisverycomplex,toillustratetheIPTABLESsyntaxwehavedividedourdiscussionofthevariousrulesintothreecategories:Observeanderasechainrules,Definepolicyrules,andAppendordeleterules.
ObserveandEraseChainRulesUsage:#iptables[-ttables][-L][-n]-ttables:Tabletomanipulate(default:'filter');example:natorfilter.
-L[chain]:ListListallrulesinselectedchains.
Ifnochainisselected,allchainsarelisted.
-n:Numericoutputofaddressesandports.
#iptables[-ttables][-FXZ]-F:Flushtheselectedchain(allthechainsinthetableifnoneislisted).
-X:Deletethespecifieduser-definedchain.
-Z:Setthepacketandbytecountersinallchainstozero.
V2616LinuxUser'sManualManagingCommunications3-11Example:#iptables-L-nInthisexample,sincewedonotusethe-tparameter,thesystemusesthedefault"filter"table.
Threechainsareincluded:INPUT,OUTPUT,andFORWARD.
INPUTchainsareacceptedautomatically,andallconnectionsareacceptedwithoutbeingfiltered.
#iptables–F#iptables–X#iptables-ZDefinePolicyforChainRulesUsage:#iptables[-ttables][-P][INPUT,OUTPUT,FORWARD,PREROUTING,OUTPUT,POSTROUTING][ACCEPT,DROP]-P:Setthepolicyforthechaintothegiventarget.
INPUT:ForpacketscomingintotheV2616-LX.
OUTPUT:Forlocally-generatedpackets.
FORWARD:ForpacketsroutedoutthroughtheV2616-LX.
PREROUTING:Toalterpacketsassoonastheycomein.
POSTROUTING:Toalterpacketsastheyareabouttobesentout.
Example:#iptables–PINPUTDROP#iptables–POUTPUTACCEPT#iptables–PFORWARDACCEPT#iptables–tnat–PPREROUTINGACCEPT#iptables–tnat–POUTPUTACCEPT#iptables-tnat–PPOSTROUTINGACCEPTInthisexample,thepolicyacceptsoutgoingpacketsanddeniesincomingpackets.
AppendorDeleteRulesUsage:#iptables[-ttable][-AI][INPUT,OUTPUT,FORWARD][-iointerface][-ptcp,udp,icmp,all][-sIP/network][--sportports][-dIP/network][--dportports]–j[ACCEPT.
DROP]-A:Appendoneormorerulestotheendoftheselectedchain.
-I:Insertoneormorerulesintheselectedchainasthegivenrulenumber.
-i:Nameofaninterfaceviawhichapacketisgoingtobereceived.
-o:Nameofaninterfaceviawhichapacketisgoingtobesent.
-p:Theprotocoloftheruleorofthepackettocheck.
-s:Sourceaddress(networkname,hostname,networkIPaddress,orplainIPaddress).
--sport:Sourceportnumber.
-d:Destinationaddress.
--dport:Destinationportnumber.
-j:Jumptarget.
Specifiesthetargetoftherules;i.
e.
,howtohandlematchedpackets.
Forexample,ACCEPTthepacket,DROPthepacket,orLOGthepacket.
Examples:Example1:Acceptallpacketsfromthelointerface.
#iptables–AINPUT–ilo–jACCEPTExample2:AcceptTCPpacketsfrom192.
168.
0.
1.
#iptables–AINPUT–ieth0–ptcp–s192.
168.
0.
1–jACCEPTV2616LinuxUser'sManualManagingCommunications3-12Example3:AcceptTCPpacketsfromClassCnetwork192.
168.
1.
0/24.
#iptables–AINPUT–ieth0–ptcp–s192.
168.
1.
0/24–jACCEPTExample4:DropTCPpacketsfrom192.
168.
1.
25.
#iptables–AINPUT–ieth0–ptcp–s192.
168.
1.
25–jDROPExample5:DropTCPpacketsaddressedforport21.
#iptables–AINPUT–ieth0–ptcp--dport21–jDROPExample6:AcceptTCPpacketsfrom192.
168.
0.
24toV2616-LX'sport137,138,139#iptables–AINPUT–ieth0–ptcp–s192.
168.
0.
24--dport137:139–jACCEPTExample7:LogTCPpacketsthatvisitV2616-LX'sport25.
#iptables–AINPUT–ieth0–ptcp--dport25–jLOGExample8:DropallpacketsfromMACaddress01:02:03:04:05:06.
#iptables–AINPUT–ieth0–pall–mmac--mac-source01:02:03:04:05:06–jDROPATTENTIONInExample8,remembertoissuethecommand#modprobeipt_macfirsttoloadthemoduleipt_mac.
NAT(NetworkAddressTranslation)TheNAT(NetworkAddressTranslation)protocoltranslatesIPaddressesusedononenetworkintoIPaddressesusedonaconnectingnetwork.
Onenetworkisdesignatedtheinsidenetworkandtheotheristheoutsidenetwork.
Typically,theV2616-LXconnectsseveraldevicesonanetworkandmapslocalinsidenetworkaddressestooneormoreglobaloutsideIPaddresses,andun-mapstheglobalIPaddressesonincomingpacketsbackintolocalIPaddresses.
ATTENTIONClickonthefollowinglinkformoreinformationaboutNAT:http://www.
netfilter.
org/documentation/HOWTO//packet-filtering-HOWTO.
htmlNATExampleTheIPaddressofallpacketsleavingLAN1arechangedto192.
168.
3.
127(youwillneedtoloadthemoduleipt_MASQUERADE):V2616LinuxUser'sManualManagingCommunications3-13EnablingNATatBootupInmostrealworldsituations,youwillwanttouseasimpleshellscripttoenableNATwhentheV2616-LXbootsup.
Thefollowingscriptisanexample.
#!
/bin/bash#Ifyouputthisshellscriptinthe/home/nat.
sh#Remembertochmod744/home/nat.
sh#Edittherc.
localfiletomakethisshellstartupautomatically.
#vi/etc/rc.
local#Addalineintheendofrc.
local/home/nat.
shEXIF="eth0"#ThisisanexternalinterfaceforsettingupavalidIPaddress.
EXNET="192.
168.
4.
0/24"#Thisisaninternalnetworkaddress.
#Step1.
Insertmodules.
#Here2>/dev/nullmeansthestandarderrormessageswillbedumptonulldevice.
modprobeip_tables2>/dev/nullmodprobeip_nat_ftp2>/dev/nullmodprobeip_nat_irc2>/dev/nullmodprobeip_conntrack2>/dev/nullmodprobeip_conntrack_ftp2>/dev/nullmodprobeip_conntrack_irc2>/dev/null#Step2.
Definevariables,enableroutinganderasedefaultrules.
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbinexportPATHecho"1">/proc/sys/net/ipv4/ip_forward/sbin/iptables-F/sbin/iptables-X/sbin/iptables-Z/sbin/iptables-F-tnat/sbin/iptables-X-tnat/sbin/iptables-Z-tnat/sbin/iptables-PINPUTACCEPT/sbin/iptables-POUTPUTACCEPT/sbin/iptables-PFORWARDACCEPT/sbin/iptables-tnat-PPREROUTINGACCEPT/sbin/iptables-tnat-PPOSTROUTINGACCEPT/sbin/iptables-tnat-POUTPUTACCEPT#Step3.
EnableIPmasquerade.
#ehco1>/proc/sys/net/ipv4/ip_forward#modprobeipt_MASQUERADE#iptables–tnat–APOSTROUTING–oeth0–jMASQUERADEPPP(PointtoPointProtocol)PPP(PointtoPointProtocol)isusedtorunIP(InternetProtocol)andothernetworkprotocolsoveraseriallink.
PPPcanbeusedfordirectserialconnections(usinganull-modemcable)overaTelnetlink,andlinksestablishedusingamodemoveratelephoneline.
Modem/PPPaccessisalmostidenticaltoconnectingdirectlytoanetworkthroughtheV2616-LXEthernetport.
SincePPPisapeer-to-peersystem,theV2616-LXcanalsousePPPtolinktwonetworks(oralocalnetworktotheInternet)tocreateaWideAreaNetwork(WAN).
V2616LinuxUser'sManualManagingCommunications3-14ATTENTIONClickonthefollowinglinksformoreinformationaboutPPP:http://tldp.
org/HOWTO/PPP-HOWTO/index.
htmlhttp://axion.
physics.
ubc.
ca/ppp-linux.
htmlConnectingtoaPPPServeroveraSimpleDial-upConnectionThefollowingcommandisusedtoconnecttoaPPPserverbymodem.
Usethiscommandforoldpppserversthatpromptforaloginname(replace"username"withthecorrectname)andpassword(replace"password"withthecorrectpassword).
Notethat"debugcrtscts"and"defaultroute192.
1.
1.
17"areoptional.
#pppdconnect'chat-v""ATDT5551212CONNECT""'ogin:usernameword:password'/dev/ttyM0115200debugcrtsctsmodemdefaultroute192.
1.
1.
17IfthePPPserverdoesnotpromptfortheusernameandpassword,thecommandshouldbeenteredasfollows(replace"username"withthecorrectusernameandreplace"password"withthecorrectpassword):#pppdconnect'chat-v""ATDT5551212CONNECT""'userusernamepasswordpassword/dev/ttyM0115200crtsctsmodemThepppdoptionsaredescribedbelow:connect'chatetc.
.
.
'ThisoptiongivesthecommandtocontactthePPPserver.
Thechatprogramisusedtodialaremotecomputer.
Theentirecommandisenclosedinsinglequotesbecausepppdexpectsaone-wordargumentfortheconnectoption.
Theoptionsforchataregivenbelow:-vverbosemode;logwhatwedotosyslog""Doublequotes—don'twaitforaprompt,butinsteaddo.
.
.
(notethatyoumustincludeaspaceafterthesecondquotationmark)ATDT5551212Dialthemodem,andthen.
.
.
CONNECTWaitforananswer.
""Sendareturn(nulltextfollowedbytheusualreturn)ogin:usernameword:passwordLoginwithusernameandpassword.
Note:Refertothechatmanpage,chat.
8,formoreinformationaboutthechatutility.
/dev/Specifythecalloutserialport.
115200Thebaudrate.
debugLogstatusinsyslog.
crtsctsUsehardwareflowcontrolbetweenthecomputerandmodem(atbaudrateof115200thisisamust).
modemIndicatesthatthisisamodemdevice;pppdwillhangupthephonebeforeandaftermakingthecall.
defaultrouteOncethePPPlinkisestablished,makeitthedefaultroute;ifyouhaveaPPPlinktotheInternet,thisisprobablywhatyouwant.
192.
1.
1.
17Thisisadegeneratecaseofageneraloptionoftheformx.
x.
x.
x:y.
y.
y.
y.
Herex.
x.
x.
xisthelocalIPaddressandy.
y.
y.
yistheIPaddressoftheremoteendofthePPPconnection.
Ifthisoptionisnotspecified,orifjustonesideisspecified,thenx.
x.
x.
xV2616LinuxUser'sManualManagingCommunications3-15defaultstotheIPaddressassociatedwiththelocalmachine'shostname(locatedin/etc/hosts),andy.
y.
y.
yisdeterminedbytheremotemachine.
ConnectingtoaPPPServeroveraHard-wiredLinkIfausernameandpasswordarenotrequired,usethefollowingcommand(notethatnoipdefaultisoptional):#pppdconnect'chat–v"noipdefault/dev/ttyM019200crtsctsIfausernameandpasswordisrequired,usethefollowingcommand(notethatnoipdefaultisoptional,andtheusernameandpasswordareboth"root"):#pppdconnect'chat–v"userrootpasswordrootnoipdefault/dev/ttyM019200crtsctsCheckingtheConnectionOnceyouhavesetupaPPPconnection,therearesomestepsyoucantaketotesttheconnection.
First,type:#/sbin/ifconfigDependingonyourdistribution,thecommandmightbelocatedelsewhere.
Afterexecutingthecommand,youshouldbeabletoseeallofthenetworkinterfacesthatareUP.
ppp0shouldbeoneofthenetworkinterfaces.
YoushouldrecognizethefirstIPaddressastheIPaddressofthecomputer,andP-t-PaddressistheIPaddressoftheserver.
Theoutputshouldbesimilartothefollowing:loLinkencapLocalLoopbackinetaddr127.
0.
0.
1Bcast127.
255.
255.
255Mask255.
0.
0.
0UPLOOPBACKRUNNINGMTU2000Metric1RXpackets0errors0dropped0overrun0ppp0LinkencapPoint-to-PointProtocolinetaddr192.
76.
32.
3P-t-P129.
67.
1.
165Mask255.
255.
255.
0UPPOINTOPOINTRUNNINGMTU1500Metric1RXpackets33errors0dropped0overrun0TXpackets42errors0dropped0overrun0Now,type:#pingz.
z.
z.
zwherez.
z.
z.
zistheaddressofyournameserver.
Theoutputshouldbesimilartothefollowing:MOXA:~#ping129.
67.
1.
165PING129.
67.
1.
165(129.
67.
1.
165):56databytes64bytesfrom129.
67.
1.
165:icmp_seq=0ttl=225time=268ms64bytesfrom129.
67.
1.
165:icmp_seq=1ttl=225time=247ms64bytesfrom129.
67.
1.
165:icmp_seq=2ttl=225time=266ms^C---129.
67.
1.
165pingstatistics---3packetstransmitted,3packetsreceived,0%packetlossround-tripmin/avg/max=247/260/268msMOXA:~#Trytyping:#netstat-nrYoushouldseethreeroutessimilartothefollowing:V2616LinuxUser'sManualManagingCommunications3-16KernelroutingtableDestinationGatewayGenmaskFlagsMetricRefUseiface129.
67.
1.
1650.
0.
0.
0255.
255.
255.
255UH006ppp0127.
0.
0.
00.
0.
0.
0255.
0.
0.
0U000lo0.
0.
0.
0129.
67.
1.
1650.
0.
0.
0UG006298ppp0Ifyouroutputlookssimilarbutdoesnothavethe"destination0.
0.
0.
0"line(whichreferstothedefaultrouteusedforconnections),youmayhaverunpppdwithoutthedefaultrouteoption.
Atthispoint,youcantryusingTelnet,ftp,orfinger,bearinginmindthatyouwillhavetousenumericIPaddressesunlessyouhaveconfigured/etc/resolv.
confcorrectly.
SettingupaMachineforIncomingPPPConnectionsMethod1:pppddial-inwithpppdcommandsThisfirstexampleappliestousingamodem,andrequiringauthorizationwithausernameandpassword.
#pppd/dev/ttyM0115200crtsctsmodem192.
168.
16.
1:192.
168.
16.
2loginauthYoushouldalsoaddthefollowinglinetothefile/etc/ppp/pap-secrets:**""*Thefirststar(*)letseveryonelogin.
Thesecondstar(*)letseveryhostconnect.
Thepairofdoublequotationmarks("")indicatesthatthefile/etc/passwdcanbeusedtocheckthepassword.
Thelaststar(*)istoletanyIPconnect.
Thefollowingexampledoesnotchecktheusernameandpassword:#pppd/dev/ttyM0115200crtsctsmodem192.
168.
16.
1:192.
168.
16.
2Method2:pppddial-inwithpppdscriptConfigureadial-inscript/etc/ppp/peer/dialin#YouusuallyneedthisifthereisnoPAPauthenticationnoauth#auth#login#Thechatscript(besuretoeditthatfile,too!
)init"/usr/sbin/chat-v-f/etc/ppp/ppp-ttyM0.
chat"#SetuproutingtogothroughthisPPPlinkdefaultroute#Defaultmodem(youbetterreplacethiswith/dev/ttySx!
)/dev/ttyM0#Speed115200#KeepmodemupevenifconnectionfailspersistcrtsctsmodemV2616LinuxUser'sManualManagingCommunications3-17192.
168.
16.
1:192.
168.
16.
2debug-detachConfigurethechatscript/etc/ppp/ppp-ttyM0.
chatSAY'AutoAnswerON\n'''ATS0=1Startthepppddial-inservice.
#pppdcalldialinATTENTIONIfyouwouldliketohaveautodial-inservice,youcanlaunchthedial-inservicein/etc/inittabwiththerespawncommand.
MOXA:~#mount–oremount,rw/dev/hda1/MOXA:~#echo"p0:2345:respawn:pppdcalldialin">>/etc/inittabMOXA:~#umount/PPPoEUsethefollowingproceduretoconfigurePPPoE:1.
ConnecttheV2616-LX'sLANporttoanADSLmodemwithacross-overcable,HUB,orswitch.
2.
LogintotheV2616-LXastherootuser.
3.
Editthefile/etc/ppp/chap-secretsandaddthefollowing:"username@hinet.
net"*"password"*#SecretsforauthenticationusingCHAP#clientserversecretIPaddresses#PPPOEexample,ifyouwanttouseit,youneedtounmarkitandmodifyit"username@hinet.
net"*"password"*username@hinet.
netistheusernameobtainedfromtheISPtologintotheISPaccount.
passwordisthecorrespondingpasswordfortheaccount.
4.
Editthefile/etc/ppp/pap-secretsandaddthefollowing:"username@hinet.
net"*"password"*#ATTENTION:Thedefinitionsherecanallowuserstologinwithouta#passwordifyoudon'tusetheloginoptionofpppd!
ThemgettyDebian#packagealreadyprovidesthisoption;makesureyoudon'tchangethat.
#INBOUNDconnections#EveryregularusercanusePPPandhastousepasswordsfrom/etc/passwd*hostname""*"username@hinet.
net"*"password"*#UserIDsthatcannotusePPPatall.
Checkyour/etc/passwdandaddany#otheraccountsthatshouldnotbeabletousepppd!
guesthostname"*"-V2616LinuxUser'sManualManagingCommunications3-18masterhostname"*"-roothostname"*"-supporthostname"*"-statshostname"*"-#OUTBOUNDconnectionsusername@hinet.
netistheusernameobtainedfromtheISPtologintotheISPaccount.
passwordisthecorrespondingpasswordfortheaccount.
5.
Editthefile/etc/ppp/optionsandaddthefollowingline:pluginrp-pppoe#received.
Note:itisnotadvisabletousethisoptionwiththepersist#optionwithoutthedemandoption.
Iftheactive-filteroptionisgiven,#datapacketswhicharerejectedbythespecifiedactivityfilteralso#countasthelinkbeingidle.
#idle#Specifieshowmanysecondstowaitbeforere-initiatingthelinkafter#itterminates.
Thisoptiononlyhasanyeffectifthepersistordemand#optionisused.
Theholdoffperiodisnotappliedifthelinkwas#terminatedbecauseitwasidle.
#holdoff#Waitforupnmillisecondsaftertheconnectscriptfinishesforavalid#PPPpacketfromthepeer.
Attheendofthistime,orwhenavalidPPP#packetisreceivedfromthepeer,pppdwillcommencenegotiationby#sendingitsfirstLCPpacket.
Thedefaultvalueis1000(1second).
#Thiswaitperiodonlyappliesiftheconnectorptyoptionisused.
#connect-delay#Loadthepppoepluginpluginrp-pppoe.
so#------6.
IfyouuseLAN1toconnecttotheADSLmodem,addthefile/etc/ppp/options.
eth0,ifyouuseLAN2toconnecttotheADSLmodem,add/etc/ppp/options.
eth1,etc.
nameusername@hinet.
netmtu1492mru1492defaultroutenoipdefault~~"/etc/ppp/options.
eth0"5lines,67charactersTypeyourusername(theoneyousetinthe/etc/ppp/pap-secretsand/etc/ppp/chap-secretsfiles)afterthenameoption.
Youmayaddotheroptionsasneeded.
7.
SetupDNS.
IfyouareusingDNSserverssuppliedbyyourISP,editthefile/etc/resolv.
confbyaddingthefollowinglinesofcode:nameserverip_addr_of_first_dns_servernameserverip_addr_of_second_dns_serverForexample:V2616LinuxUser'sManualManagingCommunications3-19nameserver168.
95.
1.
1nameserver139.
175.
10.
20MOXA:/etc#catresolv.
conf##resolv.
confThisfileistheresolverconfigurationfile#Seeresolver(5).
#nameserver168.
95.
1.
1nameserver139.
175.
10.
20MOXA:/etc#Usethefollowingcommandtocreateapppoeconnection:#pppdeth08.
TheADSLmodemisconnectedtotheLAN1port,whichisnamedeth0.
IftheADSLmodemisconnectedtoLAN2,useeth1,etc.
9.
Type#ifconfigppp0tocheckiftheconnectionisOK.
IftheconnectionisOK,youshouldseetheIPaddressofppp0.
Use#pingtotesttheIPaddress.
ppp0LinkencapPoint-to-PointProtocolinetaddr192.
76.
32.
3P-t-P129.
67.
1.
165Mask255.
255.
255.
0UPPOINTOPOINTRUNNINGMTU1500Metric1RXpackets33errors0dropped0overrun0TXpackets42errors0dropped0overrun010.
Ifyouwanttodisconnecttheconnection,usethekillcommandtokillthepppdprocess.
NFS(NetworkFileSystem)ClientTheNetworkFileSystem(NFS)isusedtomountadiskpartitiononaremotemachine(asifitwereonalocalharddrive),allowingfast,seamlesssharingoffilesacrossanetwork.
NFSallowsuserstodevelopapplicationsfortheV2616-LXwithoutworryingabouttheamountofdiskspacethatwillbeavailable.
TheV2616-LXonlysupportsNFSclientprotocol.
ATTENTIONClickonthefollowinglinksformoreinformationaboutNFS.
http://www.
ietf.
org/rfc/rfc1213.
txthttp://www.
faqs.
org/rfcs/rfc1317.
htmlThefollowingproceduresillustratehowtomountaremoteNFSServer.
1.
ScantheNFSServer'sshareddirectory:#showmount–eHOSTshowmount:ShowsthemountinformationofanNFSServer-e:ShowstheNFSServer'sexportlist.
HOST:IPaddressorDNSaddress2.
EstablishamountpointontheNFSClientsite:#mkdir–p/home/nfs/public3.
Mounttheremotedirectorytoalocaldirectory:#mount-tnfs-onolock192.
168.
3.
100:/home/public/home/nfs/public(Thisiswhere192.
168.
3.
100istheexampleIPaddressoftheNFSserver.
)V2616LinuxUser'sManualManagingCommunications3-20SNMP(SimpleNetworkManagementProtocol)TheV2616-LXcomeswiththeSNMPV1(SimpleNetworkManagementProtocol)agentsoftwarepre-installed.
ItsupportsRFC1213MIB-II.
ThefollowingexampleshowsanSNMPagentrespondingtoaqueryfromtheSNMPbrowseronthehostsite:SNMPv2-MIB::sysDescr.
0=STRING:LinuxMoxa2.
6.
32-5-amd64#1SMPTueJun1409:42:28UTC2011x86_64SNMPv2-MIB::sysObjectID.
0=OID:SNMPv2-SMI::enterprises.
8691.
12.
2616DISMAN-EVENT-MIB::sysUpTimeInstance=Timeticks:(523675)1:27:16.
75SNMPv2-MIB::sysContact.
0=STRING:"Jared"SNMPv2-MIB::sysName.
0=STRING:MoxaSNMPv2-MIB::sysLocation.
0=STRING:"Fl.
8No.
6,Alley6,Lane235,Pao-ChiaoRd.
,ShingTienCity,Taipei,Taiwan,R.
O.
C.
"SNMPv2-MIB::sysORLastChange.
0=Timeticks:(1)0:00:00.
01SNMPv2-MIB::sysORID.
1=OID:SNMP-FRAMEWORK-MIB::snmpFrameworkMIBComplianceSNMPv2-MIB::sysORID.
2=OID:SNMP-MPD-MIB::snmpMPDComplianceSNMPv2-MIB::sysORID.
3=OID:SNMP-USER-BASED-SM-MIB::usmMIBComplianceSNMPv2-MIB::sysORID.
4=OID:SNMPv2-MIB::snmpMIBSNMPv2-MIB::sysORID.
5=OID:TCP-MIB::tcpMIBSNMPv2-MIB::sysORID.
6=OID:IP-MIB::ipSNMPv2-MIB::sysORID.
7=OID:UDP-MIB::udpMIBSNMPv2-MIB::sysORID.
8=OID:SNMP-VIEW-BASED-ACM-…ATTENTIONClickonthefollowinglinksformoreinformationaboutRFC1317RS-232likegroupsandRFC1213MIB-II:http://www.
faqs.
org/rfcs/rfc1317.
htmlhttp://www.
ietf.
org/rfc/rfc1213.
txtOpenVPNOpenVPNprovidestwotypesoftunnelsforuserstoimplementVPNS:RoutedIPTunnelsandBridgedEthernetTunnels.
AnEthernetbridgeisusedtoconnectdifferentEthernetnetworkstogether.
TheEthernetsarebundledintoonebigger,"logical"Ethernet.
EachEthernetcorrespondstoonephysicalinterface(orport)thatisconnectedtothebridge.
OneachOpenVPNmachine,youshouldcarryoutconfigurationsinthe/etc/openvpndirectory,wherescriptfilesandkeyfilesreside.
Onceestablished,alloperationswillbeperformedinthatdirectory.
V2616LinuxUser'sManualManagingCommunications3-21EthernetBridgingforPrivateNetworksonDifferentSubnets1.
Setupfourmachines,asshowninthefollowingdiagram.
HostArepresentsthemachinethatbelongstoOpenVPNA,andHostBrepresentsthemachinethatbelongstoOpenVPNB.
ThetworemotesubnetsareconfiguredforadifferentrangeofIPaddresses.
Whenthisconfigurationismovedtoapublicnetwork,theexternalinterfacesoftheOpenVPNmachinesshouldbeconfiguredforstaticIPs,orconnectedtoanotherdevice(suchasafirewallorDSLbox)first.
2.
Generateapresetsharedkeybytypingthefollowingcommand:#openvpn--genkey--secretsecrouter.
key3.
CopythefilethatisgeneratedtotheOpenVPNmachine:#scp/etc/openvpn/secrouter.
key192.
168.
8.
174:/etc/openvpnATTENTIONApresharedkeyislocatedat/etc/openvpn/secrouter.
key.
Youcanuseitfortestingpurposes.
Wesuggestcreatinganewkeyfornon-testingpurposes.
4.
OnmachineOpenVPNA,modifytheremoteaddressinconfigurationfile/etc/openvpn/tap0-br.
conf.
#pointtothepeerremote192.
168.
8.
174devtap0port1194secret/etc/openvpn/secrouter.
keycipherDES-EDE3-CBCauthMD5tun-mtu1500tun-mtu-extra64ping40up/etc/openvpn/tap0-br.
sh#comp-lzoV2616LinuxUser'sManualManagingCommunications3-225.
Next,modifytheroutingtablein/etc/openvpn/tap0-br.
shscript.
Start-#!
/bin/sh#valueafter"-net"isthesubnetbehindtheremotepeerrouteadd-net192.
168.
4.
0netmask255.
255.
255.
0devbr0end-Andthenconfigurethebridgeinterfacein/etc/openvpn/bridge.
#!
/bin/bash#Createglobalvariables#DefineBridgeInterfacebr="br0"#DefinelistofTAPinterfacestobebridged,#forexampletap="tap0tap1tap2".
tap="tap0"#Definephysicalethernetinterfacetobebridged#withTAPinterface(s)above.
eth="eth1"eth_ip="192.
168.
8.
173"eth_netmask="255.
255.
255.
0"eth_broadcast="192.
168.
8.
255"#gw="192.
168.
8.
174".
.
.
Startthebridgescriptfiletoconfigurethebridgeinterface:#/etc/openvpn/bridgerestartOnmachineOpenVPNB,modifytheremoteaddressinconfigurationfile/etc/openvpn/tap0-br.
conf.
#pointtothepeerremote192.
168.
8.
173devtap0secret/etc/openvpn/secrouter.
keycipherDES-EDE3-CBCauthMD5tun-mtu1500tun-mtu-extra64ping40up/etc/openvpn/tap0-br.
sh#comp-lzo6.
Nextmodifytheroutingtablein/etc/openvpn/tap0-br.
shscriptfile.
Start-#!
/bin/sh#valueafter"-net"isthesubnetbehindtheremotepeerrouteadd-net192.
168.
2.
0netmask255.
255.
255.
0devbr0endAndthenconfigurethebridgeinterfacein/etc/openvpn/bridge.
#!
/bin/bash#Createglobalvariables#DefineBridgeInterfacebr="br0"#DefinelistofTAPinterfacestobebridged,V2616LinuxUser'sManualManagingCommunications3-23#forexampletap="tap0tap1tap2".
tap="tap0"#Definephysicalethernetinterfacetobebridged#withTAPinterface(s)above.
eth="eth1"eth_ip="192.
168.
8.
174"eth_netmask="255.
255.
255.
0"eth_broadcast="192.
168.
8.
255"#gw="192.
168.
8.
173".
.
.
Startthebridgescriptfiletoconfigurethebridgeinterface.
#/etc/openvpn/bridgerestartATTENTIONSelectcipherandauthenticationalgorithmsbyspecifyingcipherandauth.
Toseewhichalgorithmsareavailable,type:#openvpn--show-ciphers#openvpn--show-auths7.
StartbothOpenVPNpeersonmachineOpenVPNAandOpenVPNB.
#openvpn--config/etc/openvpn/tap0-br.
conf&IfyouseethelinePeerConnectionInitiatedwith192.
168.
8.
173:5000oneachmachine,theconnectionbetweenOpenVPNmachineshasbeenestablishedsuccessfullyonUDPport5000.
ATTENTIONYoucancreatelinksymbolstostarttheOpenVPNserviceatboottime:#ln-sf/etc/init.
d/openvpn/etc/rc2.
d/S16openvpnTostoptheservice,youshouldcreatetheselinks:#ln-sf/etc/init.
d/openvpn/etc/rc0.
d/K80openvpn#ln-sf/etc/init.
d/openvpn/etc/rc6.
d/K80openvpn8.
OneachOpenVPNmachine,checktheroutingtablebytypingthecommand#routeDestinationGatewayGenmskFlagsMetricRefUseIface192.
168.
5.
00.
0.
0.
0255.
255.
255.
0U000eth2192.
168.
4.
00.
0.
0.
0255.
255.
255.
0U000br0192.
168.
3.
00.
0.
0.
0255.
255.
255.
0U000eth0192.
168.
30.
00.
0.
0.
0255.
255.
255.
0U000eth3192.
168.
8.
00.
0.
0.
0255.
255.
255.
0U000br0Interfaceeth1anddevicetap0bothconnecttothebridginginterface,andthevirtualdevicetunsitsontopoftap0.
Thisensuresthatalltrafficcomingtothisbridgefrominternalnetworksconnectedtointerfaceeth1writetotheTAP/TUNdevicethattheOpenVPNprogrammonitors.
OncetheOpenVPNprogramdetectstrafficonthevirtualdevice,itsendsthetraffictoitspeer.
9.
TocreateanindirectconnectiontoHostBfromHostA,youneedtoaddthefollowingroutingitem:#routeadd–net192.
168.
4.
0netmask255.
255.
255.
0deveth0TocreateanindirectconnectiontoHostAfromHostB,youneedtoaddthefollowingroutingitem:#routeadd–net192.
168.
2.
0netmask255.
255.
255.
0deveth0NowpingHostBfromHostAbytyping:V2616LinuxUser'sManualManagingCommunications3-24#ping192.
168.
4.
174AsuccessfulpingindicatesthatyouhavecreatedaVPNsystemthatonlyallowsauthorizedusersfromoneinternalnetworktoaccessusersattheremotesite.
Forthissystem,alldataistransmittedbyUDPpacketsonport5000betweenOpenVPNpeers.
10.
ToshutdownOpenVPNprograms,typethecommand:#killall-TERMopenvpnEthernetBridgingforPrivateNetworksontheSameSubnet1.
Setupfourmachines,asshowninthefollowingdiagram.
2.
Theconfigurationprocedureisalmostthesameasforthepreviousexample.
Theonlydifferenceisthatyouwillneedtocommentouttheparameterupin/etc/openvpn/tap0-br.
confofOpenVPNAand/etc/openvpn/tap0-br.
confofOpenVPNB.
#pointtothepeerremote192.
168.
8.
174devtap0secret/etc/openvpn/secrouter.
keycipherDES-EDE3-CBCauthMD5tun-mtu1500tun-mtu-extra64ping40#up/etc/openvpn/tap0-br.
sh#comp-lzoV2616LinuxUser'sManualManagingCommunications3-25RoutedIP1.
Setupfourmachines,asshowninthefollowingdiagram.
2.
OnmachineOpenVPNA,modifytheremoteaddressinconfigurationfile/etc/openvpn/tun.
conf.
#pointtothepeerremote192.
168.
8.
174devtunsecret/etc/openvpn/secrouter.
keycipherDES-EDE3-CBCauthMD5tun-mtu1500tun-mtu-extra64ping40ifconfig192.
168.
2.
173192.
168.
4.
174up/etc/openvpn/tun.
sh-----3.
Next,modifytheroutingtableinscriptfile/etc/openvpn/tun.
sh.
Start-#!
/bin/sh#valueafter"-net"isthesubnetbehindtheremotepeerrouteadd-net192.
168.
2.
0netmask255.
255.
255.
0gw$5end-4.
OnmachineOpenVPNB,modifytheremoteaddressinconfigurationfile/etc/openvpn/tun.
conf.
#pointtothepeerremote192.
168.
8.
173devtunsecret/etc/openvpn/secrouter.
keycipherDES-EDE3-CBCauthMD5tun-mtu1500tun-mtu-extra64ping40ifconfig192.
168.
4.
174192.
168.
2.
173up/etc/openvpn/tun.
shV2616LinuxUser'sManualManagingCommunications3-26Andthenmodifytheroutingtableinscriptfile/etc/openvpn/tun.
sh.
Start-#!
/bin/sh#valueafter"-net"isthesubnetbehindtheremotepeerrouteadd-net192.
168.
2.
0netmask255.
255.
255.
0gw$5end-Thefirstargumentofparameterifconfigisthelocalinternalinterfaceandthesecondargumentistheinternalinterfaceattheremotepeer.
$5istheargumentthattheOpenVPNprogrampassestothescriptfile.
Itsvalueisthesecondargumentofifconfigintheconfigurationfile.
5.
ChecktheroutingtableafteryouruntheOpenVPNprograms,bytypingthecommand#route.
DestinationGatewayGenmskFlagsMetricRefUseIface192.
168.
4.
174*255.
255.
255.
255UH000tun0192.
168.
4.
0192.
168.
4.
174255.
255.
255.
0UG000tun0192.
168.
2.
0*255.
255.
255.
0U000eth1192.
168.
8.
0*255.
255.
255.
0U000eth044.
ProgrammingGuideThefollowingtopicsarecoveredinthischapter:RTC(RealTimeClock)UARTDigitalI/OSpecialNoteExamplesWDT(WatchDogTimer)IntroductionHowtheWDTWorksTheuserAPISpecialNoteExamplesV2616LinuxUser'sManualProgrammingGuide4-2RTC(RealTimeClock)Thedevicenodeislocatedat/dev/rtc.
TheV2616-LXsupportsstandardLinuxsimpleRTCcontrol.
Youmustinclude.
1.
Function:RTC_RD_TIMEintioctl(fd,RTC_RD_TIME,structrtc_time*time);Description:readtimeinformationfromtheRTC.
Itwillreturnthevalueonargument3.
2.
Function:RTC_SET_TIMEintioctl(fd,RTC_SET_TIME,structrtc_time*time);Description:setRTCtime.
Argument3willbepassedtoRTC.
UARTThenormalttydevicenodesare/dev/ttyM0and/det/ttyM1.
TheV2616-LXsupportsstandardLinuxtermioscontrolwithRS-232/422/485serialports.
DigitalI/ODigitalOutputchannelscanbesettohighorlow.
Thechannelsarecontrolledbythefunctioncallset_dout_state().
Usethedigitalinputchannelstodetectthestatechangeofthedigitalinputsignal.
TheDIchannelscanalsobeusedtodetectwhetherornotthestateofadigitalsignalchangesduringafixedperiodoftime.
Thiscanbedonewiththefunctioncallset_din_event().
Returnerrorcodedefinitions:#defineDIO_ERROR_PORT-1//nosuchport#defineDIO_ERROR_MODE-2//nosuchmodeorstate#defineDIO_ERROR_CONTROL-3//openorioctlfail#defineDIO_ERROR_DURATION-4//Thevalueofdurationisnot0ornotintherange,40TheDOUTportyouwanttoset.
Portstartsfrom0to3Sethighorlowstate;DIO_HIGH(1)forhigh,DIO_LOW(0)forlow.
OutputNoneReturnrefertotheerrorcodeFunctionintget_din_state(intdiport,int*state)DescriptionGettheDINportstateInputTheDINporttogetthestateof.
Portnumberingisfrom0to3SavethecurrentstateOutputDIO_HIGH(1)forhigh,DIO_LOW(0)forlowV2616LinuxUser'sManualProgrammingGuide4-3ReturnRefertotheerrorcodeFunctionintget_dout_state(intdoport,int*state)DescriptionGettheDOUTportstateInputTheDOUTporttogetthestateof.
Savethecurrentstate.
OutputDIO_HIGH(1)forhigh,DIO_LOW(0)forlowReturnRefertotheerrorcodeFunctionintset_din_event(intdiport,void(*func)(intdiport),intmode,longintduration)DescriptionSettheDINeventwhenthestateischangedfromhightoloworfromlowtohighInputTheportthatwillbeusedtodetecttheDINevent.
Portnumberingisfrom0to3.
Thisvaluedependsonyourdevice.
NotNULL:Returnsthecallbackfunction.
Whentheeventoccurs,thecallbackfunctionwillbeinvoked.
NULL:ClearthiseventDIN_EVENT_HIGH_TO_LOW(1):FromhightolowDIN_EVENT_LOW_TO_HIGH(0):FromlowtohighDIN_EVENT_CLEAR(-1):Clearthisevent0:DetectthedineventDIN_EVENT_HIGH_TO_LOWorDIN_EVENT_LOW_TO_HIGHwithoutdurationNot0:DetectthedineventDIN_EVENT_HIGH_TO_LOWorDIN_EVENT_LOW_TO_HIGHwithduration.
Note:Thevalueof"duration"mustbeamultipleof20milliseconds.
Therangeof"duration"is0,or40WhichDINportyouwanttoretrieveSavethesetevent.
ThedurationtheDINportiskeptinhighorlowstate.
-returntothecurrentdurationvalueofdiportOutputDIN_EVENT_HIGH_TO_LOW(1):FromhightolowDIN_EVENT_LOW_TO_HIGH(0):FromlowtohighDIN_EVENT_CLEAR(-1):ClearthiseventThevalueofdurationshouldbe0or40thefilehandle,fromtheswtd_open()returnvalueThetimeyouwishtoacksoftwarewatchdogperiodically.
Note:Youmustackthesoftwarewatchdogbeforetimeout.
Otherwise,thesystemwillrebootautomatically.
Theminimaltimeis50msec,themaximumtimeis60seconds.
Thetimeunitismsec.
OutputNoneReturnOnsuccess,0isreturned.
Otherwise,anerrornumberisreturnFunctionintswtd_disable(intfd)DescriptionDisabletheapplicationtoacksoftwarewatchdog.
Andthekernelwillackitautomatically.
Inputthefilehandlefromswtd_open()returnvalue.
OutputNoneReturnOnsuccess,0isreturned.
Otherwise,anerrornumberisreturnFunctionintswtd_get(intfd,int*mode,unsignedlong*time)V2616LinuxUser'sManualProgrammingGuide4-5DescriptionGetcurrentsettingvalues.
Inputthefilehandlefromswtd_open()returnvalue.
returnthestatus1(enable)or0(disable)ofuserspacewatchdogreturnthecurrenttimeperiod.
OutputNoneReturnOnsuccess,0isreturned.
Otherwise,anerrornumberisreturnFunctionintswtd_ack(intfd)DescriptionAcknowledgesoftwarewatchdog.
Whensoftwarewatchdogisenabled,applicationshouldexecuteswtd_ack()periodicallywithinuserpredefinedtime.
Inputthefilehandlefromswtd_open()returnvalue.
OutputNoneReturnOnsuccess,0isreturned.
Otherwise,anerrornumberisreturnFunctionintswtd_close(intfd)DescriptionClosethefilehandle.
Inputthefilehandlefromswtd_open()returnvalue.
OutputNoneReturnOnsuccess,0isreturned.
Otherwise,anerrornumberisreturnSpecialNoteWhenyou"killtheapplicationwith-9"or"killwithoutoption"or"Ctrl+c"thekernelwillchangetoautoackthesoftwarewatchdog.
Whenyourapplicationenablesthesoftwarewatchdoganddoesnotack,yourapplicationmayhavealogicalerror,oryourapplicationhasgeneratedacoredump.
Thekernelwillnotchangetoautoack.
Thiscancauseyoursystemtorebootagainandagain.
ExamplesTheexamplefilewatchdog.
candMakefileareputinthefolder\example\swatchdog\ontheCD.
55.
RAID0/1FunctionConfigurationTheV2616-LXready-to-runembeddedcomputerisaRAIDmanagementplatformdesignedtoserveasafront-endfordataacquisitionandindustrialcontrolapplications.
ThischapterdescribeshowtoconfigurethevolumesupportedbytheLinuxoperatingsystem.
Thefollowingtopicsarecoveredinthischapter:dm-raidCreatingRAIDfromtheBIOSMountingtheRAIDVolumeReplacingaFailedDiskSoftwareRAID—mdadmCreatingSoftwareRAIDVolumeCheckingtheSoftwareRAIDStatusReplacingaFailedDiskV2616LinuxUser'sManualRAID0/1FunctionConfiguration5-2dm-raidThisembeddedcomputerplatformusesanIntel82801SATARAIDcontroller.
ThepurposeofthisguideistoenableuseofaRAIDsetcreatedbytheon-boardBIOSRAIDcontroller.
#lspci.
.
.
00:1f.
2RAIDbuscontroller:IntelCorporationMobile82801SATARAIDController(rev03)…ATTENTIONTherearethreewaystocreateRAID:1.
Software-RAID:TheRAIDiscreatedbysoftware.
2.
Hardware-RAID:AspecialcontrollerisusedtobuildRAID.
HardwareRAIDisgenerallyfaster,anddoesnotplacealoadontheCPU,andhardwareRAIDcanbeusedwithanyOS3.
FakeRAID:SinceRAIDhardwareisveryexpensive,multi-channelcontrollersaresometimesusedwithspecialBIOSfeaturestoperformRAID.
ThisisaformofsoftwareRAIDusingspecialdrivers,anditisnotnecessarilyfasterthantruesoftwareRAID.
ReadFakeRaidHowtofordetails.
TheRAIDsoftwareincludedwithcurrentversionsofLinux(andUbuntu)isbasedonthe'mdadm'driverandworksverywell.
CreatingRAIDfromtheBIOS1.
ToentertheIntelMatrixStorageManageroptionROMuserinterface,presstheandkeyssimultaneouslywhenpromptedduringthePower-OnSelfTest(POST).
2.
Selectfirstoption,CreateRAIDVolumeandthenpressthekey.
V2616LinuxUser'sManualRAID0/1FunctionConfiguration5-33.
Typeinavolumenameandpressthekey,orpressthekeytoacceptthedefaultname.
4.
SelecttheRAIDlevelbyusingtheorkeystoscrollthroughtheavailablevalues,thenpressthekey.
5.
Pressthekeytoselectthephysicaldisks.
Adialogsimilartothefollowingwillappear:V2616LinuxUser'sManualRAID0/1FunctionConfiguration5-46.
Selecttheappropriatenumberofharddrivesbyusingtheorkeystoscrollthroughthelistofavailableharddrives.
.
Pressthekeytoselectadrive.
Whenyouhavefinishedselectingharddrives,pressthekey.
7.
UnlessyouhaveselectedRAID1,selectthestripsizebyusingtheorkeystoscrollthroughtheavailablevalues,andthenpressthekey.
8.
Selectthevolumecapacityandthenpressthekey.
Note:Thedefaultvalueindicatesthemaximumvolumecapacityusingtheselecteddisks.
Iflessthanthemaximumvolumecapacityischosen,creationofasecondvolumeisneededtoutilizetheremainingspace(i.
e.
,amatrixRAIDconfiguration).
V2616LinuxUser'sManualRAID0/1FunctionConfiguration5-59.
AttheCreateVolumeprompt,pressthekeytocreatethevolume.
Thefollowingpromptwillappear10.
Pressthekeytoconfirmvolumecreation.
11.
ToexittheoptionROMuserinterface,selectoption5.
Exitandpressthekey.
Pressthekeyagaintoconfirmexit.
Note:Tochangeanyoftheinformationbeforethevolumecreationhasbeenconfirmed,youmustexittheCreateVolumeprocessandrestartit.
PressthekeytoexittheCreateVolumeprocess.
MountingtheRAIDVolume1.
TestingdmraidToverifythatdmraidwillworkwithyourconfiguration,checkthecontentsofthe/dev/mapperdirectory.
/dev/dm-0isalinkto/dev/mapper/isw_fihjejccc_Volume0.
Youcanpartitionorformatoneofthesedevicefiles.
ATTENTIONIfthereisjusta"control"file,thendmraidwaseithernotloaded,ordmraidwillnotworkwithyourconfiguration.
1.
Createapartitionwithfdisk,andthenftertheRAIDiscreated,activateit.
2.
FormattheRAID.
root@Moxa:~#mkfs.
ext4/dev/dm-0root@Moxa:~#dmraid-ayroot@Moxa:~#fdisk/dev/dm-0root@Moxa:~#ls-l/dev/mapper/total0crw-------1rootroot10,59Aug510:10controllrwxrwxrwx1rootroot7Aug510:10isw_fihjejccc_Volume0->.
.
/dm-0root@Moxa:~#V2616LinuxUser'sManualRAID0/1FunctionConfiguration5-63.
Mounttheraiddevice.
4.
Ifyouneedtomountitautomatically,youcanaddtheconfigurein/etc/fstab.
Rebootanditshouldbemountedat/mnt/raid.
ReplacingaFailedDiskIfthearrayisrunninginmirrormodeandoneofthedisksfails,youcanreplacethefaileddiskwithanewone.
Run"dmraid-s"tocheckiftheinitialstatusisOK.
Run"dmraid-r"andcheckifthemirrorisrunningandthediskdrivesareattached.
Removethefailedharddisk,andrun"dmraid-s"againtocheckthestatus.
TheRAIDstatusisinconsistent.
YouneedtounmounttheRAIDvolumeandstoptheraid.
root@Moxa:~#umount/mnt/raid0root@Moxa:~#dmraid-anroot@Moxa:~#dmraid-sERROR:isw:wrongnumberofdevicesinRAIDset"isw_ddjejgjhgi_Volume0"[1/2]on/dev/sdc***Groupsupersetisw_ddjejgjhgi-->*Inconsistent*ActiveSubsetname:isw_ddjejgjhgi_Volume0size:14680320stride:128type:mirrorstatus:inconsistentsubsets:0devs:1spares:0root@Moxa:~#root@Moxa:~#root@Moxa:~#dmraid-r/dev/sdc:isw,"isw_ddjejgjhgi",GROUP,ok,976773166sectors,data@0/dev/sdb:isw,"isw_ddjejgjhgi",GROUP,ok,31277054sectors,data@0root@Moxa:~#dmraid-s***Groupsupersetisw_ddjejgjhgi-->ActiveSubsetname:isw_ddjejgjhgi_Volume0size:14680320stride:128type:mirrorstatus:oksubsets:0devs:2spares:0/dev/dm-0/mnt/raidext4defaults02root@Moxa:~#mount/dev/dm-0/mnt/raidV2616LinuxUser'sManualRAID0/1FunctionConfiguration5-7Nowinstallthenewdriveandrun"dmesg"tocheckifthenewdrivehasbeenattached.
Whenthenewdriveisattached,rebuildtheRAIDvolumebyrunningdmraid-RRAID-set[device-path].
Next,usedmraid-aytoactivatetheRAIDconfigurationsandthenmountitagain.
SoftwareRAID—mdadmmdadmisaLinuxutilityusedtomanagesoftwareRAIDdevices.
Thenameisderivedfromthe"md"(multipledevice)devicenodesit"adm"inistersormanages;itreplacestheutilitymdctl.
Theoriginalnamewas"MirrorDisk,"butwaschangedasthefunctionalityincreased.
NotethatthissectiondescribestheRAIDsettingsbytheLinuxoperatingsystem,insteadofthesettingsbyBIOS.
CreatingSoftwareRAIDVolumeTheV2616-LXhas2SATAhardiskslotsandcanmanagelinear,raid0,andraid1volumesonthesetwoSATAhardisks.
1.
Createapartitionwithfdisk.
2.
CreatetheRAIDvolume.
TheFollowingmdadmoptionsareusedtocreatetheraidvolume.
a.
CreatealinearmodesoftwareRAID.
root@Moxa:~#mdadm-Cv-llinear-n2/dev/md0/dev/sd{b,c}1-C:create-v:verbose-l:RAIDlevel,optionsare:linear,raid0,0,stripe,raid1,1,mirror,raid4,4,raid5,5,raid6,6,raid10,10,multipath,mp,faulty.
Obviouslysomeofthesearesynonymous.
-n:thenumberofdisksroot@Moxa:~#fdisk/dev/sdb1root@Moxa:~#fdisk/dev/sdc1root@Moxa:~#dmraid-ayroot@Moxa:~#mount/dev/dm-1/mnt/raidroot@Moxa:~#dmraid-Risw_ddjejgjhgi_Volume0/dev/sdbroot@Moxa:~#dmesg…[1906.
505084]sd4:0:0:0:[sdb]976773168512-bytelogicalblocks:(500GB/465GiB)[1906.
505131]sd4:0:0:0:[sdb]WriteProtectisoff[1906.
505133]sd4:0:0:0:[sdb]ModeSense:003a0000[1906.
505153]sd4:0:0:0:[sdb]Writecache:enabled,readcache:enabled,doesn'tsupportDPOorFUA[1906.
505261]sdb:sdb1[1906.
520526]sd4:0:0:0:[sdb]AttachedSCSIdiskV2616LinuxUser'sManualRAID0/1FunctionConfiguration5-8b.
CreateastripingmodesoftwareRAID0.
c.
CreateamirrormodesoftwareRAID1.
3.
FormattheRAID.
4.
Mounttheraiddevicemanually.
5.
Starttheraidvolumeautomaticallyatnextbootup.
Ifyouneedtostartthearrayautomatically,edit/etc/mdadm/mdadm.
conf.
Edit/etc/mdadm/mdadm.
conf.
Addthefollowingconfigurationin/etc/fstab.
Unmounttherootfilesystemandreboot.
Thearrayshouldbestartedandmountedat/mnt/raid.
CheckingtheSoftwareRAIDStatusThesoftwareraidstatuscanbecheckedbyreading/proc/mdstat.
Ifthearrayisnotrunning,thereisnoactivelineardrive.
root@Moxa:~#cat/proc/mdstatPersonalities:[linear]unuseddevices:root@Moxa:~#cat/proc/mdstatPersonalities:[linear]md0:activelinearsdc1[1]sdb1[0]23436724blockssuper1.
20kroundingunuseddevices:root@Moxa:~#umount//dev/md0/mnt/raidext4defaults02DEVICE/dev/sdb1/dev/sdc1CREATEowner=rootgroup=diskmode=0660auto=yesHOMEHOSTMAILADDRyour_email@xxx.
comARRAY/dev/md0metadata=1.
2name=Moxa:0UUID=45ae9dbe:f30741ec:b22eff98:2dadb12droot@Moxa:~#mount–oremount,rw/root@Moxa:~#mdadm--detail--scan>>/etc/mdadm/mdadm.
confroot@Moxa:~#mount/dev/md0/mnt/raidroot@Moxa:~#mkfs.
ext4/dev/md0root@Moxa:~#mdadm-Cv–l1-n2/dev/md0/dev/sd{b,c}1root@Moxa:~#mdadm-Cv–l0-n2/dev/md0/dev/sd{b,c}1V2616LinuxUser'sManualRAID0/1FunctionConfiguration5-9ReplacingaFailedDiskIfthearrayisrunninginmirrormodeandoneofthedisksfails,youshouldreplacethefaileddiskwithanewone.
Inthiscase,sdb1[0](F)meansthatthesdbdiskhasfailed.
Usethefollowingcommandtoremovethefaileddiskfromraid.
Next,replacethefaileddrivewiththenewoneandaddittothearray.
Runthefollowingcommandtocheckifthearrayisrecoveringautomatically.
root@Moxa:~#cat/proc/mdstatPersonalities:[raid1]md0:activeraid1sdb1[0]sdc1[1]7806522blockssuper1.
2[2/1][_U]recovery=10.
6%(831488/7806522)finish=0.
9minspeed=118784K/secunuseddevices:root@Moxa:~#mdadm-a/dev/md0/dev/sdb1root@Moxa:~#mdadm-r/dev/md0/dev/sdb1mdadm:hotremoved/dev/sdb1from/dev/md0md1:activeraid1sdc1[1]sdb1[0](F)17920384blocks[2/1][_U]66.
SystemRecoveryTheV2616-LXready-to-runembeddedcomputersareanembeddedLinuxplatform.
Thischapterdescribestherecoveryprocessintheeventofsysteminstability.
Thefollowingtopicsarecoveredinthischapter:RecoveryEnvironmentRecoveryProcedureSavingtheSystemtotheUSBDriveV2616LinuxUser'sManualSystemRecovery6-2RecoveryEnvironmentTheenvironmentincludesaV2616-LXembeddedcomputerandabootableUSBdiskwiththerecoveryprogramsandsystemimagefile.
HardwareThehardwareusedincludesaPC,aV2616-LXcomputerandaUSBdiskwiththerecoveryprograms.
(Note:TheUSBdiskshouldbeatleast2GB.
).
RecoveryProcedureStep1:PrepareyourUSBdrive1.
Executetuxboot-windows-23.
exefromtheutility_tools/CloneZillafolderontheSoftwareCD,selectPreDownload,andthenclick"…"2.
SelecttheISOfileinthedirectory.
USBDISK(Recoverydataincluded)V2616-LXUSBPortsV2616LinuxUser'sManualSystemRecovery6-33.
SelectUSBDrivetype,selectaDrive,andthenclickOKtocontinue.
4.
ThebootfileswillbecopiedtoyourUSBdrive.
5.
Whenfinished,clickExittostoptheprogram.
V2616LinuxUser'sManualSystemRecovery6-46.
Manuallycopytheos_imagedirectoryfromthe/recoveryfolderontheSoftwareCDto\home\partimag\ontheUSBdrive.
Step2:ChangetheBIOSSettingsYouwillneedtochangetheBIOSsettingstobootfromtheUSBdisk.
1.
TurnonthecomputerandpressDELtoentertheBIOSsetupmenu.
SelectHardDiskBootPriorityandthenpressEnter.
V2616LinuxUser'sManualSystemRecovery6-52.
SelectUSBdiskandthenpress"+"tomoveittothefirstbootdevicepositionandthenmakesureyournewlyinstalledCompactFlashcardisthesecondbootdevice.
Warning:Anincorrectbootprioritywillleadtorecoveryfailure.
3.
PressF10andthenpressEntertosaveandexitbiossetup.
Step3:RestorethesystemfromUSBdriveConnecttheUSBdisktoanyoftheV2616-LX'sUSBportsandthenrebootthecomputer.
ThesystemwillbootfromtheUSBdiskandthePre-installationEnvironmentandtherecoveryutilitywillappear.
1.
Selectclonezillaliverestoredisk.
V2616LinuxUser'sManualSystemRecovery6-62.
WaitfortheUSBdrivebootprocesstofinish.
3.
Enterytocontinuetherestoreprocess.
V2616LinuxUser'sManualSystemRecovery6-74.
Enterytoconfirmagain.
5.
Waitfortheprocesstofinish.
V2616LinuxUser'sManualSystemRecovery6-86.
Select(0)Powerofftopoweroffthecomputer.
7.
RemovetheUSBdriveafterthecomputerhasbeenpoweredoff.
Step4:ChangetheBIOSSettingstoBootfromtheOriginalDiskNowyouwillneedtochangethebootprioritysothatitcanbootfromtheoriginaldisk.
Asthesystemreboots,pressDELtoentertheBIOSsetupmenu.
1.
SelectHardDiskBootPriorityandthenpressEnter.
Makesuretheharddiskhasfirstbootpriority.
2.
PressF10andthenpressEntertosaveandexitBIOSsettings.
V2616LinuxUser'sManualSystemRecovery6-9Step5:ReboottheComputerYouneedtowaitabout10to15minutesforthesystemtorestart,sincethesystemconfigurationfileswillbeinitiatedwhilebootingupforthefirsttime.
Donotturnoffthecomputerorshutdownthecomputerwhilethesystemisrestarting;otherwise,theIISservicewillbeterminated.
Whentheoperatingsystemhassuccessfullylaunched,youwillneedtorestartyourcomputersothatthenewsettingscanbeactivated.
SavingtheSystemtotheUSBDriveYoumayalsosavethecurrentsystemtotheUSBdriveforsystemrecoveryincasethesystemcrashes.
BeforesavingthesystemtotheUSBdrive,wesuggestyouremoveallfilesunder\home\partimag\ontheUSBdrive.
Inaddition,changetheBIOSsettingstomaketheUSBdrivethefirstbootpriority.
Whenthesystemhasbeenlaunched,takethefollowingsteps.
1.
Selectclonezillalivesavedisk.
V2616LinuxUser'sManualSystemRecovery6-102.
WaitfortheUSBdrivebootprocesstofinish.
3.
Enterytocontinue.
V2616LinuxUser'sManualSystemRecovery6-114.
Waitfortheprocesstofinish.
5.
Select(0)Poweroffsothatthecomputerwillpoweroffwhentheprocessisfinished.
AA.
SoftwareComponentsacpi1.
5-2displaysinformationonACPIdevicesacpi-support-base0.
137-5scriptsforhandlingbaseACPIeventssuchasthepowerbuttonacpid1:2.
0.
7-1AdvancedConfigurationandPowerInterfaceeventdaemonadduser3.
112+nmu2addandremoveusersandgroupsalacarte0.
13.
2-1easyGNOMEmenueditingtoolalsa-base1.
0.
23+dfsg-2ALSAdriverconfigurationfilesalsa-utils1.
0.
23-3UtilitiesforconfiguringandusingALSAapache22.
2.
16-6+squeeze1ApacheHTTPServermetapackageapache2-mpm-prefork2.
2.
16-6+squeeze1ApacheHTTPServer-traditionalnon-threadedmodelapache2-utils2.
2.
16-6+squeeze1utilityprogramsforwebserversapache2.
2-bin2.
2.
16-6+squeeze1ApacheHTTPServercommonbinaryfilesapache2.
2-common2.
2.
16-6+squeeze1ApacheHTTPServercommonfilesapp-install-data2010.
11.
17ApplicationInstallerDataFilesapt0.
8.
10.
3+squeeze1Advancedfront-endfordpkgapt-utils0.
8.
10.
3+squeeze1APTutilityprogramsapt-xapian-index0.
41maintenanceandsearchtoolsforaXapianindexofDebianpackagesaptitude0.
6.
3-3.
2terminal-basedpackagemanager(terminalinterfaceonly)aspell0.
60.
6-4GNUAspellspell-checkeraspell-en6.
0-0-6EnglishdictionaryforGNUAspellat3.
1.
12-1Delayedjobexecutionandbatchprocessingat-spi1.
30.
1-3AssistiveTechnologyServiceProviderInterfaceautoconf2.
67-2automaticconfigurescriptbuilderautoconf2.
132.
13-60automaticconfigurescriptbuilder(obsoleteversion)automake1:1.
11.
1-1AtoolforgeneratingGNUStandards-compliantMakefilesautomake1.
41:1.
4-p6-13.
1AtoolforgeneratingGNUStandards-compliantMakefilesautotools-dev20100122.
1Updateinfrastructureforconfig.
{guess,sub}filesbase-files6.
0squeeze2Debianbasesystemmiscellaneousfilesbase-passwd3.
5.
22Debianbasesystemmasterpasswordandgroupfilesbash4.
1-3TheGNUBourneAgainSHellbash-completion1:1.
2-3programmablecompletionforthebashshellbc1.
06.
95-2TheGNUbcarbitraryprecisioncalculatorlanguagebind9-host1:9.
7.
3.
dfsg-1~squeeze3Versionof'host'bundledwithBIND9.
Xbinutils2.
20.
1-16TheGNUassembler,linkerandbinaryutilitiesbrasero2.
30.
3-2CD/DVDburningapplicationforGNOMEbrasero-common2.
30.
3-2CommonfilesfortheBraseroCDburningapplicationandlibraryV2616LinuxUser'sManualSoftwareComponentsA-2bridge-utils1.
4-5UtilitiesforconfiguringtheLinuxEthernetbridgebsdmainutils8.
0.
13collectionofmoreutilitiesfromFreeBSDbsdutils1:2.
17.
2-9Basicutilitiesfrom4.
4BSD-Litebusybox1:1.
17.
1-8Tinyutilitiesforsmallandembeddedsystemsbzip21.
0.
5-6high-qualityblock-sortingfilecompressor-utilitiesca-certificates20090814+nmu2CommonCAcertificatescapplets-data1:2.
30.
1-2configurationappletsforGNOME-datafilescdrdao1:1.
2.
3-0.
1recordsCDsinDisk-At-Once(DAO)modeconsole-setup1.
68+squeeze2consolefontandkeymapsetupprogramconsole-terminus4.
30-2Fixed-widthfontsforfastreadingontheLinuxconsoleconsolekit0.
4.
1-4frameworkfordefiningandtrackingusers,sessionsandseatscoreutils8.
5-1GNUcoreutilitiescpio2.
11-4GNUcpio--aprogramtomanagearchivesoffilescpp4:4.
4.
5-1TheGNUCpreprocessor(cpp)cpp-4.
34.
3.
5-4TheGNUCpreprocessorcpp-4.
44.
4.
5-8TheGNUCpreprocessorcpufrequtils007-1utilitiestodealwiththecpufreqLinuxkernelfeaturecron3.
0pl1-116processschedulingdaemondash0.
5.
5.
1-7.
4POSIX-compliantshelldbus1.
2.
24-4+squeeze1simpleinterprocessmessagingsystemdbus-x111.
2.
24-4+squeeze1simpleinterprocessmessagingsystem(X11deps)debconf1.
5.
36.
1Debianconfigurationmanagementsystemdebconf-i18n1.
5.
36.
1fullinternationalizationsupportfordebconfdebian-archive-keyring2010.
08.
28GnuPGarchivekeysoftheDebianarchivedebian-faq4.
0.
4+nmu1TheDebianFAQdebianutils3.
4MiscellaneousutilitiesspecifictoDebiandefoma0.
11.
11DebianFontManager--automaticfontconfigurationframeworkdeskbar-applet2.
32.
0-1universalsearchandnavigationbarforGNOMEdesktop-base6.
0.
5squeeze1commonfilesfortheDebianDesktopdesktop-file-utils0.
15-2Utilitiesfor.
desktopfilesdictionaries-common1.
5.
17Commonutilitiesforspellingdictionarytoolsdiffutils1:3.
0-1Filecomparisonutilitiesdiscover2.
1.
2-5hardwareidentificationsystemdiscover-data2.
2010.
10.
18DatalistsforDiscoverhardwaredetectionsystemdmidecode2.
9-1.
2DumpDesktopManagementInterfacedatadmraid1.
0.
0.
rc16-4.
1Device-MapperSoftwareRAIDsupporttooldmsetup2:1.
02.
48-5TheLinuxKernelDeviceMapperuserspacelibrarydmz-cursor-theme0.
4.
3Styleneutral,scalablecursorthemednsutils1:9.
7.
3.
dfsg-1~squeeze3ClientsprovidedwithBINDdocbook-xml4.
5-7standardXMLdocumentationsystemforsoftwareandsystemsdosfstools3.
0.
9-1utilitiesformakingandcheckingMS-DOSFATfilesystemsdpkg1.
15.
8.
11Debianpackagemanagementsystemdvd+rw-tools7.
1-6DVD+-RW/Rtoolse2fslibs1.
41.
12-4stable1ext2/ext3/ext4filesystemlibrariese2fsprogs1.
41.
12-4stable1ext2/ext3/ext4filesystemutilitieseject2.
1.
5+deb1+cvs20081104-7.
1ejectsCDsandoperatesCD-ChangersunderLinuxesound-common0.
2.
41-8EnlightenedSoundDaemon-CommonfilesV2616LinuxUser'sManualSoftwareComponentsA-3ethtool1:2.
6.
34-3displayorchangeEthernetdevicesettingsevolution-data-server2.
30.
3-2evolutiondatabasebackendserverevolution-data-server-common2.
30.
3-2architectureindependentfilesforEvolutionDataServerexim4-base4.
72-6+squeeze2supportfilesforallEximMTA(v4)packagesexim4-config4.
72-6+squeeze2configurationfortheEximMTA(v4)exim4-daemon-light4.
72-6+squeeze2lightweightEximMTA(v4)daemonexuberant-ctags1:5.
8-3squeeze1buildtagfileindexesofsourcecodedefinitionsfancontrol1:3.
1.
2-6utilitiestoreadtemperature/voltage/fansensorsfile5.
04-5Determinesfiletypeusing"magic"numbersfile-roller2.
30.
2-2anarchivemanagerforGNOMEfindutils4.
4.
2-1+b1utilitiesforfindingfiles--find,xargsfontconfig2.
8.
0-2.
1genericfontconfigurationlibrary-supportbinariesfontconfig-config2.
8.
0-2.
1genericfontconfigurationlibrary-configurationftp0.
17-23TheFTPclientfuse-utils2.
8.
4-1.
1FilesysteminUSErspace(utilities)g++4:4.
4.
5-1TheGNUC++compilerg++-4.
44.
4.
5-8TheGNUC++compilergcc4:4.
4.
5-1TheGNUCcompilergcc-4.
34.
3.
5-4TheGNUCcompilergcc-4.
3-base4.
3.
5-4TheGNUCompilerCollection(basepackage)gcc-4.
44.
4.
5-8TheGNUCcompilergcc-4.
4-base4.
4.
5-8TheGNUCompilerCollection(basepackage)gconf22.
28.
1-6GNOMEconfigurationdatabasesystem(supporttools)gconf2-common2.
28.
1-6GNOMEconfigurationdatabasesystem(commonfiles)gdb7.
0.
1-2+b1TheGNUDebuggergdbserver7.
0.
1-2+b1TheGNUDebugger(remoteserver)gdm32.
30.
5-6squeeze3NextgenerationGNOMEDisplayManagergenisoimage9:1.
1.
11-1CreatesISO-9660CD-ROMfilesystemimagesgeoip-database1.
4.
7~beta6+dfsg-1IPlookupcommandlinetoolsthatusetheGeoIPlibrary(countrydatabase)gettext-base0.
18.
1.
1-3GNUInternationalizationutilitiesforthebasesystemgksu2.
0.
2-5graphicalfrontendtosugnome-about2.
30.
2-2TheGNOMEaboutboxgnome-applets2.
30.
0-3VariousappletsfortheGNOMEpanel-binaryfilesgnome-applets-data2.
30.
0-3VariousappletsfortheGNOMEpanel-datafilesgnome-control-center1:2.
30.
1-2utilitiestoconfiguretheGNOMEdesktopgnome-desktop-data2.
30.
2-2CommonfilesforGNOMEdesktopappsgnome-dictionary2.
30.
0-2GNOMEdictionaryapplicationgnome-icon-theme2.
30.
3-2GNOMEDesktopiconthemegnome-keyring2.
30.
3-5GNOMEkeyringservices(daemonandtools)gnome-media2.
30.
0-1GNOMEmediautilitiesgnome-media-common2.
30.
0-1GNOMEmediautilities-commonfilesgnome-menus2.
30.
3-1animplementationofthefreedesktopmenuspecificationforGNOMEgnome-mime-data2.
18.
0-1baseMIMEandApplicationdatabaseforGNOME.
gnome-netstatus-applet2.
28.
1-1NetworkstatusappletforGNOMEgnome-panel2.
30.
2-2launcheranddockingfacilityforGNOMEgnome-panel-data2.
30.
2-2commonfilesfortheGNOMEPanelgnome-power-manager2.
32.
0-2powermanagementtoolfortheGNOMEdesktopgnome-screensaver2.
30.
0-2squeeze1GNOMEscreensaverandlockergnome-session2.
30.
2-3TheGNOMESessionManager-GNOME2sessiongnome-session-bin2.
30.
2-3TheGNOMESessionManager-MinimalruntimeV2616LinuxUser'sManualSoftwareComponentsA-4gnome-session-common2.
30.
2-3CommonfilesfortheGNOMEsessionmanagergnome-settings-daemon2.
30.
2-2+squeeze1daemonhandlingtheGNOMEsessionsettingsgnome-system-monitor2.
28.
1-1ProcessviewerandsystemresourcemonitorforGNOMEgnome-terminal2.
30.
2-1TheGNOMEterminalemulatorapplicationgnome-terminal-data2.
30.
2-1DatafilesfortheGNOMEterminalemulatorgnome-themes2.
30.
2-1officialthemesfortheGNOMEdesktopgnome-utils-common2.
30.
0-2datafilesfortheGNOMEutilitiesgnupg1.
4.
10-4GNUprivacyguard-afreePGPreplacementgpgv1.
4.
10-4GNUprivacyguard-signatureverificationtoolgrep2.
6.
3-3GNUgrep,egrepandfgrepgroff-base1.
20.
1-10GNUtrofftext-formattingsystem(basesystemcomponents)gstreamer0.
10-alsa0.
10.
30-1GStreamerpluginforALSAgstreamer0.
10-plugins-base0.
10.
30-1GStreamerpluginsfromthe"base"setgstreamer0.
10-plugins-good0.
10.
24-1GStreamerpluginsfromthe"good"setgstreamer0.
10-plugins-ugly0.
10.
15-1GStreamerpluginsfromthe"ugly"setgstreamer0.
10-x0.
10.
30-1GStreamerpluginsforX11andPangogtk2-engines1:2.
20.
1-1themeenginesforGTK+2.
xgtk2-engines-pixbuf2.
20.
1-2Pixbuf-basedthemeforGTK+2.
xgvfs1.
6.
4-3userspacevirtualfilesystem-servergvfs-backends1.
6.
4-3userspacevirtualfilesystem-backendsgzip1.
3.
12-9GNUcompressionutilitieshdparm9.
32-1tuneharddiskparametersforhighperformanceheirloom-mailx12.
4-2feature-richBSDmail(1)hicolor-icon-theme0.
12-1defaultfallbackthemeforFreeDesktop.
orgiconthemeshost1:9.
7.
3.
dfsg-1~squeeze3Transitionalpackagehostname3.
04utilitytoset/showthehostnameordomainnamehunspell-en-us20070829-4English_americandictionaryforhunspellhwdata0.
230-1hardwareidentification/configurationdataifrename30~pre9-5Renamenetworkinterfacesbasedonvariousstaticcriteriaifupdown0.
6.
10highleveltoolstoconfigurenetworkinterfacesinitramfs-tools0.
98.
8toolsforgeneratinganinitramfsinitscripts2.
88dsf-13.
1scriptsforinitializingandshuttingdownthesysteminsserv1.
14.
0-2TooltoorganizebootsequenceusingLSBinit.
dscriptdependenciesinstall-info4.
13a.
dfsg.
1-6Manageinstalleddocumentationininfoformatiproute20100519-3networkingandtrafficcontroltoolsiptables1.
4.
8-3administrationtoolsforpacketfilteringandNATiputils-ping3:20100418-3Toolstotestthereachabilityofnetworkhostsisc-dhcp-client4.
1.
1-P1-15+squeeze2ISCDHCPclientisc-dhcp-common4.
1.
1-P1-15+squeeze2commonfilesusedbyalltheisc-dhcp*packagesiso-codes3.
23-1ISOlanguage,territory,currency,scriptcodesandtheirtranslationskbd1.
15.
2-2Linuxconsolefontandkeytableutilitieskeyboard-configuration1.
68+squeeze2system-widekeyboardpreferencesklibc-utils1.
5.
20-1+squeeze1smallutilitiesbuiltwithklibcforearlybootliba52-0.
7.
40.
7.
4-14libraryfordecodingATSCA/52streamslibaa11.
4p5-38asciiartlibraryV2616LinuxUser'sManualSoftwareComponentsA-5libacl12.
2.
49-4Accesscontrollistsharedlibrarylibao-common1.
0.
0-5CrossPlatformAudioOutputLibrary(Commonfiles)libao41.
0.
0-5CrossPlatformAudioOutputLibrarylibapache2-mod-php55.
3.
3-7+squeeze3server-side,HTML-embeddedscriptinglanguage(Apache2module)libapr11.
4.
2-6+squeeze3TheApachePortableRuntimeLibrarylibaprutil11.
3.
9+dfsg-5TheApachePortableRuntimeUtilityLibrarylibaprutil1-dbd-sqlite31.
3.
9+dfsg-5TheApachePortableRuntimeUtilityLibrary-SQLite3Driverlibaprutil1-ldap1.
3.
9+dfsg-5TheApachePortableRuntimeUtilityLibrary-LDAPDriverlibarchive12.
8.
4-1Singlelibrarytoread/writetar,cpio,pax,zip,iso9660,etc.
libart-2.
0-22.
3.
21-1Libraryoffunctionsfor2Dgraphics-runtimefileslibasound21.
0.
23-2.
1sharedlibraryforALSAapplicationslibaspell150.
60.
6-4GNUAspellspell-checkerruntimelibrarylibasyncns00.
3-1.
1Asyncronousnameservicequerylibrarylibatasmart40.
17+git20100219-2ATAS.
M.
A.
R.
T.
readingandparsinglibrarylibatk1.
0-01.
30.
0-1TheATKaccessibilitytoolkitlibatk1.
0-data1.
30.
0-1CommonfilesfortheATKaccessibilitytoolkitlibatspi1.
0-01.
30.
1-3Cbindinglibrariesofat-spiforGNOMEAccessibilitylibattr11:2.
4.
44-2Extendedattributesharedlibrarylibaudiofile00.
2.
6-8Open-sourceversionofSGI'saudiofilelibrarylibaudit01.
7.
13-1+b2Dynamiclibraryforsecurityauditinglibavahi-client30.
6.
27-2+squeeze1Avahiclientlibrarylibavahi-common-data0.
6.
27-2+squeeze1Avahicommondatafileslibavahi-common30.
6.
27-2+squeeze1Avahicommonlibrarylibavahi-glib10.
6.
27-2+squeeze1Avahiglibintegrationlibrarylibavc1394-00.
5.
3-1+b2controlIEEE1394audio/videodeviceslibbind9-601:9.
7.
3.
dfsg-1~squeeze3BIND9SharedLibraryusedbyBINDlibblas3gf1.
2-8BasicLinearAlgebraReferenceimplementations,sharedlibrarylibblkid12.
17.
2-9blockdeviceidlibrarylibbluetooth34.
66-3LibrarytousetheBlueZLinuxBluetoothstacklibbonobo2-02.
24.
3-1BonoboCORBAinterfaceslibrarylibbonobo2-common2.
24.
3-1BonoboCORBAinterfaceslibrary--supportfileslibbonoboui2-02.
24.
3-1TheBonoboUIlibrarylibbonoboui2-common2.
24.
3-1TheBonoboUIlibrary--commonfileslibboost-iostreams1.
42.
01.
42.
0-4Boost.
IostreamsLibrarylibbrasero-media02.
30.
3-2CD/DVDburninglibraryforGNOME-runtimelibbsd00.
2.
0-1utilityfunctionsfromBSDsystems-sharedlibrarylibburn40.
8.
0.
pl00-2+squeeze1librarytoprovideCD/DVDwritingfunctionslibbz2-1.
01.
0.
5-6high-qualityblock-sortingfilecompressorlibrary-runtimelibc-bin2.
11.
2-10EmbeddedGNUCLibrary:Binarieslibc-dev-bin2.
11.
2-10EmbeddedGNUCLibrary:Developmentbinarieslibc62.
11.
2-10EmbeddedGNUCLibrary:Sharedlibrarieslibc6-dev2.
11.
2-10EmbeddedGNUCLibrary:DevelopmentLibrariesandHeaderFileslibc6-i3862.
11.
2-10EmbeddedGNUCLibrary:32-bitsharedlibrariesforAMD64libcaca00.
99.
beta17-1colourASCIIartlibraryV2616LinuxUser'sManualSoftwareComponentsA-6libcairo-perl1.
070-1PerlinterfacetotheCairographicslibrarylibcairo21.
8.
10-6TheCairo2Dvectorgraphicslibrarylibcairomm-1.
0-11.
8.
4-3C++wrappersforCairo(sharedlibraries)libcamel1.
2-142.
30.
3-2TheEvolutionMIMEmessagehandlinglibrarylibcanberra-gtk-module0.
24-1translatesGtk+widgetssignalstoeventsoundslibcanberra-gtk00.
24-1Gtk+helperforplayingwidgeteventsoundswithlibcanberralibcanberra00.
24-1asimpleabstractinterfaceforplayingeventsoundslibcap21:2.
19-3supportforgetting/settingPOSIX.
1ecapabilitieslibcdio-cdda00.
81-4librarytoreadandcontroldigitalaudioCDslibcdio-paranoia00.
81-4librarytoreaddigitalaudioCDswitherrorcorrectionlibcdio100.
81-4librarytoreadandcontrolCD-ROMlibcdparanoia03.
10.
2+debian-9audioextractiontoolforsamplingCDs(library)libck-connector00.
4.
1-4ConsoleKitlibrarieslibcomerr21.
41.
12-4stable1commonerrordescriptionlibrarylibcpufreq0007-1sharedlibrarytodealwiththecpufreqLinuxkernelfeaturelibcroco30.
6.
2-1agenericCascadingStyleSheet(CSS)parsingandmanipulationtoolkitlibcups21.
4.
4-7CommonUNIXPrintingSystem(tm)-Corelibrarylibcwidget30.
5.
16-3high-levelterminalinterfacelibraryforC++(runtimefiles)libdatrie10.
2.
4-1Double-arraytrielibrarylibdb4.
64.
6.
21-16Berkeleyv4.
6DatabaseLibraries[runtime]libdb4.
74.
7.
25-9Berkeleyv4.
7DatabaseLibraries[runtime]libdb4.
84.
8.
30-2Berkeleyv4.
8DatabaseLibraries[runtime]libdbus-1-31.
2.
24-4+squeeze1simpleinterprocessmessagingsystemlibdbus-glib-1-20.
88-2.
1simpleinterprocessmessagingsystem(GLib-basedsharedlibrary)libdevmapper1.
02.
12:1.
02.
48-5TheLinuxKernelDeviceMapperuserspacelibrarylibdiscover22.
1.
2-5hardwareidentificationlibrarylibdmraid1.
0.
0.
rc161.
0.
0.
rc16-4.
1Device-MapperSoftwareRAIDsupporttool-sharedlibrarylibdns691:9.
7.
3.
dfsg-1~squeeze3DNSSharedLibraryusedbyBINDlibdrm-intel12.
4.
21-1~squeeze3Userspaceinterfacetointel-specifickernelDRMservices--runtimelibdrm-nouveau12.
4.
21-1~squeeze3Userspaceinterfacetonouveau-specifickernelDRMservices--runtimelibdrm-radeon12.
4.
21-1~squeeze3Userspaceinterfacetoradeon-specifickernelDRMservices--runtimelibdrm22.
4.
21-1~squeeze3UserspaceinterfacetokernelDRMservices--runtimelibdv41.
0.
0-2.
1softwarelibraryforDVformatdigitalvideo(runtimelib)libdvdnav44.
1.
3-7DVDnavigationlibrarylibdvdread44.
1.
3-10libraryforreadingDVDslibebackend1.
2-02.
30.
3-2Utilitylibraryforevolutiondataserverslibebook1.
2-92.
30.
3-2Clientlibraryforevolutionaddressbookslibecal1.
2-72.
30.
3-2Clientlibraryforevolutioncalendarslibedata-book1.
2-22.
30.
3-2Backendlibraryforevolutionaddressbookslibedata-cal1.
2-72.
30.
3-2Backendlibraryforevolutioncalendarslibedataserver1.
2-132.
30.
3-2Utilitylibraryforevolutiondataserverslibedataserverui1.
2-82.
30.
3-2GUIutilitylibraryforevolutiondataserverslibedit22.
11-20080614-2BSDeditlineandhistorylibrariesV2616LinuxUser'sManualSoftwareComponentsA-7libeggdbus-1-00.
6-1D-BusbindingsforGObjectlibegroupwise1.
2-132.
30.
3-2ClientlibraryforaccessinggroupwisePOAthroughSOAPinterfacelibelf10.
148-1librarytoreadandwriteELFfileslibenchant1c2a1.
6.
0-1awrapperlibraryforvariousspellcheckerengineslibept11.
0.
4High-levellibraryformanagingDebianpackageinformationlibesd00.
2.
41-8EnlightenedSoundDaemon-Sharedlibrarieslibevent-1.
4-21.
4.
13-stable-1Anasynchronouseventnotificationlibrarylibexempi32.
1.
1-1librarytoparseXMPmetadata(Library)libexif120.
6.
19-1librarytoparseEXIFfileslibexpat12.
0.
1-7XMLparsingClibrary-runtimelibrarylibfam02.
7.
0-17ClientlibrarytocontroltheFAMdaemonlibffi53.
0.
9-3ForeignFunctionInterfacelibraryruntimelibfile-copy-recursive-perl0.
38-1Perlextensionforrecursivelycopyingfilesanddirectorieslibflac81.
2.
1-2+b1FreeLosslessAudioCodec-runtimeClibrarylibfont-afm-perl1.
20-1Font::AFM-InterfacetoAdobeFontMetricsfileslibfont-freetype-perl0.
03-1ReadfontfilesandrenderglyphsfromPerlusingFreeType2libfontconfig12.
8.
0-2.
1genericfontconfigurationlibrary-runtimelibfontenc11:1.
0.
5-2X11fontencodinglibrarylibfreetype62.
4.
2-2.
1FreeType2fontengine,sharedlibraryfileslibfs62:1.
0.
2-1X11FontServiceslibrarylibfuse22.
8.
4-1.
1FilesysteminUSErspacelibrarylibgail-common2.
20.
1-2GNOMEAccessibilityImplementationLibrary--commonmoduleslibgail182.
20.
1-2GNOMEAccessibilityImplementationLibrary--sharedlibrarieslibgc1c21:6.
8-1.
2conservativegarbagecollectorforCandC++libgcc11:4.
4.
5-8GCCsupportlibrarylibgconf2-42.
28.
1-6GNOMEconfigurationdatabasesystem(sharedlibraries)libgcr02.
30.
3-5LibraryforCryptoUIrelatedtask-runtimelibgcrypt111.
4.
5-2LGPLCryptolibrary-runtimelibrarylibgdata-google1.
2-12.
30.
3-2ClientlibraryforaccessingGooglePOAthroughSOAPinterfacelibgdata1.
2-12.
30.
3-2ClientlibraryforaccessingGooglePOAthroughSOAPinterfacelibgdbm31.
8.
3-9GNUdbmdatabaseroutines(runtimeversion)libgdict-1.
0-62.
30.
0-2GNOMEDictionarybaselibrary-runtimelibgdu02.
30.
1-2GObjectbasedDiskUtilityLibrarylibgeoip11.
4.
7~beta6+dfsg-1Anon-DNSIP-to-countryresolverlibrarylibgfortran34.
4.
5-8RuntimelibraryforGNUFortranapplicationslibgksu2-02.
0.
13~pre1-3libraryprovidingsuandsudofunctionalitylibgl1-mesa-dri7.
7.
1-4AfreeimplementationoftheOpenGLAPI--DRImoduleslibgl1-mesa-glx7.
7.
1-4AfreeimplementationoftheOpenGLAPI--GLXruntimelibglade2-01:2.
6.
4-1librarytoload.
gladefilesatruntimelibglib-perl2:1.
223-1interfacetotheGLibandGObjectlibrarieslibglib2.
0-02.
24.
2-1TheGLiblibraryofCroutineslibglib2.
0-data2.
24.
2-1CommonfilesforGLiblibrarylibglibmm-2.
4-1c2a2.
24.
2-1C++wrapperfortheGLibtoolkit(sharedlibraries)V2616LinuxUser'sManualSoftwareComponentsA-8libglu1-mesa7.
7.
1-4TheOpenGLutilitylibrary(GLU)libgmime-2.
4-22.
4.
14-1+nmu1MIMEmessageparserandcreatorlibrary-runtimelibgmp3c22:4.
3.
2+dfsg-1Multiprecisionarithmeticlibrarylibgnome-desktop-2-172.
30.
2-2Utilitylibraryforloading.
desktopfiles-runtimefileslibgnome-keyring02.
30.
1-1GNOMEkeyringserviceslibrarylibgnome-media02.
30.
0-1runtimelibrariesfortheGNOMEmediautilitieslibgnome-menu22.
30.
3-1animplementationofthefreedesktopmenuspecificationforGNOMElibgnome-window-settings11:2.
30.
1-2Utilitylibraryforgettingwindowmanagersettingslibgnome2-02.
30.
0-1TheGNOMElibrary-runtimefileslibgnome2-canvas-perl1.
002-2PerlinterfacetotheGNOMEcanvaslibrarylibgnome2-common2.
30.
0-1TheGNOMElibrary-commonfileslibgnome2-perl1.
042-2PerlinterfacetotheGNOMElibrarieslibgnome2-vfs-perl1.
081-1Perlinterfacetothe2.
xseriesoftheGNOMEVFSlibrarylibgnomecanvas2-02.
30.
1-1Apowerfulobject-orienteddisplay-runtimefileslibgnomecanvas2-common2.
30.
1-1Apowerfulobject-orienteddisplay-commonfileslibgnomekbd-common2.
30.
2-2GNOMElibrarytomanagekeyboardconfiguration-commonfileslibgnomekbd42.
30.
2-2GNOMElibrarytomanagekeyboardconfiguration-sharedlibrarylibgnomeui-02.
24.
3-1TheGNOMElibraries(UserInterface)-runtimefileslibgnomeui-common2.
24.
3-1TheGNOMElibraries(UserInterface)-commonfileslibgnomevfs2-01:2.
24.
3-1GNOMEVirtualFileSystem(runtimelibraries)libgnomevfs2-common1:2.
24.
3-1GNOMEVirtualFileSystem(commonfiles)libgnomevfs2-extra1:2.
24.
3-1GNOMEVirtualFileSystem(extramodules)libgnutls262.
8.
6-1theGNUTLSlibrary-runtimelibrarylibgomp14.
4.
5-8GCCOpenMP(GOMP)supportlibrarylibgp11-02.
30.
3-5GlibwrapperlibraryforPKCS#11-runtimelibgpg-error01.
6-1libraryforcommonerrorvaluesandmessagesinGnuPGcomponentslibgpgme111.
2.
0-1.
2GPGME-GnuPGMadeEasylibgphoto2-22.
4.
6-3gphoto2digitalcameralibrarylibgphoto2-port02.
4.
6-3gphoto2digitalcameraportlibrarylibgpm21.
20.
4-3.
3GeneralPurposeMouse-sharedlibrarylibgsf-1-1141.
14.
18-1StructuredFileLibrary-runtimeversionlibgsf-1-common1.
14.
18-1StructuredFileLibrary-commonfileslibgssapi-krb5-21.
8.
3+dfsg-4squeeze1MITKerberosruntimelibraries-krb5GSS-APIMechanismlibgssglue10.
1-4mechanism-switchgssapilibrarylibgssrpc41.
8.
3+dfsg-4squeeze1MITKerberosruntimelibraries-GSSenabledONCRPClibgstreamer-plugins-base0.
10-00.
10.
30-1GStreamerlibrariesfromthe"base"setlibgstreamer0.
10-00.
10.
30-1CoreGStreamerlibrariesandelementslibgtk2-perl2:1.
222-1Perlinterfacetothe2.
xseriesoftheGimpToolkitlibrarylibgtk2.
0-02.
20.
1-2TheGTK+graphicaluserinterfacelibrarylibgtk2.
0-bin2.
20.
1-2TheprogramsfortheGTK+graphicaluserinterfacelibrarylibgtk2.
0-common2.
20.
1-2CommonfilesfortheGTK+graphicaluserinterfacelibrarylibgtkmm-2.
4-1c2a1:2.
20.
3-1C++wrappersforGTK+(sharedlibraries)libgtop2-72.
28.
1-1gtopsystemmonitoringlibrary(shared)V2616LinuxUser'sManualSoftwareComponentsA-9libgtop2-common2.
28.
1-1gtopsystemmonitoringlibrary(common)libgucharmap71:2.
30.
3-1Unicodebrowserwidgetlibrary(sharedlibrary)libgudev-1.
0-0164-3GObject-basedwrapperlibraryforlibudevlibgweather-common2.
30.
3-1GWeathercommonfileslibgweather12.
30.
3-1GWeathersharedlibrarylibhal-storage10.
5.
14-3HardwareAbstractionLayer-sharedlibraryforstoragedeviceslibhal10.
5.
14-3HardwareAbstractionLayer-sharedlibrarylibhtml-format-perl2.
04-2formatHTMLsyntaxtreesintotext,PostScriptorRTFlibhtml-parser-perl3.
66-1collectionofmodulesthatparseHTMLtextdocumentslibhtml-tagset-perl3.
20-2DatatablespertainingtoHTMLlibhtml-tree-perl3.
23-2PerlmoduletorepresentandcreateHTMLsyntaxtreeslibhunspell-1.
2-01.
2.
11-1spellcheckerandmorphologicalanalyzer(sharedlibrary)libical00.
44-3iCalendarlibraryimplementationinC(runtime)libice62:1.
0.
6-2X11Inter-ClientExchangelibrarylibicu444.
4.
1-7InternationalComponentsforUnicodelibid3tag00.
15.
1b-10ID3tagreadinglibraryfromtheMADprojectlibidl00.
8.
14-0.
1libraryforparsingCORBAIDLfileslibidn111.
15-2GNULibidnlibrary,implementationofIETFIDNspecificationslibiec61883-01.
2.
0-0.
1anpartialimplementationofIEC61883libimobiledevice11.
0.
2-1LibraryforcommunicatingwiththeiPhoneandiPodTouchlibisc621:9.
7.
3.
dfsg-1~squeeze3ISCSharedLibraryusedbyBINDlibisccc601:9.
7.
3.
dfsg-1~squeeze3CommandChannelLibraryusedbyBINDlibisccfg621:9.
7.
3.
dfsg-1~squeeze3ConfigFileHandlingLibraryusedbyBINDlibisofs60.
6.
32-2librarytocreateISO9960imageslibiw3030~pre9-5Wirelesstools-librarylibjasper11.
900.
1-7+b1TheJasPerJPEG-2000runtimelibrarylibjpeg626b1-1TheIndependentJPEGGroup'sJPEGruntimelibrary(version6.
2)libk5crypto31.
8.
3+dfsg-4squeeze1MITKerberosruntimelibraries-CryptoLibrarylibkadm5clnt-mit71.
8.
3+dfsg-4squeeze1MITKerberosruntimelibraries-AdministrationClientslibkadm5srv-mit71.
8.
3+dfsg-4squeeze1MITKerberosruntimelibraries-KDCandAdminServerlibkdb5-41.
8.
3+dfsg-4squeeze1MITKerberosruntimelibraries-Kerberosdatabaselibkeyutils11.
4-1LinuxKeyManagementUtilities(library)libklibc1.
5.
20-1+squeeze1minimallibcsubsetforusewithinitramfslibkrb5-31.
8.
3+dfsg-4squeeze1MITKerberosruntimelibrarieslibkrb5support01.
8.
3+dfsg-4squeeze1MITKerberosruntimelibraries-Supportlibraryliblapack3gf3.
2.
1-8libraryoflinearalgebraroutines3-sharedversionlibldap-2.
4-22.
4.
23-7.
2OpenLDAPlibrariesliblocale-gettext-perl1.
05-6UsinglibcfunctionsforinternationalizationinPerlliblockfile11.
08-4NFS-safelockinglibrary,includesdotlockfileprogramlibltdl72.
2.
6b-2AsystemindependentdlopenwrapperforGNUlibtoolliblua5.
1-05.
1.
4-5Simple,extensible,embeddableprogramminglanguageliblwres601:9.
7.
3.
dfsg-1~squeeze3LightweightResolverLibraryusedbyBINDliblzma25.
0.
0-2XZ-formatcompressionlibraryliblzo2-22.
03-2datacompressionlibraryV2616LinuxUser'sManualSoftwareComponentsA-10libmad00.
15.
1b-5MPEGaudiodecoderlibrarylibmagic15.
04-5Filetypedeterminationlibraryusing"magic"numberslibmailtools-perl2.
06-1Manipulateemailinperlprogramslibmetacity-private01:2.
30.
1-3libraryfortheMetacitywindowmanagerlibmpeg2-40.
4.
1-3MPEG1andMPEG2videodecoderlibrarylibmpfr43.
0.
0-2multipleprecisionfloating-pointcomputationlibnautilus-extension12.
30.
1-2squeeze1librariesfornautiluscomponents-runtimeversionlibncurses55.
7+20100313-5sharedlibrariesforterminalhandlinglibncurses5-dev5.
7+20100313-5developer'slibrariesanddocsforncurseslibncursesw55.
7+20100313-5sharedlibrariesforterminalhandling(widecharactersupport)libnet-dbus-perl0.
33.
6-2ExtensionfortheDBusbindingslibnet-telnet-perl3.
03-3Scripttelnetableconnectionslibnewt0.
520.
52.
11-1NotErik'sWindowingToolkit-textmodewindowingwithslanglibnfnetlink01.
0.
0-1Netfilternetlinklibrarylibnfsidmap20.
23-2Annfsidmappinglibrarylibnotify10.
5.
0-2sendsdesktopnotificationstoanotificationdaemonlibnspr4-0d4.
8.
6-1NetScapePortableRuntimeLibrarylibnss3-1d3.
12.
8-1+squeeze1NetworkSecurityServicelibrarieslibntfs-3g751:2010.
3.
6-1ntfs-3gfilesysteminuserspace(FUSE)librarylibntfs102.
0.
0-1+b1librarythatprovidescommonNTFSaccessfunctionslibogg01.
2.
0~dfsg-1Oggbitstreamlibraryliboil0.
30.
3.
17-2LibraryofOptimizedInnerLoopslibonig25.
9.
1-1Onigurumaregularexpressionslibraryliboobs-1-42.
30.
1-1GObjectbasedinterfacetosystem-tools-backends-sharedlibrarylibopencore-amrnb00.
1.
2-1AdaptiveMultiRatespeechcodec-sharedlibrarylibopencore-amrwb00.
1.
2-1AdaptiveMulti-Rate-Widebandspeechcodec-sharedlibraryliborbit21:2.
14.
18-0.
1librariesforORBit2-aCORBAORBliborc-0.
4-01:0.
4.
6-2LibraryofOptimizedInnerLoopsRuntimeCompilerlibpam-ck-connector0.
4.
1-4ConsoleKitPAMmodulelibpam-gnome-keyring2.
30.
3-5PAMmoduletounlocktheGNOMEkeyringuponloginlibpam-modules1.
1.
1-6.
1PluggableAuthenticationModulesforPAMlibpam-runtime1.
1.
1-6.
1RuntimesupportforthePAMlibrarylibpam0g1.
1.
1-6.
1PluggableAuthenticationModuleslibrarylibpanel-applet2-02.
30.
2-2libraryforGNOMEPanelappletslibpango-perl1.
221-2Perlmoduletolayoutandrenderinternationaltextlibpango1.
0-01.
28.
3-1+squeeze2Layoutandrenderingofinternationalizedtextlibpango1.
0-common1.
28.
3-1+squeeze2ModulesandconfigurationfilesforthePangolibpangomm-1.
4-12.
26.
2-1C++Wrapperforpango(sharedlibraries)libparted0debian12.
3-5TheGNUParteddiskpartitioningsharedlibrarylibpcap0.
81.
1.
1-2systeminterfaceforuser-levelpacketcapturelibpci31:3.
1.
7-6LinuxPCIUtilities(sharedlibrary)libpciaccess00.
12.
0-1GenericPCIaccesslibraryforXlibpcre38.
02-1.
1Perl5CompatibleRegularExpressionLibrary-runtimefileslibperl5.
105.
10.
1-17squeeze2sharedPerllibrarylibpixman-1-00.
16.
4-1pixel-manipulationlibraryforXandcairolibpkcs11-helper11.
07-1librarythatsimplifiestheinteractionwithPKCS#11libplist11.
3-2LibraryforhandlingApplebinaryandXMLpropertylistslibpng12-01.
2.
44-1+squeeze1PNGlibrary-runtimeV2616LinuxUser'sManualSoftwareComponentsA-11libpolkit-agent-1-00.
96-4PolicyKitAuthenticationAgentAPIlibpolkit-backend-1-00.
96-4PolicyKitbackendAPIlibpolkit-gobject-1-00.
96-4PolicyKitAuthorizationAPIlibpolkit-gtk-1-00.
96-3PolicyKitGTK+APIlibpopt01.
16-1libforparsingcmdlineparameterslibproxy00.
3.
1-2automaticproxyconfigurationmanagementlibrary(shared)libpth202.
0.
7-16TheGNUPortableThreadslibpulse-mainloop-glib00.
9.
21-3+squeeze1PulseAudioclientlibraries(glibsupport)libpulse00.
9.
21-3+squeeze1PulseAudioclientlibrarieslibpython2.
62.
6.
6-8+b1SharedPythonruntimelibrary(version2.
6)libqdbm141.
8.
77-4QDBMDatabaseLibraries[runtime]librarian00.
8.
1-5Documentationmeta-datalibrary(librarypackage)libraw1394-112.
0.
5-2libraryfordirectaccesstoIEEE1394bus(akaFireWire)libreadline55.
2-7GNUreadlineandhistorylibraries,run-timelibrarieslibreadline66.
1-3GNUreadlineandhistorylibraries,run-timelibrarieslibrpcsecgss30.
19-2allowssecurerpccommunicationusingtherpcsec_gssprotocollibrpm14.
8.
1-6RPMsharedlibrarylibrpmio14.
8.
1-6RPMIOsharedlibrarylibrsvg2-22.
26.
3-1SAX-basedrendererlibraryforSVGfiles(runtime)librsvg2-common2.
26.
3-1SAX-basedrendererlibraryforSVGfiles(extraruntime)libsasl2-22.
1.
23.
dfsg1-7CyrusSASL-authenticationabstractionlibrarylibsasl2-modules2.
1.
23.
dfsg1-7CyrusSASL-pluggableauthenticationmoduleslibselinux12.
0.
96-1SELinuxruntimesharedlibrarieslibsensors41:3.
1.
2-6librarytoreadtemperature/voltage/fansensorslibsepol12.
0.
41-1SELinuxlibraryformanipulatingbinarysecuritypolicieslibsgutils2-21.
29-1utilitiesfordevicesusingtheSCSIcommandset(sharedlibraries)libshout32.
2.
2-5+b1MP3/OggVorbisbroadcaststreaminglibrarylibsidplay11.
36.
59-5SID(MOS6581)emulationlibrarylibsigc++-2.
0-0c2a2.
2.
4.
2-1type-safeSignalFrameworkforC++-runtimelibslab0a2.
30.
0-1beautificationapplibraryfilelibslang22.
2.
2-4TheS-Langprogramminglibrary-runtimeversionlibsm62:1.
1.
1-1X11SessionManagementlibrarylibsmbclient2:3.
5.
6~dfsg-3squeeze4sharedlibraryforcommunicationwithSMB/CIFSserverslibsndfile11.
0.
21-3+squeeze1Libraryforreading/writingaudiofileslibsnmp-base5.
4.
3~dfsg-2SNMP(SimpleNetworkManagementProtocol)MIBsanddocumentationlibsnmp155.
4.
3~dfsg-2SNMP(SimpleNetworkManagementProtocol)librarylibsoup-gnome2.
4-12.
30.
2-1anHTTPlibraryimplementationinC--GNOMEsupportlibrarylibsoup2.
4-12.
30.
2-1anHTTPlibraryimplementationinC--Sharedlibrarylibspeex11.
2~rc1-1TheSpeexcodecruntimelibrarylibsqlite3-03.
7.
3-1SQLite3sharedlibrarylibss21.
41.
12-4stable1command-lineinterfaceparsinglibrarylibssl0.
9.
80.
9.
8o-4squeeze1SSLsharedlibrarieslibstartup-notification00.
10-1libraryforprogramlaunchfeedback(sharedlibrary)libstdc++64.
4.
5-8TheGNUStandardC++Libraryv3libstdc++6-4.
4-dev4.
4.
5-8TheGNUStandardC++Libraryv3(developmentfiles)libtag1-vanilla1.
6.
3-1TagLibAudioMeta-DataLibrary(Vanillaflavour)libtag1c2a1.
6.
3-1TagLibAudioMeta-DataLibraryV2616LinuxUser'sManualSoftwareComponentsA-12libtalloc22.
0.
1-1hierarchicalpoolbasedmemoryallocatorlibtasn1-32.
7-1ManageASN.
1structures(runtime)libtdb11.
2.
1-2+b1TrivialDatabase-sharedlibrarylibtext-charwidth-perl0.
04-6getdisplaywidthsofcharactersontheterminallibtext-iconv-perl1.
7-2convertsbetweencharactersetsinPerllibtext-wrapi18n-perl0.
06-7internationalizedsubstituteofText::Wraplibthai-data0.
1.
14-2DatafilesforThailanguagesupportlibrarylibthai00.
1.
14-2Thailanguagesupportlibrarylibtheora01.
1.
1+dfsg.
1-3TheTheoraVideoCompressionCodeclibtie-ixhash-perl1.
21-2orderedassociativearraysforPerllibtiff43.
9.
4-5+squeeze3TagImageFileFormat(TIFF)librarylibtimedate-perl1.
2000-1collectionofmodulestomanipulatedate/timeinformationlibtokyocabinet81.
4.
37-6TokyoCabinetDatabaseLibraries[runtime]libtotem-plparser172.
30.
3-1TotemPlaylistParserlibrary-runtimefileslibtracker-client-0.
8-00.
8.
17-1metadatadatabase,indexerandsearchtool-librarylibtwolame00.
3.
12-1MPEGAudioLayer2encodinglibrarylibudev0164-3libudevsharedlibrarylibunique-1.
0-01.
1.
6-1.
1Libraryforwritingsingleinstanceapplications-sharedlibrarieslibupower-glib10.
9.
5-5abstractionforpowermanagement-sharedlibraryliburi-perl1.
54-2moduletomanipulateandaccessURIstringslibusb-0.
1-42:0.
1.
12-16userspaceUSBprogramminglibrarylibusb-1.
0-02:1.
0.
8-2userspaceUSBprogramminglibrarylibusbmuxd11.
0.
4-1USBmultiplexordaemonforiPhoneandiPodTouchdevices-librarylibuuid-perl0.
02-4PerlextensionforusingUUIDinterfacesasdefinedine2fsprogslibuuid12.
17.
2-9UniversallyUniqueIDlibrarylibv4l-00.
8.
0-1Collectionofvideo4linuxsupportlibrarieslibvisual-0.
4-00.
4.
0-3Audiovisualizationframeworklibvisual-0.
4-plugins0.
4.
0.
dfsg.
1-2Audiovisualizationframeworkpluginslibvorbis0a1.
3.
1-1TheVorbisGeneralAudioCompressionCodec(Decoderlibrary)libvorbisenc21.
3.
1-1TheVorbisGeneralAudioCompressionCodec(Encoderlibrary)libvorbisfile31.
3.
1-1TheVorbisGeneralAudioCompressionCodec(HighLevelAPI)libvte-common1:0.
24.
3-2TerminalemulatorwidgetforGTK+2.
0-commonfileslibvte91:0.
24.
3-2TerminalemulatorwidgetforGTK+2.
0-runtimefileslibwavpack14.
60.
1-1anaudiocodec(lossyandlossless)-librarylibwbclient02:3.
5.
6~dfsg-3squeeze4Sambawinbindclientlibrarylibwebkit-1.
0-21.
2.
7-0+squeeze1WebcontentenginelibraryforGtk+libwebkit-1.
0-common1.
2.
7-0+squeeze1WebcontentenginelibraryforGtk+-datafileslibwnck-common2.
30.
4-2WindowNavigatorConstructionKit-commonfileslibwnck222.
30.
4-2WindowNavigatorConstructionKit-runtimefileslibwrap07.
6.
q-19WietseVenema'sTCPwrapperslibrarylibwww-perl5.
836-1PerlHTTP/WWWclient/serverlibrarylibx11-62:1.
3.
3-4X11client-sidelibrarylibx11-data2:1.
3.
3-4X11client-sidelibrarylibx11-xcb12:1.
3.
3-4Xlib/XCBinterfacelibrarylibx86-11.
1+ds1-6x86real-modelibrarylibxapian221.
2.
3-2SearchenginelibraryV2616LinuxUser'sManualSoftwareComponentsA-13libxau61:1.
0.
6-1X11authorisationlibrarylibxaw72:1.
0.
7-1X11AthenaWidgetlibrarylibxcb-atom10.
3.
6-1utilitylibrariesforXCBinding--atomlibxcb-aux00.
3.
6-1utilitylibrariesforXCBinding--auxlibxcb-dri2-01.
6-1XCBinding,dri2extensionlibxcb-event10.
3.
6-1utilitylibrariesforXCBinding--eventlibxcb-render-util00.
3.
6-1utilitylibrariesforXCBinding--render-utillibxcb-render01.
6-1XCBinding,renderextensionlibxcb11.
6-1XCBindinglibxcomposite11:0.
4.
2-1X11Compositeextensionlibrarylibxcursor11:1.
1.
10-2Xcursormanagementlibrarylibxdamage11:1.
1.
3-1X11damagedregionextensionlibrarylibxdmcp61:1.
0.
3-2X11DisplayManagerControlProtocollibrarylibxext62:1.
1.
2-1X11miscellaneousextensionlibrarylibxfixes31:4.
0.
5-1X11miscellaneous'fixes'extensionlibrarylibxfont11:1.
4.
1-2X11fontrasterisationlibrarylibxft22.
1.
14-2FreeType-basedfontdrawinglibraryforXlibxi62:1.
3-6X11Inputextensionlibrarylibxinerama12:1.
1-3X11Xineramaextensionlibrarylibxkbfile11:1.
0.
6-2X11keyboardfilemanipulationlibrarylibxklavier165.
0-2XKeyboardExtensionhigh-levelAPIlibxml-parser-perl2.
36-1.
1+b1PerlmoduleforparsingXMLfileslibxml-twig-perl1:3.
34-1PerlmoduleforprocessinghugeXMLdocumentsintreemodelibxml-xpathengine-perl0.
12-2re-usableXPathengineforDOM-liketreeslibxml22.
7.
8.
dfsg-2+squeeze1GNOMEXMLlibrarylibxmu62:1.
0.
5-2X11miscellaneousutilitylibrarylibxmuu12:1.
0.
5-2X11miscellaneousmicro-utilitylibrarylibxpm41:3.
5.
8-1X11pixmaplibrarylibxrandr22:1.
3.
0-3X11RandRextensionlibrarylibxrender11:0.
9.
6-1XRenderingExtensionclientlibrarylibxres12:1.
0.
4-1X11Resourceextensionlibrarylibxslt1.
11.
1.
26-6XSLT1.
0processinglibrary-runtimelibrarylibxss11:1.
2.
0-2X11ScreenSaverextensionlibrarylibxt61:1.
0.
7-1X11toolkitintrinsicslibrarylibxtst62:1.
1.
0-3X11Testing--Recordextensionlibrarylibxv12:1.
0.
5-1X11Videoextensionlibrarylibxvmc12:1.
0.
5-1X11Videoextensionlibrarylibxxf86dga12:1.
1.
1-2X11DirectGraphicsAccessextensionlibrarylibxxf86vm11:1.
1.
0-2X11XFree86videomodeextensionlibrarylinux-base2.
6.
32-35Linuximagebasepackagelinux-headers-2.
6.
32-5-amd642.
6.
32-35HeaderfilesforLinux2.
6.
32-5-amd64linux-headers-2.
6.
32-5-common2.
6.
32-35CommonheaderfilesforLinux2.
6.
32-5linux-image-2.
6-amd642.
6.
32+29Linux2.
6for64-bitPCs(meta-package)linux-image-2.
6.
32-5-amd642.
6.
32-35Linux2.
6.
32for64-bitPCslinux-kbuild-2.
6.
322.
6.
32-1KbuildinfrastructureforLinux2.
6.
32linux-libc-dev2.
6.
32-35Linuxsupportheadersforuserspacedevelopmentlinux-sound-base1.
0.
23+dfsg-2basepackageforALSAandOSSsoundsystemslm-sensors1:3.
1.
2-6utilitiestoreadtemperature/voltage/fansensorslocales2.
11.
2-10EmbeddedGNUCLibrary:NationalLanguage(locale)V2616LinuxUser'sManualSoftwareComponentsA-14data[support]lockfile-progs0.
1.
15Programsforlockingandunlockingfilesandmailboxeslogin1:4.
1.
4.
2+svn3283-2+squeeze1systemlogintoolslogrotate3.
7.
8-6Logrotationutilitylrzsz0.
12.
21-5Toolsforzmodem/xmodem/ymodemfiletransferlsb-base3.
2-23.
2squeeze1LinuxStandardBase3.
2initscriptfunctionalitylsb-release3.
2-23.
2squeeze1LinuxStandardBaseversionreportingutilitylsof4.
81.
dfsg.
1-1Listopenfilesm41.
4.
14-3amacroprocessinglanguagemake3.
81-8AnutilityforDirectingcompilation.
man-db2.
5.
7-8on-linemanualpagermawk1.
3.
3-15apatternscanningandtextprocessinglanguagemdadm3.
1.
4-1+8efb9d1tooltoadministerLinuxMDarrays(softwareRAID)menu2.
1.
44generatesprogramsmenuforallmenu-awareapplicationsmenu-xdg0.
5freedesktop.
orgmenucompliantwindowmanagerscriptsmetacity1:2.
30.
1-3lightweightGTK+windowmanagermetacity-common1:2.
30.
1-3sharedfilesfortheMetacitywindowmanagermime-support3.
48-1MIMEfiles'mime.
types'&'mailcap',andsupportprogramsminicom2.
4-3friendlymenudrivenserialcommunicationprogrammlocate0.
22.
2-1quicklyfindfilesonthefilesystembasedontheirnamemodconf0.
3.
11DeviceDriverConfigurationmodule-init-tools3.
12-1toolsformanagingLinuxkernelmodulesmount2.
17.
2-9Toolsformountingandmanipulatingfilesystemsmtools4.
0.
12-1ToolsformanipulatingMSDOSfilesmutt1.
5.
20-9+squeeze1text-basedmailreadersupportingMIME,GPG,PGPandthreadingnautilus2.
30.
1-2squeeze1filemanagerandgraphicalshellforGNOMEnautilus-data2.
30.
1-2squeeze1datafilesfornautilusncurses-base5.
7+20100313-5basicterminaltypedefinitionsncurses-bin5.
7+20100313-5terminal-relatedprogramsandmanpagesncurses-term5.
7+20100313-5additionalterminaltypedefinitionsnet-tools1.
60-23TheNET-3networkingtoolkitnetbase4.
45BasicTCP/IPnetworkingsystemnetcat-traditional1.
10-38TCP/IPswissarmyknifenfs-common1:1.
2.
2-4NFSsupportfilescommontoclientandservernotification-daemon0.
5.
0-2daemontodisplayspassivepop-upnotificationsntfs-3g1:2010.
3.
6-1read-writeNTFSdriverforFUSEntfsprogs2.
0.
0-1+b1toolsfordoingneatthingsinNTFSpartitionsfromLinuxntpdate1:4.
2.
6.
p2+dfsg-1+b1clientforsettingsystemtimefromNTPserversopenbsd-inetd0.
20080125-6TheOpenBSDInternetSuperserveropenssh-blacklist0.
4.
1listofdefaultblacklistedOpenSSHRSAandDSAkeysopenssh-blacklist-extra0.
4.
1listofnon-defaultblacklistedOpenSSHRSAandDSAkeysopenssh-client1:5.
5p1-6secureshell(SSH)client,forsecureaccesstoremotemachinesopenssh-server1:5.
5p1-6secureshell(SSH)server,forsecureaccessfromremotemachinesopenssl0.
9.
8o-4squeeze1SecureSocketLayer(SSL)binaryandrelatedcryptographictoolsV2616LinuxUser'sManualSoftwareComponentsA-15openssl-blacklist0.
5-2listofblacklistedOpenSSLRSAkeysopenvpn2.
1.
3-2virtualprivatenetworkdaemonopenvpn-blacklist0.
4listofblacklistedOpenVPNRSAsharedkeysp7zip-full9.
04~dfsg.
1-17zand7zafilearchiverswithhighcompressionratiopasswd1:4.
1.
4.
2+svn3283-2+squeeze1changeandadministerpasswordandgroupdatapciutils1:3.
1.
7-6LinuxPCIUtilitiesperl5.
10.
1-17squeeze2LarryWall'sPracticalExtractionandReportLanguageperl-base5.
10.
1-17squeeze2minimalPerlsystemperl-modules5.
10.
1-17squeeze2CorePerlmodulesphp55.
3.
3-7+squeeze3server-side,HTML-embeddedscriptinglanguage(metapackage)php5-cli5.
3.
3-7+squeeze3command-lineinterpreterforthephp5scriptinglanguagephp5-common5.
3.
3-7+squeeze3Commonfilesforpackagesbuiltfromthephp5sourcephp5-suhosin0.
9.
32.
1-1advancedprotectionmoduleforphp5pm-utils1.
3.
0-3utilitiesandscriptsforpowermanagementpmount0.
9.
23-1mountremovabledevicesasnormaluserpolicykit-10.
96-4frameworkformanagingadministrativepoliciesandprivilegespolicykit-1-gnome0.
96-3GNOMEauthenticationagentforPolicyKit-1portmap6.
0.
0-2RPCportmapperpowermgmt-base1.
31Commonutilsandconfigsforpowermanagementppp2.
4.
5-4Point-to-PointProtocol(PPP)-daemonpppconfig2.
3.
18+nmu2Atextmenubasedutilityforconfiguringppppppoe3.
8-3PPPoverEthernetdriverpppoeconf1.
19configuresPPPoE/ADSLconnectionsprocps1:3.
2.
8-9/procfilesystemutilitiesproftpd-basic1.
3.
3a-6squeeze1Versatile,virtual-hostingFTPdaemon-binariespsmisc22.
11-1utilitiesthatusetheprocfilesystempython2.
6.
6-3+squeeze6interactivehigh-levelobject-orientedlanguage(defaultversion)python-apt0.
7.
100.
1+squeeze1Pythoninterfacetolibapt-pkgpython-apt-common0.
7.
100.
1+squeeze1Pythoninterfacetolibapt-pkg(locales)python-cairo1.
8.
8-1+b1PythonbindingsfortheCairovectorgraphicslibrarypython-central0.
6.
16+nmu1registerandbuildutilityforPythonpackagespython-chardet2.
0.
1-1universalcharacterencodingdetectorpython-dbus0.
83.
1-1simpleinterprocessmessagingsystem(Pythoninterface)python-debian0.
1.
18PythonmodulestoworkwithDebian-relateddataformatspython-gconf2.
28.
1-1PythonbindingsfortheGConfconfigurationdatabasesystempython-glade22.
17.
0-4GTK+bindings:Gladesupportpython-gmenu2.
30.
3-1animplementationofthefreedesktopmenuspecificationforGNOMEpython-gnome22.
28.
1-1PythonbindingsfortheGNOMEdesktopenvironmentpython-gnomeapplet2.
30.
0-4PythonbindingsfortheGNOMEpanelappletlibrarypython-gnomedesktop2.
30.
0-4PythonbindingsfortheGNOMEdesktoplibrarypython-gnomekeyring2.
30.
0-4PythonbindingsfortheGNOMEkeyringlibrarypython-gnupginterface0.
3.
2-9.
1PythoninterfacetoGnuPG(GPG)python-gobject2.
21.
4+is.
2.
21.
3-1PythonbindingsfortheGObjectlibrarypython-gtk22.
17.
0-4PythonbindingsfortheGTK+widgetsetV2616LinuxUser'sManualSoftwareComponentsA-16python-minimal2.
6.
6-3+squeeze6minimalsubsetofthePythonlanguage(defaultversion)python-numpy1:1.
4.
1-5NumericalPythonaddsafastarrayfacilitytothePythonlanguagepython-pyorbit2.
24.
0-6APythonlanguagebindingfortheORBit2CORBAimplementationpython-software-properties0.
60.
debian-3managetherepositoriesthatyouinstallsoftwarefrompython-support1.
0.
10automatedrebuildingsupportforPythonmodulespython-wnck2.
30.
0-4PythonbindingsfortheWNCKlibrarypython-xapian1.
2.
3-3XapiansearchengineinterfaceforPythonpython2.
62.
6.
6-8+b1Aninteractivehigh-levelobject-orientedlanguage(version2.
6)python2.
6-minimal2.
6.
6-8+b1AminimalsubsetofthePythonlanguage(version2.
6)python3.
13.
1.
3-1Aninteractivehigh-levelobject-orientedlanguage(version3.
1)python3.
1-minimal3.
1.
3-1AminimalsubsetofthePythonlanguage(version3.
1)radeontool1.
6.
1-1utilitytocontrolATIRadeonbacklightfunctionsonlaptopsrarian-compat0.
8.
1-5Documentationmeta-datalibrary(compatibilitytools)readline-common6.
1-3GNUreadlineandhistorylibraries,commonfilesrpm-common4.
8.
1-6commonfilesforRPMrpm2cpio4.
8.
1-6tooltoconvertRPMpackagetoCPIOarchiversyslog4.
6.
4-2enhancedmulti-threadedsyslogdsed4.
2.
1-7TheGNUsedstreameditorsensible-utils0.
0.
4Utilitiesforsensiblealternativeselectionsgml-base1.
26+nmu1SGMLinfrastructureandSGMLcatalogfilesupportsgml-data2.
0.
4commonSGMLandXMLdatashared-mime-info0.
71-4FreeDesktop.
orgsharedMIMEdatabaseandspecsnmp5.
4.
3~dfsg-2SNMP(SimpleNetworkManagementProtocol)applicationssnmpd5.
4.
3~dfsg-2SNMP(SimpleNetworkManagementProtocol)agentssoftware-properties-gtk0.
60.
debian-3managetherepositoriesthatyouinstallsoftwarefromssh1:5.
5p1-6secureshellclientandserver(metapackage)ssl-cert1.
0.
28simpledebconfwrapperforOpenSSLsudo1.
7.
4p4-2.
squeeze.
2Providelimitedsuperuserprivilegestospecificuserssynaptic0.
70~pre1+b1Graphicalpackagemanagersystem-tools-backends2.
10.
1-2SystemToolstomanagecomputerconfiguration--scriptssysv-rc2.
88dsf-13.
1System-V-likerunlevelchangemechanismsysvinit2.
88dsf-13.
1System-V-likeinitutilitiessysvinit-utils2.
88dsf-13.
1System-V-likeutilitiestar1.
23-3GNUversionofthetararchivingutilitytasksel2.
88ToolforselectingtasksforinstallationonDebiansystemstasksel-data2.
88OfficialtasksusedforinstallationofDebiansystemstcpd7.
6.
q-19WietseVenema'sTCPwrapperutilitiestcpdump4.
1.
1-1Apowerfultoolfornetworkmonitoringanddataacquisitiontelnet0.
17-36Thetelnetclienttelnetd0.
17-36Thetelnetservertftpd0.
17-18Trivialfiletransferprotocolservertime1.
7-23.
1TheGNUtimeprogramformeasuringcpuresourceusageV2616LinuxUser'sManualSoftwareComponentsA-17traceroute1:2.
0.
15-1TracestheroutetakenbypacketsoveranIPv4/IPv6networkttf-dejavu-core2.
31-1Verafontfamilyderivatewithadditionalcharacterstzdata2011d-0squeeze1timezoneanddaylight-savingtimedataucf3.
0025+nmu1UpdateConfigurationFile:preserveuserchangestoconfigfiles.
udev164-3/dev/andhotplugmanagementdaemonudisks1.
0.
1+git20100614-3abstractionforenumeratingblockdevicesunattended-upgrades0.
62.
2automaticinstallationofsecurityupgradesupdate-inetd4.
38+nmu1inetdconfigurationfileupdaterupower0.
9.
5-5abstractionforpowermanagementusbmount0.
0.
21automaticallymountandunmountUSBmassstoragedevicesusbmuxd1.
0.
4-1USBmultiplexordaemonforiPhoneandiPodTouchdevicesusbutils0.
87-5LinuxUSButilitiesutil-linux2.
17.
2-9Miscellaneoussystemutilitiesvbetool1.
1-2runreal-modevideoBIOScodetoalterhardwarestatevim2:7.
2.
445+hg~cb94c42c0e1a-1ViIMproved-enhancedvieditorvim-common2:7.
2.
445+hg~cb94c42c0e1a-1ViIMproved-Commonfilesvim-runtime2:7.
2.
445+hg~cb94c42c0e1a-1ViIMproved-Runtimefilesvim-tiny2:7.
2.
445+hg~cb94c42c0e1a-1ViIMproved-enhancedvieditor-compactversionw3m0.
5.
2-9WWWbrowsablepagerwithexcellenttables/framessupportwatchdog5.
9-1Asoftwarewatchdogwget1.
12-2.
1retrievesfilesfromthewebwhiptail0.
52.
11-1Displaysuser-friendlydialogboxesfromshellscriptswhois5.
0.
10anintelligentwhoisclientx-ttcidfont-conf32TrueTypeandCIDfontsconfigurationforXx11-apps7.
5+5Xapplicationsx11-common1:7.
5+8XWindowSystem(X.
Org)infrastructurex11-session-utils7.
5+1Xsessionutilitiesx11-utils7.
5+4X11utilitiesx11-xfs-utils7.
4+1Xfontserverutilitiesx11-xkb-utils7.
5+5X11XKButilitiesx11-xserver-utils7.
5+3Xserverutilitiesxauth1:1.
0.
4-1Xauthenticationutilityxbase-clients1:7.
5+8miscellaneousXclients-metapackagexfonts-base1:1.
0.
1standardfontsforXxfonts-encodings1:1.
0.
3-1EncodingsforX.
Orgfontsxfonts-utils1:7.
5+2XWindowSystemfontutilityprogramsxinit1.
2.
0-2Xserverinitialisationtoolxkb-data1.
8-2XKeyboardExtension(XKB)configurationdataxml-core0.
13XMLinfrastructureandXMLcatalogfilesupportxserver-common2:1.
7.
7-13commonfilesusedbyvariousXserversxserver-xephyr2:1.
7.
7-13nestedXserverxserver-xorg1:7.
5+8theX.
OrgXserverxserver-xorg-core2:1.
7.
7-13XorgXserver-coreserverxserver-xorg-input-all1:7.
5+8theX.
OrgXserver--inputdrivermetapackageV2616LinuxUser'sManualSoftwareComponentsA-18xserver-xorg-input-evdev1:2.
3.
2-6X.
OrgXserver--evdevinputdriverxserver-xorg-input-synaptics1.
2.
2-2SynapticsTouchPaddriverforX.
Orgserverxserver-xorg-input-wacom0.
10.
5+20100416-1X.
OrgXserver--Wacominputdriverxserver-xorg-video-all1:7.
5+8theX.
OrgXserver--outputdrivermetapackagexserver-xorg-video-apm1:1.
2.
2-2X.
OrgXserver--APMdisplaydriverxserver-xorg-video-ark1:0.
7.
2-2X.
OrgXserver--arkdisplaydriverxserver-xorg-video-ati1:6.
13.
1-2+squeeze1X.
OrgXserver--AMD/ATIdisplaydriverwrapperxserver-xorg-video-chips1:1.
2.
3-1X.
OrgXserver--Chipsdisplaydriverxserver-xorg-video-cirrus1:1.
3.
2-2+squeeze1X.
OrgXserver--Cirrusdisplaydriverxserver-xorg-video-fbdev1:0.
4.
2-2X.
OrgXserver--fbdevdisplaydriverxserver-xorg-video-i1281:1.
3.
3-2X.
OrgXserver--i128displaydriverxserver-xorg-video-intel2:2.
13.
0-6X.
OrgXserver--Inteli8xx,i9xxdisplaydriverxserver-xorg-video-mach646.
8.
2-3X.
OrgXserver--ATIMach64displaydriverxserver-xorg-video-mga1:1.
4.
11.
dfsg-4+squeeze1X.
OrgXserver--MGAdisplaydriverxserver-xorg-video-neomagic1:1.
2.
4-3X.
OrgXserver--Neomagicdisplaydriverxserver-xorg-video-nouveau1:0.
0.
15+git20100329+7858345-5X.
OrgXserver--Nouveaudisplaydriver(experimental)xserver-xorg-video-nv1:2.
1.
17-3X.
OrgXserver--NVdisplaydriverxserver-xorg-video-openchrome1:0.
2.
904+svn842-2X.
OrgXserver--VIAdisplaydriverxserver-xorg-video-r1286.
8.
1-3X.
OrgXserver--ATIr128displaydriverxserver-xorg-video-radeon1:6.
13.
1-2+squeeze1X.
OrgXserver--AMD/ATIRadeondisplaydriverxserver-xorg-video-rendition1:4.
2.
3-3X.
OrgXserver--Renditiondisplaydriverxserver-xorg-video-s31:0.
6.
3-2X.
OrgXserver--legacyS3displaydriverxserver-xorg-video-s3virge1:1.
10.
4-2X.
OrgXserver--S3ViRGEdisplaydriverxserver-xorg-video-savage1:2.
3.
1-2X.
OrgXserver--Savagedisplaydriverxserver-xorg-video-siliconmotion1:1.
7.
3-2X.
OrgXserver--SiliconMotiondisplaydriverxserver-xorg-video-sis1:0.
10.
3-1X.
OrgXserver--SiSdisplaydriverxserver-xorg-video-sisusb1:0.
9.
3-2X.
OrgXserver--SiSUSBdisplaydriverxserver-xorg-video-tdfx1:1.
4.
3-2X.
OrgXserver--tdfxdisplaydriverxserver-xorg-video-trident1:1.
3.
3-2X.
OrgXserver--Tridentdisplaydriverxserver-xorg-video-tseng1:1.
2.
3-2+squeeze1X.
OrgXserver--Tsengdisplaydriverxserver-xorg-video-vesa1:2.
3.
0-3X.
OrgXserver--VESAdisplaydriverxserver-xorg-video-vmware1:11.
0.
1-2X.
OrgXserver--VMwaredisplaydriverxserver-xorg-video-voodoo1:1.
2.
3-2X.
OrgXserver--VoodoodisplaydriverV2616LinuxUser'sManualSoftwareComponentsA-19xz-utils5.
0.
0-2XZ-formatcompressionutilitiesyelp2.
30.
1+webkit-1HelpbrowserforGNOMEzenity2.
30.
0-1Displaygraphicaldialogboxesfromshellscriptszlib1g1:1.
2.
3.
4.
dfsg-3compressionlibrary-runtime
爱用云互联怎么样?爱用云是一家成立于2018年的老牌商家旗下的服务器销售品牌,是正规持证IDC/ISP/IRCS商家,主要销售国内、中国香港、国外服务器产品,线路有腾讯云国外线路、自营香港CN2线路等,都是中国大陆直连线路,非常适合免备案建站业务需求和各种负载较高的项目,同时国内服务器也有多个BGP以及高防节点。专注为个人开发者用户,中小型,大型企业用户提供一站式核心网络云端服务部署,促使用户云端...
ftech怎么样?ftech是一家越南本土的主机商,成立于2011年,比较低调,国内知道的人比较少。FTECH.VN以极低的成本提供高质量服务的领先提供商之一。主营虚拟主机、VPS、独立服务器、域名等传统的IDC业务,数据中心分布在河内和胡志明市。其中,VPS提供1G的共享带宽,且不限流量,还可以安装Windows server2003/2008的系统。Ftech支持信用卡、Paypal等付款,但...
上次部落分享过VirMach提供的End of Life Plans系列的VPS主机,最近他们又发布了DEDICATED MIGRATION SPECIALS产品,并提供6.5-7.5折优惠码,优惠后最低每月27.3美元起。同样的这些机器现在订购,将在2021年9月30日至2022年4月30日之间迁移,目前这些等待迁移机器可以在洛杉矶、达拉斯、亚特兰大、纽约、芝加哥等5个地区机房开设,未来迁移的时...
crontab为你推荐
虚拟主机价格谁知道租虚拟主机多少钱?独立ip主机独立IP主机和CDN主机的详细区别?国外空间租用好用的国外空间网站空间申请企业网站空间申请有哪些流程啊。、、。山东虚拟主机400电话哪家代理商办理得比较好深圳虚拟主机需要一个虚拟主机???很急!!域名网站域名和网址的区别主要有什么域名网站哪里可以给你免费的域名做个网站域名中介在淘名网购买域名.申请了域名中介.查看了下对方域名状态:禁止删除 禁止转移.. 请问这样交易安全吗?com域名域名CN和COM有什么区别
什么是二级域名 winscp Dedicated linkcloud 360抢票助手 丹弗 什么是刀片服务器 adroit 可外链网盘 in域名 银盘服务 华为云盘 免费外链相册 台湾google 国外的代理服务器 石家庄服务器托管 学生服务器 阿里云个人邮箱 睿云 香港ip 更多