LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 08-02-2013, 11:03 AM   #1
elmrjuice
LQ Newbie
 
Registered: Aug 2013
Posts: 2

Rep: Reputation: Disabled
Network device name


I'm trying to setup a vpn and the tutorial says that if you have wifi use your network device name instead of "eth0" but idk what it is
how do i find out?

Last edited by elmrjuice; 08-02-2013 at 11:30 AM.
 
Old 08-02-2013, 12:03 PM   #2
Cyberarmy
LQ Newbie
 
Registered: Feb 2009
Location: Chicago
Distribution: Archlinux
Posts: 29

Rep: Reputation: 17
I do belive

I belive you can use the command

#ip link

I'll show you the device name in the 2nd line at the beginning..

Last edited by Cyberarmy; 08-02-2013 at 12:42 PM.
 
Old 08-02-2013, 08:27 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Try
Code:
ifconfig
For a wireless device its often like wlan0 or similar.
If in doubt, post the output of the ifconfig cmd.
 
1 members found this post helpful.
Old 08-02-2013, 09:52 PM   #4
elmrjuice
LQ Newbie
 
Registered: Aug 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
ifconfig worked perfectly, thanks chris!
 
Old 08-04-2013, 02:28 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Glad to help
Incidentally, on RHEL derived/related distros, the device cfg files are in /etc/sysconfig/network-scripts.
 
  


Reply



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
cannot activate network device eth0 e1000 device saraja Linux - Newbie 1 09-12-2011 03:56 AM
Where is the network device? essdeeay Linux - Networking 1 04-21-2006 10:10 AM
3c905C network card in docking station. Cannot activate network device eth0. pathelms Linux - Networking 4 04-12-2006 02:55 PM
Network card not working? Cannot activate network device eth0 lifeonitsown Linux - Networking 1 11-17-2005 06:30 AM
no network device?!?! sjefke37 Linux - Newbie 8 03-28-2004 12:58 PM

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

All times are GMT -5. The time now is 11:54 PM.

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