bwjones 0 Junior Poster in Training

HI, Waht would you all recommend for for an entry level user to monitor packets? What's most user friendly? TCPdump? Snort? Wireshark? Thanks.

bwjones 0 Junior Poster in Training

probably the most simplistic method is to just setup the mac filter, IMO anways. Make sure you're requiring Authentication too

bwjones 0 Junior Poster in Training

ummmmmmmm ok. 38 views and no dice, grazi

bwjones 0 Junior Poster in Training

OKay here's the theme I'm trying to incorporate on someone's machine:

There are 2 accounts on a Windows Vista basic machine. An admin and an under-privelaged account. I need to set a scheduled task where the machine shuts down every nite at 11pm and locks out the OS so only the admin can log back in up to 8am. Can all this be done in Task Scheduler or do I need to use a script? I know how to schedule the task to shut the machine down at a specified time every night but I'm not sure how the locking out all non-administrative accounts until 9 hours later works. Any help is appreciated.

bwjones 0 Junior Poster in Training

Hi all, after a relative opens up their inbox and downloads a PDF attachment they save it to desktop. Then they click on the button for return to inbox and instead the verizon webmail logs them out and sends them back to the login screen. I guess this just started after I did a repair install 1 week ago. But all the browser settings seem to be good so I'm not sure what is going. Any insight is much obliged.

bwjones 0 Junior Poster in Training

awesome, thanks guys

bwjones 0 Junior Poster in Training

My buddy runs this program fine in his C++ editor but when I run it in Cygwin after I enter 3 temperatures I get this: 7 [main] a 26966 _cygtls::handle_exceptions
: Error while dumping state (probably corrupted stack) Segmentation fault (core dumped)

Everything seems to be syntactically correct from a C standpoint though. If anyone can decipher this error I appreciate....

The code:

#include <stdio.h>
#include <stdlib.h>

int ave,temp_total,sum_total=0,total;
int b,cnt=0,*pb;
int input[3];

void calc(int *pb)
  {
  cnt = cnt++;
  pb = &input[b];
  temp_total = (sum_total + *pb);
  sum_total = temp_total;
  }

int main(void)
{
  for (b=0;b<3;b++)
    {
    printf("Enter a value: ");
    scanf("%d", &input[b]);
    calc(pb);
    }
  ave = (sum_total/cnt);
  printf("Cold Ave is %d\n", ave);
  return 0;
}
bwjones 0 Junior Poster in Training

ahh i c. So rem-=50 is rem = rem-50? and rem+=50 = rem=rem+50? I'm a complete noob to programming and with an instructor who assumes the class is on his level when 3/4 isn't learning all this from scratch is a bit intense so I might show up with stupid questiosn from time to time. Thanks.

bwjones 0 Junior Poster in Training

Can someone inform me on what the "-=" function does? thanks.

bwjones 0 Junior Poster in Training

Try using periods every once in a while.

Maybe english isn't her primary language?

bwjones 0 Junior Poster in Training

#%%##%^#!!!! Damn, I can't beleive I didn't see some of these errors before. And I already turned the assignment in. O well, I'm sure I'll get atleast a 70 on it as it does compile and run properly. Thanks for that assessment Walt.

bwjones 0 Junior Poster in Training

void calculate_and_print(int n); is not the same than void calculate(int n)
double get_value(void); is not found

printf("The average temperature is %lf\n\n",n,average); /* remove the n and the l */

isn't "lf" an identifier for "long float"? This is weird cuz the example code our instructor gave us compiled for him but is made up of what seems to be many errors according to this forum. Well anyway, Here's my final code which by the way is waaaaay different than the example code our teacher gave us to calcultate his average:

#include <stdio.h>
#include <stdlib.h>

  int b;
  int cnt,tl,otl;

int main()
{
  int input[7];
  int b=0,inp=0,ccnt=0,wcnt=0,hcnt=0,sum=0,ave=0;
  printf("Program to collect the daily temperature for 7 days and return the total hot,\nwarm, and cold days and the average temperature for those days combined\n\n");

  for (b=0;b<7;b++)
    {
    printf("Enter a temperature:\n");
    scanf("%d", &input[b]);
    }

  for (b=0;b<7;b++)
    if (input[b] >= 85)
      {
        hcnt = hcnt +1;
        inp = input[b];
        otl = (sum + inp);
        sum = otl;
        ave = sum/7;

      }
    else if ((input[b] >= 65) && (input[b] < 85))
      {
        wcnt = wcnt + 1;
        inp = input[b];      
        otl = (sum + inp);
        sum = otl;
        ave = sum/7;
      }
    else if (input[b] < 70)
      {
       ccnt = ccnt +1;
       inp = wcnt + 1;
       otl = (sum + inp);
       sum = otl;
       ave= sum/7;
      }
        printf("The average temperature is %d\n\n", ave);
        printf("The total of Hot days is %d\n", hcnt);
        printf("The total of warm days is %d\n", wcnt);
       printf("The total of …
bwjones 0 Junior Poster in Training

Q: In post #6, on what line does the definition of get_value begin?
A: It doesn't exist.

I see, thanks.

bwjones 0 Junior Poster in Training

void calculate_and_print(int n); is not the same than void calculate(int n)
double get_value(void); is not found

printf("The average temperature is %lf\n\n",n, average); /* remove the n and the l */

So you''re saying "Get_value" is not a valid function? Sorry for my in-proficiency but I just started this programming stuff and this assignment is a couple of levels above the last one, hence the trouble I'm having understanding the syntax.

bwjones 0 Junior Poster in Training

Here's my code so far:

/* A program to collect, calculate, and return the daily average of hot, 
   pleasant, and cold days
   Written by: Bryan Jones
   Febuary 22, 2008
*/

#include <stdio.h>


int get_n(void);
void calculate_and_print(int n);
double get_value(void);

int main(void)
{   int n;
    n=get_n();
    calculate_and_print(n);
    return 0;
}

int get_n(void)


{   
    int n;
    printf("What is the total of numbers to be entered?");
    scanf("%d", &n);
    return n;
}

void calculate(int n)

{

    double sum, average;
    int i;
    sum=0.0; 
for (i=1; i<=n; i++) 
    sum=sum+get_value();
    average=sum/(double)(n);
    printf("The average temperature is %lf\n\n",n, average);
    return;
}

But when I try to compile it it gives me an undefined reference error for the functions calculate and print and get value. Aren't those syntactically correct C functions? And if someone can just summarize for me how I need to structure the part for displaying the number of hot, cold, and warm days I really appreciate it. I know I need to use an if statment someone in there and this part might even be easier than what I have so far but for some reason it's stumping me. Thanks.

bwjones 0 Junior Poster in Training

I don't see what the problem is. It's not hard to keep a count of some metric in your loop and then print the count later. Maybe you should post your code so I don't have to guess what you're doing wrong.

Ok, I'll post it in a couple of hours, I hope u don't mind checking it. I have to make some adjustments before I post though. I'll try to post it by 5 or 6. Thanks.

bwjones 0 Junior Poster in Training

Well I understand that part of it. But at the end of the program I need it to return a printf statement telling the user how many hot, warm, and cold days were counted and the avg. temp for all of those days. This is where I'm stuck.

bwjones 0 Junior Poster in Training

Hi all, so I'm stuck on a certain part of a program for my C class. Okay the program is supposed to query a user for a set number of entries for temperatures which is 26. It is supposed to take those temperatures and calculate the avg. at the end. Here's the part I'm lost on; There's 3 ranges for these temps to be specified; hot, cold, and pleasant. Besides returning the avg. number of all the temps. entered it also has to return how many hot, cold, and pleasant days were entered. I'm using a for loop and if statements to to gather the 26 entries and calculate the avg. But I'm lost on how to sum up how many hot, pleasant, and cold days and return the printf statement saying so. Should I use an array to do this? Thanks for any insight.

bwjones 0 Junior Poster in Training

ya I just went to Linksys's site and DLed the software. Still don't know why the remov. drive wouldn't read the disc.

bwjones 0 Junior Poster in Training

Ya I did that and no luck. This sucks.

bwjones 0 Junior Poster in Training

Ya I'm trying to get a linksys wireless G adapter situated for my PC but the PC won't read the setup disc. I insert it and autorun starts workin the setup screen pops up for like 2 milliseconds and then disappears and nothing. I'm running XP pro on this machine. MY laptop with Vista however runs the CD fine and the setup program stays on screen. Any ideas?

bwjones 0 Junior Poster in Training

Hey Dima, that would be great. If you don't mind can u send me a copy to ceazon22@yahoo.com? Thanks.

bwjones 0 Junior Poster in Training

I'm trying to run the setup program for Daemon tools and alcohol 120 and vista comes back sayin "I need administrator privileges to proceed even though I'm logged in as an admin and have full permissionson the file/s. Any ideas????

bwjones 0 Junior Poster in Training

Hi, I just graduated recently and now am going to be focused on my Certs. I'm going for the A+ first. But I don't know which book I need to study and since + is an inclusive character, searching for it is kind of unsuccessful. If anyone can offer me a publisher name and ISDN for the book I need I would deeply appreciate it.

bwjones 0 Junior Poster in Training

I actually just got a call for a tier-3 help desk position with Time Warner so we'll see how it goes. Thanks.

bwjones 0 Junior Poster in Training

So I guess everyone around here just programs, networks, or does any other IT work as a hobby and wouldn't be knowledgable on the professional aspect of the field, ehh? Nice.

bwjones 0 Junior Poster in Training

Hi, I recently graduated with my associate's in Network Security. I'm pretty much looking for just a help desk position to get my foot in the door. But I'm not getting many call backs and figured it might be my resume is not up to par. I had my school build a resume for me before I finished but I wasn't satisfied with it so I pretty much revised it completely. Are there any Vets. around willing to take a quick look at it for me and offer any insight? Thanks.

bwjones 0 Junior Poster in Training

Hi, I use Azureus for my bit torrent client. And ever since I reformatted from XP-home to XP-pro I've had a simple but undisclosed problem with it. Basically when I open Azureus to DL something it dl's and I get good up and down speeds while I'm on the machine keeping windows active. But if I leave the computer and let it go idle every time I come back the connection has dropped and I have to restart the computer and modem to re-establish the connection. I'm not using a router by the way. Thanks.

bwjones 0 Junior Poster in Training

ya i know but im not sure where a good authorized dealer for selling agp cards to is. I live in tampa any suggestions for places to go would be helpful.

*EBAY* ;)

bwjones 0 Junior Poster in Training

Hmm, You're avatar is pretty much me right now. So that article says partition gaps can be intentionally created and vice versa (unintentionally)? Doesn't really answer my question completely unless I'm missing something.

bwjones 0 Junior Poster in Training

Not that I know of, the equivalent in hardware like vid-cards are cheaper for PCI-e than for AGP. So you can probably sell you ragp card and have enough to buy th esame card for pci-e brand new. Go to newegg .com and comapre, you'll see what I mean.

bwjones 0 Junior Poster in Training

anyone?

bwjones 0 Junior Poster in Training

With the NTFS file system, if the proper disk space on the hard drive isn't showing up for the partitions I have defined is it due to partition gaps? thanks.

bwjones 0 Junior Poster in Training

Yea thanks for all the insight people. FYI, I configured an OS-external firewall and the error hasn't come back since.

bwjones 0 Junior Poster in Training

Every now and then I'll be gaming or surfing w/e. And I'll get the error "generic host process for win32 has encountered an error and needs to close". I've looked up alot of related threads and some people say to do this or that in services and that its related to HP peripherals and its not. I have no HP hardware. Some people say the only way to fix it is to reinstall. Another guy said it was a DOS attack and ports 445 and 135 and needed to be blocked. I've tried all of this except for the port blocking. I just reformatted, which is why this doesn't make much sense. Anyway, upon getting the error message my connection to the net is killed and my taskbar goes gray. Then I get some message with a 60 sec timer before the machine restarts.

If anyone has some experience with this error and has a solution you'd make a lifesaver. Thanks.

P.S.: if anyone has a recommendation for free port blocking software, thanks again.
BWJ

bwjones 0 Junior Poster in Training

Tis what I thought, but if Media player is playing the SS never activates.

bwjones 0 Junior Poster in Training

I've set my SS so that it will kick in after 10 minutes of idleness and prompt for a PW before returning XP. However I've noticed whenever I leave media player open my SS will not kick in ever. Is there a way to circumvent this? Or do all apps have to be closed regardless? Thanks

bwjones 0 Junior Poster in Training

hmmmmmmmmm, is this the part where I start to feel like a moron?:rolleyes:

bwjones 0 Junior Poster in Training

Okay, I've never done this before. So I will apologize now for any distortion. But I have right now on my only partition XP he. Which as we all know sux and gives the admin basically no security features. So I have a copy Pro I want to install onto a seperate partition. And then I will gradually move all my files over and keep he on the hdd for who knows why. I ahve a copy of partition magic I'm trying to use to get the job done. But when I have my hdd selected and attempt the 'install a new os on a seperate partition' or 'create a new partition' its giving me the error message "The selected disk contains one or more partitions whic cannot be removed. To complete this task use the operations menu rather than the wizard." So I'm stumped and don't really want to toy around with too much as I know this is a serious operation and I can do some major damage. Thanks for any advice though. Here's a SS............. [IMG]http://i7.photobucket.com/albums/y297/bwjones/part.jpg[/IMG]

bwjones 0 Junior Poster in Training

Okay, jsut to clarify, my OS is XP-HE/sp2. I'm trying to remove BF2 (battlefield2) the game and add/remove programs won't let me. When I attempt to remove any other program it prepares to. But when I click on the remove option for BF2 the pane just flickers and then reappears and nothing happens. If anyone can help me remedy this I appreciate it.

bwjones 0 Junior Poster in Training

HEy all, the most recent windows update KB920872 keeps re-appearing for installation in my taskbar even though I've installed it. What is going on?

bwjones 0 Junior Poster in Training

O so, because I'm not a pro and don't have the time to research every thread posted regarding IT matters that makes me lazy? WTf is your problem? I'm a full time student and work full time to pay my bills. I don't make the nice paycheck alot of u do yet and until I do I won't have a cozy office to kill alot of time on Google when security is stable and up to date on the network/s.

Telling me to not bump my thread was fine, but replying with unneccasary insults displayed a great posture by the folks who populate these forums, good job dickwads ;) & BTW, I fixed the problem without devoting my life to search engines.

If your egos are to far ahead of you to answer novice questions with insightful answers then why even have a forums board? Just designate the site as an IT search engine; would save you smart guys alot of panties.

O and Stein, you really use firefox? LMAO, you're probably an AOL customer too right? hehe

bwjones 0 Junior Poster in Training

Soooooo, noone here has ever seen this problem before? Do I need to reformat?

bwjones 0 Junior Poster in Training

last known good config doesn't work. What do u mean windows repair?

bwjones 0 Junior Poster in Training

:mad: Okay, MY system was working fine up until about 4 days ago. I shut her down before heading to work just for a random shut down. And when I got home and powered it up I got a blue screen on boot up and then it took me to a bootup menu. After unsuccessfully restarting normally 2 or 3 times; I booted up in safe mode to look around. All setting seemed normal, and I did a malicious ware scan and nothing other than cookies. So I did a system resotre and that fixed the problem. So I restart it for the first time since tonite and the same crap happens again and I have to do another system restore and it's fixed again. So basically, I have to do a system restore in safe mode every time I restart the machine. Obviously this isn't normal. Any suggestions?

bwjones 0 Junior Poster in Training

Okay, I'm in Ohio and my brother is in NY. So obviously from a pro or aspiring IT like myself there's only so much you can do over the phone. I had him check all the settings in the properties of the broadband connection and everything looks normal. Then I had him bring up the cmd terminal and check his IP addresses. Below the physical address fo r the nic card I was going to have him check the IP's and whether DHCP was on or not and he said there was no more lines below the nic address line. Anyone have experience with a problem like this? As far as I can tell it just seems to be a malfunctioning modem. Like I said "aspiring".


Thanks.

bwjones 0 Junior Poster in Training

Please download ewido anti-malware it is a free version of the program.
QUOTE]

LOL, I was about to suggest the same thing. That program is awesome. Can clean everything mcafee can and then some. And it's free!

bwjones 0 Junior Poster in Training

Also, I didn't check to see if the 2nd PC was connecting or not. I just noticed that it was being assigned an IP and figured it was good to go. But it's not. So 1: I can't get into my router setup page, and 2: the 2nd PC isn't connecting even though it's being assigned. Which is why #1 needs to be resolved. Thanks for any help

bwjones 0 Junior Poster in Training

Hey man, all I had to do was change the IP of the router to 192.168.2.1 instead of the default 192.168.1.1. So the 2nd PC is being assigned an IP now. The only problem I'm havin gnow is I get can't get into my router setup page. I tried the new IP as the URL and still can't get to it. Any Ideas on that?

bwjones 0 Junior Poster in Training

And just for your knowledge i speak Potuguese,English,Hindi/Urdo, Memon and Machangane.

No pun intended my portugese friend,;)