You are not logged in.
Pages: 1
Hi,
Archlinux is supposed to be a KISS distribution, that's OK. Because NetworkManager is no KISS, something simple is in order. OK too. But what is so special about netcfg, which doesn't exist in the FOSS domain already? The first logical choice is to invest in an already established project; another one is justified, if all the others fall short of satisfactory. Wicd is KISS enough and quite powerful, for instance...
What netcfg is better at than any other KISS network management? It's an honest question; I'm genuinely qurious.
Offline
If I'm not mistaken (never used wicd), wicd is a GUI network manager written in python. These are two dependencies not everyone has: A running X-server and python. Plus netcfg is very user-friendly (according to my definition of user-friendly), so I never used something else.
Offline
If you use a Gnome Desktop, I'd recommend networkmanager, though. At least, to me it seems the most userfriendly option. Just put in your password, that's it.
Offline
netcfg doesn't require a running X server, and I believe it isn't overly complicated as far is the technical implementation goes. So that makes it a textbook example of Keeping it Simple Stupid ![]()
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
Offline
netcfg kicks ass, don't ever want to miss it, networkmanager is crap, wicd is quite a nice gui, but it's still not as great as netcfg
End of comment
Offline
No, the most KISS method is to understand the wireless tools. I still don't understand the need for the abstraction that is netcfg(but maybe that's just because i never got wireless to work through netcfg and got pissed off that in arch, which is supposed to be kiss, i had to deal with an abstraction instead of simple guidelines of how to use the most lowlevel tools to make an internet connection.. I think that this would be the better spent effort if the purpose was to make arch more KISS)
Last edited by test1000 (2008-09-22 13:41:43)
KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein
Offline
, i had to deal with an abstraction instead of simple guidelines of how to use the most lowlevel tools to make an internet connection.. I think that this would be the better spent effort if the purpose was to make arch more KISS)
There is plenty of documentation for wireless_tools in the wiki; within the Beginners' Guide and on the Wireless page.
I like wireless_tools, I use them when roaming. I use /etc/rc.conf at home.
Offline
Wicd is pretty good and recent releases have improved, but don't try it on an old laptop! It's such a resource hog that it won't pass set up of an account. Netcfg is indeed light.
Offline
From what I read netcfg is just another tool to learn, but as it doesn't provide enough automation and interactivity, I prefer to use wireless tools from the command line and wicd if I have a GUI.
I agree that having so many python interpreters running is not a great: I run openbox but with conky, pypanel, wicd and a python notify daemon running, it's really ram consuming
Offline
I used to use /etc/rc.conf on my laptop (I had my wireless interface set to "essid any" to automatically connect to the strongest open connection), but a fairly recent initscripts update broke the rc.conf method (because it used the broken iwlist <interface> scan feature), so now I use netcfg with a profile I call openwifi. I have scan turned off. I haven't tried rc.conf since, but I figure I might as well stay with net-profiles since it works and can be adapted for specific networks if the need arises.
netcfg is certainly more KISS than any GUI tool, since it doesn't require X11 and profiles are simple text files that are very easy to configure.
Offline
How exactly is netcfg an abstraction layer from the basic wireless tools? You even set the command line options for the command line tools in the netcfg profiles. That's not abstract at all. It just provides you a way to store multiple network setups rather than having to redo them every single time.
archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson
Offline
I view netcfg as something like abs or yaourt. They don't do anything you a couldn't do on your own, manually, but they make it a hell of a lot easier. Don't you write a lot of little scripts and shell functions to make your life easier? These are like beautifully executed examples of that. That may not by itself justify their getting official recognition (and indeed, yaourt is not officially supported), but I think a few judicious choices of community-backed scripts benefit all of us. Netcfg is not perfect. But it's pretty damn good and is getting better. It's also a great way for the community to consolidate its experience with finicky wifi setups. If I were trying to help a newcomer on the forums troubleshoot her wifi connection, I'd have a difficult time on my own thinking up all the "quirks" her hardware might need. But as we learn what "quirks" options to build into netcfg, that kind of collective knowledge gets usefully organized.
I wish there were already a broader open-source CLI project like netcfg, but I haven't yet come across it.
Offline
There is plenty of documentation for wireless_tools in the wiki; within the Beginners' Guide and on the Wireless page.
That might be so, but how am i supposed to know if my using the tools manually will muck up something else? Maybe it's just because i'm not a CS major but if you give me a tool to do a job which is an abstraction for another tool this tells me it's hard to do it manually, again creating FUD.
I'm not saying netcfg is a bad project, for all i know it could be great(i don't know, didn't get it to work..), and it certainly seems so considering what people seem to think of it, both in this thread and from what i've seen before, i'm just saying if it is easily accomplished manually: don't create an abstraction. This is easily seen(although this may be a much more invasive-stupid tool) in the auto xorg.conf makers included in arch(can't remember the names, it was 2 right?) with people asking what should i do now, fearing opening xorg.conf on their own when the autotool fails(which it does, nothing is perfect).
How exactly is netcfg an abstraction layer from the basic wireless tools? You even set the command line options for the command line tools in the netcfg profiles.
profiles? what's a profile? see how this is stuff to be learned?
... That's not abstract at all. It just provides you a way to store multiple network setups rather than having to redo them every single time.
oh.
![]()
Last edited by test1000 (2008-09-22 22:14:57)
KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein
Offline
^^ netcfg is just another tool, not an abstraction, you are making it WAY harder than it really is
That being said, like all tools use the one you like
Offline
You said:
, i had to deal with an abstraction instead of simple guidelines of how to use the most lowlevel tools to make an internet connection.. I think that this would be the better spent effort if the purpose was to make arch more KISS)
And I said that there is plenty of documentation available...therefore your response:
That might be so, but how am i supposed to know if my using the tools manually will muck up something else? Maybe it's just because i'm not a CS major but if you give me a tool to do a job which is an abstraction for another tool this tells me it's hard to do it manually, again creating FUD.
Does not quite make sense to me. ..
Offline
, i had to deal with an abstraction instead of simple guidelines of how to use the most lowlevel tools to make an internet connection.. I think that this would be the better spent effort if the purpose was to make arch more KISS)
test1000: The wiki is always avalible, in fact it comes with the new arch CDs.
Here is the simple *cough* way:
ifconfig wlan0 up
iwlist scanning
iwconfig wlan0 mode managed
iwconfig wlan0 essid "essid-from-iwlist"
iwconfig wlan0 key "wep-key-here"
dhclient wlan0Personally, I use wicd.
Offline
timetrap, what don't you find simple about that? Obviously you don't have to type it by hand.
A shell script like
#!/bin/sh
ifconfig wlan0 up
iwconfig wlan0 essid any
dhcpcd wlan0looks pretty simple to me. Of course, it's not that much harder to make a profile for netcfg like
CONNECTION="wireless"
INTERFACE=wlan0
SCAN="no"
SECURITY="None"
ESSID="any"
IP="dhcp"Offline
The major thing abot netcfg2, I think, is that it runs without a running X server, which is very important for Arch users.
And just because there's already a utility to do something doesn't mean that somebody else can't make a better one, or at least a different one.
When I installed Arch on my laptop, I needed wireless Internet to use Pacman. Using the standard tools (/etc/rc.conf, iwconfig, etc) would usually work, but my network is WPA-encrypted, so I needed to get something to get past that -- and the tool I used had to be available without Internet, and without X and GTK. netcfg2 is on the core ISO, and has WPA support, and runs from the command line. So I used that.
I found it really simple to set up, easy to use, and incredibly fast. In short, a great tool. I thought I'd download Wicd once I got a GUI going, but I didn't need to. Paired with tools like iwlist and iwconfig, netcfg2 did everything I needed it to and nothing extra - no RAM-heavy tray icon, no GUI that I'll never use. Nice and simple.
I mean, I know that for people who are always changing networks or just plain prefer something better, Wicd/NetworkManager are good choices. netcfg2 just suits my tastes better. ![]()
Last edited by wirenik (2008-09-23 01:08:52)
moljac024: No one really knows what happens inside /dev/null... it could be a gateway to another universe....
dunc: If it is, the people who live there must be getting pretty annoyed by now with all the junk we send them.
Offline
When I started netcfg2 there were no KISS tools to invest time in. I just wanted something that connected to networks easily as I routinely moved between a handful of different networks.
So yeah, you can argue about whether there's a need or not now, but I had a need at the time 2 years ago that no other project fulfilled. Others liked it, it was sufficiently KISS and so it was adopted to [core] last March.
We already had a netcfg tool, but it wasn't too reliable or clean - it had been developed in a very ad-hoc way, with stuff being crufted into it over time (I'm guilty of that). I started out trying to clean it up, and ended up just rewriting it.
The first netcfg2 was released to the dev ML on the 18th Sep 2006. Just over two years ago (whoa!) The original netcfg2 scripts went through so many revisions and designs it's not funny. I'm very iterative with my development, and it's not uncommon for me to experiment with a range of designs before I decide what I like. I'm still not happy with the current scripts, and there's a few changes coming up in 2.2.
What netcfg is better at than any other KISS network management? It's an honest question; I'm genuinely qurious.
It just connects to networks (or it damn well should
). That's it. I've tried to avoid making it intelligent, and avoid having it manage networks -- it just connects to them. No GUI, no sys tray, no complicated setup. Though -- if you want intelligence and fancy features netcfg provides a base to work with, and you could do some really cool things with it by writing some trivial bash scripts.
James
ps: wirenik: cool avatar! Wall-E!
Last edited by iphitus (2008-09-23 12:18:48)
Offline
thanks for giving me the 101 timetrap:P i knew it couldn't be that hard... I still think this is easier than the rc.conf/netcfg method though although i might switch to netcfg when i understand what goes on in the background ![]()
KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein
Offline
I had a lot of trouble with netcfg.
Then it turned out I had been given the wrong key .
It is a convenient place to store information.
Offline
timetrap, what don't you find simple about that? Obviously you don't have to type it by hand.
Agreed, I just think it is simpler to not have to deal with maintaining a shell script etc.
thanks for giving me the 101 timetrap:P i knew it couldn't be that hard...
No problem test1000. I think once you understand this process, netcfg/wicd makes more sense.
Offline
Pages: 1