LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 06-30-2016, 02:24 AM   #1
shajay12
LQ Newbie
 
Registered: Jan 2009
Posts: 28

Rep: Reputation: 0
Assign IP Address To open Suse new VM


Hi Everyone

How to assign ip address to new installed Open suse VM.

I have created a VMware VM Open Suse machine with .iso image.

now the ifconfig command shows this output.

inet addr : 127.0.0.1 mask: 255.0.0.0

Please suggest me.

Thank You in advance.

Vijay
 
Old 06-30-2016, 07:02 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by shajay12 View Post
Hi Everyone
How to assign ip address to new installed Open suse VM.

I have created a VMware VM Open Suse machine with .iso image. now the ifconfig command shows this output.

inet addr : 127.0.0.1 mask: 255.0.0.0

Please suggest me.
The machine you created and HOW you created it, is of absolutely no importance in this context. You don't say what VERSION of openSUSE, but you would configure the network interface on a VM the same as you would on any OTHER system:
  • Find out the network device name
  • Read the man page on ifconfig, and put the appropriate values in
So, what's the output of "ifconfig -a"? You've very obviously only shown us the loopback device, but not the OTHER devices, such as eth0. Also, you've been working with Linux for SEVEN YEARS now....shouldn't doing a VERY basic network configuration be something you know? Did you try putting "opensuse network configuration" into Google, and reading any of the thousands of how-to's? Like the ones on the openSUSE SITE????
https://www.suse.com/documentation/s...t_manconf.html
https://www.suse.com/documentation/s...cnet_yast.html
 
Old 06-30-2016, 07:10 AM   #3
shajay12
LQ Newbie
 
Registered: Jan 2009
Posts: 28

Original Poster
Rep: Reputation: 0
this is opensuse 10.2

when i run this command, it says.

##ifup eth0

Interface eth0 not available.

what can the problem ???
 
Old 06-30-2016, 07:13 AM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Your current problem is you didn't read what TB0ne wrote.
 
1 members found this post helpful.
Old 06-30-2016, 07:50 AM   #5
shajay12
LQ Newbie
 
Registered: Jan 2009
Posts: 28

Original Poster
Rep: Reputation: 0
if i am not able to understand any thing .

please tell me. i have search on google and read many articles.

i have tried lots of trouble shooting, still the problem not resolved.

Please help .

thank you for all your help.
 
Old 06-30-2016, 08:39 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
All information has some value...

Did you add a virtual network adapter to your VM. If you did then which one did you select? The available choices do depend on version and guest.
 
1 members found this post helpful.
Old 06-30-2016, 09:09 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by shajay12 View Post
this is opensuse 10.2
when i run this command, it says.

##ifup eth0

Interface eth0 not available. what can the problem ???
Again: you have been here for SEVEN YEARS, and ostensibly working with Linux that long. Have you never, EVER, done any basic network configurations??? As I said in my very first reply, run "ifconfig -a" and look at what interfaces are available. You didn't do that, or ignored what was said.

Secondly, openSUSE 10.2 is OLD...the latest is 13.2, unless you load Tumbleweed. Why are you running something old and unsupported?
Quote:
Originally Posted by shajay12
if i am not able to understand any thing . please tell me. i have search on google and read many articles. i have tried lots of trouble shooting, still the problem not resolved.
Yes..."lots of trouble shooting"....except running the commands you were given, providing the information you were asked for, and doing any basics. As michaelk said...did you add a network adapter? If so, running the "ifconfig -a" statement will tell you what it IS. THEN you run the "ifconfig" on it, or follow the two tutorials you were handed previously.

Again, after seven years, all this should be self-evident.
 
Old 06-30-2016, 10:04 AM   #8
shajay12
LQ Newbie
 
Registered: Jan 2009
Posts: 28

Original Poster
Rep: Reputation: 0
i ran the ifconfig ,

it gives inet addr as 127.0.0.1
 
Old 06-30-2016, 10:21 AM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by shajay12 View Post
i ran the ifconfig, it gives inet addr as 127.0.0.1
You don't appear to be reading/understanding/paying attention to, what you're being told.

AGAIN:
  • You were asked if you had set up the network adapter in the VM. DID YOU??? If not, GO AND DO IT FIRST.
  • Run "ifconfig -a"
  • POST THESE RESULTS if, after seven years, you cannot determine what the interface names are
  • If the interface name is anything OTHER THAN lo, then THAT is what you will configure
  • Configure it using the tutorials you were handed before
If you're not going to take advice and answer questions/do things, there is no point in posting a question.
 
Old 06-30-2016, 10:29 AM   #10
shajay12
LQ Newbie
 
Registered: Jan 2009
Posts: 28

Original Poster
Rep: Reputation: 0
at present i am not in front the machine. i will reply the output of all the commands , which you have asked.

thank you every one. As you people have more expertise on Linux flavors. You can help me.

thanks.
 
Old 06-30-2016, 10:32 AM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by shajay12 View Post
at present i am not in front the machine. i will reply the output of all the commands , which you have asked.

thank you every one. As you people have more expertise on Linux flavors. You can help me.
Sorry, but you've been using Linux for SEVEN YEARS. Setting up an interface is basic.

And AGAIN, you are not acknowledging what's being told to you. You were told to load the LATEST openSUSE, rather than the old/unsupported version. You're posting follow-ups with no new information, and have had to be asked MULTIPLE TIMES the same questions. We are happy to help, but YOU need to participate, read, and understand what you're being told.
 
Old 06-30-2016, 09:14 PM   #12
shajay12
LQ Newbie
 
Registered: Jan 2009
Posts: 28

Original Poster
Rep: Reputation: 0
how i can insert images or print screen to this reply
 
Old 06-30-2016, 09:19 PM   #13
shajay12
LQ Newbie
 
Registered: Jan 2009
Posts: 28

Original Poster
Rep: Reputation: 0
here is the output of all commands. my requirement is for opensuse 10.2 . i can not install new versions.

susel0 :~ # ifconfig -a
10 Link encaszocal Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inets addr: ::1/128 Scope:l-|ost
UP LODPBMK mums [1111:1636 "atrial
RX packets:1912 errors:0 dropped:0 overruns:0 frame:0
TX packets:1912 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelenzo
RX bytes:115098 (112.4 Kb) TX bytes:115098 (112.4 Kb)

sitB Link encap:IPv6-in-IPv4
NOARP MTU:1400 Metric:1
RX packetszo errors:0 dropped:0 overruns:0 frame
TX packetszo errors:0 dropped:0 overruns:0 carrier:0
collisionszo txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

suse10:~ #
 
Old 06-30-2016, 09:25 PM   #14
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Shutdown the VM and look at its network settings. Is there a network adapter? If not you need to add one.
 
Old 06-30-2016, 10:54 PM   #15
shajay12
LQ Newbie
 
Registered: Jan 2009
Posts: 28

Original Poster
Rep: Reputation: 0
yes just now i have checked

earlier was some EMX1 adapter ,

now i have added E1000 adapter .

now the ifconfig -a gives this but when i try to connect with putty , it says connection refused. please suggest. i think we are on finish point . after this the problem will be resolved.

suse10:~ # ifconfig

eth0 Link encaszthernet I-Maddr 00:50:56:BFB:05
inet addr:176.26.1.194 Bcast:176.26.1.255 Mask:255.255.255.0
UP BROADCAST MING FIJLTICAST M'I'U:1500 Met ric:1
RX packets:769 errors:0 dropped:0 overruns:0 frue:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions :0 txqueuelen: 1000
RX bytes:76070 (75.0 Kb) TX bytes:1351 (1.3 Kb)
Base address:0x2000 Memry:fd5c0000-fd5e0000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LO0PBAO( MING "111:16436 Metric:1
RX packets:542 errors:0 dropped:0 overruns:0 framez0
TX packets:542 errors:0 dropped:0 overruns:0 carrier:0
collisions :0 txqueuelen :0
RX bytes:27100 (26.4 Kb) TX bytes:27100 (26.4 Kb)

suse10:~ #
 
  


Reply

Tags
ip address, opensuse



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
How to assign a name address to a valid IP massy Linux - Server 1 09-07-2014 04:31 AM
Linux networking to assign a address to my ethernet address karthik3152 Linux - Networking 1 05-29-2011 09:37 AM
Program to assign globa lIPv6 address and bind() to the previously assigned address. mwnn Linux - Networking 2 10-07-2010 02:29 AM
how to assign ip to known mac address only fedora_user Linux - Newbie 12 05-06-2008 10:49 AM
Can not assign IP address jtir Solaris / OpenSolaris 1 09-28-2005 03:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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