Unix Technical Forum

Ethereal problem ? & some other issues....??

This is a discussion on Ethereal problem ? & some other issues....?? within the Linux Operating System forums, part of the Unix Operating Systems category; --> Hi there im very new to linux and networking. I have installed ethereal and using rpm , it does ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 05:44 AM
ANaiveProgrammer
 
Posts: n/a
Default Ethereal problem ? & some other issues....??

Hi there
im very new to linux and networking. I have installed ethereal and
using rpm , it does show that i have ethereal installed. But somebody
told me that you can start ethereal by typing following at bash
$ ethereal
but when i type above it says bad command. now when i type "tethereal"
it works and says the following
Capturing lo
now is "ethereal" and "tethereal" a same thing?

I have heard there is a graphical version of ethereal as well, how can
i invoke that from shell/bash?
any help will be highly appreciated....please reply
ANOTHER QUESTION IS how can i make ordinary user as powerful as root
on my redhat?
LAST QUESTION IS i have dualed boot red hat 8 and windows XP, now i
want to save some files from my linux to XP? howz that possible
im really stumped so please help

cheeers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 05:44 AM
mike urig
 
Posts: n/a
Default Re: Ethereal problem ? & some other issues....??

On Tue, 23 Nov 2004 15:29:38 -0800, ANaiveProgrammer wrote:

> Hi there
> im very new to linux and networking. I have installed ethereal and
> using rpm , it does show that i have ethereal installed. But somebody
> told me that you can start ethereal by typing following at bash
> $ ethereal
> but when i type above it says bad command. now when i type "tethereal"
> it works and says the following
> Capturing lo
> now is "ethereal" and "tethereal" a same thing?
>
> I have heard there is a graphical version of ethereal as well, how can
> i invoke that from shell/bash?
> any help will be highly appreciated....please reply
> ANOTHER QUESTION IS how can i make ordinary user as powerful as root
> on my redhat?
> LAST QUESTION IS i have dualed boot red hat 8 and windows XP, now i
> want to save some files from my linux to XP? howz that possible
> im really stumped so please help
>
> cheeers


you can try this command to locate files:
whereis ethereal
mine produced
/usr/bin/ethereal
so type in /usr/bin/ethereal

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-18-2008, 05:44 AM
chabral
 
Posts: n/a
Default Re: Ethereal problem ? & some other issues....??

"ANaiveProgrammer" <myhotline@gmail.com> escribió en el mensaje
news:a8420646.0411231529.7f9036c3@posting.google.c om...
> Hi there
> im very new to linux and networking. I have installed ethereal and
> using rpm , it does show that i have ethereal installed. But somebody
> told me that you can start ethereal by typing following at bash
> $ ethereal
> but when i type above it says bad command. now when i type "tethereal"
> it works and says the following
> Capturing lo
> now is "ethereal" and "tethereal" a same thing?
>
> I have heard there is a graphical version of ethereal as well, how can
> i invoke that from shell/bash?
> any help will be highly appreciated....please reply
> ANOTHER QUESTION IS how can i make ordinary user as powerful as root
> on my redhat?
> LAST QUESTION IS i have dualed boot red hat 8 and windows XP, now i
> want to save some files from my linux to XP? howz that possible
> im really stumped so please help
>
> cheeers


1. ethereal is the gui for tethereal. If you don't have ethereal in your
path or installed, then you'll have to install it first, and have a working
X system to use the gui (it runs in graphics mode). Another option is to use
tethereal to save your capture in a file and then send the file to another
PC with ethereal.
2. to give root privileges to a user, assing the user to the root group. In
/etc/group add your user next to the line beginning with root:x:0:root
3. you need to mount your winxp partition first in order to use it. Suppose
your hard disk is /dev/hda, the type "fdisk /dev/hda -l" and check for the
partition name of the partition with FAT 32 filesystem, suppose it's hda3.
Create a directory like /mnt/windows and mount the partition with: "mount
/dev/hda3 /mnt/windows". If you get an error you may need to include support
in your kernel for the filesystem used by windows (eg: Fat 32, NTfs, so on).

good luck,

--
chabral


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-18-2008, 05:54 AM
Jon Gomez
 
Posts: n/a
Default Re: Ethereal problem ? & some other issues....??

mike urig wrote:
> you can try this command to locate files:
> whereis ethereal
> mine produced
> /usr/bin/ethereal
> so type in /usr/bin/ethereal



Assuming you have it.

Other methods are
find /usr -iname 'ethereal'
Or if you have the locate package:
locate ethereal

Find searches all files within a directory tree (can be slow), locate checks
a database of files, and whereis searches in very specific places (so it
doesn't necessarily find all things that you have installed). Here are the
paths it checks on my system:

/{bin,sbin,etc}

/usr/{lib,bin,old,new,local,games,include,etc,src,man,s bin,
X386,TeX,g++-include}

/usr/local/{X386,TeX,X11,include,lib,man,etc,bin,games,emacs}


Jon.

-- * Does the walker choose the path, or does the path choose the walker?
(fr. Sabriel) * --
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-18-2008, 05:54 AM
Jon Gomez
 
Posts: n/a
Default Re: Ethereal problem ? & some other issues....??

chabral wrote:
> "ANaiveProgrammer" <myhotline@gmail.com> escribió en el mensaje
> news:a8420646.0411231529.7f9036c3@posting.google.c om...


[SNIP]

>> ANOTHER QUESTION IS how can i make ordinary user as powerful as root
>> on my redhat?
>> LAST QUESTION IS i have dualed boot red hat 8 and windows XP, now i
>> want to save some files from my linux to XP? howz that possible
>> im really stumped so please help


[SNIP]

!dangerous!
> 2. to give root privileges to a user, [add] the user to the root group.
> In /etc/group add your user next to the line beginning with root:x:0:root

!dangerous!

The above is a neat idea, but there are many more standard and slightly
safer solutions:

If you want to execute a program as root but from a user account regularly,
the normal way to do that is to use the setuid bit. As root, find the
location of the executable, for example, by running "which tethereal", then
do the following:
chmod u+s <path-to-file>
Note however, that if the file is a script, you might need to create an
executable wrapper, which you would then setuid root.

Other methods that are typical of linux are using su -c and sudo. You can
look up info using "man su" and "man sudo".

Presumably you want to be able to run [t]ethereal without being root, and
your difficulty is that it requires CAP_NET_RAW, which is normally only
granted to root, is that so? Then, you can use the capability kernel
module at
http://lwn.net/Articles/80239/
Instead of granting root privilege to the program at all.

If you mean to give a normal user root-like privileges on a normal basis,
without any well-defined restriction, you should really, really think hard
about doing so. Even setuid programs are considered slightly dangerous, if
sometimes necessary. Post on comp.os.linux.security, and ask about it if
you want.


> 3. you need to mount your winxp partition first in order to use it.
> Suppose your hard disk is /dev/hda, the type "fdisk /dev/hda -l" and check
> for the partition name of the partition with FAT 32 filesystem, suppose
> it's hda3. Create a directory like /mnt/windows and mount the partition
> with: "mount /dev/hda3 /mnt/windows". If you get an error you may need to
> include support in your kernel for the filesystem used by windows (eg: Fat
> 32, NTfs, so on).


May you be using a FAT-based system, or you might have some difficulty,
because NTFS write support has been problematic. You might also need to
specify a -t option to mount:
mount -t auto /dev/hda3 /mnt/windows

Or
mount -t vfat ... [e.g., for win95 style partition]
mount -t ntfs ... [e.g., usu. for xp]

Once you have figured out how to mount it, you can edit your /etc/fstab file
so that the process is automated. To find out more, do "man fstab".

Good luck,

Jon.

-- * Does the walker choose the path, or does the path choose the walker?
(fr. Sabriel) * --
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:50 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com