Creating an Network IP tool

Hi, I just have a few questions. I run a couple computer labs and they all are on the same subnet (ex. 202.128.34.1), and all the computers have unique static IP addresses (ex. 202.128.34.34). Many times I forget what IP addresses I have already assigned. I would like to create a Java app that I could use to possibly ping every IP address for a given subnet, and then the app will return the results of the pings and can tell me which IP addresses are currently in use, and which ones are not. I would like to know what tools are available for such a program, or possibly a way I could get started.

Okay got the basics out of the way, now I have created a gui, rather than post the entire code, I will just give you an update. I created a JFrame with one JButton, and one JTextArea. I have placed the code for the actionPerformed below:
fourthIPBytes[ ] equals {"1", "2", "3", "4"}, and ipAddressTextArea is the JTextArea that appends the IP addresses that are in use.
This is how the program works. You click the button, and then it starts the actionPerformed and does the following. I just have one problem. Rather than add the IP addresses to the JTextArea after each test they dont. The program writes to the console after each IP test automatically, but the JTextArea doesnt actually get updated until after the entire for loop is completed. I tried using validate() after each test but the gui doesnt show the used IP addresses until after its all done. What needs to be done so that the gui places the IP addresses that are in use on the JTextArea right away, insted of having to wait until the entire for loop is done? I hope I have explained this right.
public void actionPerformed(ActionEvent aEvent)
        try
            InetAddress ia = null;
            for(int i = 0; i < 5; i++)
                ia = InetAddress.getByName("202.128.34." + fourthIPBytes);
try
if(ia.isReachable(2000))
System.out.println("202.128.34." + fourthIPBytes[i] + " is in use");
ipAddressTextArea.append("202.128.34."+ fourthIPBytes[i]);
ipAddressTextArea.append("\n");
else
System.out.println("202.128.34."+ fourthIPBytes[i] + " is available");
catch(IOException ee) {}
catch(UnknownHostException e) {}

Similar Messages

  • HT4260 Creating roaming network problem?

    HI
    I tried to create roaming network at home with help of that article. I just bought new airport extreme for basestation to first floor and new airport express to 2nd floor. I´m planning to connect them with ethernet.
    I´m using Mountain Lion on my mac and airport utility 6.1 . I noticed that I don´t have all the option needed to configure roaming network with that new airport utility?
    Can some give me working instructions how to create roaming network with those tools?
    Thx, Jukka

    Sorry - I am a Windows guy and didn't read your post completely - and yes Apple does want you to use this version - but as I understand it, it can be used to set up a basic roaming network - but I don't have Mountain Lion so I can't advise you - however an alternative would be to use someone else's computer with 5.6.1 to set up your network (by the way you could even use a Windows computer)  - but I can say from experience that once you set it up, you will be very happy with it - I have an office with 8 Extremes and 2 Expresses on 2 T1 lines and they work great - I would also suggest that you contact Apple and tell them what you think - maybe if enough people complain that it is broken, they will fix it - and again I am sorry about the mix-up - all the different versions and compatibility make it very confusing - many of the gurus feel the same way and suggest some of the things I mention - and you could re-word your question and post it again (this time I won't jump in) and maybe one of the gurus will answer.- anyway good luck - I was only trying to help

  • Where can i find network registrar tool for solaris.

    Hi All,
    I am trying to find Network Registrar tool to install on my solaris server. i tried on Internet to find, but i am not able to find the soucre file.
    Anyone from you know where will i find the soucre file to download?
    thanking you in advance
    Yogesh.

    You will find drivers in Solaris for Ethernet controllers supported on your SB100:
    http://sunsolve.sun.com/handbook_pub/Systems/SunBlade100/components.html#Ethernet
    Your 2 choices are to contact 3 Com for a Solaris SPARC 32/64 bit driver or search the web to see if some intrepid soul has created one. Otherwise you will not get this to work.

  • How do I create Local Network Home Folders for Users from an Active Directory binding?

    My situation is this... I run an iMac lab at my school.  I have a server set up to manage the network user accounts in the lab.  Currently, I can sucessfully create Local Network Users and log in to them from any of the iMacs.  My school has an Active Directory set up for all the students on campus.  What I'd like to be able to do is configure the server to allow the students to use their user names and passwords from their school accounts to log in to the iMacs and have it automatically build a network user folder on the server for them to use during the lab. 
    So far, I have been able to configure access for the Active Directory accounts to use the services on the server, mainly File Sharing, but I cannot figure out how to allow them to log into a user account on the client's machines using their same Active Directory credentials.  I have even attempted to allow the user accounts to create mobile accounts, but that's not working out either.  Entering indivual network user accounts into the server for every student every semester will be a nightmare.  I'm sure there's a way to do it automatically using the exisitng Active Directory structure.
    The live server is running 10.8.5 Server still, but I've also got a clone running OS X Server in case it matters.  Please help!

    ok reinstalled everything dns seems to be working have done sudo changeip -checkhostname and it says that both names match but then i started open directory and can't seem to get Kerberos started, i've tried changing it to stand alone then back again but it does nothing. I'm wondering why this would happen? i've tried adding a kerberos record but it doesn't do it just does nothing so i don't know what i'm doing wrong. I wondered if it might be a problem with the two network cards and dns as on ethernet one it is getting the dns name xserve.xxxx.ac.uk (which matches what the college server wants to call us) but on ethernet 2 gets xserve-2.local because it tells me that it already exists on ethernet one and renames it to this. I need to set up NAT so have ethernet coming in on port one and out again on port two. I wonder if my dns is backwards as its got the 192. address the NAT uses but its linked to the ethernet port one dns maybe this is the problem. would this cause open directory not to start kerberos?

  • Can I create a network object from CIDR format or do I need to use IP - netmask?

    Have a cisco ASA running ASA V 8.3
    Wondering what the correct syntax is or even if it is possible to create a network object from a list of IP's in CIDR format? 
    Typically just do this:
    Create network-object
    object-group network name
    network-object 1.2.3.0 255.255.255.0
    Would like to do this: 
    network-object 1.2.3.0/24
    thanks!

    Hi,
    As far as I know the ASA does not support entering a network/subnet mask in such format in any of its configurations.
    - Jouni

  • Issues configuring network-ups-tools with Powerware 5110

    Been using Arch for about 24hrs now (It replaced RHEL5 which was running for 18mths) and I'm very impressed. Have found it very good for a new user, the extensive wiki's have been a huge help to get things going. Under RHEL I really needed to do a lot of google searching to get things working but have only had to do it twice for the same build under Arch. I was able to fix the first issue (wTorrent wiki missed install of php-sqlite) and now network-ups-tools.
    I had it working 100% under RHEL so its not a device/hardware issue that I can see. But under Arch I keep getting connection lost messages after starting the ups daemon.
    System can see a USB device
    [root@fiorano ~]# lsusb
    Bus 005 Device 002: ID 0592:0002 Powerware Corp. UPS (X-Slot)
    [root@fiorano ~]# ls -l /dev/bus/usb/005/002
    crw-rw-r-- 1 root nut 189, 513 Jan 3 16:44 /dev/bus/usb/005/002
    Config files:
    # nut.conf
    MODE = standalone
    # ups.conf
    [myups]
    driver = bcmxcp_usb
    port = auto
    desc = "Powerwave 5110"
    # upsd.conf
    no changes
    # upsd.users
    [monmaster]
    password = 1
    allowfrom = localhost
    upsmon master
    instcmds = ALL
    # upsmon.conf
    DEADTIME 15
    FINALDELAY 5
    HOSTSYNC 15
    MINSUPPLIES 1
    MONITOR myups@localhost 1 monmaster 1 master
    NOCOMMWARNTIME 300
    POLLFREQ 5
    POLLFREQALERT 5
    POWERDOWNFLAG /etc/killpower
    RBWARNTIME 43200
    SHUTDOWNCMD "/sbin/shutdown -h +0"
    # upssched.conf
    CMDSCRIPT /usr/local/ups/bin/upssched-cmd
    # /etc/udev/rules.d/52-nut-usbups.rules
    # various models - bcmxcp_usb
    SYSFS{idVendor}=="0592", SYSFS{idProduct}=="0002", MODE="664", GROUP="nut"
    I can communicate with the UPS and the process is being performed by the nut user so udev rules file is ok
    [root@fiorano ups]# bcmxcp_usb -D -a myups
    Network UPS Tools - BCMXCP UPS driver 0.21 (2.4.1)
    USB communication subdriver 0.17
    debug level is '1'
    Shutdown delay longer than battery capacity when Low Battery warning is given. (max 60 seconds)
    USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
    nut 1608 0.0 0.0 1800 788 pts/0 S+ 17:09 0:00 bcmxcp_usb -D -a myups
    This time with more debug data....
    [root@fiorano ups]# bcmxcp_usb -DDDDD -a myups
    Network UPS Tools - BCMXCP UPS driver 0.21 (2.4.1)
    USB communication subdriver 0.17
    send_to_all: SETINFO driver.parameter.port "auto"
    debug level is '5'
    send_to_all: SETINFO ups.firmware "Cont:00.50 Inve:01.50"
    send_to_all: SETINFO ups.power.nominal "700"
    send_to_all: SETINFO output.phases "1"
    send_to_all: SETINFO ups.model "POWERWARE UPS 700VA"
    Length of meter map: 92
    Index Offset Format NUT
    0027 0000 51 output.frequency
    0028 0004 51 input.frequency
    0033 0008 51 battery.voltage
    0041 0012 f0 None
    0043 0016 f0 battery.charge.low
    0047 0020 f0 None
    0056 0024 f0 input.voltage
    0065 0028 51 output.current
    0068 0032 51 output.current.nominal
    0078 0036 f0 output.voltage
    Length of alarm map: 24
    Index Alarm Supported
    -001 INVERTER_AC_OVER_VOLTAGE No
    -001 INVERTER_AC_UNDER_VOLTAGE No
    -001 INVERTER_OVER_OR_UNDER_FREQ No
    -001 BYPASS_AC_OVER_VOLTAGE No
    -001 BYPASS_AC_UNDER_VOLTAGE No
    -001 BYPASS_OVER_OR_UNDER_FREQ No
    0000 INPUT_AC_OVER_VOLTAGE Yes
    0001 INPUT_AC_UNDER_VOLTAGE Yes
    0002 INPUT_UNDER_OR_OVER_FREQ Yes
    -001 OUTPUT_OVER_VOLTAGE No
    -001 OUTPUT_UNDER_VOLTAGE No
    -001 OUTPUT_UNDER_OR_OVER_FREQ No
    -001 REMOTE_EMERGENCY_PWR_OFF No
    -001 REMOTE_GO_TO_BYPASS No
    -001 BUILDING_ALARM_6 No
    -001 BUILDING_ALARM_5 No
    -001 BUILDING_ALARM_4 No
    -001 BUILDING_ALARM_3 No
    -001 BUILDING_ALARM_2 No
    -001 BUILDING_ALARM_1 No
    -001 STATIC_SWITCH_OVER_TEMP No
    -001 CHARGER_OVER_TEMP No
    -001 CHARGER_LOGIC_PWR_FAIL No
    -001 CHARGER_OVER_VOLTAGE_OR_CURRENT No
    -001 INVERTER_OVER_TEMP No
    0003 OUTPUT_OVERLOAD Yes
    -001 RECTIFIER_INPUT_OVER_CURRENT No
    -001 INVERTER_OUTPUT_OVER_CURRENT No
    -001 DC_LINK_OVER_VOLTAGE No
    -001 DC_LINK_UNDER_VOLTAGE No
    -001 RECTIFIER_FAILED No
    -001 INVERTER_FAULT No
    -001 BATTERY_CONNECTOR_FAIL No
    -001 BYPASS_BREAKER_FAIL No
    -001 CHARGER_FAIL No
    -001 RAMP_UP_FAILED No
    -001 STATIC_SWITCH_FAILED No
    -001 ANALOG_AD_REF_FAIL No
    -001 BYPASS_UNCALIBRATED No
    -001 RECTIFIER_UNCALIBRATED No
    -001 OUTPUT_UNCALIBRATED No
    -001 INVERTER_UNCALIBRATED No
    -001 DC_VOLT_UNCALIBRATED No
    -001 OUTPUT_CURRENT_UNCALIBRATED No
    -001 RECTIFIER_CURRENT_UNCALIBRATED No
    -001 BATTERY_CURRENT_UNCALIBRATED No
    -001 INVERTER_ON_OFF_STAT_FAIL No
    -001 BATTERY_CURRENT_LIMIT No
    -001 INVERTER_STARTUP_FAIL No
    -001 ANALOG_BOARD_AD_STAT_FAIL No
    -001 OUTPUT_CURRENT_OVER_100 No
    -001 BATTERY_GROUND_FAULT No
    -001 WAITING_FOR_CHARGER_SYNC No
    -001 NV_RAM_FAIL No
    -001 ANALOG_BOARD_AD_TIMEOUT No
    0004 SHUTDOWN_IMMINENT Yes
    0005 BATTERY_LOW Yes
    0006 UTILITY_FAIL Yes
    0007 OUTPUT_SHORT_CIRCUIT Yes
    0008 UTILITY_NOT_PRESENT Yes
    -001 FULL_TIME_CHARGING No
    -001 FAST_BYPASS_COMMAND No
    -001 AD_ERROR No
    -001 INTERNAL_COM_FAIL No
    -001 RECTIFIER_SELFTEST_FAIL No
    -001 RECTIFIER_EEPROM_FAIL No
    -001 RECTIFIER_EPROM_FAIL No
    -001 INPUT_LINE_VOLTAGE_LOSS No
    -001 BATTERY_DC_OVER_VOLTAGE No
    -001 POWER_SUPPLY_OVER_TEMP No
    -001 POWER_SUPPLY_FAIL No
    -001 POWER_SUPPLY_5V_FAIL No
    -001 POWER_SUPPLY_12V_FAIL No
    -001 HEATSINK_OVER_TEMP No
    -001 HEATSINK_TEMP_SENSOR_FAIL No
    -001 RECTIFIER_CURRENT_OVER_125 No
    -001 RECTIFIER_FAULT_INTERRUPT_FAIL No
    -001 RECTIFIER_POWER_CAPASITOR_FAIL No
    -001 INVERTER_PROGRAM_STACK_ERROR No
    -001 INVERTER_BOARD_SELFTEST_FAIL No
    -001 INVERTER_AD_SELFTEST_FAIL No
    -001 INVERTER_RAM_SELFTEST_FAIL No
    -001 NV_MEMORY_CHECKSUM_FAIL No
    -001 PROGRAM_CHECKSUM_FAIL No
    -001 INVERTER_CPU_SELFTEST_FAIL No
    -001 NETWORK_NOT_RESPONDING No
    -001 FRONT_PANEL_SELFTEST_FAIL No
    -001 NODE_EEPROM_VERIFICATION_ERROR No
    -001 OUTPUT_AC_OVER_VOLT_TEST_FAIL No
    -001 OUTPUT_DC_OVER_VOLTAGE No
    -001 INPUT_PHASE_ROTATION_ERROR No
    -001 INVERTER_RAMP_UP_TEST_FAILED No
    -001 INVERTER_OFF_COMMAND No
    -001 INVERTER_ON_COMMAND No
    -001 TO_BYPASS_COMMAND No
    -001 FROM_BYPASS_COMMAND No
    -001 AUTO_MODE_COMMAND No
    -001 EMERGENCY_SHUTDOWN_COMMAND No
    -001 SETUP_SWITCH_OPEN No
    -001 INVERTER_OVER_VOLT_INT No
    -001 INVERTER_UNDER_VOLT_INT No
    -001 ABSOLUTE_DCOV_ACOV No
    -001 PHASE_A_CURRENT_LIMIT No
    -001 PHASE_B_CURRENT_LIMIT No
    -001 PHASE_C_CURRENT_LIMIT No
    -001 BYPASS_NOT_AVAILABLE No
    -001 RECTIFIER_BREAKER_OPEN No
    -001 BATTERY_CONTACTOR_OPEN No
    -001 INVERTER_CONTACTOR_OPEN No
    -001 BYPASS_BREAKER_OPEN No
    -001 INV_BOARD_ACOV_INT_TEST_FAIL No
    -001 INVERTER_OVER_TEMP_TRIP No
    -001 INV_BOARD_ACUV_INT_TEST_FAIL No
    -001 INVERTER_VOLTAGE_FEEDBACK_ERROR No
    -001 DC_UNDER_VOLTAGE_TIMEOUT No
    -001 AC_UNDER_VOLTAGE_TIMEOUT No
    -001 DC_UNDER_VOLTAGE_WHILE_CHARGE No
    -001 INVERTER_VOLTAGE_BIAS_ERROR No
    -001 RECTIFIER_PHASE_ROTATION No
    -001 BYPASS_PHASER_ROTATION No
    -001 SYSTEM_INTERFACE_BOARD_FAIL No
    -001 PARALLEL_BOARD_FAIL No
    -001 LOST_LOAD_SHARING_PHASE_A No
    -001 LOST_LOAD_SHARING_PHASE_B No
    -001 LOST_LOAD_SHARING_PHASE_C No
    -001 DC_OVER_VOLTAGE_TIMEOUT No
    -001 BATTERY_TOTALLY_DISCHARGED No
    -001 INVERTER_PHASE_BIAS_ERROR No
    -001 INVERTER_VOLTAGE_BIAS_ERROR_2 No
    -001 DC_LINK_BLEED_COMPLETE No
    -001 LARGE_CHARGER_INPUT_CURRENT No
    -001 INV_VOLT_TOO_LOW_FOR_RAMP_LEVEL No
    -001 LOSS_OF_REDUNDANCY No
    -001 LOSS_OF_SYNC_BUS No
    -001 RECTIFIER_BREAKER_SHUNT_TRIP No
    -001 LOSS_OF_CHARGER_SYNC No
    -001 INVERTER_LOW_LEVEL_TEST_TIMEOUT No
    -001 OUTPUT_BREAKER_OPEN No
    -001 CONTROL_POWER_ON No
    -001 INVERTER_ON No
    -001 CHARGER_ON No
    -001 BYPASS_ON No
    -001 BYPASS_POWER_LOSS No
    -001 ON_MANUAL_BYPASS No
    -001 BYPASS_MANUAL_TURN_OFF No
    -001 INVERTER_BLEEDING_DC_LINK_VOLT No
    -001 CPU_ISR_ERROR No
    -001 SYSTEM_ISR_RESTART No
    -001 PARALLEL_DC No
    -001 BATTERY_NEEDS_SERVICE No
    -001 BATTERY_CHARGING No
    -001 BATTERY_NOT_CHARGED No
    -001 DISABLED_BATTERY_TIME No
    -001 SERIES_7000_ENABLE No
    -001 OTHER_UPS_ON No
    -001 PARALLEL_INVERTER No
    -001 UPS_IN_PARALLEL No
    -001 OUTPUT_BREAKER_REALY_FAIL No
    -001 CONTROL_POWER_OFF No
    -001 LEVEL_2_OVERLOAD_PHASE_A No
    -001 LEVEL_2_OVERLOAD_PHASE_B No
    -001 LEVEL_2_OVERLOAD_PHASE_C No
    -001 LEVEL_3_OVERLOAD_PHASE_A No
    -001 LEVEL_3_OVERLOAD_PHASE_B No
    -001 LEVEL_3_OVERLOAD_PHASE_C No
    -001 LEVEL_4_OVERLOAD_PHASE_A No
    -001 LEVEL_4_OVERLOAD_PHASE_B No
    -001 LEVEL_4_OVERLOAD_PHASE_C No
    0009 UPS_ON_BATTERY Yes
    -001 UPS_ON_BYPASS No
    -001 LOAD_DUMPED No
    -001 LOAD_ON_INVERTER No
    -001 UPS_ON_COMMAND No
    -001 UPS_OFF_COMMAND No
    -001 LOW_BATTERY_SHUTDOWN No
    -001 AUTO_ON_ENABLED No
    -001 SOFTWARE_INCOMPABILITY_DETECTED No
    -001 INVERTER_TEMP_SENSOR_FAILED No
    -001 DC_START_OCCURED No
    -001 IN_PARALLEL_OPERATION No
    -001 SYNCING_TO_BYPASS No
    -001 RAMPING_UPS_UP No
    -001 INVERTER_ON_DELAY No
    -001 CHARGER_ON_DELAY No
    -001 WAITING_FOR_UTIL_INPUT No
    -001 CLOSE_BYPASS_BREAKER No
    -001 TEMPORARY_BYPASS_OPERATION No
    -001 SYNCING_TO_OUTPUT No
    -001 BYPASS_FAILURE No
    -001 AUTO_OFF_COMMAND_EXECUTED No
    -001 AUTO_ON_COMMAND_EXECUTED No
    0010 BATTERY_TEST_FAILED Yes
    Lengt of Config_block: 64
    Length of statistics map: 0
    Lengt of command list: 22
    Lengt of outlet_block: 0
    Lengt of alarm_block: 11
    send_to_all: SETINFO output.voltage.nominal "240"
    send_to_all: SETINFO ups.serial ""
    send_to_all: SETINFO input.voltage.nominal "240"
    send_to_all: SETINFO input.frequency.nominal "50"
    send_to_all: SETINFO input.frequency.low "45"
    send_to_all: SETINFO input.frequency.high "55"
    send_to_all: SETINFO input.transfer.boost.high "216"
    send_to_all: SETINFO input.transfer.trim.low "260"
    Shutdown delay longer than battery capacity when Low Battery warning is given. (max 60 seconds)
    send_to_all: SETINFO ups.beeper.status "enabled"
    send_to_all: SETINFO input.transfer.low "186"
    send_to_all: SETINFO input.transfer.high "280"
    send_to_all: SETINFO ambient.temperature.high "1"
    send_to_all: ADDCMD shutdown.return
    send_to_all: ADDCMD shutdown.stayoff
    send_to_all: ADDCMD test.battery.start
    send_to_all: SETINFO output.frequency " 49.9"
    send_to_all: SETINFO input.frequency " 49.9"
    send_to_all: SETINFO battery.voltage " 13.5"
    send_to_all: SETINFO battery.charge.low "11"
    send_to_all: SETINFO input.voltage "234"
    send_to_all: SETINFO output.current " 0.3"
    send_to_all: SETINFO output.current.nominal " 1.8"
    send_to_all: SETINFO output.voltage "234"
    send_to_all: SETINFO ups.load " 16.7"
    send_to_all: SETINFO ups.status "OL"
    send_to_all: DATAOK
    dstate_init: sock /var/state/ups/bcmxcp_usb-myups open on fd 5
    send_to_all: SETINFO driver.version "2.4.1"
    send_to_all: SETINFO driver.version.internal "0.21"
    send_to_all: SETINFO driver.name "bcmxcp_usb"
    send_to_all: SETINFO driver.parameter.pollinterval "2"
    send_to_all: SETINFO input.voltage "236"
    send_to_all: SETINFO output.voltage "236"
    send_to_all: SETINFO battery.voltage " 13.7"
    send_to_all: SETINFO input.voltage "234"
    send_to_all: SETINFO output.voltage "234"
    send_to_all: SETINFO input.voltage "236"
    send_to_all: SETINFO output.voltage "236"
    ^CSignal 2: exiting
    But starting the daemon and things fail...
    :: Starting UPSd Daemon [DONE]
    [root@fiorano ups]#
    Broadcast message from nut (Sun Jan 3 17:24:55 2010):
    Communications with UPS myups@localhost lost
    Broadcast message from nut (Sun Jan 3 17:25:00 2010):
    UPS myups@localhost is unavailable
    Here are my daemon and message logs, showing a comms issue with the UPS but I am using the exact same settings as my previous OS build?
    [root@fiorano ~]# tail -f /var/log/messages.log
    Jan 3 17:24:55 fiorano bcmxcp_usb[1730]: Startup successful
    Jan 3 17:24:55 fiorano upsd[1731]: listening on 127.0.0.1 port 3493
    Jan 3 17:24:55 fiorano upsmon[1735]: Startup successful
    Jan 3 17:24:55 fiorano upsmon[1737]: Communications with UPS myups@localhost lost
    Jan 3 17:24:55 fiorano wall[1739]: wall: user nut broadcasted 1 lines (46 chars)
    Jan 3 17:25:00 fiorano upsmon[1737]: UPS myups@localhost is unavailable
    Jan 3 17:25:00 fiorano wall[1742]: wall: user nut broadcasted 1 lines (36 chars)
    [root@fiorano ~]# tail -f /var/log/daemon.log
    Jan 3 17:24:55 fiorano bcmxcp_usb[1730]: Startup successful
    Jan 3 17:24:55 fiorano upsd[1731]: listening on 127.0.0.1 port 3493
    Jan 3 17:24:55 fiorano upsd[1731]: not listening on ::1 port 3493
    Jan 3 17:24:55 fiorano upsmon[1735]: Startup successful
    Jan 3 17:24:55 fiorano upsmon[1737]: UPS [myups@localhost]: connect failed: Connection failure: Connection refused
    Jan 3 17:24:55 fiorano upsmon[1737]: Communications with UPS myups@localhost lost
    Jan 3 17:25:00 fiorano upsmon[1737]: UPS [myups@localhost]: connect failed: Connection failure: Connection refused
    Jan 3 17:25:00 fiorano upsmon[1737]: UPS myups@localhost is unavailable
    Jan 3 17:25:05 fiorano upsmon[1737]: UPS [myups@localhost]: connect failed: Connection failure: Connection refused
    Jan 3 17:25:10 fiorano upsmon[1737]: UPS [myups@localhost]: connect failed: Connection failure: Connection refused
    Jan 3 17:25:15 fiorano upsmon[1737]: UPS [myups@localhost]: connect failed: Connection failure: Connection refused
    Hopefully someone can point me in the right direction to get this fixed. I did not install any packages manually, everything has been done via pacman (system is fully up to date as per the time of this post.)

    R00KIE wrote:I think you should make it 775
    Didn't help.
    R00KIE wrote:Can you post the script you call in /etc/rc.d to start/stop/restart the service? Maybe someone can spot a problem there.
    Sure, it was put there by the package retrieved from the default repo by pacman as was everything else. All I did was modify a few files in /etc/ups so all user/permissions etc should be setup correctly by the package?
    [root@fiorano ~]# less /etc/rc.d/upsd
    #!/bin/bash
    . /etc/rc.conf
    . /etc/rc.d/functions
    PID=`pidof -o %PPID /usr/sbin/upsd`
    case "$1" in
    start)
    stat_busy "Starting UPSd Daemon"
    /usr/bin/upsdrvctl start &> /dev/null
    [ -z "$PID" ] && /usr/sbin/upsd &>/dev/null
    /usr/sbin/upsmon &>/dev/null
    if [ $? -gt 0 ]; then
    stat_fail
    else
    add_daemon upsd
    stat_done
    fi
    stop)
    stat_busy "Stopping UPSd Daemon"
    /usr/bin/upsdrvctl stop &> /dev/null
    /usr/sbin/upsmon -c stop &> /dev/null
    [ ! -z "$PID" ] && kill $PID &> /dev/null
    if [ $? -gt 0 ]; then
    stat_fail
    else
    rm_daemon upsd
    stat_done
    fi
    restart)
    $0 stop
    sleep 3
    $0 start
    echo "usage: $0 {start|stop|restart}"
    esac
    exit 0
    R00KIE wrote:Maybe someone more experienced in debugging these kind of problems can help, I'm all out of ideas now.
    Hopefully someone else stops by, but really appreciate your help. I'm sure its something small that I'm overlooking!
    R00KIE wrote:forget about your config files for a moment and try something different and check if it works
    Things is, NUT is fairly simple to begin with, there is really only 3 items you need to get it to work that I can see. The UPS driver, upsd user and monitor line.

  • Airport has stopped working -- Now Can't Create a Network

    We're using a wireless router (not an Apple AirPort router) to connect to the internet. We've had connections before, but now this has simply stopped working.
    In the past, I've solved this problem by just creating a new network and connecting to that. That seemed to get the connection back.
    Now, I create a network in Preferences > Network > Airport, but it doesn't show up in Internet Connect > Airport, or under the Airport in the menu bar.
    When I try to connect to it using "Other" I get the message "There was an error connecting to the network XXXXX".
    When I click on "Create Network" in Internet connect, it only gives me an option to create a computer-to-computer network.
    Ethernet connection works fine. This is on a PB 12" / 10.4.11
    Any suggestions most welcome.

    Reset the printer back to Factory Defaults and check the wireless radio again. It needs to be enabled.
    Say thanks by clicking the Kudos Thumbs Up to the right in the post.
    If my post resolved your problem, please mark it as an Accepted Solution ...
    I worked for HP but now I'm retired!

  • I want to create an applescript/automator tool to launch the "Add to library" command in iTunes with a specific path. Need process under the hood

    I want to create an applescript/automator tool to launch the "Add to library" command in iTunes with a specific path. I need to know what process is run under the hood to create such a script.
    To put you in context, I have an NFS mount point with all my music and with the "add to library" command, I can add more music to the folder and update iTunes without dragging the individual folders or the whole mount point and avoid having the songs show up as doubles.
    Anyone know what OS/Unix process is being called for such a command?

    I want to create an applescript/automator tool to launch the "Add to library" command in iTunes with a specific path. I need to know what process is run under the hood to create such a script.
    To put you in context, I have an NFS mount point with all my music and with the "add to library" command, I can add more music to the folder and update iTunes without dragging the individual folders or the whole mount point and avoid having the songs show up as doubles.
    Anyone know what OS/Unix process is being called for such a command?

  • Windows can't create a network map/appearance of B...

    Hi
    I have had BT infinity for somewhat over a month now without any problems, until yesterday. That I am aware of two things have changed but in what order they changed I do not know.
    'Firstly' I connected a brand new but several years old i.e. unused, LG 1T network drive and tried to get through the software installation process without success (can't create acceptable login details ). However I could see etc. the drive if I typed its network address into a browser's address window. BUT at that point the Windows network map started breaking. That was yesterday and I have, for the moment, removed the drive and deleted its info from the Homehub 5b.
    Today I noticed that two new wireless networks have appeared, BTWifi-X and BTWifi-with-Fon. These appear and disappear as and when my homehub is switched on and off and, given what I have read, I assume these are the hotspot networks I am providing.
    If I have my laptop connected to the homehub via LAN, Windows can create a network map providing no other computer is connected via WAN. Conversely when any computer is simultaneously connected to the homehub via WAN Windows loses the ability to create a network map, this includes the situation where one computer is connected via WAN and LAN. I often use my employer's WAN when at work and frequently forget to switch the WAN off, meaning that when I come home the laptop is initially often connected via WAN and LAN. That I am aware of, Windows has not previously had a problem creating a network map when this has happened.
    There does not seem to be a problem if my phone (android) is connected to the homehub via WAN or if I have two computers connected to the homehub via only WAN nor if two computers are connected to the home hub via only LAN
    One other thing I have also noticed is that the network map, when created, seems to contain, at times, a switch, a hub, Homehub5 and BThub5**** as if there a multitude of connectors.
    I would like to get back the ability for windows to create network maps whatever connections are made.
    Any suggestions?
    Thanks

    Claybourne wrote:
    Hi
    I have had BT infinity for somewhat over a month now without any problems, until yesterday.
    That I am aware of two things have changed but in what order they changed I do not know.
    'Firstly' I connected a brand new but several years old i.e. unused, LG 1T network drive and tried to get through the software installation process without success (can't create acceptable login details ). However I could see etc. the drive if I typed its network address into a browser's address window. BUT at that point the Windows network map started breaking. That was yesterday and I have, for the moment, removed the drive and deleted its info from the Homehub 5b.
    Today I noticed that two new wireless networks have appeared, BTWifi-X and BTWifi-with-Fon. These appear and disappear as and when my homehub is switched on and off and, given what I have read, I assume these are the hotspot networks I am providing.
    If I have my laptop connected to the homehub via LAN, Windows can create a network map providing no other computer is connected via WAN. Conversely when any computer is simultaneously connected to the homehub via WAN Windows loses the ability to create a network map, this includes the situation where one computer is connected via WAN and LAN.
    I often use my employer's WAN when at work and frequently forget to switch the WAN off, meaning that when I come home the laptop is initially often connected via WAN and LAN. That I am aware of, Windows has not previously had a problem creating a network map when this has happened.
    There does not seem to be a problem if my phone (android) is connected to the homehub via WAN or if I have two computers connected to the homehub via only WAN nor if two computers are connected to the home hub via only LAN
    One other thing I have also noticed is that the network map, when created, seems to contain, at times, a switch, a hub, Homehub5 and BThub5**** as if there a multitude of connectors.
    I would like to get back the ability for windows to create network maps whatever connections are made.
    Any suggestions?
    Thanks
    You seem to be using WAN to mean a Wireless connection when it means something else. Is this correct.
    Your HH 5 B should provide a better network map than windows. Do you know how to log into your Home Hub Manager to get this and other information ?
    Have you set up your HH 5 B as recommended in this forum ?

  • Mock RFP for SUN network management tool, desperate 4 help, just need specs

    OK, I have a project that in essence is a mock Request for Proposal (RFP), I play as an intern, & our instructor roleplays the manager we need to convince. The different network management tools that were available were for example; HP Openview, Cisco Works, Sniffer....& I of course chose SunNet. We need to gather information on the tool, then turn around & design a relatively simple network from the specs that were given, & finally discuss how the management tool's abilities could benefit the (mock) company...power point presentation & all.
    Here it is from the homework sheet given to us...."These products will need to be useful in a 5000 node network that has four main locations that are primarily Ethernet. There is a legacy 100 nodes of Token Ring attached to a mainframe. Cisco or Foundry routers connect the Four main locations, with swiches employed. Other connections to these sites are done via DSL or ISDN. Additional considerations are wireless communications, VOIP & Content delivery systems.
    I know this is a lot & I'm not asking for someone to do all this for me, just simply provide any information you know about Enterprise management tools 2.0 or 3.0,or anything you may feel better suits my needs, as the links I have surfed about them give little to nothing about specifics that I need to make any argument. If you have any links send them...if you have anyting in hard copy I will pay for postage... I need to get this done & have little time as I go to school & work full time at Motorola (but only as a contractor), so I'm starting to choke & need help....any u can give is so very appreciated....& sorry to make this request a publishable novel here on the board, but thats what it is. Thanks again......Mark

    A good solution. Liked it very much. Can you please make it a technet blog for others.
    [email protected]

  • Creating a Network Straight from the Desktop (No Router)

    I have created a network straight from the desktop without a router with no protection/security key. It's on channel 11 (automatic). My internet on the desktop is working and when I connect to the network wirelessly with a PC, it connects & obtains the IP address without any issues. When I open my browser on the laptop, page cannot be displayed. I'm using Windows XP on a brand new laptop. Why can't this be simple?

    planetzpmq wrote:
    I have created a network straight from the desktop without a router with no protection/security key. It's on channel 11 (automatic). My internet on the desktop is working and when I connect to the network wirelessly with a PC, it connects & obtains the IP address without any issues. When I open my browser on the laptop, page cannot be displayed. I'm using Windows XP on a brand new laptop. Why can't this be simple?
    Your profile is a total blank. Nobody has any idea of your computer or OS or version.

  • How do I create a network to pair with iPhone app "Remote"??

    I am trying to create a network so that the iPhone "Remote" app will connect to my iTunes library.
    I tried setting up my own network self-assigned IP. The app work great yesterday now for some reason
    the app is unable to find my music library. thanks in advance.

    The computer must be on and iTunes open.

  • Add Object Attributes to a DisplayObject that is created in the Authoring Tool

    Hello, how can I add attributes to a Display Object, that I have created in the Authoring Tool, so I can acces it by:
    myDisplayObjectInstance.myNewAttribute
    Is a DisplayObejct a dynamic class, that can be extended from anywhere?
    Thanks a lot

    I just found the syntax to add a new ObjectAttribute to an Instance of the Object. But is this ObjectAttribute also added to all other  Instances of the Obejct?
    My plan was to create a MovieClip and set some ActionScript inside its timeline in the first frame that adds some Objcet Attributes to that MovieClip, so that the new Object Attribute can be used for all Instances of this MovieClip, that are created in the runtime.

  • Wifi Bug - Can't create a network

    Installed Snow leopard, upgrade to 10.6.2, Airport client 2009-002.
    Can't create a network thru airport menu

    Try a new post in the 10.6 Networking forum.
    DALE

  • My airport extreme has connected to a Tplink router, i set my AE in Create network, so i get a problem of Double NAT. How can i repair this probleme because i have to use TPlink for my IP TV and i want to use AE to creat my network and the guest NW.

    my airport extreme has connected to a Tplink router, i set my AE in Create network, so i get a problem of Double NAT. How can i repair this probleme because i have to use TPlink for my IP TV and i want to use AE to creat my network and the guest NW. If we don't have a solution for this question, can i set my AE to use the IP TV and how??? I'm using a 4th Airport extreme

    No, not unless it is simply a network connection.
    How is your IPTV being provided.. if it is using a separate vlan or separate vpi/vci in the adsl connection. Who is your ISP?
    Is the TP-Link ADSL?
    Is the IPTV using a separate voice channel on adsl?
    Or a different vlan.
    Sorry but it is something where a definite answer is not possible unless you provide all the details.
    The setups are unique to each ISP around the world..
    Here is one for our local ISP.
    http://www.avenard.org/iptv/Setup.html
    He has a section on getting this working with apple router over wireless.. look
    http://www.avenard.org/iptv/IPTV_and_Wireless.html
    Google around and see if other people have had success.. the whole setup is tricky.. and it is hard if nobody has used it who actually understands networking.

Maybe you are looking for

  • Insertion of Blank fails with error 01400 on ODP 9.2.0.4.0 using Parameter

    Hi everybody, I have a problem on inserting a blank string into a NOT NULL VARCHAR2 field by using a parameter on Oracle Data Provider for .NET (Version 9.2.0.4.0). It is possible to insert any strings with non-blank characters using a parameter and

  • How to create the Paragraph styles in Smart Forms

    Dear Techie's, Please let me know, How to create the own Paragraph styles in Smart Forms i.e to make the line or a particular font in BOLD. Please put the light ASAP. Regards, Maddu.

  • Insert into table using dynamic data

    Oracle form 6i Hai I need to insert my data into a table. I have generated my data from text file and data in a form now i need to insert these data into one table. How can insert my field to that table if there is data in table i need to update and

  • Please tell me how to fix this annoying problem

    Whenever I open a new Safari window (apple-N) the page width falls just short of completely filling my monitor screen. I'd like it to go to the absolute extreme edge of my screen by default, how do I do this?

  • IPv6 for management and control plane on WLCs and LWAPs

    Good morning, everybody! I am trying to find answer to a question that has been previously asked by people but never successfully answered The question is about IPv6 support on Cisco Wireless LAN Controllers and access points... Does Cisco have a roa