photo
Jordan Sissel
geek

Sun, 10 Sep 2006

Error running scapy as non-root

If you get this error:
Traceback (most recent call last):
  File "/usr/local/bin/scapy", line 10647, in ?
    class Conf(ConfClass):
  File "/usr/local/bin/scapy", line 10670, in Conf
    iface = get_working_if()
  File "/usr/local/bin/scapy", line 2067, in get_working_if
    except pcap.pcapc.EXCEPTION:
AttributeError: 'module' object has no attribute 'pcapc'
This is becuase you aren't running scapy as root. Run it as root.

If you still get this error message, it's likely due to pcap failing to find usable network interfaces. This means you have no interfaces in the UP state. It doesn't count lo0 as a real interface, I guess?

Comments: 0 (view comments)
Tags: ,
Permalink: /geekery/scapy-error
posted at: 09:29


0 responses to 'Error running scapy as non-root'


Leave a reply

You need javascript enabled to use this form. Anti-spam efforts ongoing. Also, if the comment doesn't show up, it's because the form expired. Go back and copy your comment, reload the form, and resubmit. Apologies if this is a hassle, I'm just playing with antispam methods right now. If this insists on not working, please email me about it.

Name (required)
E-mail (optional, if you want me to be able to email you back)
URL (also optional)
Comment:


Search this site

Navigation

Metadata

Home About Resume My Code (SVN)

Articles

ARP Security Dynamic DNS with DHCP OpenLDAP+Kerberos+SASL PPP over SSH SSH Security: /bin/false Week of Unix Tools Work Efficiency

Projects

fex firefox tabsearch firefox urledit grok keynav liboverride newpsm (FreeBSD) nis2ldap pam_captcha poor man's backup Solaris audio utility xboxproxy xdotool xmlpresenter xpathtool misc scripts

Presentations

Yahoo! Hack Day '06 Unix Essentials Vi/Vim Essentials

Tag Cloud

Calendar

< September 2006 >
SuMoTuWeThFrSa
      1 2
3 4 5 6 7 8 9
10111213141516
17181920212223
24252627282930

Friends

BarCamp Kent Brewster Tantek Çelik John Resig Wesley Shields Tyler Shields

Technorati