You are not logged in.

#1 2008-08-15 19:02:41

temnozor
Member
Registered: 2008-08-15
Posts: 8

netcfg2 wlan how to run it on bootup?

I've installed netcfg2 to use wpa on my ralink rt2500 card..i've the config in /etc/network.d/wpa.conf

i can connect to my wlan if i change into that directory and run netcfg2 wpa.conf

it dont works if iam in home and run netcfg2 /etc/network.d/wpa.conf

how to automatical bring up my wpa wlan?

Offline

#2 2008-08-15 19:13:01

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: netcfg2 wlan how to run it on bootup?


Matt

"It is very difficult to educate the educated."

Offline

#3 2008-08-15 20:46:25

temnozor
Member
Registered: 2008-08-15
Posts: 8

Re: netcfg2 wlan how to run it on bootup?

i've read this but i dont get it how to setup my rc.conf

i put

interfaces(wirelessral autowireless) into the rc.conf but it dont work..

and i dont know how to tell rc.conf that it should use my /etc/network.d/wpa.conf configuration to start netcfg2 with it

my wpa.conf is this

CONNECTION="wirelessral"
INTERFACE=ra0
SCAN="yes"
SECURITY="wpa"
ESSID="censored"
KEY="censored"
IP="dhcp"

it is in /etc/network.d/wpa.conf

i dont understand the wiki article how to setup this, thats why i ask here in the forum

it works when i

cd /etc/network.d/
netcfg2 wpa.conf

but i dont want to do this each time i restart the computer

greets

Last edited by temnozor (2008-08-15 20:49:29)

Offline

#4 2008-08-15 20:49:24

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: netcfg2 wlan how to run it on bootup?

wiki wrote:

Ensure that net-profiles is in your rc.conf DAEMONS=() line.

Offline

#5 2008-08-15 20:51:23

temnozor
Member
Registered: 2008-08-15
Posts: 8

Re: netcfg2 wlan how to run it on bootup?

means i've to put this line

DAEMONS=(net-profiles)

into /etc/rc.conf?

Offline

#6 2008-08-15 20:57:21

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: netcfg2 wlan how to run it on bootup?

Add "net-profiles" to the existing DAEMONS line in rc.conf.  This line determines which daemons/services are started on boot.

Offline

#7 2008-08-15 21:18:21

temnozor
Member
Registered: 2008-08-15
Posts: 8

Re: netcfg2 wlan how to run it on bootup?

ok i've net-profiles in my daemon line

but still no wlan network...

i think i've to tell to network deamon where my wpa.conf is and that he should bringup my network

but how?

something like

ifconfig eth0 dhcp in rc.conf

Last edited by temnozor (2008-08-15 21:19:18)

Offline

#8 2008-08-15 21:29:29

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: netcfg2 wlan how to run it on bootup?

To quote the wiki more fully:

wiki wrote:

To have the network be connected on boot, add the profile-name to the NETWORKS=() line in rc.conf, eg: NETWORKS=(home).

Ensure that net-profiles is in your rc.conf DAEMONS=() line.

So, in rc.conf:

NETWORKS=(wpa.conf)
(...)
DAEMONS=(... net-profiles)

Offline

#9 2008-08-15 21:34:36

temnozor
Member
Registered: 2008-08-15
Posts: 8

Re: netcfg2 wlan how to run it on bootup?

yes i've found it out meanwhile thx for the help

i had "NETWORKS=(wirelessral)"

Offline

Board footer

Powered by FluxBB