New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'creating socket failed while establishing local IP' on kernels from 4.3.0 #9

Closed
raboof opened this Issue Dec 20, 2015 · 5 comments

Comments

Projects
None yet
3 participants
@raboof
Owner

raboof commented Dec 20, 2015

No description provided.

@raboof raboof added the bug label Dec 20, 2015

@raboof raboof closed this in ee8b7ea Dec 20, 2015

@PeterPablo

This comment has been minimized.

Show comment
Hide comment
@PeterPablo

PeterPablo commented Dec 29, 2015

Back-reference: raspberrypi/firmware#521

@raboof

This comment has been minimized.

Show comment
Hide comment
@raboof

raboof Dec 29, 2015

Owner

Should be fixed in 0.8.1 indeed! Let me know if you run into any further trouble

Owner

raboof commented Dec 29, 2015

Should be fixed in 0.8.1 indeed! Let me know if you run into any further trouble

@edouard-lopez

This comment has been minimized.

Show comment
Hide comment
@edouard-lopez

edouard-lopez Jan 28, 2016

Contributor

For reference, I got this issue on Kubuntu 15.10 and 0.8.0

Kernel

$ uname -a
Linux xyz 4.2.0-27-generic #32-Ubuntu SMP Fri Jan 22 04:49:08 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Release

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 15.10
Release:        15.10
Codename:       wily

Version

$ nethogs -V
version 0.8.0
Contributor

edouard-lopez commented Jan 28, 2016

For reference, I got this issue on Kubuntu 15.10 and 0.8.0

Kernel

$ uname -a
Linux xyz 4.2.0-27-generic #32-Ubuntu SMP Fri Jan 22 04:49:08 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Release

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 15.10
Release:        15.10
Codename:       wily

Version

$ nethogs -V
version 0.8.0
@edouard-lopez

This comment has been minimized.

Show comment
Hide comment
@edouard-lopez

edouard-lopez Feb 4, 2016

Contributor

As it's not available in repo nor PPA you need to build it (it is really easy and quickly done).

Fetch and extract

wget -c https://github.com/raboof/nethogs/archive/v0.8.1.tar.gz
tar xf v0.8.1.tar.gz 
cd ./nethogs-0.8.1/

Install dependencies and build

sudo apt-get install libncurses5-dev libpcap-dev
make && sudo make install 

Check and run

nethogs -V
sudo nethogs

Also in Nethogs → creating socket failed while establishing local IP - are you root?

Contributor

edouard-lopez commented Feb 4, 2016

As it's not available in repo nor PPA you need to build it (it is really easy and quickly done).

Fetch and extract

wget -c https://github.com/raboof/nethogs/archive/v0.8.1.tar.gz
tar xf v0.8.1.tar.gz 
cd ./nethogs-0.8.1/

Install dependencies and build

sudo apt-get install libncurses5-dev libpcap-dev
make && sudo make install 

Check and run

nethogs -V
sudo nethogs

Also in Nethogs → creating socket failed while establishing local IP - are you root?

@edouard-lopez

This comment has been minimized.

Show comment
Hide comment
@edouard-lopez

edouard-lopez Feb 12, 2016

Contributor

@raboof After some wonder I went across the checkinstall tool that relly simplify package creation for RedHat-based and Debian-based distros.

It installs and creates a package for your distro your local dir, so you can easily install/uninstall/distribute(?) the tool:

make && sudo -k checkinstall \
    --pkgsource="https://github.com/raboof/nethogs/" \
    --pkglicense="GPL2" \
    --deldesc=no \
    --nodoc \
    --maintainer="$USER\\<$USER@akema.fr\\>" \
    --pkgarch=$(dpkg \
    --print-architecture) \
    --pkgversion="0.8.1" \
    --pkgrelease="SNAPSHOT" \
    --pkgname=nethogs \
    --requires="libc6 \(\>= 2.4\),libgcc1 \(\>= 1:4.1.1\),libncurses5 \(\>= 5.5-5~\),libpcap0.8 \(\>= 0.9.8\),libstdc++6 \(\>= 4.1.1\),libtinfo5" \
    make install
`
Maybe you can hook it with github or a CI integration tool.
Contributor

edouard-lopez commented Feb 12, 2016

@raboof After some wonder I went across the checkinstall tool that relly simplify package creation for RedHat-based and Debian-based distros.

It installs and creates a package for your distro your local dir, so you can easily install/uninstall/distribute(?) the tool:

make && sudo -k checkinstall \
    --pkgsource="https://github.com/raboof/nethogs/" \
    --pkglicense="GPL2" \
    --deldesc=no \
    --nodoc \
    --maintainer="$USER\\<$USER@akema.fr\\>" \
    --pkgarch=$(dpkg \
    --print-architecture) \
    --pkgversion="0.8.1" \
    --pkgrelease="SNAPSHOT" \
    --pkgname=nethogs \
    --requires="libc6 \(\>= 2.4\),libgcc1 \(\>= 1:4.1.1\),libncurses5 \(\>= 5.5-5~\),libpcap0.8 \(\>= 0.9.8\),libstdc++6 \(\>= 4.1.1\),libtinfo5" \
    make install
`
Maybe you can hook it with github or a CI integration tool.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment