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 08-02-2013, 12:03 PM   #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 12:30 PM.
 
Old 08-02-2013, 01: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 01:42 PM.
 
Old 08-02-2013, 09:27 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
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, 10: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, 03:28 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

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


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


All times are GMT -5. The time now is 03:04 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