LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-06-2018, 11:10 AM   #1
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 1,792

Rep: Reputation: 125Reputation: 125
What version of network-manager-applet is installed - Ubuntu Mate?


This is so simple a question I hate to ask it but...

On my CentOS 7 machines I can right click on the NetworkManager Applet icon on the panel and select About. This tells me I have version 1.8.0. I am comparing an Ubuntu Mate 16.04 virtual machine with an Ubuntu Mate 18.04 virtual machine. NetworkManager applet on the 18.04 machine is different in that it allows me to change the MAC of the network card. This is something I can do on CentOS 7.

I wish to compare the version of the applet on the two Ubuntu machines to determine where they are in relation to the CentOS machine. I cannot find a network-manager-applet package for Ubuntu (there is one for CentOS). I have tried apt-cache search and dpkg -l but can find no trace of the applet. Any suggestions?

TIA,

Ken
 
Old 05-06-2018, 06:30 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,480

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
I think the applet is included in the main package in Debian-based distros. It's called 'nm-applet'. But you just do
Code:
$ sudo NetworkManager -V
for the version. You can manually change the MAC with
Code:
ip link set dev interface address new mac
Bring the interface down first.
 
Old 05-06-2018, 06:54 PM   #3
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19 MATE
Posts: 6,244
Blog Entries: 2

Rep: Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995
Just for info, in Mint 18.3 MATE, based on Ubuntu 16.04, nm-applet comes in the network-manager-gnome package (v. 1.2.6-0ubuntu0.16.04.4).

AwesomeMachine is spot on with running NetworkManager to find the version, but there should be no need for sudo:

Code:
NetworkManager -V
To save you time in the future when looking for similar info, a check of your task manager will show that nm-applet is running (to get the name of the program), and then running the following command provides the parent package:

Code:
dpkg -S nm-applet
 
Old 05-06-2018, 07:30 PM   #4
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 1,792

Original Poster
Rep: Reputation: 125Reputation: 125
Thanks AwesomeMachine,

I was looking for the CentOS named program. Ubuntu 18.04 has version 1.10.6 up from 1.2.6 on the earlier release. More on the MAC in a minute.

Thanks hydrurga,

That is a good tip about using task manager. I have done that and also used something like
Code:
ps aux | grep applet
Had I done the latter I would have found the name of what I was looking for

I am not familiar with the -S option to dpkg. I do not find it in the man page. It does present a lot of information. Thanks again.


As far as changing the MAC...

I periodically change my Internet IP address. Why is a story for another day. For a LONG time I could issue a Release/Renew from my router and get a new address. Then the ISP changed something on their dhcp server and I had to do a Release/reboot on the router.

I am now using a small PC as my router (DSL modem in bridge mode). Over the past couple of months the ISP has made more changes (which their support folks know nothing about). I had been able do a dhclient -r then cycle the interface to get my new address. Then that quit working. I had to reboot the PC. Then that quit working. I had to plug a different device into the modem which forced a new address. That works IF I can even connect again. I set the MAC on the Internet facing NIC to "random" using network-manager-applet (CentOS) and cycled the interface. That worked twice when I tested it on Friday. I copied the commands to a script and tried it again today. Hosed up the works.

In the middle of all this I had replaced the CentOS PC with a Raspberry Pi - Ubuntu Mate 16.04. Worked fine except for the change address issue. Had several things work and then not work.

Network Manager's stated goal is to make networking "just work." It does that provided I want it to work the way NM wants it to work. Sort of like something from Microsloth

Ken
 
Old 05-06-2018, 07:39 PM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19 MATE
Posts: 6,244
Blog Entries: 2

Rep: Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995
Hi Ken,

dpkg -S is actually dpkg-query -S, but is one of the many command line options from dpkg-deb and dpkg-query that can be used in dpkg too (it passes them on to the relevant command).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] network manager applet on MATE desktop mzzxx11 Linux - Newbie 4 11-16-2013 04:12 AM
network-manager-applet TKH Linux From Scratch 2 09-19-2012 04:59 AM
Network Manager Applet carlosinfl Debian 6 06-21-2011 09:33 PM
Network Manager Applet (nm-applet) dwhitney67 Linux - Newbie 5 02-02-2010 12:20 AM
Network Manager Applet Problem mrant0 Linux - Wireless Networking 2 04-16-2007 02:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration