Hello I'm having a problem in the start mobile application ~/osmocom-bb$ cd src/host/layer23/src/mobile ~/osmocom-bb/src/host/layer23/src/mobile$ ./mobile Copyright (C) 2008-2010 ... Contributions by ...
License GPLv2+: GNU GPL version 2 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
Failed to parse the config file: '/etc/osmocom/osmocom.cfg' Please check or create config file using: 'touch /etc/osmocom/osmocom.cfg' ~/osmocom-bb/src/host/layer23/src/mobile$
Please help me as soon as
On 03/01/2011 07:21 PM, adel wrote:
Failed to parse the config file: '/etc/osmocom/osmocom.cfg' Please check or create config file using: 'touch /etc/osmocom/osmocom.cfg' ~/osmocom-bb/src/host/layer23/src/mobile$
Please help me as soon as
What do you think this could mean? What do you plan to do about it?
the difficult problem you are having is that you can't read, unfortunately we can't fix that for you.
Please check or create config file using:
'touch /etc/osmocom/osmocom.cfg' <<<<<<
On Tue, 2011-03-01 at 10:21 -0800, adel wrote:
Hello I'm having a problem in the start mobile application ~/osmocom-bb$ cd src/host/layer23/src/mobile ~/osmocom-bb/src/host/layer23/src/mobile$ ./mobile Copyright (C) 2008-2010 ... Contributions by ...
License GPLv2+: GNU GPL version 2 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
Failed to parse the config file: '/etc/osmocom/osmocom.cfg' Please check or create config file using: 'touch /etc/osmocom/osmocom.cfg' ~/osmocom-bb/src/host/layer23/src/mobile$
Please help me as soon as
On 03/01/2011 08:00 PM, Sergio 'shadown' Alvarez wrote:
the difficult problem you are having is that you can't read, unfortunately we can't fix that for you.
We need to be more friendly, comprehensive reading in a foreign language can be difficult, maybe he tried the command and failed as he has no permission for /etc and does not really know how to continue.
This is a problem faced by ~$ touch /etc/osmocom/osmocom.cfg touch: cannot touch `/etc/osmocom/osmocom.cfg': No such file or directory Does someone has a solution to this problem
You have to create the directory first, as in "mkdir /etc/osmocom" as root (or appending sudo to your commands).
-sergio
On Mar 2, 2011, at 4:09, adel b8.adel@gmail.com wrote:
This is a problem faced by ~$ touch /etc/osmocom/osmocom.cfg touch: cannot touch `/etc/osmocom/osmocom.cfg': No such file or directory Does someone has a solution to this problem
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/Help-me-I-have-a-difficult-proble... Sent from the baseband-devel mailing list archive at Nabble.com.
On 02-03-11 04:09, adel wrote:
This is a problem faced by ~$ touch /etc/osmocom/osmocom.cfg touch: cannot touch `/etc/osmocom/osmocom.cfg': No such file or directory Does someone has a solution to this problem
Please try:
sudo mkdir /etc/osmocom sudo touch /etc/osmocom/osmocom.cfg
Gr. Sim
On 03/02/2011 08:56 AM, Sim IJskes wrote:
On 02-03-11 04:09, adel wrote:
This is a problem faced by ~$ touch /etc/osmocom/osmocom.cfg touch: cannot touch `/etc/osmocom/osmocom.cfg': No such file or directory Does someone has a solution to this problem
Hey Andreas, would you mind if we don't require special privileges to start mobile? E.g. the below patch?
diff --git a/src/host/layer23/src/mobile/main.c b/src/host/layer23/src/mobile/main.c index 87aa4c6..283e3c6 100644 --- a/src/host/layer23/src/mobile/main.c +++ b/src/host/layer23/src/mobile/main.c @@ -44,7 +44,7 @@ struct log_target *stderr_target;
void *l23_ctx = NULL; -static const char *config_file = "/etc/osmocom/osmocom.cfg"; +static const char *config_file = "osmocom.cfg"; struct llist_head ms_list; static uint32_t gsmtap_ip = 0; unsigned short vty_port = 4247;
On 03/02/2011 09:38 AM, Sylvain Munaut wrote:
Hi,
Hey Andreas, would you mind if we don't require special privileges to start mobile? E.g. the below patch?
Probably not sufficient. There is a 'cache' file created in /etc/osmocom somewhere ...
Sylvain
There are also the permissions on the tty file (/dev/ttyUSB0 for me). On my system it belongs to root/dialout. I know that it can be fixed changing the groups for my user, but if we want binaries to be run without root permissions, that should be explained somewhere. My opinion.
On 02/03/2011 09:34, Holger Hans Peter Freyther wrote:
Hey Andreas, would you mind if we don't require special privileges to start mobile? E.g. the below patch?
I proposed one already, that creates $HOME/osmocom.cfg instead: Message-ID: 4D441144.3000304@defora.org
About cache files, if any, they should never be stored in /etc IMHO.
HTH,
On Wed, Mar 2, 2011 at 12:02, Pierre Pronchery khorben@defora.org wrote:
On 02/03/2011 09:34, Holger Hans Peter Freyther wrote:
Hey Andreas, would you mind if we don't require special privileges to start mobile? E.g. the below patch?
I proposed one already, that creates $HOME/osmocom.cfg instead: Message-ID: 4D441144.3000304@defora.org
About cache files, if any, they should never be stored in /etc IMHO.
Well, Linux has a special /var/cache for caches of daemons. And from my experience user-run programs usually store caches under ~/.smth
And I saw some Linux systems, where /etc was placed on a read-only FS, as it's not supposed to be changed frequently.
This sound as a better solution, although I would suggest a .osmocom directory and everything else as cache/whatever inside that directory, otherwise it would be pretty dirty and messy as the project grows.
On Wed, 2011-03-02 at 10:02 +0100, Pierre Pronchery wrote:
On 02/03/2011 09:34, Holger Hans Peter Freyther wrote:
Hey Andreas, would you mind if we don't require special privileges to start mobile? E.g. the below patch?
I proposed one already, that creates $HOME/osmocom.cfg instead: Message-ID: 4D441144.3000304@defora.org
About cache files, if any, they should never be stored in /etc IMHO.
HTH,
On Wed, Mar 2, 2011 at 10:27 AM, Sergio 'shadown' Alvarez shadown@gmail.com wrote:
This sound as a better solution, although I would suggest a .osmocom directory and everything else as cache/whatever inside that directory, otherwise it would be pretty dirty and messy as the project grows.
I'd even recommend ${HOME}/.config/osmocom/ (which seem to be the new standard) and have the osmocom-bb.cfg and cell cache file in there.
Cheers,
Sylvain
On Wed, Mar 02, 2011 at 10:27:23AM +0100, Sergio 'shadown' Alvarez wrote:
This sound as a better solution, although I would suggest a .osmocom directory and everything else as cache/whatever inside that directory, otherwise it would be pretty dirty and messy as the project grows.
check the git tree, I have just done that (~/.osmocom/bb/)
mr.Sim IJskes Thank you for the assistance provided to me to solve the problem We have succeeded him your idea Accept my sincere greetings and gratitude with my hope to cooperate more Thank you
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/Help-me-I-have-a-difficult-proble... Sent from the baseband-devel mailing list archive at Nabble.com.
Does Sim IJskes method work? I tried that, but it still shown Failed to parse the config file. Could you tell me how do you fix it?
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/Help-me-I-have-a-difficult-proble... Sent from the baseband-devel mailing list archive at Nabble.com.
baseband-devel@lists.osmocom.org