Joe MacMahon
b81941bd7e
Moved StopWPA functions up to superclasses.
2012-01-29 04:05:16 +00:00
Joe MacMahon
0bf1a68353
Bugfixes post-testing. Still an odd bug where the gtk interface hangs.
2012-01-29 03:22:06 +00:00
Joe MacMahon
75243730b6
Preliminary work on wired encryption. Implemented necessary infrastructure, bugfixing to follow.
2012-01-29 00:47:53 +00:00
David Paleino
9512ec0506
Show correct ESSID during connection, thanks to Jonatan! (LP: #755745 )
2011-11-13 07:57:12 +01:00
David Paleino
4928f9c683
Moved translations out of translations.py, re-designed l10n system a bit
2011-10-18 23:33:23 +02:00
David Paleino
c86cffd67e
Implemented rfkill support (LP: #293727 )
2011-09-18 10:31:15 +02:00
Andrew Psaltis
cdc88f4ac0
Fixed bug in script macro expansion.
2010-01-27 14:06:21 -05:00
Adam Blackburn
4b5f299254
add a 1 second sleep after setting essid but before scanning
2010-01-14 18:02:10 -10:00
Andrew Psaltis
2159666240
Make dhcp hostnames optional, and modify wicd-curses to support this.
...
If the no hostname is to be used, then we give dhcp the system hostname instead.
2009-11-26 00:45:59 -05:00
Andrew Psaltis
f7d39b249d
Fix annoying KeyError bug if no prior dhcp hostname has been set.
2009-11-26 00:01:07 -05:00
Dan O'Reilly
51f8637d95
Make pinging wireless access points when using static gateways optional.
2009-11-24 00:27:41 -05:00
Adam Blackburn
d7cd092b0b
merged dhcp-hostnames
2009-11-21 11:47:02 -06:00
Adam Blackburn
8dd6ecbbfb
merged global-parameters
2009-11-21 11:03:28 -06:00
Andrew Psaltis
ae477daa22
Merge r464 of mainline 1.6.
2009-11-15 17:34:09 -05:00
Dan O'Reilly
08f3e6477a
Retry AP association verification 10 times to accomodate cards that are slow to associate. Thanks to muttoni for the patch.
2009-11-01 15:22:45 -05:00
Andrew Psaltis
03e1f83512
Merge r463 of mainline 1.6.
2009-10-31 17:55:04 -04:00
Dan O'Reilly
a45beaeeaf
Determine valid wpa_supplicant drivers by parsing the list from wpa_supplicant, rather than comparing it's output to a static list of possible drivers.
2009-10-30 23:52:30 -04:00
Dan O'Reilly
ec8eade509
Wait for the network interface to finish coming up before moving on during the connection process.
...
Use a dict instead of if/elifs in StartDHCP() method.
2009-08-28 19:47:55 -04:00
Andrew Psaltis
33ae33e660
Add support in the daemon for setting hostnames in dhcpcd, pump, and udhcpc. No client support yet.
2009-08-22 21:12:33 -04:00
Adam Blackburn
0c111ee635
added value to be passed if there is no essid/bssid
2009-08-09 18:27:47 -05:00
Adam Blackburn
218c6a3aef
merged latest 1.6
2009-08-09 18:07:22 -05:00
Adam Blackburn
e30071c012
added support for passing parameters to the global scripts
2009-08-09 18:06:33 -05:00
Dan O'Reilly
f3d9a3b6da
Actually display the error messag we get when scanning fails in the ioctl backend.
...
Make sure we actually abort the connection attempt when authentication validation fails.
2009-08-03 19:29:18 -04:00
Dan O'Reilly
27f2890c12
Fix crash when trying to create an ad-hoc network.
2009-07-02 16:50:48 -04:00
David Paleino
46bce8ea5e
Provide a pre-/post-down script mechanism
...
WICD currently only provides pre-/post-connection scripts, and
only one disconnection script, that is run before actually
disconnecting. This provides pre-/post-disconnection scripts,
thus increasing configuration flexibility.
2009-06-16 17:13:41 +02:00
Dan O'Reilly
d07dea2390
Convert strings being prints out by dhclients to utf-8 before trying to log them.
...
When iwscan displays two entries for a hidden network, only display the one with the essid included.
2009-06-14 14:25:06 -04:00
Dan O'Reilly
c334cac1c8
- Make the GUI behave better when a disconnect button is pushed.
...
- Move some of the libnotify logic to guiutil.py and add support for displaying some error messages in a libnotify pop-up.
- Apply some patches provided by sunseraph. Tweak to the channel regex and checking for a valid AP bssid when monitoring a wireless connection. Set essid, bssid, and channel in separate calls to iwconfig.
- Add caching for ifconfig and iwconfig results in wnettools.py. That way we're not needlessly calling the same command a bunch of times in a short period of time (2 seconds). This removes the need for us to pass around iwconfig/ifconfig output elsewhere, though I've left it in for now.
- Remove unneeded BackendManager instance from networking.py
- Fix last used wired networking autoconnection method
2009-05-22 15:40:35 -04:00
Dan O'Reilly
2f14b3d5f0
Use the -v option if dhclient is 4.x
...
Simplify sorting method for WAPs.
2009-04-19 21:13:58 -04:00
Dan O'Reilly
b82212e9a6
Remove pointless assignment in be-ioctl
...
Set wireless mode before putting interface up.
Put wireless interfaces up before trying to authenticate.
2009-04-16 21:49:42 -04:00
Dan O'Reilly
65c72ba3a2
Update copyrights and some docstrings.
...
Make trayicon network menu scan-triggering behave better.
2009-03-22 17:36:55 -04:00
Dan O'Reilly
34832775c8
- Replace some tabs that snuck in with spaces.
...
- Try to validate successful association with static IPs by pinging the gateway specified.
2009-03-21 16:28:40 -04:00
Dan O'Reilly
b66bd696af
Add support for using resolvconf instead of directly editing resolv.conf if possible.
2009-03-09 00:07:39 -04:00
Dan O'Reilly
975f4c6ecf
Merge in Dario Freddi's additions, with some modifications.
2009-03-08 22:49:24 -04:00
Dan O'Reilly
4365a8406b
Fix suse init script.
2009-03-08 15:58:44 -04:00
Dario Freddi
ecfe372e4e
Fixing implementation in ioctl
2009-03-02 11:44:57 +01:00
Dan O'Reilly
f66ec767fe
Merge.
2009-03-01 21:50:18 -05:00
Dario Freddi
23cb084036
Adding available auth methods
2009-03-01 20:19:16 +01:00
Dario Freddi
9213c7c333
Adding GetOperationalMode() to determine op mode of an interface
2009-03-01 19:31:34 +01:00
Dario Freddi
2898adec48
Adding the possibility of a custom iwconfig
2009-03-01 19:22:30 +01:00
drf
c23708b444
Starting implementation of current bitrate retrieval
2009-03-01 16:01:21 +01:00
Dan O'Reilly
edbfd18553
Don't use the thread module in networking.py.
2009-02-28 15:34:34 -05:00
Dan O'Reilly
e40afce104
Initial crack at global scripts support. Also includes some setup.py tweaks.
2009-02-27 00:40:19 -05:00
Dan O'Reilly
0af4c5331e
Get rid of unneeded "use_tray" variable being passed around in wicd-client.
...
Remove some extra whitespace in networking.py
2009-02-27 00:35:53 -05:00
Dan O'Reilly
a23fbcede5
Merge.
2009-02-27 00:20:37 -05:00
Dan O'Reilly
de8b8c11f8
Get rid of unneeded "use_tray" variable being passed around in wicd-client.
...
Add some methods for executing multiple scripts to be use for global scripts later.
Remove some rogue extra whitespace in networking.py
2009-02-27 00:13:00 -05:00
Dan O'Reilly
a62840dd96
Refactor wnettools/backend code so that most external tool functionality exists in wnettools, and it just inherited by the external backends. This simplifies creating new backends that just override selected methods.
...
Rewrite encryption template parsing code to allow blank entries (though the GUI still doesn't), and be more permissive of slightly incorrect formatting.
Fix bug in wicd-monitor error handling code.
2009-02-17 23:29:14 -05:00
Dan O'Reilly
f237f421ab
Fix issue where GetForcedDisconnect was returning True when we had just connected.
...
Fix issues with auto-switch to wired.
Change to how the gui handles changing state from connecting to not-connecting to be nicer.
Make the gui trigger monitor state updates while in the connecting state.
Make sure the monitor logs a warning when it catches a D-Bus exception.
Make sure cancelling a wired connection attempt kills DHCP.
Fix issue where DHCP wouldn't get run if automatic dhcp tool was enabled.
2009-02-12 18:38:40 -05:00
Dan O'Reilly
bae95355d7
Make sure it's possible to stop a dhcp client that's in the process of getting a lease.
...
Have gui.py trigger connection status updates every .5 seconds if in a connecting state.
Fix typo in wicd-client.py
2009-02-11 20:55:02 -05:00
Dan O'Reilly
30b59d1a59
Change "Advanced Settings" to "Properties"
...
Remove some unneeded debugging output.
Replace gobject.timeout_add_seconds / gobject.timeout_add if/else logic with calls to a misc.timeout_add method that does it internally.
Only display the dbus lost error message if dbus has been gone for 5 seconds without coming back.
2009-02-10 00:58:11 -05:00
Dan O'Reilly
e84a637d31
Fix some issues with the GUI statusbar being incorrect.
...
Make wicd-client more tolerant of dbus exceptions.
Disconnect from both managed interfaces before making a connection.
2009-02-07 01:22:42 -05:00