You are not logged in.

#1 2008-07-07 01:03:33

z0phi3l
Member
From: Waterbury CT
Registered: 2007-11-26
Posts: 278

netcfg2 question

OK so I'm a happy camper sorta.

Got netcfg2 working for the most part, here's my question:

It doesn't start at boot, but I think I know why, I have it set correctly and runs from the command prompt, I also have it in my networks in rc.conf, do I need to have it in the interfaces? And can I have eth0="dhcp" removed but still have it function if I really need to plug mt laptop into a wired network, and is that timing out causin netcfg to not load at boot?


I know it works because I'm typing this from the laptop and the wire is not connected, so it's just some tweaking I need to do

Offline

#2 2008-07-07 06:24:57

phisphere
Member
From: Tallinn, Estonia
Registered: 2007-03-05
Posts: 136
Website

Re: netcfg2 question

what you need is net-profiles to be added into daemons section in rc.conf.
also put ! infront of network - no need to load them both.

for a wired neetwork just copy the /etc/network.d/examples/ethernet.example to the /etc/network.d/ethernet and add ethernet to the NETWORKS list. works well for me.
networks line should looks something like this: NETWORKS=("auto-wireless wlan0" ethernet)

ensure if you have auto wireless in networks list, add SCAN=yes to network profiles.

Offline

#3 2008-07-07 06:24:58

kett
Member
Registered: 2008-04-21
Posts: 104

Re: netcfg2 question

For netcfg to start you need the following two items:

NETWORKS=( your-configuration-to-start )

DAEMONS=(... net-profiles ...)

Offline

#4 2008-07-07 11:17:47

ST.x
Member
From: Sydney, Australia
Registered: 2008-01-25
Posts: 363
Website

Re: netcfg2 question

phisphere wrote:

what you need is net-profiles to be added into daemons section in rc.conf.
also put ! infront of network - no need to load them both.

for a wired neetwork just copy the /etc/network.d/examples/ethernet.example to the /etc/network.d/ethernet and add ethernet to the NETWORKS list. works well for me.
networks line should looks something like this: NETWORKS=("auto-wireless wlan0" ethernet)

ensure if you have auto wireless in networks list, add SCAN=yes to network profiles.

According to the wiki for detection on boot, you may set SCAN="yes" in each profile, and add them to NETWORKS=() in /etc/rc.conf. So if you use NETWORKS=("auto-wireless <interface>"...) then you don't need to set SCAN=yes in the network profiles.

Offline

#5 2008-07-08 06:02:32

phisphere
Member
From: Tallinn, Estonia
Registered: 2007-03-05
Posts: 136
Website

Re: netcfg2 question

but that doesn't do any harm either, if you have scan=yes in profiles. (:

Offline

#6 2008-07-09 20:08:02

Gluffs
Member
Registered: 2008-01-25
Posts: 25

Re: netcfg2 question

A tip if you dont mind a few clicks to connect is to use Archassistant. Its a very nice GUI for handling netcfg profiles and to connect. Im using it cause im to lazy to write in console and i switch between atleas 3 different wireless networks. So having my wireless autoconnect at boot aint a practical soulotion for me. tongue

Archassistant is created for the KDE desktop but i run in XFCE whitout any issues.

Offline

#7 2008-07-09 20:27:59

kclive18
Member
From: Columbus, Ohio, USA
Registered: 2008-05-08
Posts: 219

Re: netcfg2 question

Gluffs,

Are you referring to wlassistant?  I use that on my laptop; since it works directly with the network daemon rather than its own, it works like a charm smile  Wifi-radar, networkmanager, and wicd didn't work that well with my laptop.


My Rigs:
- Mid-2007 iMac 20", Intel 2GHz Core 2 Duo, 2x1GB DDR2-800, 250GB SATA HDD, and...MIGHTY MOUSE!!! tongue, OSX 10.5 Leopard, ATI Radeon 2400XT 128MB
- HP zv6203cl, AMD Athlon 64 3200 S939, 2x512MB DDR400, 80GB 4200rpm HDD, ATI Radeon Xpress 200M 128MB, Arch i686 cool
- 1986 Gibson SG Junior Cherry Red, Ibanez 15W amp, DigiTech RP250 modeling processor

Offline

#8 2008-07-09 21:06:25

faelar
Member
From: Amiens (FR)
Registered: 2007-12-18
Posts: 232
Website

Re: netcfg2 question

Archassistant (AUR)

Netcfg2 is able to manage both ethernet and wireless.
So eth0="dhcp" can be removed if you have an ethernet profile with this option. i.e : On my desktop computer I have a "home" profile with a static ip, and a "dhcp" profile with... hum... I let you guess the answer for this one.

On my laptop netcfg is used to handle wireless network, and ifplugd for the wired one.

Offline

Board footer

Powered by FluxBB