On Dec 12, 2010 2:14 PM, "Michel Dubois" <
myshell.dubois <at> gmail.com> wrote:
> Hello scapy users,
>
> I'm working on mac os x and I have installed scapy via macport. But
> it's impossible to have scapy working fine:
>
> $ sudo scapy
> Traceback (most recent call last):
> File "/opt/local/bin/scapy", line 25, in <module>
> interact()
> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scapy/main.py",
> line 245, in interact
> scapy_builtins = __import__("all",globals(),locals(),".").__dict__
> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scapy/all.py",
> line 22, in <module>
> from route import *
> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scapy/route.py",
> line 158, in <module>
> conf.route=Route()
> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scapy/route.py",
> line 18, in __init__
> self.resync()
> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scapy/route.py",
> line 27, in resync
> self.routes = read_routes()
> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scapy/arch/unix.py",
> line 83, in read_routes
> ifaddr = scapy.arch.get_if_addr(netif)
> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scapy/arch/__init__.py",
> line 32, in get_if_addr
> return socket.inet_ntoa(get_if_raw_addr(iff))
> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scapy/arch/pcapdnet.py",
> line 185, in get_if_raw_addr
> return i.get(ifname)["addr"].data
> File "dnet.pyx", line 990, in dnet.intf.get
> OSError: Device not configured
>
>
> my platform:
> $ uname -a
> Darwin dauphin 10.5.0 Darwin Kernel Version 10.5.0: Fri Nov 5
> 23:20:39 PDT 2010; root:xnu-1504.9.17~1/RELEASE_I386 i386 i386
> MacBookPro5,5 Darwin
>
> my macport packages
>
> py26-crypto <at> 2.3 python/py26-crypto
> py26-distribute <at> 0.6.14 python/py26-distribute
> py26-dnspython <at> 1.9.2 python/py26-dnspython
> py26-dpkt <at> 1.7 python/py26-dpkt
> py26-geoip <at> 1.2.4 python/py26-geoip
> py26-gnuplot <at> 1.8 python/py26-gnuplot
> py26-libdnet <at> 1.12 python/py26-libdnet
> py26-nose <at> 0.11.3 python/py26-nose
> py26-numpy <at> 1.5.1 python/py26-numpy
> py26-opengl <at> 3.0.1 python/py26-opengl
> py26-opengl-accelerate <at> 3.0.1 python/py26-opengl-accelerate
> py26-paramiko <at> 1.7.6 python/py26-paramiko
> py26-pexpect <at> 2.3 python/py26-pexpect
> py26-pil <at> 1.1.7 python/py26-pil
> py26-pygments <at> 1.3.1 python/py26-pygments
> py26-pylibpcap <at> 0.6.2 python/py26-pylibpcap
> py26-pyopencl <at> 0.92 python/py26-pyopencl
> py26-scapy <at> 2.1.0 net/py26-scapy
>
>
> I don't find any solutions.
>
> Thank you for your help
>
> --
> )|(
> (. .)
> --------------------ooO-(_)-Ooo--------------------
> |_|0|_| Michel DUBOIS
> |_|_|0|
myshell.dubois <at> gmail.com
> |0|0|0| "labor omnia vincit improbus"
>
http://www.linkedin.com/in/myshelldubois> --------------------ooO-----Ooo---------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, send a mail to
scapy.ml-unsubscribe <at> secdev.org>