RutilT won't save my profil

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=5079

slaanesh

12-11-2008 16:10:41

Hi,

First, thanks to the team for their work, you made my use of wifi possible!

Sadly, I've only one issue, not very important but quite confusing RutilT won't save my connection profil (
I tried to run it with or without root privileges but there is no difference...I am able to connect to my network using my profil but RutilT does not save it at any time (even when I quit it) so I have to create it at each start (

Here is the content of rutilt configuration directory
[code3e8jte1c]
ls -l /home/slaanesh/.config/rutilt/
total 4
-rw-r--r-- 1 slaanesh slaanesh 179 2008-11-12 10:01 RutilT_options.xml
[/code3e8jte1c]

There is no such directory into /root/.config

RutilT version
[code3e8jte1c]
rutilt --version
RutilT 0.18-0ubuntu1
[/code3e8jte1c]

Does someone has any idea?

Spy84464

13-11-2008 18:40:46

Hello,
This is weird, RutilT manages to save the application options apparently, so there should be no reason why it would fail with the profiles.
Do you have write permission in the directory "/home/slaanesh/.config/rutilt/"?
Which driver are you using? Can you post the output of "iwcondig"?
If you run RutilT from the command line, create a profile, then quit the application, is there anything printed in the terminal?

Regards,
Romain

slaanesh

13-11-2008 21:27:58

This is weird, RutilT manages to save the application options apparently, so there should be no reason why it would fail with the profiles.
Do you have write permission in the directory "/home/slaanesh/.config/rutilt/"?
[/quote29r5vz9t]
Yes I do


Which driver are you using? Can you post the output of "iwcondig"?
[/quote29r5vz9t]
I am using rt73 module.
Here is the output of iwconfig
[code29r5vz9t]
wlan0 RT73 WLAN ESSID:"cocon"
Mode:Managed Frequency=2.452 GHz Access Point: B6:DC:5B:9D:6F:F8
Bit Rate=54 Mb/s
RTS thr:off Fragment thr:off
Encryption key:FF00-1AA3-EA79-F747-C77B-035F-F486-E860
Link Quality=81/100 Signal level:-58 dBm Noise level:-63 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
[/code29r5vz9t]


If you run RutilT from the command line, create a profile, then quit the application, is there anything printed in the terminal?[/quote29r5vz9t]
Nothing is printed at all

Spy84464

14-11-2008 18:48:31

From the version label you posted, you installed RutilT from an Ubuntu package, didn't you? Which version of Ubuntu are you using? I'll try that package if possible (I'm running Debian).

slaanesh

15-11-2008 15:07:02

I'm using Ubuntu 8.10 (Intrepid).

About rutilt package
[code39nsqfuj]
apt-cache show rutilt
Package: rutilt
Priority: optional
Section: universe/net
Installed-Size: 760
Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>
Original-Maintainer: Cesare Tirabassi <norsetto@ubuntu.com>
Architecture: i386
Version: 0.18-0ubuntu1
Depends: libatk1.0-0 (>= 1.20.0), libc6 (>= 2.4), libcairo2 (>= 1.2.4), libfontconfig1 (>= 2.4.0), libfreetype6 (>= 2.3.5), libgcc1 (>= 1:4.1.1), libglib2.0-0 (>= 2.16.0), libgtk2.0-0 (>= 2.14.1), libpango1.0-0 (>= 1.21.3), libstdc++6 (>= 4.2.1), libx11-6, zlib1g (>= 1:1.1.4)
Filename: pool/universe/r/rutilt/rutilt_0.18-0ubuntu1_i386.deb
Size: 262482
MD5sum: e0faad61d474db56955e7ba5d88818da
SHA1: 69a94c5c058c53fd4bdf53101478ef5c8cc90122
SHA256: 90adc411c0f27d9c61a3d061843dfdd551d502b9d326a119ad4aea4d6d64e2ff
Description: Configuration tool for rt2x00 wireless network cards
RutilT is a Gtk+2 utility for Linux that helps you configure your wireless
devices. Although primarily written for the rt2x00 project, it supports any
Linux wireless extensions compliant kernel module.
Homepage: http://bonrom.cbbknet.com/
Bugs: mailto:ubuntu-users@lists.ubuntu.com
Origin: Ubuntu
[/code39nsqfuj]

pablomme

17-11-2008 16:34:35

Same here on Ubuntu Hardy, with rutilt 0.16-0ubuntu1 and an rt73 card. I do have a ~/.config/rutilt/RutilT_profiles.xml, but it contains

[code3o9xy15q]
<?xml version="1.0" encoding="UTF-8"?>
<Rutilt_Profiles>
</Rutilt_Profiles>
[/code3o9xy15q]

regardless of me defining profiles. Same about ~/.config/rutilt/RutilT_options.xml, it ignores any changes I make to the configuration.

pablomme

17-11-2008 16:43:56

Just tried compiling v0.18 from source. That works as it should. There appears to be something wrong with the Ubuntu package.

Spy84464

17-11-2008 19:17:47

Ok, thank you for the test. This is what i wanted to check too, maybe you should create a bug on launchpad, or send an email to the packager?

pablomme

17-11-2008 19:50:14

Hold on, maybe this was not the whole story. I've just realized that in order to save a profile I need to create it from the "Site Survey" tab, and then switch to the "Profiles" tab, click on the profile, click "Edit" and click "OK". That's when the Rutilt_profiles.xml file becomes non-empty. Is this intended? Perhaps the Ubuntu package had the same behaviour and I didn't realize.

Another slight annoyance happens when I create a profile from the "Site Survey" tab. Rutilt correctly detects most of the settings, except the authentication method, which appears as WPAPSK. When I set it to WPA2PSK, the encryption method gets reset to TKIP, although it was correctly detected as AES.

slaanesh

17-11-2008 20:16:22

Hold on, maybe this was not the whole story. I've just realized that in order to save a profile I need to create it from the "Site Survey" tab, and then switch to the "Profiles" tab, click on the profile, click "Edit" and click "OK". That's when the Rutilt_profiles.xml file becomes non-empty. Is this intended? Perhaps the Ubuntu package had the same behaviour and I didn't realize.

Another slight annoyance happens when I create a profile from the "Site Survey" tab. Rutilt correctly detects most of the settings, except the authentication method, which appears as WPAPSK. When I set it to WPA2PSK, the encryption method gets reset to TKIP, although it was correctly detected as AES.[/quote2eviz39t]

I tried this method but it does not ork for me the profil is still not saved

pablomme

17-11-2008 20:30:40

[quote2mpox0fs]I tried this method but it does not ork for me the profil is still not saved[/quote2mpox0fs]

Was this with the Ubuntu package or compiling from the sources? The only other thing I did (before I bumped into this forum) was
[code2mpox0fs]sudo ln -s $HOME/.config/rutilt /root/.config/[/code2mpox0fs]
in an attempt to prevent user/root config location mismatches. Does this help?

slaanesh

17-11-2008 21:14:08

Was this with the Ubuntu package or compiling from the sources? The only other thing I did (before I bumped into this forum) was
[code2rfry92b]sudo ln -s $HOME/.config/rutilt /root/.config/[/code2rfry92b]
in an attempt to prevent user/root config location mismatches. Does this help?[/quote2rfry92b]
I tried the symlink as well but it didn't help...I'm using the Ubuntu package

Spy84464

19-11-2008 19:32:53

in order to save a profile I need to create it from the "Site Survey" tab, and then switch to the "Profiles" tab, click on the profile, click "Edit" and click "OK".[/quote1jjuijgk]
This is definitely a bug on my side, it's now fixed in the CVS. However it does not prevent profiles created from the profile tab (or edited, as you worked-around) from being saved, so there is still something suspect with the Ubuntu package.

Another slight annoyance happens when I create a profile from the "Site Survey" tab. Rutilt correctly detects most of the settings, except the authentication method, which appears as WPAPSK. When I set it to WPA2PSK, the encryption method gets reset to TKIP, although it was correctly detected as AES.[/quote1jjuijgk]
There are two things here
1) The first element of the encryption combo box is selected every time authentication is changed. This is intended, because the content of this box may change completely, e.g TKIP is not relevant when selecting authentication "NONE". But this could be annoying and error prone as you said, so I have committed some code to the CVS to keep the same encryption if possible.
2) Does RutilT fail completely to detect your network as WPA[b1jjuijgk]2[/b1jjuijgk]PSK? Or is the data not properly forwarded from the site survey tab to the profile?

Thank you for the report!

That symlink will only be useful if you notice that the profiles are not recorded at the appropriate place, but won't help if they are not recorded at all.

pablomme

19-11-2008 20:12:36

[quote1iuns7jo]This is definitely a bug on my side, it's now fixed in the CVS.[/quote1iuns7jo]

Thanks!

[quote1iuns7jo]I have committed some code to the CVS to keep the same encryption if possible.[/quote1iuns7jo]

Thanks!

[quote1iuns7jo]Does RutilT fail completely to detect your network as WPA2PSK? Or is the data not properly forwarded from the site survey tab to the profile?[/quote1iuns7jo]

Thing is, this was a friend's laptop I was trying to get to work, so I can't test right now because I use NetworkManager. Perhaps slaanesh can answer this?

[quote1iuns7jo]That symlink will only be useful if you notice that the profiles are not recorded at the appropriate place, but won't help if they are not recorded at all.[/quote1iuns7jo]

My idea was that maybe RutilT was trying to write to root's .config directory with the user's permissions, which would have failed, so I symlinked to make sure it had the right permissions on the target directory. But this covers a pretty small corner case, it is very unlikely that this is what made it work.

rawen81

10-08-2009 06:44:02

I have the same problem on Ubuntu 9.04 both compiled 0.18 version and 0.18 deb package... Rutilt simply doesn't save any profile and it is very annoying. Is it possible to configure profile directly in some text config file? Where can I find CVS with Rutilt project (which was mentioned above)? Thanks!

Spy84464

13-08-2009 21:23:08

Hello,
which .deb package are you using? I have an Ubuntu 9.04 installation at hand, I will try to reproduce the issue.
The CVS repository is hosted on Sourceforge, you can browse it here [url14capn8d]http://rt2400.cvs.sourceforge.net/viewvc/rt2400/source/rutilt/[/url14capn8d].

Regards,
Romain

rawen81

14-08-2009 15:50:30

hi, I already solved this problem by using compiled version of Rutilt 0.18 with compiled enhanced legacy drivers... before that i was using .deb package of Rutilt from official Ubuntu repositories (for 9.04) and driver rt63pci which was in Ubuntu's kernel...

Spy84464

14-08-2009 21:22:47

Ok, there is no problem then? )

rawen81

15-08-2009 04:54:06

no there isn't ) thank you for a very good piece of SW

ror

16-09-2009 04:44:24

This is still a problem in the ubuntu repository as of 15 September 2009, any progress on getting it fixed there?

Recompiling 0.18 has fixed the problem as discussed.

IvD

16-09-2009 04:57:34

Well of the latest version as released by this project works, then simply ask the Ubuntu people to update the package, we don't control that.