⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 查看局域网的信息,类似网上邻居的功能,例如查看哪台计算机在线等
💻
📖 第 1 页 / 共 2 页
字号:
BroadcastNetwork  This entry contains exactly one network address/subnet mask. To this network broadcasts will be sent. Usually this should be your own network address/subnetmask. Example: 192.168.0.0/255.255.0.0SearchUsingNmblookup Here you can give 0 or 1. 1 means that LISa will execute "nmblookup "*"  " and parse the output from this command. This produces less network traffic than the pinging, but you will only get hosts which have a smb-service running (Windows machines or machines running samba). If you enable this option and also give IP addresses to ping, then nmblookup  will be executed first and then the pinging will start. Then only addresses will be pinged, which were not already delivered from nmblookup. This should slightly decrease the network load.FirstWait  If LISa pings, i.e. if it sends the ICMP echo requests, it sends a bunch of requests at once, and the it will wait for the number of hundredth seconds you specify here. Usually values from 5 to 50 should be good, the maximum is 99 (gives 0.99 seconds, a very long time). Try to make this value as small as possible while still finding all  running hosts.SecondWait After LISa sent the echo requests the first time, it can be possible that some hosts were not found. To improve the results, LISa can ping a second time. This time it will only ping hosts, from which it didn't receive answers. If you have good results with pinging only once, you can disable the second time with setting SecondWait to -1. Otherwise it might be a good idea to make this value a little bit bigger than the value for FirstWait, since the hosts which were not found on the first try, are probably slower or further away so they might take some milliseconds longer to answer. Usually values from 5 to 50 should be good or -1 to disable the second scan. The maximum is 99 (gives 0.99 seconds, a very long time).  UpdatePeriod This is the interval after which LISa will update, i.e. ping or nmblookup or get the list of hosts from the LISa server which actually does the pinging. Valid values are between 30 seconds and 1800 seconds (half an hour). If you have a big network, don't make the interval to small (to keep network load low). Values from 300 to 900 seconds (5 to 15 minutes) might be a good idea. Keep in mind that the update period is doubled  if nobody accesses the server, up to 4 times, so the interval will become 16 times the value given here and will be reseted to the value given here if somebody accesses the server.DeliverUnnamedHosts If an answer to an echo request from an IP address was received, were LISa could not determine a name, it will be only delivered over the port if you set this to 1. I am not really sure if this is a useful feature, but maybe there are some infrastructure devices in your network without assigned names, so they don't have to be published. Set this to 0 if you want to keep them secret ;-) If unsure, say 0.MaxPingsAtOnce  When sending the pings (echo requests), LISa sends a bunch of these at once and then waits for the answers. By default there are 256 pings sent at once, usually you should not need the change this value. If you make it much bigger, the internal receive buffers for the answers to the echo requests may become to small, if you make it to small, the updating will be slower.Three different example config files:You are member of a small network with 24 bit network mask, i.e.up to 256 hosts:PingAddresses = 192.168.100.0/255.255.255.0AllowedAddresses = 192.168.100.0/255.255.255.0BroadcastNetwork = 192.168.100.0/255.255.255.0SearchUsingNmblookup = 0                         #don't use nmblookupFirstWait = 20                                   #20 hundredth secondsSecondWait = 30                                  #30 hundredth seconds on the seconds tryUpdatePeriod = 300                               #update after 300 secsDeliverUnnamedHosts = 0                          #don't publish hosts without nameYou are only interested in hosts running smb services and you don't haverouters in your network:AllowedAddresses = 192.168.100.0/255.255.255.0BroadcastNetwork = 192.168.100.0/255.255.255.0SearchUsingNmblookup = 1                #use nmblookupUpdatePeriod = 300                      #update after 300 secsDeliverUnnamedHosts = 0                 #don't publish hosts without nameThe same network, but here both nmblookup and pinging is used.PingAddresses = 192.168.100.0/255.255.255.0PingNames = bb_mailAllowedAddresses = 192.168.0.0/255.255.0.0BroadcastNetwork = 192.168.100.0/255.255.255.0SearchUsingNmblookup = 1                #also try nmblookupFirstWait = 30                          #30 hundredth secondsSecondWait = -1                         #only one try#SecondWait = 60                         #try twice, and the second time wait 0.6 secondsUpdatePeriod = 300                      #update after 300 secsDeliverUnnamedHosts = 0                 #don't publish hosts without nameMaxPingsAtOnce = 256                    #send up to 256 ICMP echo requests at onceAnd now a configuration file for resLISa, PingAddresses is not used by resLISa,neither is BroadcastNetwork.PingNames = bb_mail;some_host;some_other_hostAllowedAddresses = 192.168.0.0/255.255.0.0SearchUsingNmblookup = 1                # use nmblookupFirstWait = 30                          #30 hundredth secondsSecondWait = -1                         #only one try#SecondWait = 60                         #try twice, and the second time wait 0.6 secondsUpdatePeriod = 300                      #update after 300 secsDeliverUnnamedHosts = 1                 #also publish hosts without nameMaxPingsAtOnce = 256                    #send up to 256 ICMP echo requests at once+----------------------+|     Installation     |+----------------------+Both reslisa and lisa open a so called raw socket to send and receiveICMP echo requests (pings). To do this, they need root privileges.lisa offers a service on TCP port 7741, it should be installed by rootand started when the system comes up, it depends on your distributionhow to do this.reslisa is intended to be started per user, it doesn't offer anything tothe network. It needs to be installed setuid root.If you use the rlan-ioslave from KDE2, reslisa can be started automaticallyby reslisa.lisa reads the file lisarc, reslisa reads the file reslisarc.If you want to be able to configure both from the KDE Control Center,you have to start them using the command line switch -K.For more information where they look for configuration files readthe next chapter.+--------------------------------------------+|     Command Line Options and other usage   |+--------------------------------------------+The following command line options are supported:-v, --version      prints a short version info-h, --help         gives an overview over teh command line optionsSome options regarding search order for the configuration files.For reslisa the file is named reslisarc instead lisarc.-u, --unix         search at first for $HOME/.lisarc, then                   for /etc/lisarc, this is the default behaviour                   -k, --kde1         search at first for $HOME/.kde/share/config/lisarc,                   then for $KDEDIR/share/config/lisarc-K, --kde2         looks for the file lisarc in every directory                   returned by running "kde-config --path config"                   -c, --config=FILE  read this and no other configuration fileThis one is only available for LISa, not for resLISa.-p, --port PORTNR  start the server om this portnumber                   if you use this LISa won't be able to                   cooperate with other LISa's in the networkIf you send the Hangup-Signal to lisa or reslisa, it will reread itsconfiguration file (killall -HUP lisa).If you send the User1-Signal to lisa or reslisa, it will print some statusinformation to the standard output (killall -USR1 lisa). You won't see anything if the console from which lisa/reslisa was started has terminated.LISa and resLISa need a libstdc++ (it uses only the string-class from it),it *doesn't* need neither Qt nor KDE.So, that's it for now.If you have suggestions, problems or whatever, contact me.Have funAlexander Neundorf<neundorf@kde.org>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -