This is a discussion on "eth0" starts ok, but only manually within the Linux Networking forums, part of the Linux Forums category; Hello. I have just installed Mandrake 9.2 RC2 and I haven't been able to configure my net adapter ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello. I have just installed Mandrake 9.2 RC2 and I haven't been able to
configure my net adapter with the assistants. So, when system starts, it can't mount the eth0 (says "FAIL"), but if I login as root and I write these lines, it works: ifconfig eth0 inet 192.168.0.99 netmask 255.255.255.0 route add default gw 192.168.0.1 So, can anyone tell me how to configure my Linux to start automatically with these parameters? My ifcfg-eth0 contains: DEVICE=eth0 BOOTPROTO=none IPADDR=192.168.0.99 NETMASK=255.255.255.0 NETWORK=192.168.0.0 ONBOOT=yes Which I suppose it is correct. Thanks in advance. knocte |
|
|||
|
knocte (knocte@NO-SPAM-PLEASE-hotmail.com) wrote:
: Hello. I have just installed Mandrake 9.2 RC2 and I haven't been able to : configure my net adapter with the assistants. : So, when system starts, it can't mount the eth0 (says "FAIL"), but if I : login as root and I write these lines, it works: : ifconfig eth0 inet 192.168.0.99 netmask 255.255.255.0 : route add default gw 192.168.0.1 : So, can anyone tell me how to configure my Linux to start automatically : with these parameters? My ifcfg-eth0 contains: : DEVICE=eth0 : BOOTPROTO=none : IPADDR=192.168.0.99 : NETMASK=255.255.255.0 : NETWORK=192.168.0.0 : ONBOOT=yes : Which I suppose it is correct. : Thanks in advance. : knocte Change BOOTPROTO=static |
|
|||
|
On Tue, 23 Sep 2003 14:06:49 +0200, knocte wrote:
> Hello. I have just installed Mandrake 9.2 RC2 and I haven't been able to > configure my net adapter with the assistants. > > So, when system starts, it can't mount the eth0 (says "FAIL"), but if I > login as root and I write these lines, it works: > > ifconfig eth0 inet 192.168.0.99 netmask 255.255.255.0 > route add default gw 192.168.0.1 cat /etc/sysconfig/network HOSTNAME=wb.home NETWORKING=yes GATEWAY=192.168.0.1 <======== GATEWAYDEV=eth0 > > So, can anyone tell me how to configure my Linux to start automatically > with these parameters? My ifcfg-eth0 contains: > > DEVICE=eth0 > BOOTPROTO=none > IPADDR=192.168.0.99 > NETMASK=255.255.255.0 > NETWORK=192.168.0.0 > ONBOOT=yes > > Which I suppose it is correct. Nope, here is mine, cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=static IPADDR=192.168.1.10 NETMASK=255.255.255.0 NETWORK=192.168.1.0 BROADCAST=192.168.1.255 ONBOOT=yes After changing files, do a service network restart |
|
|||
|
Bit Twister wrote:
> cat /etc/sysconfig/network > HOSTNAME=wb.home > NETWORKING=yes > GATEWAY=192.168.0.1 <======== > GATEWAYDEV=eth0 > > > Nope, here is mine, cat /etc/sysconfig/network-scripts/ifcfg-eth0 > DEVICE=eth0 > BOOTPROTO=static > IPADDR=192.168.1.10 > NETMASK=255.255.255.0 > NETWORK=192.168.1.0 > BROADCAST=192.168.1.255 > ONBOOT=yes > > After changing files, do a > service network restart > I have just made the changes and restarted the service, but eth0 interface still fails! This are my new config files: # cat /etc/sysconfig/network HOSTNAME=maestro NETWORKING=yes GATEWAY=192.168.0.1 GATEWAYDEV=eth0 # cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=static IPADDR=192.168.0.99 NETMASK=255.255.255.0 NETWORK=192.168.0.0 BROADCAST=192.168.0.255 ONBOOT=yes # service network restart Desactivando interfaz eth0: [ OK ] Desactivando interfaz loopback: [ OK ] Configurando parámetros de red: [ OK ] Activando interfaz loopback: [ OK ] Activando interfaz eth0: [FALLO ] I hope this is not too strange... :( Regards, knocte |
|
|||
|
On Tue, 23 Sep 2003 17:33:53 +0200, knocte wrote:
> # service network restart > Activando interfaz eth0: [FALLO ] That is odd. Changes you made should not cause a failure. You may want to look in /var/log/messages for failure messages. tail -30 /var/log/messages |
|
|||
|
> That is odd. Changes you made should not cause a failure.
> > You may want to look in /var/log/messages for failure messages. > > tail -30 /var/log/messages > #service network restart Desactivando interfaz eth0: [ OK ] Desactivando interfaz loopback: [ OK ] Configurando parámetros de red: [ OK ] Activando interfaz loopback: [ OK ] Activando interfaz eth0: [FALLO ] #tail -15 /var/log/messages sep 23 20:21:38 maestro su(pam_unix)[5273]: session opened for user root by (uid=501 euid=0 tty= ruser=knocte rhost= user=root Sep 23 20:22:01 maestro CROND[5321]: (root) CMD ( /usr/share/msec/promisc_check.sh) Sep 23 20:23:00 maestro CROND[5345]: (root) CMD ( /usr/share/msec/promisc_check.sh) Sep 23 20:24:00 maestro CROND[5355]: (root) CMD ( /usr/share/msec/promisc_check.sh) Sep 23 20:25:00 maestro CROND[5367]: (root) CMD ( /usr/share/msec/promisc_check.sh) sep 23 20:25:12 maestro ifdown: RTNETLINK answers: Network is unreachable sep 23 20:25:12 maestro network: Desactivando interfaz eth0: succeeded Sep 23 20:25:13 maestro ifplugd(eth0)[3610]: Exiting. sep 23 20:25:14 maestro network: Desactivando interfaz loopback: succeeded sep 23 20:25:14 maestro network: Configurando parámetros de red: succeeded sep 23 20:25:16 maestro network: Activando interfaz loopback: succeeded Sep 23 20:25:16 maestro ifplugd(eth0)[5945]: Using interface eth0/00:60:08:5D:B9:DB with driver <3c59x> (version: LK1.1.18-ac) Sep 23 20:25:16 maestro ifplugd(eth0)[5945]: Using detection mode: SIOCGMIIPHY Sep 23 20:25:16 maestro ifplugd(eth0)[5945]: ifplugd 0.15 successfully initialized, link beat not detected. sep 23 20:25:16 maestro network: Activando interfaz eth0: failed Any idea of what is the problem? Thanks in advance. Regards, knocte |
|
|||
|
On Tue, 23 Sep 2003 20:35:04 +0200, knocte wrote:
> Sep 23 20:25:16 maestro ifplugd(eth0)[5945]: ifplugd 0.15 successfully > initialized, link beat not detected. Hmmm, I am confused, I thought you had everthing working with the only problem was you had to set the gateway? Now if that is true, maybe rebooting the computer will make it work. If not, someone else will have to help. You could try a search engine http://groups.google.com/advanced_group_search link beat not detected in the exact phrae box *linux* in the Newsgroup, pick English If you have to do something else, please post your solution. |
|
|||
|
Bit Twister wrote:
> If not, someone else will have to help. You could try a search engine > > http://groups.google.com/advanced_group_search > link beat not detected in the exact phrae box > *linux* in the Newsgroup, pick English > > If you have to do something else, please post your solution. Well, I couldn't use Google Groups because the proxy-cache that is using my ISP is banned! (FORBIDDEN). I can't beleive it! However, I have tried on google.com to search that phrase, and one of the results was: http://qa.mandrakesoft.com/show_bug.cgi?id=3452 Yes, a bug, that's what I was supposing. The thing is that there is a workaround, if I add this line to ifcfg-eth0: MII_NOT_SUPPORTED=yes Then the service will be working ok when I restart it. I will post my case on that bug, so as they will have more material to work with. Thank you very much for the help, Bit Twister and Alex Yung. Best regards, knocte |