ifconfig
lo Link encap Loopback
inet address 127.0.0.1 Mask: 255.0.0.0
inet 6 addr :: 1/128 Scope: Host
UP LOOPBACK RUNNING MTU: 16436
…
…
iwconfig
lo no wireless connections
route (I get the following)
Destination: loopback
Gateway : *
Genmask : 255.0.0.0
Flags : U
Metric : 0
Ref : 0
Use : 0
Iface : lo
I need to be able to configure the host so that it is ~not~ using 127.0.0.1 but 192.168.x.x. I need the host of “simba” to be associated with 192.168.x.x and not 127.0.0.1
There is an ethernet interface but it is not showing up in any of the lists above.
I did the following:
Yast -> Network Devices -> Network Card
select ifup
I would click on a card except it just displays a message in the listing saying the card has not been configured. The buttons are “ghosted” so you cannot save anything
I also changed the /etc/hosts file so that you would get:
192.168.1.2 simba.pridelands simba
But pinging “simba” does not work, it just times out. When I set it back to :
127.0.0.2 simba.pridelands simba
Then everything works again …
Can someone please provide detailed steps on how to change my /etc/hosts file so that “simba” has an IP address of 192.168.x.x?
>
> Hello all,
>
> I have the following in my system:
>
> - cat /etc/resolv.conf
> search site
> simba: kdcadm
>
> - ifconfig
> lo Link encap Loopback
> inet address 127.0.0.1 Mask: 255.0.0.0
> inet 6 addr :: 1/128 Scope: Host
> UP LOOPBACK RUNNING MTU: 16436
> …
> …
>
> - iwconfig
> lo no wireless connections
>
> - route (I get the following)
> Destination: loopback
> Gateway : *
> Genmask : 255.0.0.0
> Flags : U
> Metric : 0
> Ref : 0
> Use : 0
> Iface : lo
>
> I need to be able to configure the host so that it is ~not~ using
> 127.0.0.1 but 192.168.x.x. I need the host of “simba” to be associated
> with 192.168.x.x and not 127.0.0.1
>
> There is an ethernet interface but it is not showing up in any of the
> lists above.
>
> I did the following:
> _______________________________________
> Yast → Network Devices → Network Card
> - select ifup
>
> I would click on a card except it just displays a message in the
> listing saying the card has not been configured. The buttons are
> “ghosted” so you cannot save anything
> _______________________________________
>
> I also changed the /etc/hosts file so that you would get:
> _______________________________________
>
> 192.168.1.2 simba.pridelands simba
> ________________________________________
>
> But pinging “simba” does not work, it just times out. When I set it
> back to :
>
> _______________________________________
>
> 127.0.0.2 simba.pridelands simba
> ________________________________________
>
> Then everything works again …
>
> Can someone please provide detailed steps on how to change my
> /etc/hosts file so that “simba” has an IP address of 192.168.x.x?
>
> The system is not connected to the network.
>
> TIA
>
>
TIA;
127.0.0.1 is the standard loopback address and is associated with “lo”. You
need to configure your network card with YAST. There you can set the IP, Mask,
Gateway, DNS etc., or you can use dhcp to set all of those for you.
P. V.
“The entropy of a closed system can never decrease”, 2nd Law of Thermodynamics
Wow… well, let’s start with TCP/IP basics. As PV already mentioned
127.0.0.1 is the loopback address. It should always be there bound to
the ‘lo’ interface (which is just a software interface… no actual NIC
to physically go along with it). Removing that would not be a good
thing for you, so leave that part alone. This is the same with every
NIC in the world in every OS in the world when TCP/IP is involved.
127.x.x.x always routes to the local system and should by definition.
Second, your /etc/hosts file is where you can associate your hostname to
an IP address, but that doesn’t mean you can suddenly ping your host by
that IP address unless your host actually has that IP address. Compare
it to something in real life… you can put a number on an envelope
destined for ‘123 d0mufasa Street’ and put it in the mailbox but unless
you actually live there the mail carrier is just going to think you’re
on drugs when he/she tries to deliver it. So, the next step for you is
to actually get the IP address you specified bound to your ethernet
address. Typically this is done in Yast under Network Devices: Network
Card. If you do not see a network card in there it’s a driver issue and
you should probably address that in a hardware or networking forum (in
fact, this should also be in the networking forum, but oh well now…
remember for next time). If you see your network card in there choose
it, edit it, choose the Traditional method, static IP, and then set your
IP, gateway, DNS servers, etc. When that is done Accept/Finish your way
out and see if that helps. If you do not see a network card in the list
of cards, again, focus on that as it may be a driver issue for the
hardware you have. Another way to see all your devices is with
‘ifconfig -a’ which you can run from the command line.
On another note I have no idea what ‘simba: kdcadm’ does in your
/etc/resolv.conf file. If you added that somehow it’s probably invalid
but if you know it is valid for that file then never mind… I’ve just
never seen something like that in there before but am also not the
authority on that file’s allowed parameters.
Give it a shot and let us know what happens.
Good luck.
d0mufasa wrote:
> Hello all,
>
> I have the following in my system:
>
> - cat /etc/resolv.conf
> search site
> simba: kdcadm
>
> - ifconfig
> lo Link encap Loopback
> inet address 127.0.0.1 Mask: 255.0.0.0
> inet 6 addr :: 1/128 Scope: Host
> UP LOOPBACK RUNNING MTU: 16436
> …
> …
>
> - iwconfig
> lo no wireless connections
>
> - route (I get the following)
> Destination: loopback
> Gateway : *
> Genmask : 255.0.0.0
> Flags : U
> Metric : 0
> Ref : 0
> Use : 0
> Iface : lo
>
> I need to be able to configure the host so that it is ~not~ using
> 127.0.0.1 but 192.168.x.x. I need the host of “simba” to be associated
> with 192.168.x.x and not 127.0.0.1
>
> There is an ethernet interface but it is not showing up in any of the
> lists above.
>
> I did the following:
> _______________________________________
> Yast → Network Devices → Network Card
> - select ifup
>
> I would click on a card except it just displays a message in the
> listing saying the card has not been configured. The buttons are
> “ghosted” so you cannot save anything
> _______________________________________
>
> I also changed the /etc/hosts file so that you would get:
> _______________________________________
>
> 192.168.1.2 simba.pridelands simba
> ________________________________________
>
> But pinging “simba” does not work, it just times out. When I set it
> back to :
>
> _______________________________________
>
> 127.0.0.2 simba.pridelands simba
> ________________________________________
>
> Then everything works again …
>
> Can someone please provide detailed steps on how to change my
> /etc/hosts file so that “simba” has an IP address of 192.168.x.x?
>
> The system is not connected to the network.
>
> TIA
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
I saw that eth0 is not configured on my system. At the time I did the installation of Opensuse, the system was not connected to the internet. Also, I remember having an option to do some kind of network configuration but declined to do so at the time.
Would the installation have configured/installed drivers for eth0 if I had it plugged up to the internet at the time? Is there some kind of auto detection that will allow me to run some kind of wizard to detect it?
Once the eth0/driver is recognized, and an IP address is assigned,
-> Would the system have to be constantly connected to the internet for it to work?
>
> Thank you so very much for the information
>
> It helps a lot.
>
> I saw that eth0 is not configured on my system. At the time I did the
> installation of Opensuse, the system was not connected to the internet.
> Also, I remember having an option to do some kind of network
> configuration but declined to do so at the time.
>
> Would the installation have configured/installed drivers for eth0 if I
> had it plugged up to the internet at the time? Is there some kind of
> auto detection that will allow me to run some kind of wizard to detect
> it?
>
> Once the eth0/driver is recognized, and an IP address is assigned,
> -> Would the system have to be constantly connected to the internet for
> it to work?
>
> TIA
>
>
mufasa;
Please look in YAST->Network Devices->Network Card. You should see eth0, and it
only needs to be configured. For help configuring your card look at this site:
By the sounds of the above, it seems the card was detected and only needs to be
configured. You would have needed to do this anyway. However, if no card
shows up in YAST, you need to post more details about your system and the NIC.
The best place would be in the hardware forum.
–
P. V.
“The entropy of a closed system can never decrease”, 2nd Law of Thermodynamics
>
> Thank you for all of the responses
>
> Basically, it seems as though the OS is not recognizing my ethernet
> card.
>
> I have been following this thread for help:
<snip>
>
> How can I find which kind of network driver is associated with the
> machine? I see that it is nVidia - but which model?
>
> TIA
>
>
TIA;
Your best bet now is to start a new thread in the hardware forum. Give as much
information as you can about your system. (e.g. Is the NIC on the Motherboard,
PCI, USB. what is the model if you know). I’m sure someone will give you some
help there if they have enough information to make an informed response.
Best of luck, sorry I can not be of much more help.
P. V.
“The entropy of a closed system can never decrease”, 2nd Law of Thermodynamics