You are not logged in.

#1 2009-02-16 11:58:24

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

netcfg git releases and testing

Note: Any bug reports are best on the bug tracker. I occasionally lose track of bugs reported via the forum, or they just get mixed into other issues.

Hi

The release beta cycle wasn't working well for netcfg. Small changes, bugs and many FR's got held up far too long while other work happened. To try and help get netcfg development going smoothly again I've uploaded some netcfg git PKGBUILDs  to the AUR to use instead of -beta releases.

This way I can make those small changes, push it to git, and it can be tested immediately, while larger things can be safely done in another branch locally. When it's ready, rc's will be released.

http://aur.archlinux.org/packages.php?ID=23953
http://aur.archlinux.org/packages.php?ID=23954

There's some fairly substantial changes in this release.
- Moving from net-tools to iproute
     - iproute is the way forward. net-tools is long unmaintained, nor as capable.
- Moving from wireless_tools to pure wpa_supplicant
     - More reliable, less quirks required. Hopefully more stable.
     - As part of this, wireless moves into netcfg-wireless (dependency issues)

Both of these require config changes. Once they're both stabilised I can release 2.2.x to give people time to migrate, and eventually 2.5 which will use them by default. There are example configs included.

More details on the wiki: http://wiki.archlinux.org/index.php/Net … evelopment

The wpa_supplicant move needs a significant amount of testing. I havn't tested WEP (testing hardware is gone), and net-auto may not work presently. WPA and custom WPA configs work in my testing.

If there's any criticisms or comments about the way this is going, the code, netcfg, etc, please let me know. I'd like to make 2.2 a good release and I think these changes are important. I'm hoping they'll make netcfg simpler and more reliable.

Cheers,
James

Offline

#2 2009-03-01 13:33:39

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

Re: netcfg git releases and testing

Hi James,

So today I tried netcfg-git with netcfg-wireless-git.

My old config is still working as expected but I'm not sure you're very interested in that tongue

I wanted to try the new wireless-dbus stuff but failed. To be honest, as a simple user (read no coding skills, rather minimal understanding of networks), I wished I could find some more documentation about this new version.
Don't misunderstand me, I find your examples + wiki pages very good additions but for the first time since I'm using netcfg, with the new changes, I have to say I was very confused. We have the wireless-dbus-wpa file, the wireless-dbus-wpa-config file, wpa_supplicant.conf. First thought was: ok, profile+config file+wpa_supplicant.conf, sounds fine, but then I saw many parameters being repeated across the different files, I began to wonder if wireless-dbus-wpa and wireless-dbus-wpa-config were related or 2 different methods. Anyway, no big deal, I edited them all.
Then I saw the move to iproute, but all the examples for wpa use dhcp whereas I'd like to use a static ip. I tried my old settings, I tried to use the settings in ethernet-iproute, not really knowing if what i was doing was even supported or supposed to work.

I'd really like to help with testing and my post may sound dumb but that's what happened. In my opinion, I think that a single example config file with _all_ the options possible would great and more straight forward (+ a mini, even temporary man page).

Finally,the results were:
# netcfg wireless-dbus-wpa
:: wireless-dbus-wpa up                                                                                [BUSY]
- Association/Authentication failed: SCANNING                                               [FAIL]

linux 2.6.28.7
iwl3945

In any case, thanks a lot for your hard work.

Offline

#3 2009-03-06 07:38:24

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

Re: netcfg git releases and testing

thanks for your input. it was very interesting, especially for your very first post here. feel free to GTFO.

Offline

#4 2009-03-06 08:25:29

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

Re: netcfg git releases and testing

Thanks for your input bangkok_manouel. More thorough documentation is definitely planned, and your post helps quite a bit in what direction to take that documentation.

Cheers bolinxiao

Offline

#5 2009-03-08 11:30:52

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

Re: netcfg git releases and testing

It works with an atheros chipset on a WPA connection, without changing my profile.
As always I'm impressed by your work iphitus ! big_smile

Offline

#6 2009-03-14 17:24:09

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: netcfg git releases and testing

It sounds crazy, but many times the /var/run/wpa_supplicant.pid does not exist.
And wpa_supplicant is still running with the correct arguments when this happens :
root      5455  0.0  0.0   4476  1596 ?        Ss   17:36   0:00 wpa_supplicant -Bu -P/var/run/wpa_supplicant.pid -Dwext

But I just tried to restart this command, and the file was created.
Then I tried several times to start/restart net-profiles, and the file is always there. I have no idea how it could ever happen. But it happened many times, usually I only notice it on shutdown, when net-profiles is stopping, it complains about missing /var/run/wpa_supplicant.pid .


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

Board footer

Powered by FluxBB