Alle 13:19, sabato 21 febbraio 2004, Marek Chlopek ha scritto:
Stefano, Be more systematic, it is hard to help with almost no valuable information provided. What do you get in your logs?
I think this might be something with routing (be more precisely with modify_resolve - dhcp gets resolve settings for eth0, backup current settings and set the new one, BUT later dhcp tries to force resolve to do modification one again for eth-pcmcia-0).
Try to remove eth0 or pcmcia (or change from dhcp to static)? Does it work with only one dhcp?
If yes, try to modify your dhcp client settings.
Thanks for answer. I've removed eth0 interface. Then with YAST2 I've configured eth-pcmcia-0 (recognized automatically by SuSE) as static with ip assigned by router. Then I've done "/etc/init.d/network restart" and finally I've read the message "done" on the screen for "setting up network interfaces" at eth-pcmcia-0 entry. Ok, but internet doesn't work. So I've manually launched "dhcpcd" and only after that, internet works!. Ok, I've rebooted the system and network does NOT work. During boot process, after F2, I've read "configuration lo...done" and "configuration eth-pcmcia-0....hotplug". If I do "ifconfig", only lo interface is present. I've tryed to extract pcmcia and reinsert and at dmesg i see: ==== cs: cb_free(bus 2) cs: cb_alloc(bus 2): vendor 0x10ec, device 0x8139 PCI: Enabling device 02:00.0 (0000 -> 0003) ==== but network still not works and only lo interface is present. Then I've done: ==== luna:/home/ste # /etc/init.d/network restart Shutting down network interfaces: eth-pcmcia-0 skipped Setting up network interfaces: lo done eth-pcmcia-0 hotplug ==== So... ==== luna:/home/ste # ifconfig eth-pcmcia-0 up eth-pcmcia-0: unknown interface: No such device ==== I'm going crazy!! With Debian I've compiled the pcmcia support static in the kernel and all works. I've switched to SuSE because I was looking for a distro more stable and modern. So I'd like take all SuSE structure with kernel preconfigured. Is it possible? How can I manage network card without hotplug? With YaST I've then configured a new interface NOT pcmcia with realtek module. Interface name is eth0 than: ==== luna:/home/ste # /etc/init.d/network restart Shutting down network interfaces: eth-pcmcia-0 done eth0 done Setting up network interfaces: lo done eth0 (DHCP) failed eth-pcmcia-0 (DHCP) failed ==== But after I've done luna:/home/ste # ifconfig luna:/home/ste # dhcpcd ==== Now the situation is: ==== luna:/home/ste # ifconfig eth0 Link encap:Ethernet HWaddr 00:40:F4:6A:2C:2D inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::240:f4ff:fe6a:2c2d/64 Scope:Link UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:16 errors:0 dropped:0 overruns:4 carrier:0 collisions:0 txqueuelen:100 RX bytes:1368 (1.3 Kb) TX bytes:3176 (3.1 Kb) Interrupt:9 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:50 errors:0 dropped:0 overruns:0 frame:0 TX packets:50 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3260 (3.1 Kb) TX bytes:3260 (3.1 Kb) ===== And now Internet works. Help!!! Regards Stefano