You are not logged in.

#1 2011-11-25 03:53:18

zarcher
Member
From: Beijing,CHINA
Registered: 2011-11-13
Posts: 8

[SOLVED] How to use command NETSTAT in archlinux?

Hi, everyone. Can you please tell me how to enable this NETSTAT command? I can't find this with pacman. In yaourt I found netstat-nat but I am not sure they are the same thing.

After I yaourted this netstat-nat I still can't use it because netfilter is not enabled in my kernel yet.

Last edited by zarcher (2011-11-26 01:23:15)

Offline

#2 2011-11-25 03:58:32

llawwehttam
Member
From: United Kingdom
Registered: 2010-01-19
Posts: 181

Re: [SOLVED] How to use command NETSTAT in archlinux?

pacman -Qo /bin/netstat                                                                                                                               ~
/bin/netstat is owned by net-tools 1.60.20110819cvs-3

Hope that helps.

Offline

#3 2011-11-25 04:02:29

zarcher
Member
From: Beijing,CHINA
Registered: 2011-11-13
Posts: 8

Re: [SOLVED] How to use command NETSTAT in archlinux?

llawwehttam wrote:

pacman -Qo /bin/netstat                                                                                                                               ~
/bin/netstat is owned by net-tools 1.60.20110819cvs-3

Hope that helps.

Thanks a lot for your quick answer. It did helped. I pacmaned net-tools and I can use "netstat" now. Cheers!

Offline

#4 2011-11-25 04:16:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] How to use command NETSTAT in archlinux?

zarcher wrote:
llawwehttam wrote:

pacman -Qo /bin/netstat                                                                                                                               ~
/bin/netstat is owned by net-tools 1.60.20110819cvs-3

Hope that helps.

Thanks a lot for your quick answer. It did helped. I pacmaned net-tools and I can use "netstat" now. Cheers!

net-tools are deprecated and you should be using iproute2 instead: http://www.archlinux.org/news/deprecation-of-net-tools/

A more general answer to your question: https://wiki.archlinux.org/index.php/FA … is_X_in.3F

Last edited by karol (2011-11-25 04:17:00)

Offline

#5 2011-11-25 05:03:38

zarcher
Member
From: Beijing,CHINA
Registered: 2011-11-13
Posts: 8

Re: [SOLVED] How to use command NETSTAT in archlinux?

karol wrote:
zarcher wrote:
llawwehttam wrote:

pacman -Qo /bin/netstat                                                                                                                               ~
/bin/netstat is owned by net-tools 1.60.20110819cvs-3

Hope that helps.

Thanks a lot for your quick answer. It did helped. I pacmaned net-tools and I can use "netstat" now. Cheers!

net-tools are deprecated and you should be using iproute2 instead: http://www.archlinux.org/news/deprecation-of-net-tools/

A more general answer to your question: https://wiki.archlinux.org/index.php/FA … is_X_in.3F


So I think I have to use ss instead of netstat now. Thanks!

Offline

#6 2011-11-25 06:11:50

llawwehttam
Member
From: United Kingdom
Registered: 2010-01-19
Posts: 181

Re: [SOLVED] How to use command NETSTAT in archlinux?

karol wrote:
zarcher wrote:
llawwehttam wrote:

pacman -Qo /bin/netstat                                                                                                                               ~
/bin/netstat is owned by net-tools 1.60.20110819cvs-3

Hope that helps.

Thanks a lot for your quick answer. It did helped. I pacmaned net-tools and I can use "netstat" now. Cheers!

net-tools are deprecated and you should be using iproute2 instead: http://www.archlinux.org/news/deprecation-of-net-tools/

A more general answer to your question: https://wiki.archlinux.org/index.php/FA … is_X_in.3F

Whoops.

Apologies for the bad advice. I must have missed that net-tools was deprecated.

Sadly I have to keep it installed as it is still a dependency of wicd as far as I know.

EDIT: Decided to get my act together and remove as many deprecated packages as I can. Now using netcfg. I'll have to pay more attention to the news.

Last edited by llawwehttam (2011-11-25 06:40:06)

Offline

#7 2011-11-25 20:07:37

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] How to use command NETSTAT in archlinux?

llawwehttam wrote:

Decided to get my act together and remove as many deprecated packages as I can. Now using netcfg. I'll have to pay more attention to the news.

Great! Remember, front page news are your friend :-)



@zarcher
Please mark the thread as solved.

Offline

Board footer

Powered by FluxBB