You are not logged in.

#26 2005-04-09 10:34:20

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,431
Website

Re: rc.d/network - a few tweaks for verbosity and wifi

http://bbs.archlinux.org/viewtopic.php? … highlight=

i was wondering about trying to build wifi-radar into my stuff but i couldn't be arsed to look into it - opinions?

Offline

#27 2005-04-12 16:03:07

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,950
Website

Re: rc.d/network - a few tweaks for verbosity and wifi

Could be a nice idea. Another probably nice tool is this one: http://people.redhat.com/dcbw/NetworkManager/

What about hotplugable network? You put in a cable and if there is any dhcp-server it connects automatiaclly. Or if you activate your wlan it connects to (known) networks (but only if there is no other connection (like ethernet) active)

Online

#28 2005-04-12 16:09:34

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: rc.d/network - a few tweaks for verbosity and wifi

Pierre wrote:

What about hotplugable network? You put in a cable and if there is any dhcp-server it connects automatiaclly. Or if you activate your wlan it connects to (known) networks (but only if there is no other connection (like ethernet) active)

ifplugd does this - I run it on my laptop for eth0

Offline

#29 2005-04-12 17:44:29

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,950
Website

Re: rc.d/network - a few tweaks for verbosity and wifi

But can you configure different profiles for wlan etc.?

Online

#30 2005-04-28 08:15:51

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,431
Website

Re: rc.d/network - a few tweaks for verbosity and wifi

ok - i added some pretty cool support for mine

i have set up some simple scanning and you can now define and list prefered schemes in wireless.conf and it will connect auto if they are available - it can also just scan and let you pick available nets or it can scan and autoconnect to the net with strongest signal

the scripts are a bit messy but they work great with one problem - the first function i wrote scans and creates a profile for each net found but my card doesn't support scanning so i can't test it!

Offline

#31 2005-04-28 08:36:05

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,431
Website

Re: rc.d/network - a few tweaks for verbosity and wifi

ok the new scripts are in the /auto dir - they include the verbose startup patch and the alternative wireless patch - where you use the @ to show a wireless interface in rc.conf - please try them if you have a card that scans!

Offline

#32 2005-05-09 09:16:13

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

Re: rc.d/network - a few tweaks for verbosity and wifi

Damnit!!!

This ALWAYS happens to me.

I didnt have any internet at the time, just an hour or two ago, so i decided to fix up my network script to work with wireless and lan properly, and to fix the FAIL messages.

Anyway, my script is here anyway, it is able to check if the interface got an IP before it fails it, it is also capable of checking all the available wireless networks untill it is able to connect to one.

dibble: iwlist eth1 scan doesnt work on some cards, like yours, and it also doesnt display networks that dont broadcast their SSID. Such as my home or school ones. My solution connects to each of the networks in the file in the order listed, untill it finds one that is able to associate with an Access Point - or Cell if its an adhoc.

And upon getting an ip, it outputs the IP to console -- and it only fails if no network other than loopback gets an IP.

It also uses *slightly* different syntax in /etc/conf.d/wireless

where WLAN_NETWORKS is a list of the networks, and WLAN_INTERFACES is a list of the interfaces that support wireless.

take a look here:
http://iphitus.loudas.com/arch/wireless/network2
http://iphitus.loudas.com/arch/wireless/wireless

Offline

#33 2005-05-09 10:56:37

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,431
Website

Re: rc.d/network - a few tweaks for verbosity and wifi

not looked at it yet but nice work anyway!  i really want to some of this to make it in the stock scripts!

If the four of us could get it together and agree on some aspects and work out the details that would be cool.

I am happy to see my ideas binned as long as long as the arguements against are clear and logical and not just about preference - I can see that pride is a bit of an issue here, which I completely understand, but i'd really like to see what we can do together

who's in?

Offline

#34 2005-05-09 11:39:52

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,950
Website

Re: rc.d/network - a few tweaks for verbosity and wifi

Yes, we should really try to work together in order to make a better solution for wlan.

Perhaps we could start a wiki-entry. At first we should collect a list of features.

There were some good ideas on the ml too.

Online

#35 2005-05-09 12:37:40

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

Re: rc.d/network - a few tweaks for verbosity and wifi

im in!

Offline

#36 2005-05-09 15:11:46

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: rc.d/network - a few tweaks for verbosity and wifi

Judd has also been talking about it on the mailing list.

And Pierre and I have given our input - so I'd say subscribe there if you're not...

Offline

#37 2005-05-10 02:31:49

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,431
Website

Re: rc.d/network - a few tweaks for verbosity and wifi

phrak - did you not see my replies?  We don't really frequently see Judd on the ML do we?

Offline

#38 2005-05-10 14:41:02

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: rc.d/network - a few tweaks for verbosity and wifi

dibblethewrecker wrote:

phrak - did you not see my replies?  We don't really frequently see Judd on the ML do we?

ahhh... didn't recognize the name... heh Pierre did the same thing when he saw my real name 8)

Judd doesn't hang out on the ML, but he uses it more often than the forums...

Offline

#39 2005-05-11 01:10:13

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,431
Website

Re: rc.d/network - a few tweaks for verbosity and wifi

I think Judd is the best analogy to God that I have come across yet big_smile

Offline

#40 2005-05-11 02:09:29

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: rc.d/network - a few tweaks for verbosity and wifi

dibblethewrecker wrote:

I think Judd is the best analogy to God that I have come across yet big_smile

do too little and people stop believing in you, do too much and people will expect more - the key is to do just enough

Offline

Board footer

Powered by FluxBB