FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

LinkBack Thread Tools
Old 04-05-2011, 10:39 AM
Bjørn Mork
Default Flaming as a way to reach technical quality? No!

Steve Langasek <vorlon@debian.org> writes:

> Yes, a user can do anything with ifconfig if his time has no value. I am
> happily using network manager on my laptop, because unlike ifconfig it's
> easy to configure for use on new wireless networks.
> I am not happy that network manager bypasses ifconfig to do this; I would
> have much preferred a daemon that could properly integrate with the existing
> infrastructure we had. But neither that, nor you calling me a stupid user,
> is much motivation for me to go back to the pain of managing wireless
> connections via ifupdown.

I not going to argue against using network manager for that particular
use case. It does provide a nice GUI for entering credentials etc.

But I will claim that using ifupdown is also easy, given that you can
accept a CLI instead of a GUI:

You need to

1) create a /etc/wpa_supplicant/wpa_supplicant.conf with something like

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
## uncomment this entry to automatically connect to any open network
# ssid=""
# key_mgmt=NONE

2) add this (possibly with another device name) to /etc/network/interfaces:

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf

iface default inet dhcp

3) run wpa_cli in a terminal as a user in the netdev group

Adding new networks and other management tasks can easily be done in the
wpa_cli shell. IMHO easier than using NM, as it won't interfere with
e.g. any temporary address I've configured manually. But this is of
course a highly subjective opinion.


To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87aag5geyj.fsf@nemi.mork.no">http://lists.debian.org/87aag5geyj.fsf@nemi.mork.no

Thread Tools

All times are GMT. The time now is 01:31 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org