LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-01-2017, 02:27 PM   #1
krishnar
Member
 
Registered: May 2016
Posts: 32

Rep: Reputation: Disabled
Interface config in Ubuntu


Hi All,

My Ubuntu laptop is connected to Wifi and it's getting IP address via DHCP.

krishna@krishna-Satellite-M300:/etc$ ifconfig wlp8s0
wlp8s0 Link encap:Ethernet HWaddr 00:21:6b:24:95:dc
inet addr:192.168.0.130 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::221:6bff:fe24:95dc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13217 errors:0 dropped:0 overruns:0 frame:0
TX packets:8352 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12005215 (12.0 MB) TX bytes:1877750 (1.8 MB)

I tried to find the corresponding configuration file which has DHCP settings. But I couldn't find that.

krishna@krishna-Satellite-M300:/etc$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

krishna@krishna-Satellite-M300:/etc$


Is this the right file to check or is there any other file which hold the configuration of wifi interface?

Krishna
 
Old 03-01-2017, 02:31 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,276

Rep: Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021
Are you using NetworkManager perhaps?
 
Old 03-01-2017, 02:32 PM   #3
krishnar
Member
 
Registered: May 2016
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
Are you using NetworkManager perhaps?
I don't know..How to check that? I will try read and find more about that too.
 
Old 03-01-2017, 02:39 PM   #4
krishnar
Member
 
Registered: May 2016
Posts: 32

Original Poster
Rep: Reputation: Disabled
Yes, looks like network-manager is running and its aware of all my SSID and passwords..

krishna@krishna-Satellite-M300:/etc/NetworkManager$ service network-manager status
● NetworkManager.service - Network Manager
Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2017-03-01 12:08:57 PST; 28min ago
 
Old 03-01-2017, 03:01 PM   #5
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,276

Rep: Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021
The relevant connection configurations are located in the /etc/NetworkManager/system-connections/ directory, should you wish to look under the hood.
 
  


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] No interface config file for new adapter ilesterg Linux - Server 2 08-28-2015 10:02 AM
ERROR: The interface does not exist (UBUNTU) interface eth0 not configured anshulbhatt Linux - Networking 2 11-20-2008 12:23 PM
Find the config file of a network interface helptonewbie Programming 4 11-08-2007 04:51 AM
Config shorewall-two-interface question satimis Linux - Networking 0 11-04-2003 10:32 AM
Network Interface Config at Bootup lyew Linux - Networking 1 05-03-2003 08:57 PM

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

All times are GMT -5. The time now is 05:26 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
Open Source Consulting | Domain Registration