You are not logged in.

#1 2008-01-01 19:56:58

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Network Profiles with netcfg2 [SOLVED]

I've set up my laptop to use wifi with netcfg2... (Acer Aspire 7720) and it works great!! cool
I have my machine set up with network profiles, which I really like, but ... they run based on netcfg menu (at boot time) and therefore when I start my laptop with wifi support it fails.

How can I use netcfg2 configuration (located in /etc/network.d/my_profile) with network profiles, which seems hardwired to read from /etc/network-profiles/my_profile via netcfg 1.

I tried copying the profile created by netcfg2 over /etc/network-profiles but somehow it does not work, unless I execute it with netcfg2 (which then reads it from /etc/network.d).

Thanks.

R

Last edited by ralvez (2008-01-02 04:26:33)

Offline

#2 2008-01-01 21:20:05

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Network Profiles with netcfg2 [SOLVED]

Not sure I get why you need to use netcfg1... netcfg2 is a complete replacement for netcfg1.

netcfg1 cannot read netcfg2 profiles, they're different in format. And soon netcfg1 will be replaced by netcfg2.

Offline

#3 2008-01-01 21:53:55

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: Network Profiles with netcfg2 [SOLVED]

iphitus,

I think you did  not understand what I said ... or may be I did not express myself very well ... cool
I used netcfg2 to configure wifi. Then,  I used the wiki to set up network profiles, but it seems it uses netcfg1 so when I start my system it fails to use the wifi profile I created with netcfg2.
My question is: how can I use netcfg2 to create network profiles so I can boot my machine with different profiles: home, business, university, etc. Or is it not possible at this stage with netcfg2 to have profiles?

Is my question a bit more clear now?

Thanks!!

R.

Offline

#4 2008-01-02 03:52:16

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Network Profiles with netcfg2 [SOLVED]

in /etc/rc.conf

remove 'network' from the DAEMONS and replace it with 'net-profiles'

add 'NETWORKS=(menu)'

Offline

#5 2008-01-02 04:26:10

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: Network Profiles with netcfg2 [SOLVED]

@bangkok_manouel,

Outstanding!! That works like a charm! big_smile

Thank you!

R.

Offline

Board footer

Powered by FluxBB