You are not logged in.

#1 2013-03-25 16:22:06

jay1901
Member
Registered: 2013-02-09
Posts: 10

"sudo: netcfg2: command not found"

Whenever I try to connect to my wireless network using ArchAssistant I get the error:

sudo: netcfg2: command not found

Netcfg seems to be on version 3 (the command for which is simply 'netcfg'). Is there a way I can tell Archassistant to use 'netcfg' instead of 'netcfg2'? Or is there something else I'm missing here?

Thanks!

Offline

#2 2013-03-25 16:47:28

mzneverdies
Member
Registered: 2012-02-04
Posts: 147

Re: "sudo: netcfg2: command not found"

symlink netcfg pointing at netcfg2

sudo ln -sf /usr/bin/netcfg /usr/bin/netcfg2

or even easier if you are the only user, use an alias by editing ~/.bashrc and adding

alias netcfg2='netcfg'

both will result on running netcfg when launching netcfg2 (if you choose to edit .bashrc and use an alias, you must exit and reenter session to apply changes)

Last edited by mzneverdies (2013-03-25 16:49:45)

Offline

#3 2013-03-26 03:46:55

jay1901
Member
Registered: 2013-02-09
Posts: 10

Re: "sudo: netcfg2: command not found"

The symlink did the trick. Thanks!

Offline

Board footer

Powered by FluxBB