You are not logged in.

#1 2010-12-23 03:01:54

Dogstopper
Member
Registered: 2010-11-09
Posts: 9

[SOLVED] Cannot find netcfg profile

This one seems really embarrassing and I'm sure it's sitting right in front of me. I am following the netcfg configuration guide:
https://wiki.archlinux.org/index.php/Netcfg

I ran into some trouble while trying to connect my profile:

[stephen@Stephen-Arch network.d]$ sudo netcfg stephen_arch

And the /etc/network.d directory looks like this:

[stephen@Stephen-Arch network.d]$ ls
examples  hooks  interfaces  stephen_arch

I am trying to set wpa up and this simple issue is stumping me...

Last edited by Dogstopper (2010-12-23 12:55:55)

Offline

#2 2010-12-23 03:48:42

aethex
Member
Registered: 2010-12-21
Posts: 5

Re: [SOLVED] Cannot find netcfg profile

If your network uses static IPs, gateways, or even proxies (God forbid smile), then you'll need to do lots more tinkering to get WPA working (it was a major problem for me and I never actually got WPA working with the default tools). What I did was used an ethernet connection to install wicd (the alternative, networkmanager, is glitchy and depends on gnome-keyring which I don't like), which provides both a GUI and a console interface (wicd-curses) for configuring the network. WPA worked wonderfully, without any hassle.

If you're insistent on using netcfg, you'll have to elaborate and paste your profile file. The output of if/iwconfig wlan0 wouldn't hurt either.

Cheers

Offline

#3 2010-12-23 03:48:49

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,355

Re: [SOLVED] Cannot find netcfg profile

What sort of trouble?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#4 2010-12-23 04:14:20

Dogstopper
Member
Registered: 2010-11-09
Posts: 9

Re: [SOLVED] Cannot find netcfg profile

I'm sorry. I forgot to specify the trouble!
The command line is throwing this:

 > Profile "stephen_arch" does not exist 

And I want to give a network manager a shot. It was wicd that just quit on me the other day and refused to continue working. Is suppose I'll give Wicd another shot and see what happens.

Offline

#5 2010-12-23 05:48:36

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,355

Re: [SOLVED] Cannot find netcfg profile

cat /etc/network.d/stephen_arch, maybe there's something wrong with your profile.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#6 2010-12-23 12:18:42

Dogstopper
Member
Registered: 2010-11-09
Posts: 9

Re: [SOLVED] Cannot find netcfg profile

[stephen@Stephen-Arch ~]$ cat /etc/network.d/stephen_arch
cat: /etc/network.d/stephen_arch: Is a directory

Offline

#7 2010-12-23 12:24:29

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: [SOLVED] Cannot find netcfg profile

Ok anything in folder stephen_arch?


Mr Green

Offline

#8 2010-12-23 12:29:40

Dogstopper
Member
Registered: 2010-11-09
Posts: 9

Re: [SOLVED] Cannot find netcfg profile

Yes, an updated wireless-wpa file is in there. The contents of that file are:

CONNECTION='wireless'
DESCRIPTION='A simple WPA encrypted wireless connection'
INTERFACE='wlan0'
SECURITY='wpa'
ESSID='[snip]'
KEY='[snip]'
IP='dhcp' 

And the permissions of those files are as follows:

[stephen@Stephen-Arch ~]$ ls -la /etc/network.d/stephen_arch
total 12
drwxr-xr-x 2 root root 4096 Dec 22 21:40 .
drwxr-xr-x 6 root root 4096 Dec 22 21:37 ..
-rw-r--r-- 1 root root  163 Dec 22 21:42 wireless-wpa
[stephen@Stephen-Arch ~]$ ls -la /etc/network.d/
total 24
drwxr-xr-x  6 root root 4096 Dec 22 21:37 .
drwxr-xr-x 62 root root 4096 Dec 23 07:11 ..
drwxr-xr-x  2 root root 4096 Feb 21  2010 examples
drwxr-xr-x  2 root root 4096 Feb 21  2010 hooks
drwxr-xr-x  2 root root 4096 Feb 21  2010 interfaces
drwxr-xr-x  2 root root 4096 Dec 22 21:40 stephen_arch
[stephen@Stephen-Arch ~]$ 

Last edited by Dogstopper (2010-12-23 12:32:30)

Offline

#9 2010-12-23 12:34:13

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: [SOLVED] Cannot find netcfg profile

sudo netcfg wireless-wpa

Just a guess


Mr Green

Offline

#10 2010-12-23 12:39:25

Dogstopper
Member
Registered: 2010-11-09
Posts: 9

Re: [SOLVED] Cannot find netcfg profile

I got the same issue with th:

[stephen@Stephen-Arch ~]$ sudo netcfg wireless-wpa
 > Profile "wireless-wpa" does not exist 

is there some configuration of netcfg that I have forgotten or wasn't in the wiki?

Offline

#11 2010-12-23 12:47:00

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: [SOLVED] Cannot find netcfg profile

Move wireless-wpa to /etc/networks.d

I'm not sure if netcfg supports profiles that are in a subdirectory.


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#12 2010-12-23 12:49:54

Dogstopper
Member
Registered: 2010-11-09
Posts: 9

Re: [SOLVED] Cannot find netcfg profile

That did it thanks! I know it had to have been simple. Back to the wiki now!

Offline

#13 2010-12-23 12:58:58

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: [SOLVED] Cannot find netcfg profile

Please mark thread as solved

MrG


Mr Green

Offline

Board footer

Powered by FluxBB