Ethereal-users: Re: [Ethereal-users] New Ethereal install v9.11

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Martin Regner" <martin.regner@xxxxxxxxx>
Date: Wed, 12 Mar 2003 18:07:55 +0100
Arya Salahi wrote:

>
>Hello all,
>
>I recently uninstalled Ethereal version 9.1 on my windows 2000 laptop and installed version 9.11. 
>I did not upgrade winpcap because I have a lot of other tools that depend on it and was not sure what would happen if I 
>uninstalled it.  However, the download page said to upgrade winpcap if running windows XP which I don't have.  
>
>Ethereal works fine except for the annoying fact that when I run it, a separate cmd window opens with the following warnings:
>
>C:\Documents and Settings\asalahi.ARYA-PC\Application Data\Ethereal\preferences
>line 141: No such preference "gtpv0.gtpv0_port"
>C:\Documents and Settings\asalahi.ARYA-PC\Application Data\Ethereal\preferences
>line 145: No such preference "gtpv0.gtpv1c_port"
>C:\Documents and Settings\asalahi.ARYA-PC\Application Data\Ethereal\preferences
>line 149: No such preference "gtpv0.gtpv1u_port"
>C:\Documents and Settings\asalahi.ARYA-PC\Application Data\Ethereal\preferences
>line 153: No such preference "gtpv0.gtp_dissect_tpdu"
>C:\Documents and Settings\asalahi.ARYA-PC\Application Data\Ethereal\preferences
>line 158: No such preference "gtpv0.gtpv0_dissect_cdr_as"
>C:\Documents and Settings\asalahi.ARYA-PC\Application Data\Ethereal\preferences
>line 162: No such preference "gtpv0.gtpv0_check_etsi"
>C:\Documents and Settings\asalahi.ARYA-PC\Application Data\Ethereal\preferences
>line 166: No such preference "gtpv0.gtpv1_check_etsi"
>
>Does anyone know how to get rid of this??
>
>Any help would be appreciated.....


The reason is probably that someone has removed some preference options in the GTP dissector between version 0.9.1 and 0.9.11.
Instead of removing preference options in the source code it is better to change them to obsolete by using prefs_register_obsolete_preference(...) in the source code of the dissector. 
That way the newer Ethereal version will not complain, and an older version will use the preference value from the preference file.

But since that probably wasn't done when changing the GTP dissector you'll have to manually remove some lines in the file
C:\Documents and Settings\asalahi.ARYA-PC\Application Data\Ethereal\preferences
to get rid of these warnings

>line 141: No such preference "gtpv0.gtpv0_port"
Search for "gtpv0.gtpv0_port" in the file and remove or comment out that line (by setting "# " before it).

Do the same for the other preference options that seems to have been removed between 0.9.1 and 0.9.11:
>line 145: No such preference "gtpv0.gtpv1c_port"
>line 149: No such preference "gtpv0.gtpv1u_port"
>line 153: No such preference "gtpv0.gtp_dissect_tpdu"
>line 158: No such preference "gtpv0.gtpv0_dissect_cdr_as"
>line 162: No such preference "gtpv0.gtpv0_check_etsi"
>line 166: No such preference "gtpv0.gtpv1_check_etsi"