LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Network device name (https://www.linuxquestions.org/questions/linux-newbie-8/network-device-name-4175471875/)

elmrjuice 08-02-2013 11:03 AM

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?

Cyberarmy 08-02-2013 12:03 PM

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..

chrism01 08-02-2013 08:27 PM

Try
Code:

ifconfig
For a wireless device its often like wlan0 or similar.
If in doubt, post the output of the ifconfig cmd.

elmrjuice 08-02-2013 09:52 PM

ifconfig worked perfectly, thanks chris!

chrism01 08-04-2013 02:28 AM

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


All times are GMT -5. The time now is 03:42 AM.