View previous topic :: View next topic |
Author |
Message |
Lord_Zlayer n00b


Joined: 03 Dec 2004 Posts: 66
|
Posted: Tue May 31, 2005 1:27 pm Post subject: strange network disappearing, pls read |
|
|
Hi everyone!
I know there is many network problems but I havent managed to find a solution to this.
I have this strange network error. I have configured my ip settings and so on correctly for static network and the network module is e1000 and it also loads when i start gentoo, if i choose ifconfig i get :
eth0 Link encap:UNSPEC HWaddr 00-50-8D-00-00-EC-3E-C0-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
My network card is an : Intel Corporation 82547GI Gigabit Ethernet Controller
My network works with the livecd and when i for the first booted into my gentoo the network didnt work, sudently it worked for some time, and now it have stoped working again, I dont understand anything
This problem keeps me stuck with my new and first gentoo installation.
So if anyone knows what to do im very internested in knowing that _________________ ------------------------------------
I hate Windows  |
|
Back to top |
|
 |
pitcrawler Apprentice


Joined: 09 Jan 2005 Posts: 155 Location: Oklahoma, USA
|
Posted: Tue May 31, 2005 1:35 pm Post subject: Re: strange network disappearing, pls read |
|
|
please post the contents of your /etc/conf.d/net file so we can check it for any possible errors.
Also, make sure you have run the following command:
Code: | rc-update add net.eth0 default |
That command will make your computer configure the ip address for eth0 everytime you boot up. |
|
Back to top |
|
 |
Lord_Zlayer n00b


Joined: 03 Dec 2004 Posts: 66
|
Posted: Tue May 31, 2005 2:31 pm Post subject: |
|
|
My /etc/conf.d/net :
iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
gateway="eth0/192.168.0.1"
My /etc/resolv.conf :
domain lokaltnätverk
nameserver 212.3.0.40
nameserver 212.3.0.2
"rc-update add net.eth0 default" is already added.
Now comes the strange: Ive just did an genkernel --udev all and now the internet is working , i just wonder for how long.
Any idea why it is like this? _________________ ------------------------------------
I hate Windows  |
|
Back to top |
|
 |
adaptr Watchman


Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Tue May 31, 2005 3:00 pm Post subject: |
|
|
Code: | eth0 Link encap:UNSPEC |
The encapsulation should read "Ethernet" if you have a working connection; ergo, no connection.
Also note the strange MAC "address".
Run mii-diag to see the link settings; it probably tries to set gbit ethernet on a 100mbit link - which fails.
You can change this behaviour either with vendor-supplied (DOS) tools or on the module command line (or kernel command line if it's built in.)
Do a modinfo on the module to see what options it supports. _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
 |
Lord_Zlayer n00b


Joined: 03 Dec 2004 Posts: 66
|
Posted: Tue May 31, 2005 3:20 pm Post subject: |
|
|
Now when the internet is working the e1000 modules isnt loaded anymore
I typed lsmod and get :
nvidia
parport_pc
parport
floppy
ata_piix
evdev
rtc
eth1394
ahci
sata_qstor
sata_uli
sata_sis
sata_sx4
sata_nv
sata_via
sata_svw
sata_sil
sata_promise
libdata
mise
dm_mirror
dm_snapshot
dm_mod
sbp2
ohci1394
ieee1394
sl811_hcd
ohci_hcd
uhci_hcd
usb_storage
usbhid
ehci_hcd
And then I typed : ls /lib/modules/`uname -r`/kernel/drivers/net "Searching for provided modules"
and getting a huge list and what i examined there where no net module from the provided modules list in the lsmod list.
Thi is really wierd.
I was going to try the modinfo on the e1000 module but now its gone and now Im not really sure what module is for my network _________________ ------------------------------------
I hate Windows  |
|
Back to top |
|
 |
|