Results 1 to 13 of 13

Thread: Ettercap not working in gtk mode,

  1. #1

    Smile Ettercap not working in gtk mode,

    I tried to removed and installed again (used aptitude command insted of apt-get for this).


    The error i am getting:-
      1. root@Life:/usr/local/etc# ettercap -G
      2. ettercap 0.8.0 copyright 2001-2013 Ettercap Development Team
      3. ERROR : 2, No such file or directory
      4. [/build/kalibuild-ettercap_0.8.0-0kali1-amd64-dq7o5A/ettercap-0.8.0/src/ec_conf.c:load_conf:255]
      5. Cannot open etter.conf



    Please Help ,

    etter.conf locations --

    root@Life:~# locate etter.conf
    /etc/etter.conf
    /root/ettercap/man/etter.conf.5.in
    /root/ettercap/share/etter.conf.v4
    /root/ettercap/share/etter.conf.v6
    /root/ettercap-0.7.5.3/man/etter.conf.5.in
    /root/ettercap-0.7.5.3/share/etter.conf
    /root/ettercap-0.7.5.3/share/etter.conf.v6
    /root/ettercap-0.7.6/build/man/etter.conf.5
    /root/ettercap-0.7.6/man/etter.conf.5.in
    /root/ettercap-0.7.6/share/etter.conf
    /root/ettercap-0.7.6/share/etter.conf.v6
    /root/flashgotall/ettercap-0.8.0/man/etter.conf.5.in
    /root/flashgotall/ettercap-0.8.0/share/etter.conf
    /root/flashgotall/ettercap-0.8.0/share/etter.conf.v6
    /usr/share/ettercap/etter.conf
    /usr/share/man/man5/etter.conf.5.gz
    Last edited by kingyking111; 2013-12-31 at 05:46.

  2. #2
    Join Date
    2013-Mar
    Posts
    85
    Works fine for me:

    Code:
    root@kali:~# ettercap -G
    
    ettercap 0.8.0 copyright 2001-2013 Ettercap Development Team
    
    root@kali:~#
    I would read the error message

  3. #3
    i read the error message i don't know how to fix.

  4. #4
    Join Date
    2013-Mar
    Location
    milano
    Posts
    301
    Quote Originally Posted by kingyking111 View Post
    i read the error message i don't know how to fix.
    ...make ..a proof ...if you want....try this command in "only" root directory:
    1) /usr/sbin/ettercap -G
    or
    if you have update & upgrade your kali (ettercap 0.8.0) worked also :
    2) /usr/bin/ettercap-pkexec -G

    ..&& ..see if you have same errors!!

    or try to reinstall it(tested now && worked in my-live-mode):

    apt-get install --reinstall ettercap-graphical -y
    ......
    AFTER:

    root@kali:~# ettercap -G

    ettercap 0.8.0 copyright 2001-2013 Ettercap Development Team


    root@kali:~# /usr/sbin/ettercap -G

    ettercap 0.8.0 copyright 2001-2013 Ettercap Development Team



    root@kali:~# /usr/bin/ettercap-pkexec -G

    ettercap 0.8.0 copyright 2001-2013 Ettercap Development Team

    root@kali:~#


    every command give me a ""GUI""

  5. #5
    I tried everything you told but nothing works but thank you for replying.It is giving me the same error message each time -

    root@Life:~# ettercap -G

    ettercap 0.8.0 copyright 2001-2013 Ettercap Development Team

    ERROR : 2, No such file or directory
    [/build/kalibuild-ettercap_0.8.0-0kali1-amd64-dq7o5A/ettercap-0.8.0/src/ec_conf.c:load_conf:255]

    Cannot open etter.conf


  6. #6
    Join Date
    2013-Mar
    Location
    milano
    Posts
    301
    Quote Originally Posted by kingyking111 View Post
    I tried everything you told but nothing works but thank you for replying.It is giving me the same error message each time -

    root@Life:~# ettercap -G

    ettercap 0.8.0 copyright 2001-2013 Ettercap Development Team

    ERROR : 2, No such file or directory
    [/build/kalibuild-ettercap_0.8.0-0kali1-amd64-dq7o5A/ettercap-0.8.0/src/ec_conf.c:load_conf:255]

    Cannot open etter.conf

    if this maybe can help you
    i think (but i'm not expert)
    your """ettercap-part-of-kali""" is brocken or something is missing!!
    ONLY for test i download a complete package from official website and I "" tried "" Where is your error.... comes!!!
    ...bohhh(I do not know read the code)!! have you (physically) in /etc/ directory the file etter.conf?.....seems here:
    http://imageshack.us/f/855/kjyl.png/
    hope that someone more knowledgeable give us a hand!!!!
    good luck

  7. #7
    thank you for pointing that out.

  8. #8
    I tried to install manually using make and make install
    i am getting following error-

    root@Life:~/flashgotall/ettercap-0.8.0/build# cmake ../
    CMake Error at /usr/share/cmake-2.8/Modules/FindGTK2.cmake:397 (message):
    Could not find GTK2 include directory
    Call Stack (most recent call first):
    cmake/Modules/EttercapLibCheck.cmake:34 (find_package)
    CMakeLists.txt:95 (include)


    -- Configuring incomplete, errors occurred!


    I don't know what to do now, i don't want to reinstall whole OS just for ettercap please guys help me.

  9. #9
    Join Date
    2014-Jan
    Posts
    1
    I had the same problem. I just updated kali and it works now.

  10. #10
    We now place the etter.conf file in /etc/ettercap/etter.conf

    If that doesn't exist, do an apt-get install --reinstall ettercap

    I did a locate on a fresh Kali 1.0.6 install and its there.

  11. #11
    It's not working but thank you guys, i am able to use ettercap when i am using the live os.
    In the end it's worth it.
    I think i will go for a fresh os reinstall in future.

    Again thank you guys for your effort, Kali Linux Rocks.

  12. #12
    i have similar problem... my etter.conf is empty and when i try to reinstall says "
    "root@KALI:~# apt-get install --reinstall ettercap
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    ettercap : Depends: ettercap-common (= 1:0.7.3-2.1+squeeze1) but 1:0.8.0-0kali1 is to be installed
    E: Unable to correct problems, you have held broken packages.
    "

    i can edit etter.conf manually if someone paste me all content of the file ... thank you guys

  13. #13
    Solved ... i did find all information i needed here https://github.com/Ettercap/ettercap/tree/master/share

Similar Threads

  1. Replies: 0
    Last Post: 2020-09-20, 19:31
  2. Ettercap not working in gtk mode,
    By kingyking111 in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2013-12-31, 03:23
  3. Replies: 0
    Last Post: 2013-10-17, 04:27

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •