Jump to content

Why is my network card started when it's no longer there...?


phunni
 Share

Recommended Posts

Up until recently, I had 2 netwrok cards in my computer. A few days ago, I removed one and put it in another computer. I noticed that, unlike it had with 8.2, Mandrake didn't detect this and ask if I wanted to unload the config for the hardware - it kept trying to start the card. I went to /etc/modules.conf and removed the line that related to the network card module. The bizarre thing is that now, whenever I boot my machine, it says that it is trying to start the card (eth1) and, even more bizarrely, it works!

 

ifconfig only reveals one card (eth0), as does the control center, but something odd is happening here. I have been having network problems recently (since removing the card) andI wonder if this is related...

 

Any thoughts anyone...?

Link to comment
Share on other sites

Try going into Mandrake Control Center(open console and as root type mcc <Enter>)>Network & Internet>Connection and see if your removed NIC is still listed as eth1. If it is, tick the Expert mode button then the button Configure Local Area Network. The popup window has an option for start on boot. Set this to No for eth1 and leave eth0 alone and reboot. Check back to see if eth1 has not started and, if true, whether this helps with your network problems.

Link to comment
Share on other sites

My removed NIC is not listed in the Control Cnter at all. It doesn't seem to exist anywhere (not even in ifconfig) after the boot has completed. What concerns me slightly is that it is started at boot - this may just be some phantom behaviour - but weirdness like this in my computer concerns me

Link to comment
Share on other sites

Sorry, read your post fast and missed that eth1 was not listed. Have you tried looking in /etc/sysconfig/network-scripts for an icfg file for eth1? You should have entries for eth0(icfg-eth0), and loopback(icfg-lo). If there's a icfg-eth1, that might be causing the problem. If icfg-eth1 exists, try editing the ONBOOT line from "yes" to "no" either that or just move the file or rename it badicfg-eth-1 and see if that helps when you reboot.

Link to comment
Share on other sites

Sorry, read your post fast and missed that eth1 was not listed. Have you tried looking in /etc/sysconfig/network-scripts for an icfg file for eth1? You should have entries for eth0(icfg-eth0), and loopback(icfg-lo). If there's a icfg-eth1, that might be causing the problem. If icfg-eth1 exists, try editing the ONBOOT line from "yes" to "no" either that or just move the file or rename it badicfg-eth-1 and see if that helps when you reboot.

Just another example of very bad integration between network config tools and hardware configuration tools. If eth1 device is no longer there, why this ifcfg-eth1 is not get removed?

Underdevelopedness and over-"getting in your way" of DrakConnect just never ceases to amaze me, BTW. Not only in this case. I've tried recently to configure simple ICS via DrakConnect (recent Cooker version ). It installed dhcpcd ( for what a hell? I use dhcpxd), dhcpd ( why did not it ask? I wanted my little test home network to be static - just two computers), bind - once more, for what, tried to install and configure shorewall, one little error in configuration passed undetected - and the whole thing didn't work at the end. OK, I configured it manually after some search on the Internet. Who needs such automation tools? Who develops such misfeatured tools?

Link to comment
Share on other sites

Just another example of very bad integration between network config tools and hardware configuration tools. 

 

Actually has nothing to do with the network config tools, it's just that harddrake2 isn't up to what kudzu was in some areas. Maybe someone would like to open a bug report on this so it is dealt with?

 

If eth1 device is no longer there, why this ifcfg-eth1 is not get removed?

 

Kudzu used to prompt you to remove the configuration ...

 

Underdevelopedness and over-"getting in your way" of DrakConnect just never ceases to amaze me, BTW. Not only in this case. I've tried recently to configure simple ICS via DrakConnect (recent Cooker version ). It installed dhcpcd ( for what a hell?  I use dhcpxd), 

 

Is that really such a big problem? Did it unconfigure dhcpcd. There probably is a good reason ...

 

dhcpd ( why did not it ask?

 

Because it's much easier when things work out the box. You can't have something easier / more user friendly and ask more technical questions. Windows ICS also sets up a mini dhcp server without you asking ... and that's easy enough, isn't it? At least with drakconnect you have the option of putting in custom values for the dhcp ranges, which Windows doesn't do (even win2kpro only allows 192.168.0.0/24 !)

 

I wanted my little test home network to be static - just two computers)

 

Sure, so set up your client box to be static and turn dhcpd off!!!! But how many newbies are going to get their config wrong (like forgetting to setup caching dns ... see below ...)

 

bind - once more, for what,

 

Caching DNS? How else is your client going to get working DNS? Sure, you could manually set the DNS on your client to be your ISPs DNS, but what when it changes? With caching DNS on the server, you can set the DNS server on the clients by way of dhcp. This is the cleanest way of doing it.

 

tried to install and configure shorewall, one little error in configuration passed undetected - and the whole thing didn't work at the end.

 

Yes, one bug, noted in the errata, the incorrect setting of the GATEWAY variable.

 

On the whole, it works quite well, if you bother to read the errata.

 

If you can write better tools, let's see them (and I will stop working on the one I am working on now to easily setup LDAP ..)

Link to comment
Share on other sites

Actually has nothing to do with the network config tools, it's just that harddrake2 isn't up to what kudzu was in some areas. Maybe someone would like to open a bug report on this so it is dealt with?

I was actually talking about integration of hardware and network config tools. If the hardware networking device is not there, hardware config tools should notify network configuration tools to remove/disable the appropriate interface. Period.

Kudzu used to prompt you to remove the configuration ...

It shouldn't even prompt in this case. Hardware is not there, don't remove it completely, but at least make it ONBOOT=no. It's not such a nuclear physics.

Is that really such a big problem? Did it unconfigure dhcpcd. There probably is a good reason ...

 

It is. I've chosen expert mode. My opinion is that in expert mode it should ask. I'm not such a big specialist in iptables, and that's why I've chosen to configure ICS via drakconnect, but I think I do understand something in how networking works.

Because it's much easier when things work out the box. You can't have something easier / more user friendly and ask more technical questions. Windows ICS also sets up a mini dhcp server without you asking ... and that's easy enough, isn't it? At least with drakconnect you have the option of putting in custom values for the dhcp ranges, which Windows doesn't do (even win2kpro only allows 192.168.0.0/24 !)

Once more, expert mode.

Sure, so set up your client box to be static and turn dhcpd off!!!! But how many newbies are going to get their config wrong (like forgetting to setup caching dns ... see below  ...)

But this tool didn't even show me in GUI which packages were installed. This was seen only in console. If I were running it from menu, I wouldn't even see that I need to remove dhcpd, bind and all that. And I don't like any system standing in my way, much less in case it doesn't know its way around.

Caching DNS? How else is your client going to get working DNS? Sure, you could manually set the DNS on your client to be your ISPs DNS, but what when it changes? With caching DNS on the server, you can set the DNS server on the clients by way of dhcp. This is the cleanest way of doing it.

And to get an additional headache with configuring bind on the gateway? I don't want to bother with it. It's not a problem for me to configure a client. ICS at its base is 10 lines of bash script at most, loading several modules and putting 1 instead of 0 in some /proc/sys/net entries. Why can't drakconnect do just that and ask about all the rest when in expert mode?

Something along the lines - "Enable FTP forwarding", "Enable ICQ forwarding", "Enable HTTP forwarding", "DHCP network", "DNS configuration via DHCP". Several checkboxes, that's all.

And BTW, can you tell me how one can configure VPN connection via DrakConnect? There is no way in hell to do that yet, even in recent Cooker version.

If you can write better tools, let's see them (and I will stop working on the one I am working on now to easily setup LDAP ..)

Don't stop. Good tools are THE good thing . Good luck with your tool :-)

Link to comment
Share on other sites

wow - I was just asking about a simple harware issue - I had no idea that sucha debate would be sparked.

 

I have to say, though, that everyone keeps talking about how great it is when a system automatically picks up and recongnises new hardware. Mandrake is very good at this. It is, however, perhaps equally important that harware should be uninstalled along with any related config files if the hardware is removed. This particular issue has caused me a few serious networking problems until Iwas given some help from this forum enabling me to get it sorted. If the config had simply been removed when the hardware was, then I would never have had those difficulties.

Link to comment
Share on other sites

wow - I was just asking about a simple harware issue - I had no idea that sucha debate would be sparked.

 

I have to say, though, that everyone keeps talking about how great it is when a system automatically picks up and recongnises new hardware.  Mandrake is very good at this.  It is, however, perhaps equally important that harware should be uninstalled along with any related config files if the hardware is removed.

Not removed but rather disabled - just think of USB modems/network adapters. Do you want to re-config it each time you connect it? IMHO, in most cases you would prefer re-enabling the previous configuration.

  This particular issue has caused me a few serious networking problems until Iwas given some help from this forum enabling me to get it sorted.  If the config had simply been removed when the hardware was, then I would never have had those difficulties.

One more issue to start a flame upon. Let's suppose I want to disable some device. What are the steps to do that in Mandrake 9.0/pre-9.1 versus one click in Windows since Windows 95?

Link to comment
Share on other sites

wow - I was just asking about a simple harware issue - I had no idea that sucha debate would be sparked.

 

I have to say, though, that everyone keeps talking about how great it is when a system automatically picks up and recongnises new hardware.  Mandrake is very good at this.  It is, however, perhaps equally important that harware should be uninstalled along with any related config files if the hardware is removed.

Not removed but rather disabled - just think of USB modems/network adapters. Do you want to re-config it each time you connect it? IMHO, in most cases you would prefer re-enabling the previous configuration.

 

Fair point

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...