vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| My eMachines M6807 notebook eth0 is not setup: # ifconfig eth0 Link encap:Ethernet HWaddr 00:26:54:0A:95 inet6 addr: fe80::... lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host .... This is what I expect: # ifconfig eth0 Link encap:Ethernet HWaddr 00:26:54:0A:95 inet addr:192.168.2.192 Bcast:192.168.2.255 Mask:255.255.255.0 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 .... Why? |
| |||
| TCMa wrote: > My eMachines M6807 notebook eth0 is not setup: > # ifconfig > eth0 Link encap:Ethernet HWaddr 00:26:54:0A:95 > inet6 addr: fe80::... > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1/128 Scope:Host > .... > > This is what I expect: > # ifconfig > eth0 Link encap:Ethernet HWaddr 00:26:54:0A:95 > inet addr:192.168.2.192 Bcast:192.168.2.255 Mask:255.255.255.0 > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > .... > > Why? There are many reasons why. Please post some background info, such as if it has ever been right, or if this is during the install. -- Ben M. |
| |||
| TCMa wrote: > My eMachines M6807 notebook eth0 is not setup: > # ifconfig > eth0 Link encap:Ethernet HWaddr 00:26:54:0A:95 > inet6 addr: fe80::... > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1/128 Scope:Host > ... > > Why? we cannot see much from your post - anyway it seems that you have configured IPv6 address for your eth0 card. try to post your /etc/conf.d/net file... i think that there should be the solution. PS: if we can see eth0 Link encap: ... so there shouldn't be any problem with kernel/driver/assign ip... the only strange thing is that ifconfig assigned an IPv6 address to the interface inet6 addr: fe80:... which just means misconfiguration on startup, imho. -- remove mailto__ on reply |
| |||
| eMachines M6807 notebook has only one ethernet chip. x86_64 2.6.5-gentoo is installed with universal livecd 2004.1. Stage 3, genkernel. My ADSL modem and 4 port router is working because I am using another linux computer which got an IP address 192.168.2.192. The values of eMachines M6807 notebook /etc/conf.d/net are iface_eth0="up" iface_eth1="up" #ifconfig eth0 Link encap:UNSPEC HWaddr 00-03-25-21-29-76-62-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) eth1 Link encap:UNSPEC HWaddr 00-03-25-21-29-00:26:54:0A:95 inet6 addr: fe80::203:25ff:fe10:b021/64 Scope:Link 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) Interrupt:11 Base address:0xb000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 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:0 RX bytes:0(0.0 Mb) TX bytes:0 (0.0 Mb) --------------------------------------------------------------- The values of /etc/conf.d/net are iface_eth0="dhcp" iface_eth1="dhcp" lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 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:0 RX bytes:0(0.0 Mb) TX bytes:0 (0.0 Mb) --------------------------------------------------------------- The values of /etc/conf.d/net are iface_eth0="192.168.2.112 broadcast 192.168.0.255 netmask 255.255.255.0" gateway="eth0/192.168.2.1" eth0 Link encap:UNSPEC HWaddr 00-03-25-21-29-00:26:54:0A:95 inet addr:192.168.2.112 Bcast:192.168.2.255 Mask:255.255.255.0 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) Interrupt:11 Base address:0xb000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 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:0 RX bytes:0(0.0 Mb) TX bytes:0 (0.0 Mb) --------------------------------------------------------------- The values of /etc/conf.d/net are iface_eth1="192.168.2.112 broadcast 192.168.0.255 netmask 255.255.255.0" gateway="eth1/192.168.2.1" eth1 Link encap:UNSPEC HWaddr 00-03-25-21-29-00:26:54:0A:95 inet addr:192.168.2.112 Bcast:192.168.2.255 Mask:255.255.255.0 inet6 addr: fe80::20325ff:fe10:b021/64 Scope:Link 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) Interrupt:11 Base address:0xb000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 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:0 RX bytes:0(0.0 Mb) TX bytes:0 (0.0 Mb) Hekaton Keires <mailto__hekatonkeires@hotmail.com> wrote in message news:<2kfc82F1lt9sU3@uni-berlin.de>... > TCMa wrote: > > > My eMachines M6807 notebook eth0 is not setup: > > # ifconfig > > eth0 Link encap:Ethernet HWaddr 00:26:54:0A:95 > > inet6 addr: fe80::... > > > > lo Link encap:Local Loopback > > inet addr:127.0.0.1 Mask:255.0.0.0 > > inet6 addr: ::1/128 Scope:Host > > ... > > > > Why? > > we cannot see much from your post - anyway it seems that you have configured > IPv6 address for your eth0 card. try to post your /etc/conf.d/net file... i > think that there should be the solution. > > PS: if we can see > eth0 Link encap: ... > so there shouldn't be any problem with kernel/driver/assign ip... the only > strange thing is that ifconfig assigned an IPv6 address to the interface > inet6 addr: fe80:... > which just means misconfiguration on startup, imho. |
| |||
| TCMa wrote: > My ADSL modem and 4 port router is working because I am using another > linux computer which got an IP address 192.168.2.192. so you have a dhcp server on your network? > The values of eMachines M6807 notebook > /etc/conf.d/net are > iface_eth0="up" > iface_eth1="up" > iface_eth0="dhcp" > iface_eth1="dhcp" > iface_eth0="192.168.2.112 broadcast 192.168.0.255 netmask > 255.255.255.0" > iface_eth1="192.168.2.112 broadcast 192.168.0.255 netmask > 255.255.255.0" > gateway="eth0/192.168.2.1" > gateway="eth1/192.168.2.1" is this right? i mean i've just removed all the suspicous parts of your message and tried to reconstruct your configuration file. anyway first of all you have to decide between dynamic or static addressing, this means that you shouldn't have at the same time iface_eth[0-1]="dhcp" and iface_eth[0-1]="192.168..." follows a strip from my /etc/conf.d/net: ### eth0 dynamic configuration ### iface_eth0="dhcp" dhcpcd_eth0="-h hostname" ### eth1 static configuration ### iface_eth1="192.168.254.1" gateway="eth1/192.168.254.254" ### EOF first of you can see that eth1 has only ip address, w/out any netmask or broadcast - these are just calculated considering ip address as a part of standard private class C network (netmask 255.255.255.0 broadcast 192.168.254.255), second you should pay also attention when defining more than one default gateways... what i can suggest you is try to put down network with /etc/init.d/net.eth[0-1] down and then just try to configure eth by yourself with # ifconfig eth0 192.168.2.112 # ifconfig eth up or, in case you have somewhere (on the same broadcast domain) a dhcp server: # dhcpcd eth0 hope this helps to see something new -- remove mailto__ on reply |
| ||||
| I finally get the ethernet to work by adding "pci=noacpi noapic" to the /boot/grub/grub.conf file: kernel /kernel-2.6.5-gentoo root=/dev/ram0 init=/linuxrc real_root=/dev/hda5 vga=0x317 splash=verbose pci=noacpi noapic psmouse.proto=imps However, #ifconfig eth1 Link encap:Ethernet HWaddr 00:03:25:10:b0:21 inet addr:192.168.2.112 Bcast:192.168.2.255 Mask:255.255.255.0 inet6 addr: fe80::203:25ff:fe10:b021/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:9 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2307 (2.2 Kb) TX bytes:1243 (1.2 Kb) Interrupt:9 Base address:0xb000 Why "eth1" but not "eth0"? Do "inet6 addr" suppose to appear? Hekaton Keires <mailto__hekatonkeires@hotmail.com> wrote in message news:<2kl7haF3mfrsU1@uni-berlin.de>... > TCMa wrote: > > > My ADSL modem and 4 port router is working because I am using another > > linux computer which got an IP address 192.168.2.192. > > so you have a dhcp server on your network? > > > The values of eMachines M6807 notebook > > /etc/conf.d/net are > > iface_eth0="up" > > iface_eth1="up" > > iface_eth0="dhcp" > > iface_eth1="dhcp" > > iface_eth0="192.168.2.112 broadcast 192.168.0.255 netmask > > 255.255.255.0" > > iface_eth1="192.168.2.112 broadcast 192.168.0.255 netmask > > 255.255.255.0" > > gateway="eth0/192.168.2.1" > > gateway="eth1/192.168.2.1" > > is this right? i mean i've just removed all the suspicous parts of your > message and tried to reconstruct your configuration file. > > anyway first of all you have to decide between dynamic or static addressing, > this means that you shouldn't have at the same time > > iface_eth[0-1]="dhcp" and > iface_eth[0-1]="192.168..." > > follows a strip from my /etc/conf.d/net: > > ### eth0 dynamic configuration ### > iface_eth0="dhcp" > dhcpcd_eth0="-h hostname" > ### eth1 static configuration ### > iface_eth1="192.168.254.1" > gateway="eth1/192.168.254.254" > ### EOF > > first of you can see that eth1 has only ip address, w/out any netmask or > broadcast - these are just calculated considering ip address as a part of > standard private class C network (netmask 255.255.255.0 broadcast > 192.168.254.255), second you should pay also attention when defining more > than one default gateways... > > what i can suggest you is try to put down network with > > /etc/init.d/net.eth[0-1] down > > and then just try to configure eth by yourself with > > # ifconfig eth0 192.168.2.112 > # ifconfig eth up > > or, in case you have somewhere (on the same broadcast domain) a dhcp server: > > # dhcpcd eth0 > > hope this helps to see something new |