Re: Can I manually edit /etc/NetworkManager/system-connections/*

2014-09-26 Thread Ravi Parimi
Thomas/Justin,

Thanks for your answers. I will explore nm-tui.

Regards,
ravi


On Fri, Sep 26, 2014 at 12:29 AM, Thomas Haller  wrote:
> On Thu, 2014-09-25 at 21:02 -0500, Justin Brown wrote:
>> There's no problem with editing those files, but they need to be owned
>> root:root and 600 permissions.
>>
>>
>> Use `nmcli con reload` to load the files after you create/modify them.
>> Then, nmcli con  up to activate. This was a recent change to
>> NM to not autoload modifications.
>>
>>
>> You could look at using nmcli to create the connections, but it's
>> basically no different than writing the keyfiles yourself. There is an
>> integrated editor to nmcli and a separate curses application, nmtui,
>> if you want something more interactive for your users.
>
>
> I think nmcli/nmtui is great for CLI (at least with NM version >=
> 0.9.9).
>
> And for CLI/scripting I also would strongly prefer nmcli over editing
> configuration by hand/script.
>
> YMMV
>
>
> Thomas
>
>>
>>
>> Dan's blog
>> post, 
>> http://blogs.gnome.org/dcbw/2014/06/20/well-build-a-dream-house-of-net/, 
>> covers some of these features.
>>
>>
>> /Justin
>>
>> On Thu, Sep 25, 2014 at 8:52 PM, Ravi Parimi 
>> wrote:
>> Forgive me if this is a FAQ or has already been answered
>> elsewhere. I
>> read through a few man pages and searched the archives but
>> didn't find
>> anything related to my question.
>>
>> I'm trying to provide a text-based user interface to a linux
>> system
>> wherein a user will enter IP address settings that need to be
>> configured on the host. I later convert this data into
>> NetworkManager-friendly format and write it directly to
>> /etc/NetworkManager/system-connections/eth0.
>>
>> For e.g I convert the user-input data for static IP settings
>> into:
>>
>> [ipv4]
>> method=manual
>> addresses1=10.10.24.16/16,10.10.0.1
>> dns=10.12.0.254
>>
>> On my jessie/sid debian, these settings take effect soon after
>> I write
>> the file. However, the same procedure doesn't work on Ubuntu
>> 14.04.1.
>> Is there an additional step (such as send SIGHUP to
>> network-manager
>> etc.) that is needed for NM to apply the settings?
>>
>> Is this method of directly editing the file under
>> system-connections
>> recommended/correct? If not, what is the best way of applying
>> changes
>> via the CLI?
>>
>> Thanks!
>> ___
>> networkmanager-list mailing list
>> networkmanager-list@gnome.org
>> https://mail.gnome.org/mailman/listinfo/networkmanager-list
>>
>>
>> ___
>> networkmanager-list mailing list
>> networkmanager-list@gnome.org
>> https://mail.gnome.org/mailman/listinfo/networkmanager-list
>
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Can I manually edit /etc/NetworkManager/system-connections/*

2014-09-25 Thread Ravi Parimi
Forgive me if this is a FAQ or has already been answered elsewhere. I
read through a few man pages and searched the archives but didn't find
anything related to my question.

I'm trying to provide a text-based user interface to a linux system
wherein a user will enter IP address settings that need to be
configured on the host. I later convert this data into
NetworkManager-friendly format and write it directly to
/etc/NetworkManager/system-connections/eth0.

For e.g I convert the user-input data for static IP settings into:

[ipv4]
method=manual
addresses1=10.10.24.16/16,10.10.0.1
dns=10.12.0.254

On my jessie/sid debian, these settings take effect soon after I write
the file. However, the same procedure doesn't work on Ubuntu 14.04.1.
Is there an additional step (such as send SIGHUP to network-manager
etc.) that is needed for NM to apply the settings?

Is this method of directly editing the file under system-connections
recommended/correct? If not, what is the best way of applying changes
via the CLI?

Thanks!
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Help on wireless network connectivity

2008-08-14 Thread Ravi
Thanks a lot , I could able to connect internet now.

Regards,
ravi

Larry Finger <[EMAIL PROTECTED]> wrote: Ravi wrote:
> Hi,
>  
> I have installed fedora 9 on my laptop recently and I wanted to enable 
> WiFi using Network manager.
> Lan interface : Broadcom 802.11a/b/g WLAN
>  
> Please help me how can I get this done.

Please tell us more. From a terminal, issue the command '/sbin/lspci 
-nnv', find the first two lines of the output that describe your 
wireless, and post them. Note: I'm not certain that lspci is in /sbin. 
If you get a "command not found", become root and issue the command 
'lspci -nnv'.

Second, issue the command 'dmesg | grep b43' and post the results.

Larry



   ___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Help on wireless network connectivity

2008-08-14 Thread Ravi
Hi Larry,
   
Output of lspci looks as below:
  00:00.0 RAM memory [0500]: nVidia Corporation MCP67 Memory Controller 
[10de:0547] (rev a2)
  Subsystem: Hewlett-Packard Company Unknown device [103c:30cf]
  Flags: bus master, 66MHz, fast devsel, latency 0
  Capabilities: 
  And the output of dmesg as below:
   
  firmware (version 4).
  b43-phy0: Broadcom 4311 WLAN found
  b43-phy0 debug: Found PHY: Analog 4, Type 2, Revision 9
  b43-phy0 debug: Found Radio: Manuf 0x17F, Version 0x2050, Revision 2
  input: b43-phy0 as /devices/virtual/input/input10
  b43-phy0 ERROR: Firmware file "b43/ucode13.fw" not found or load failed.
  b43-phy0 ERROR: You must go to 
http://linuxwireless.org/en/users/Drivers/b43#devicefirmware and download the 
latest 
   
  May be i am not having right devicefirmware to support.I am trying to 
download firmware.
   
  thanks a lot
   
  regards,
  Ravi
  

Larry Finger <[EMAIL PROTECTED]> wrote:
  Ravi wrote:
> Hi,
> 
> I have installed fedora 9 on my laptop recently and I wanted to enable 
> WiFi using Network manager.
> Lan interface : Broadcom 802.11a/b/g WLAN
> 
> Please help me how can I get this done.

Please tell us more. From a terminal, issue the command '/sbin/lspci 
-nnv', find the first two lines of the output that describe your 
wireless, and post them. Note: I'm not certain that lspci is in /sbin. 
If you get a "command not found", become root and issue the command 
'lspci -nnv'.

Second, issue the command 'dmesg | grep b43' and post the results.

Larry



   ___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Help on wireless network connectivity

2008-08-14 Thread Ravi
Hi,
   
  I have installed fedora 9 on my laptop recently and I wanted to enable WiFi 
using Network manager.
  Lan interface : Broadcom 802.11a/b/g WLAN
   
  Please help me how can I get this done.
   
  thanks,
  Ravi

   ___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list