You are not logged in.
hi!
I've just installed netcfg2 and it works great (thanks iphitus for your work!)
I've a stupid question in mind..
Actually I start manually my wireless connection (if active) and I leave arch connect to my eth0 automatically (simply adding eth0 on rc.conf interfaces).
what I ask you is .. is there a way to show what is the currently active connection ?
(like the crappy NetworkManager applet do)
ex. eth0 -> cable_connection
wlan0 -> SSID
thanks for your answers.
bye!
Last edited by _Marco_ (2008-05-10 07:52:44)
Offline
Is there any reason you need to use both connections at the same time? I use netcfg2 to connect to wifi whenever a cable is unavailable or inconvenient and manage the wired connection with ifplugd. So if wifi is not available I just plug in the cable and ifplugd and dhcpcd do their magic.
If you have to use both connections, why not set up conky to monitor the traffic on both interfaces and that will show you which is being used (ie the one with all the traffic).
Who Knows? Who Cares? Who will remember anyway?
Offline
Hi, thanks for the reply
I only use one connection at a time, when I need wifi I disconnect the cable restart the network daemon and run 'netcfg2 wifi'
I think I'll try ifplugd (I hope it fix the long /etc/rc.d/network stop/start time, because it wait for ethernet timeout)
anyway I'd like to know if exists a more direct approach to show what is the current connection in use (I don't like very much conky because it drys too many resources)
bye
Offline
I found the solution by myself,
it's very easy but I'll post it here in the hope it can help someone
"iwconfig" command shows the current "access point" no need for external tools.
_Marco_
Offline
I disconnect the cable restart the network daemon and run 'netcfg2 wifi'
I think I'll try ifplugd (I hope it fix the long /etc/rc.d/network stop/start time, because it wait for ethernet timeout)
The long timeout results from you restarting the network init script with no cable attached. netcfg does not need the network script, so if you're switching from wired to wifi, just stop network, then run netcfg.
You might find it useful to set up a profile for your wired connection too - then you could manage both of them with netcfg.
Offline
@tomk:I'll try your suggestion, Thanks!
Offline