Software :: Use Tshark To Save Captured Data?
Jan 20, 2010i want to use tshark to save captured data i want it to save it in a certain directory and every x seconds and 5 files so every x seconds Tshark saves another 5 files
View 2 Repliesi want to use tshark to save captured data i want it to save it in a certain directory and every x seconds and 5 files so every x seconds Tshark saves another 5 files
View 2 RepliesMy system ubuntu 10.04 crashed. Now I boot from liveCD and I can�t mount HDD.
fdisk �l give partitions, but mount does not work. Crashed system should be on sda1 and it is ext4. code...
i'm going to do a fresh install and was wondering, what program i can use to compress and save my data. right now i only have a 2 gig flash drive. i have around 4 gigs of info i need 2 save.
View 7 Replies View RelatedI can not boot into ubuntu anymore, I have a kernel problem. Is it possible to save the stored data? Maybe with a livecd? I am really tired to solve the kernel problem I will only save my data and then I will install ubuntu again.
View 5 Replies View RelatedI have an ASUS 900a with a 4GB SSD running Ubuntu NBR 9.10. It has several accounts and associated data on it. How do I save the accounts and data as I upgrade the SSD? I have an 8GB USB drive, an external HHD, and an external DVD burner available. I suspect that clonezilla will be part of the answer, but I don't know how to put the pieces together.
View 9 Replies View RelatedCan not save data to external usb hard drive
formated and mounted on Ubuntu 9.10
visible on desktop /Dev/Sdb1
I have created a file using open() and written data to it. Data appears as normal characters in the file. How to save these characters in a binary format in that file using C language? Here I mean that the characters should be actually stored as 0 and 1. Do I have to convert the whole data using some function or there is some standard way to do it in Linux?
View 14 Replies View Relateduse fedora system, and installed fedora 12 on my usb disk by live-usb creator.Now, the problem is everytime i reboot the computer, the user data and software i installed will disappear.When installing, i choose persistent space which is described for user data and software, but it seems not work now.What can i do if i want my fedora on usb disk is just like the system installed on hard disk
View 1 Replies View RelatedI managed to damage my 11.2 installation so it starts in the GUI mode only in failsafe mode. Actually I tried before to repair the installation, using the install DVD, but the automatic repair procedure failed. More than that, since then boot loader also seams to be "repaired" so that the Windows installation doesn't appear in the boot menu, but this is another thing.For me, now, the fastest way to get a stable system is to make a new installation. The biggest problem is that I cannot save/backup the emails and accounts settings in an elegant way. I'm using Thunderbird. Of course I would also like to save other apps settings.So is there a way to save user application settings so that I can used them after a new install? I had a look to the yast backup tool but these seams to be a way to archive files, or am I wrong?
View 9 Replies View RelatedI have here a Fujitsu-Siemens laptop with Windows Vista on it. The graphical chip of this laptop is damaged in such a way that during boot I can see texts but once the GUI starts it is over. No more picture. This happens with Vista, but also when I boot a live-cd from Ubuntu.The owner of this laptop, not me, wants to buy a new one but would like all data to be saved.I have downloaded the server version of Ubuntu 10.04 (so I stay in text mode) and with the CD I can boot into restore mode. There it is possible to mount the internal hard-disk, after which I can see the data.
But... how do I get it from the disc? How do I setup the network, which I believe is running already, to make the laptop a part of my home network? Now from other computers I can't see this laptop, and I have no idea how to see my computers from this laptop.Or is it possible to burn a CD/DVD in Restore mode. If so how do I do that?
I have a Windows laptop that isn't booting up anymore for some reason Safe Mode doesn't even work. Looking at what is printed out when it hangs, I did a search on google and it is some sort of HP laptop problem. Apparently the hard drive should still be OK, if only I can access it somehow. I was thinking maybe I could use one of those live Linux CDs to boot up. But I'm not too familiar with those. Would they be able to detect the laptop's DVD burner, and allow me to burn files off the NTFS partition to a blank DVD? I want to get my data off before I hand the laptop over to the IT department - who knows what they will do to it. So exactly which live Linux CD flavor should I use (my other working computer only has a CD burner)? And then would it be easy to burn a DVD after booting up the live Linux CD?
View 1 Replies View RelatedI wanna learn how to store data in text file and be able to modify it and save as well using C++.
Note: im using Turbo C++ 3.0
I want to buy another laptop. I want to use FC on it. I need bluray because I want to save data on bluray disks of 25 gb (better than dvds, more space). I have one option, a fujitsu that has bluray writer, big display (I have another one, other model, same size and it's working fine with Fc14, only some small issues).
Second option is a Dell (I had an older dell inspiron before, which worked fine with FC), more expensive, lacking a writer, but it can read bluray. If I take this, I would have to also buy an external bluray writer. Has nice specs, but I am really worried about the graphic card, whether I can make it work with Fc14. I saw some people having problems with linux and this graphic card, while searching on google.
Here's specs for both (sorry for the language from website, but I found in English other specs than these, I guess the specs can be read easily): Dell XPS L702x and FUJITSU Lifebook NH570 I am inclining more towards the Fujitsu, but haven't decided yet.
i have custom programs written in Basis pro5. Standard output to a pdf virtual printer works fine. Using pdftk to overlay on to a form is hit or miss.... There are products out there like Unform that are just too expensive for my company. i have purchased another product from a company that prints the forms to the laser perfectly but i am incapable of capturing them and saving them as pdf's for archiving/emailing/faxing and i don't much care for this company.
View 2 Replies View RelatedI am not sure why this does not work..
tshark |grep 'string'
Gives me what I want but
tshark |grep 'string' >/tmp/outputfile
Gives me an empty file.
I attempted this afternoon to do something I believe I did in the past using tshark, to no avail.
Code:
sudo tshark -V > dumpfile
That is the code, and from what I recall of times since past when this was done, gzipped packets were subsequently decoded under a section "Uncompressed Entity Body". However, today, nothing was decoded. I can grep the output and see that the gzipped traffic is being identified, but the subsequent decoding of it isn't there.
Might anyone have a solution that I am unaware of? As I said, I am almost certain I have done this in the past. The fact that it doesn't work now is very confusing to me.
If the specifics are of interest, I'm running Ubuntu 9.10, and the traffic I was looking to decode involved the html content of Google search results. Specifically, the gzipped encoding should be able to be processed with tshark to output html with tshark's -V switch.
I'm using the Readhat Linux Enterprise 5, and I encountered a problem about captured keyboard need your help. I log in after entering the required username and password using keyboard, but then the keyboard is captured, i.e., I can not enter anything using keyboard. Meanwhile the mouse works well all the time. I encountered this problem when I pressed some keys wrongly two days ago, but unfortunatelly I can not find out these exact keys I pressed.
View 7 Replies View RelatedUsed gparted to format a brand new iomega prestige 1 tb usb hard drive (ntfs) to ext4. The problem is that I can't create folders from nautilus because I don't have permission (root). There is one folder present already lost + found that appeared after reformatting. i can't access that folder because of permissions. Was any of this supposed to happen after formatting an external drive and how can I fix this? I intend to use grsync to back up important folders but can't create folders from grsync also. The only account on ubuntu is mine and i have access to root privileges.
View 9 Replies View RelatedOur application uses a dynamically loaded shared object library (codec library) to compress and decompress audio streams.
There happens to be several static and global variables in this shared object library. Hence it is not possible to process two interleaved unrelated media streams using this shared object codec library because each stream corrupts/changes the contents of these static/global variables.
Is there a way through which a context save (save contents of data segment of shared object) and a context load (load previously saved contents of data segment of shared object)operation can be performed on the shared object library. This way the context for each media stream can be saved and loaded before and after processing the "other" media stream respectively.
If I am sniffing with TCPDUMP or tshark, I have an issue. If I specify a host to watch, I get no packets back, but if I don't specify a host, I get all traffic, including the host traffic I was filtering for the first time. ?? IE: If I: tcpdump -vnnXs 1514 -i bond0 I see all traffic and traffic to x.x.x.x But if I: tcpdump -vnnXs 1514 -i bond0 host x.x.x.x I see no traffic.
View 1 Replies View Relatedhow to use tshark to know the address of the streams of online tv/satellite channels that are broadcast from online websites that hide the addresses of these streams. i would like to feed these stream addresses directly into mplayer so as to have more control over the playing of them, and to eliminate the drawbacks of the traditional flash player/windows media player web browser plugins.
View 2 Replies View RelatedI setup kdump on sles11sp1, on issuing "echo c > /proc/sysrq-trigger" capture kernel is not booted and kernel dump is not created. Here is my system configuration: Welcome to SUSE Linux Enterprise Server 11 SP1 (x86_64) - Kernel
(l). blade797:~ # uname -a Linux blade797 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/Linux
blade797:~ # cat /proc/cmdline root=/dev/disk/by-id/cciss-3600508b1001030343220202020200018-part2 resume=/dev/disk/by-id/cciss-3600508b1001030343220202020200018-part1 splash=silent crashkernel=256M-:128M vga=0x317 steps followed to enable kdump:
1) yast2 kdump
2) chkconfig boot.kdump on
3) reboot
4) cat /sys/kernel/kexec_crash_loaded
1
5) echo c > /proc/sysrq-trigger
6) system panicked, but dump is not captured.
7) I'm missing /proc/vmcore on Sless11Sp1.
I want develop an application using webcam.I want to capture the video from webcam and i want to dispay the video.can anybody suggest me how to do that thing using C lanuguage
View 6 Replies View RelatedI want to capture a mms stream daily. All works well with that, but I also want to delete any mpg files that are captured from the stream that are more than 7 days old. Will this command work?
Code:
#!/bin/bash
find /mnt/tera/all_video/thai3 -ctime +7 -name "*.mpg" -exec rm -f {} ; -ls > /var/log/thai3.log 2>&1
[code]....
I am capturing the same traffic both on client and server. Using Microsoft Network Monitor on client and tcpdump on Linux server.
And when comparing the content of one specific frame captured on two machines, I see it different!
Precisely:
I have SIP communicator on client and opensips on server. Client is doing a REGISTER request to the server. This request contains "Contact:" header, which should contain an IP address of the machine.
When capturend on client, this header contains local private IP address of a machine with SIP communicator (which is 192.168.***). But when captured on server, this header contains the outer address of my provider's router.
I have 2 possible explanations:
1) Some unknown agent acting between my client and server
2) opensips itself is acting at a so low level, that the result of it's frame manipulation is visible by tcpdump.
I am interested if the second option is possible? opensips is a proxy, so does proxy able to manipulate frames directly in the medium?
If so, the is it possible to run tcpdump at a lower level, so that it see packets before opensips processing?
I have an X-Station 25 synth, which has worked fine in the past on Ubuntu. Recently made a fresh install on Xubuntu, and for whatever reason, I'm getting no sound coming out when I just select USB audio.If I go into Sound Preferences, I can see the device. I can even select it for sound input. Hell, if I press some keys on the keyboard, I can see some of the squares on the input level go green.Evidently, there IS sound coming in via the USB connection, and Audacity is capable of recording it.
However, the only way of hearing it is by putting headphones directly into the unit and listening to the monitor output signal. The audio coming in, as detected, is not being played from my laptop speakers/headphones.Am I just missing something here, and that's MEANT to be the only way to hear the audio out?In alsamixer, there are no controls for the Xstation, and nothing seems to be muted. I've upgraded the firmware to the most recent version as well.
I have a 500GB Hitachi external hard drive that I use for backup. It's about 17 months old and has barely been used. Two partitions reside on it: a 446.2GB ext4 partition I use for backup and an LVM partition that contains an NTFS partition and another ext4 partition.
I started it and connected it to my laptop today (after not using for 4 months). A libnotify message warned that "drive failure [was] expected in less than 24 hours." Palimpset shows "Reallocated Sector Count" with status "FAILING" and value "343 sectors" and "Current Pending Sector Count" with value "1556" and status "FAILING". At first I figured it was just the self-check being programmed for NTFS only (not unheard of). But then I saw that Palimpset has the Linux partition labelled as "unrecognized". The temperature is normal (about 20�C). What's going on here?I have not mounted the drive yet and the data is largely unimportant, so I'm more concerned about the hardware (even though hardware damage seems the unlikely possibility). To prevent or minimize hardware damage, what would my best course of action be?
I have Ubuntu 9.10 dual booting with Windows7.My ext3 /home is mounted as F: in windows.I share a firefox profile between them so that when i am in Windows my firefox uses the same profile as it does when in Ubuntu.It all worked great until recently. I am unable to save files by right clicking and save as. In the config i am unable to set a directory to save to. It neer asks me where to save to. Just nothing happens. some off my book marks are all messed up as well, my rss feeds have the same post on some random website every time i log on and i have to manually refresh to get the correct feeds back. I am unable to delete the random bookmark.
View 1 Replies View Relatedmy mediacenter is attached to an beamer with the optimal resolution of 1280*720 ubuntu 10.04 doesnt offer me this revolution (on my intel 915 graphis controller). this means i have to add this resolution to the possible resolutions. first i used cvt
Code:
cvt 1280 720 60
and got this result:
Quote:
# 1280x720 59.86 Hz (CVT 0.92M9) hsync: 44.77 kHz; pclk: 74.50 MHz
Modeline "1280x720_60.00" 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync
then i added this to xrandr
Code:
xrandr --verbose --newmode "1280x720" 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync
and
Code:
xrandr --verbose --addmode VGA1 1280x720
now i can select and use the new resolution - until next reboot. after an reboot 1280x720 is again not available. even if i work with sudo - the resolution isnt there....
Config a CentOS iptables.I issued some iptables rules.the rules were effective at once.Then, I came with a "iptables-save", but the "/etc/sysconfig/iptables" file hasn't been updated, it still loads the defaults rules with CentOS after reboot.
View 4 Replies View Related