Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Network problems!

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
Nonsense
n00b
n00b
Posts: 74
Joined: Thu Dec 03, 2009 11:51 am

Network problems!

  • Quote

Post by Nonsense » Thu Jan 14, 2010 6:54 am

Hi all,
i just created my system bit i cannot do 'PING'. So i tried :

Code: Select all

/sbin/ifconfig
and i gt this.

lo Link encap:Local Loopback
inet addr: 127.0.0.1 Mask: 255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets: 17 errors:0 dropped:0 overruns:0 frame:0
TX packets: 17 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes: 306 (306.0 B) TX bytesL 306 (306.0 B)

How do i add a new setting as i'm using VMware to run the OS
Please advice. Thank You
Top
elgato319
Guru
Guru
Posts: 546
Joined: Thu Sep 15, 2005 9:45 am

  • Quote

Post by elgato319 » Thu Jan 14, 2010 8:33 am

Code: Select all

ifconfig eth0 up
net-setup eth0
or manual

Code: Select all

ifconfig eth0 up
ifconfig eth0 192.168.x.x/24
route add default gw 192.168.x.x
echo nameserver 192.168.x.x > /etc/resolv.conf
be sure that the nic is detected correctly at bootup

good documentation: http://www.gentoo.org/doc/en/gentoo-x86 ... nstall.xml
Top
Nonsense
n00b
n00b
Posts: 74
Joined: Thu Dec 03, 2009 11:51 am

  • Quote

Post by Nonsense » Fri Jan 15, 2010 12:06 am

elgato319 wrote:

Code: Select all

ifconfig eth0 up
net-setup eth0
or manual

Code: Select all

ifconfig eth0 up
ifconfig eth0 192.168.x.x/24
route add default gw 192.168.x.x
echo nameserver 192.168.x.x > /etc/resolv.conf
be sure that the nic is detected correctly at bootup

good documentation: http://www.gentoo.org/doc/en/gentoo-x86 ... nstall.xml
Hi elgato319,
i tried this command :

Code: Select all

ifconfig eth0 up
but it prompts me:
eth0: ERROR while getting interface flags: No such device
Please advice.
Top
b0nafide
Apprentice
Apprentice
User avatar
Posts: 171
Joined: Sun Feb 17, 2008 9:48 pm
Location: ~/

  • Quote

Post by b0nafide » Fri Jan 15, 2010 2:01 am

eth0: ERROR while getting interface flags: No such device
Make sure you have kernel support for the e1000 network card as well.

I'm guessing that you haven't installed vmware-tools or run vmware-config-tools.pl yet.
Top
Nonsense
n00b
n00b
Posts: 74
Joined: Thu Dec 03, 2009 11:51 am

  • Quote

Post by Nonsense » Fri Jan 15, 2010 5:13 am

b0nafide wrote:
eth0: ERROR while getting interface flags: No such device
Make sure you have kernel support for the e1000 network card as well.

I'm guessing that you haven't installed vmware-tools or run vmware-config-tools.pl yet.
hi b0nafide,
However, i'm running on the command line instead of the GUI. How do i run the installer?
Or do the settings?

Please advice.
Thanks
Top
cach0rr0
Bodhisattva
Bodhisattva
User avatar
Posts: 4123
Joined: Thu Nov 13, 2008 11:14 pm
Location: Houston, Republic of Texas

  • Quote

Post by cach0rr0 » Fri Jan 15, 2010 6:01 am

Code: Select all

modprobe vmnet


Is it...I think.

I'd be more inclined to think there's a kernel configuration problem in your guest, rather than host.

What's your lspci -n look like?

In terms of running vmware-config.pl or whatever, the ebuild should tell you what needs to be run in the build messages after you've emerged the package.

They're just perl scripts, so you'd run "perl /path/to/file.pl"

Assuming you've already done that, you just need the right NIC driver in your guest's kernel, as mentioned above. The links in my sig should help.
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Top
b0nafide
Apprentice
Apprentice
User avatar
Posts: 171
Joined: Sun Feb 17, 2008 9:48 pm
Location: ~/

  • Quote

Post by b0nafide » Fri Jan 15, 2010 7:21 pm

I'd be more inclined to think there's a kernel configuration problem in your guest, rather than host.
Indeed!

Configure your kernel and install vmware-tools - and yes, it can be done from bash.

from http://en.gentoo-wiki.com/wiki/VMware_Guest :

Code: Select all

You need to build the network drivers as modules to be able to unload them later and load vmware optimized modules.
Device Drivers  --->
   Network Device support  --->
        [*] Network device support
             Ethernet (10 or 100Mbit)  --->
                [*] Ethernet (10 or 100Mbit)
                [*] EISA, VLB, PCI and on board controllers
                <M>   AMD PCnet32 PCI support
             Ethernet (1000Mbit)  --->
                [M] Intel(R) PRO/1000 Gigabit Ethernet support
Top
Nonsense
n00b
n00b
Posts: 74
Joined: Thu Dec 03, 2009 11:51 am

  • Quote

Post by Nonsense » Mon Jan 18, 2010 9:41 am

b0nafide wrote:
I'd be more inclined to think there's a kernel configuration problem in your guest, rather than host.
Indeed!

Configure your kernel and install vmware-tools - and yes, it can be done from bash.

from http://en.gentoo-wiki.com/wiki/VMware_Guest :

Code: Select all

You need to build the network drivers as modules to be able to unload them later and load vmware optimized modules.
Device Drivers  --->
   Network Device support  --->
        [*] Network device support
             Ethernet (10 or 100Mbit)  --->
                [*] Ethernet (10 or 100Mbit)
                [*] EISA, VLB, PCI and on board controllers
                <M>   AMD PCnet32 PCI support
             Ethernet (1000Mbit)  --->
                [M] Intel(R) PRO/1000 Gigabit Ethernet support
Hi,

So do you mean that i have to load Vmware-tools before rebooting the system?
Top
b0nafide
Apprentice
Apprentice
User avatar
Posts: 171
Joined: Sun Feb 17, 2008 9:48 pm
Location: ~/

  • Quote

Post by b0nafide » Mon Jan 25, 2010 10:34 pm

Nonsense wrote:So do you mean that i have to load Vmware-tools before rebooting the system?
When installing, the VM mounts a CD-ROM image with the stuff you will need (no network required).

http://en.gentoo-wiki.com/wiki/VMware_G ... ware_Tools
Top
Post Reply

9 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic