LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 08-15-2015, 10:02 PM   #1
andalogokct
LQ Newbie
 
Registered: Aug 2015
Posts: 9

Rep: Reputation: Disabled
Configuring Network(BASICS) Do I have only 1 Device(Interface) ?


How do I see how many devices I have and what are the names of them? because I can't upload every new network I configure just because of that.

I configure the damn network like "name eth1, device eth1" and it says on the first, second line OK, but on the third it fails because it can't locate the device..



My default network is auto dhcp as you guys can see..

i'm trying to create another one automatically, one statically(just to see if it goes well) and one WAN connected to my modem for tests purposes of my iptables section(I Tried system-config-network-tui, via graphics in Linux and statically).

it doesn't upload the network.. I type "ifconfig -a" and it just appears the dafult eth0.
Attached Thumbnails
Click image for larger version

Name:	eth0.png
Views:	40
Size:	54.5 KB
ID:	19169   Click image for larger version

Name:	Auto.png
Views:	37
Size:	36.4 KB
ID:	19170  

Last edited by andalogokct; 08-15-2015 at 10:07 PM.
 
Old 08-16-2015, 03:36 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,678

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
There are a few tools to show hardware information. The simplest is to look at the output of the lspci and lsusb commands. This will show all devices on the PCI and USB buses. The output of the ifconfig -a command should show all recognized network devices including those inactive and not being used.

You can create virtual ethernet devices but not wireless if you do not have an actual physical WiFi adapter.
 
Old 08-16-2015, 10:55 PM   #3
andalogokct
LQ Newbie
 
Registered: Aug 2015
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
There are a few tools to show hardware information. The simplest is to look at the output of the lspci and lsusb commands. This will show all devices on the PCI and USB buses. The output of the ifconfig -a command should show all recognized network devices including those inactive and not being used.

You can create virtual ethernet devices but not wireless if you do not have an actual physical WiFi adapter.
That's the problem.. I create one then I type the device "eth1" but it doesn't work...

when I try ifconfig eth1 up it says that the device does not exist and when I run ifconfig -a it just shows the default eth0.

Why is it not working ?

look at the pictures below
Attached Thumbnails
Click image for larger version

Name:	eth1(3).png
Views:	17
Size:	150.7 KB
ID:	19183   Click image for larger version

Name:	eth1(2).png
Views:	19
Size:	146.7 KB
ID:	19184   Click image for larger version

Name:	eth1.png
Views:	18
Size:	172.7 KB
ID:	19185  
 
Old 08-16-2015, 11:30 PM   #4
andalogokct
LQ Newbie
 
Registered: Aug 2015
Posts: 9

Original Poster
Rep: Reputation: Disabled
Also, for the most networks I configure, the command "ifconfig -a" shows just the default "eth0" and its loopback interface, it has never showed anything more than that
 
Old 08-17-2015, 06:01 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,678

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
Did you add a second interface in virtualbox manager?
 
1 members found this post helpful.
Old 08-17-2015, 09:49 AM   #6
andalogokct
LQ Newbie
 
Registered: Aug 2015
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Did you add a second interface in virtualbox manager?
Yes, I just done that. It works now, didn't know the problem was so simple..

btw this one must be way simpler than that, just adding how do I create a WAN connected to my switch ? Do I just have to choose "modem" in system-config-network-tui ?

Thanks a lot for helping!!
 
Old 08-17-2015, 10:28 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,678

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
If I understand the question by choosing bridged networking for one of the adapters it will be directly connected to the physical card and appear on your actual LAN.

http://www.virtualbox.org/manual/ch06.html

Last edited by michaelk; 08-18-2015 at 07:44 PM.
 
1 members found this post helpful.
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No interface fetching: no device found sushan Linux - Wireless Networking 6 08-02-2011 12:56 AM
problem with interface device of network pavankumar.p Linux - Newbie 18 03-15-2010 01:59 PM
Telnet to usb device on interface usb0 (and find IP of device) chickenlinux Linux - Networking 4 10-18-2009 11:18 AM
Q: WiFi Interface ath0 - No such device solamour Slackware 2 10-13-2006 01:55 AM
Fixing interface to device. ugenn Linux - Networking 1 09-07-2003 10:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

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