You are not logged in.

#1 2006-08-09 09:41:52

rata
Member
Registered: 2006-04-10
Posts: 46

iproute problem

I installed the iproute package from pacman and when run "ip" I get:

# ip link set dev wlan0 up
cut: link: No such file or directory
cut: set: No such file or directory
cut: dev: No such file or directory
cut: wlan0: No such file or directory
cut: up: No such file or directory
#

Somebody has the same problem?
Somebody knows why doesn't works "ip" for me?
I'm trying to get my ArchLinux box as a wifi router with HostAPd (if this works I will upload the PKGBUILD of hostapd to AUR).

Thanks and regards,

Ricardo Honorato Z.

PD: Sorry for my poor english.

Offline

#2 2006-08-09 11:18:36

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: iproute problem

It appears you don't have the cut command on your system - although I don't know how that is possible, since cut is part of coreutils. What does

which cut

show you?

Offline

#3 2006-08-09 14:10:01

rata
Member
Registered: 2006-04-10
Posts: 46

Re: iproute problem

$ which cut
/bin/cut
$

Offline

#4 2006-08-09 22:07:21

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: iproute problem

OK - no problems there. :?

I can't think of anything in particular that might be causing this, but try a pacman -Syu, and a reinstall of both iproute and coreutils.

I have iproute on my system, and it's working fine. That doesn't help you at all, I know, but it rules out any problems with the package.

Offline

#5 2006-08-12 15:42:43

damjan
Member
Registered: 2006-05-30
Posts: 452

Re: iproute problem

Rata it seems your ip command is replaced with some script or you have some alias defined. Obviosly it tries to run the 'cut' command.

Offline

#6 2006-08-13 09:10:25

rata
Member
Registered: 2006-04-10
Posts: 46

Re: iproute problem

Thanks a lot damjan.
I had forgotten that i have an alias for ip (i'm very stupid) :oops:

Offline

#7 2006-08-13 09:15:39

rata
Member
Registered: 2006-04-10
Posts: 46

Re: iproute problem

And sorry tomk for wasting your time.  sad

Offline

#8 2006-08-13 19:35:22

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: iproute problem

No problem - glad you're sorted out.

Offline

Board footer

Powered by FluxBB