MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The guy who set me up (this was about two-and-a-half years ago, btw) just run the extra cable line and brought me the box. I just let Windoze detect the card and clicked the "Obtain an IP address automatically" and "Obtain DNS server address automatically" radio buttons in the TCP/IP setup dialog.
Let me stick my nose in here for a moment. I am presently writing this post in Mandrake 9.0 connected through western ohio roadrunner. So it can be done.
Now, I am connected through a dlink firewall/router so my nameserver is my firewall address. My resolv.conf looks like this:
nameserver 192.168.0.1
search woh.rr.com
According to my router, the DNS addresses are these:
24.29.161.137 24.29.161.129 65.24.0.163
and the default gateway is this
24.209.104.1
subnet mask is
255.255.255.0
Of course, you have to enable DHCP.
Now, one place where you could easily get into trouble is your NIC driver. If you have the wrong driver you will sometimes find that ifconfig will appear to work, while not actually connecting you. What NIC do you have, and what driver are you using?
I'm using a Linksys EtherFast 10/100, it Mandrake says it's using module "Tulip," whatever that is. Is that the driver? If not, how do I figure out what the driver is?
Do I need to set those DNS and gateway addresses explicitly? Or is it sufficient to put "nameserver 192.168.0." and "search woh.rr.com" in my resolv.conf?
Now, the Mandrake networking setup tool should do this for you; why it isn't happening is a mystery to me. But, this *should* get you going.
The module tulip (not Tulip) is correct for the Linksys Etherfast card. Yes, that is the driver. Pay attention to case; Linux is very case sensitive.
If setting these values in resolv.conf doesn't get you going, then run linuxconf (mandrake gives a desktop icon for this). Select "networking", then select "Host name and IP devices". Then, you will have a tab for each NIC in your system; select the appropriate tab and fill out the table.
At a minimum you need to provide the netmask. the net device, the driver, and you need to specify that it uses dhcp and that it is enabled.
Okay, I've tried all that and still get the same result. Being a Linux newbie I can't help but think I'm missing something obvious. ;(
Are other flavors of Linux this hard to configure? I'm thinking about trying one but don't want to waste my effort if it's going to be just as difficult.
Originally posted by sammckee Okay, I've tried all that and still get the same result. Being a Linux newbie I can't help but think I'm missing something obvious. ;(
Are other flavors of Linux this hard to configure? I'm thinking about trying one but don't want to waste my effort if it's going to be just as difficult.
Just like with any installation I've had a couple of problems but with a little research (and sometimes patience with new software) I 've solved a vast majority of them.
I looked back at the posts and noticed that you have two Ethernet cards. Are they the same model? Is the other card configured for DHCP or are you using a static IP address?
Originally posted by sammckee I removed the second ethernet card a couple days ago to avoid confusion. I already have the "alias eth0 tulip" line in the modules.conf file.
Is the card you removed the same model as the one in it right now?
Okay, I downed eth0 and did an ifconfig. As expected it contained only the loopback interface. I did an ifconfig eth0 up, and it looks exactly as it looked before.
The card I removed is not the same model, nor did Mandrake use the same driver for it (I forget which one it used, but it was one with a string of letters and numbers, not a word like tulip).
Originally posted by sammckee The card I removed is not the same model, nor did Mandrake use the same driver for it (I forget which one it used, but it was one with a string of letters and numbers, not a word like tulip).
I would recommend a quick change of cards and see if that makes any difference.
You and I are running the same card, on the same version of Mandrake, on the same ISP. This simply should not be tough.
Try this. Do an ifdown eth0.
Then, from your desktop, go into LinuxConf. Select "Networking" then select "Host name and IP devices"
The first tab is named "Hostname". It will show your machine name and your domain. On my system it says Dadsbox.Homegroup. Yours should say something appropriate.
The second tab is labeled Adaptor 1. Click on it.
It should be shown as enabled. If not, make it so. It should show that you are using DHCP. If not, make it so.
Then, the fields should be blank down to subnet mask which should say 255.255.255.0 If not, make it so.
The net device should say eth0 - that is - eth zero. if not, make it so.
Next line is driver; should say tulip.
Other fields should all be blank.
The next tab says Adapter 2. Go there. It should not be enabled. If it is, uncheck the "enabled" box. Set "config mode" to "manual."
All other boxes should be blank. If not, make them so. I rather suspect your problem is here since you pulled another NIC.
Go to each of the next tabs (Adapter 3, Adapter 4, and so forth) and make sure that they are disabled, set to manual config, and contain no data.
Then save it. See if this helps.
Oh, BTW...this particular box used to be multi-homed; I had another NIC in it and used it as you wish to use yours. I finally reconfigured the LAN with a firewall/router and removed the other NIC. So I do know how to make that work too. At least, it worked here.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.