Re: WEP-key format



On Tue, 2011-04-12 at 11:30 +0200, Vratislav Podzimek wrote:
> Hi,
> I am writing a simple Python client (or module) which would create a new
> wireless connection via NM D-Bus Interface. I have no problems with
> uprotected networks and also with WPA protected networks. But I cannot
> make it working with WEP. According to /var/log/messages there is a
> problem with WEP key:
> ifcfg-rh:
> parsing /etc/sysconfig/network-scripts/ifcfg-anaconda_wifi_test4 ... 
> ifcfg-rh:     error: Invalid WEP key length.
> 
> According to
> http://www.mail-archive.com/networkmanager-list gnome org/msg07935.html
> I repeat characters of passphrase to have 64 chars and then I use md5
> hex digest.
> e.g.:
> passphrase: 'abcde'
> repeated:
> 'abcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcd'
> 
> _______________________________________________
> networkmanager-list mailing list
> networkmanager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
Sorry, I accidentaly hit CTLR+ENTER instead of ENTER. So here is the
rest:
hexdigest: '04e49e18f78a0111df976d1a5a348651'

Is it possible to use this way or is there another way to be used for
getting a wep-key0 for the Connection.Settings dictionary?

Thanks a lot for your advice.
Vratislav Podzimek




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]