Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Ok, I just installed Mandrake 9.2. Everything was detected, and that impressed me quite a bit. The only problem I have had throughout the whole process is connecting to the web. Linux detected my ethernet card, but says that the status is down. I called the provider, and they said that no IP address was needed. I have ran config several times now and still, nothing. If someone can give me the run-down on what it is I need to do to get this to work, please do so. Thanx for your time, and I hope to rectify this problem soon.
as root, in a terminal, type in "ifconfig". you should see an interface for your card. do you see a line in it which says some like "inet addr", and an ip addr next to it?
in case you dont see an interface for the card, write back.
Well, that got me the IP but I'm still having problems. I set the IP in Mandrake Control center, and it now reads as follows... Interface: eth0, IP address: xxx.xxx.xxx.xxx, protocol: static, driver: tulip, state: up. Before it said state: down, so I feel we are makin some progress. If there is anything else I should do, please let me know. Do I need a gateway number or anything else entered in those feilds? I've been running the wizard, in Mandrake Control Center to apply these settings.
Well, I hope to hear back from you soon. Thanx for your help thus far.
hi.
well, you say that you have an ip ? in that case, you should be connected.
in case ur not, try typing this in as root in a terminal "dhclient eth0".
if it gives an error saying u cant use dhclient, write back.
I know it should be showing up as a dhcp, but if I set it to that setting the IP address goes away. That makes sence in most aspects, but when there is no IP, the "state" changes to down. I'm confused to say the least. Another thing I forgot about untill just a minute ago...When I run the wizard option in Mandrake Control Center, it has and auto dectect feture. If I check that box it picks up my ethernet card, but also something called winmodem. I don't know if that is refering to the 56k modem that is also installed, or the cable modem plugged into the ethernet card. Either way, it gives a message saying that that modem is not supported.
I'll try running dhclient, and see if that does anything. Thanx again
in case dhclient doesnt work, get a tool called "pump", and as root, run "pump -i eth0". if everything is etup right, it will take care of bringing the iface up, and gettin an ip addr for u.
Let me know if u r connect via cable modem and dhcp
If the answer is yes go to control center ---> network & internet---> Drak connect--->configure local...-----> non IP & netmask , boot protocol:dchp, if u prefer star at boot: yes ; Activate now-------->Apply------Ok
Then type ifconfig and watch if u ethernet card is up
write back about the results
Well, dhclient eth0 ran fine. I gave me the IP I already had, but it had a different "netmask" number. I put that new number, it loaded, but the modem flashed a few times, but still no connection. I also ran ifconfig. Everything checked out ok, except one thread saying "TX packets: 4 errors". Everything else said "0 errors". Needless to say, I'm still confused.
Well, I'll keep trying. Thanx again.
Well, I ran config this time and set it to no IP, no net mask, dchp, start on boot. After that I ran ifconfig, and it came back with no errors. However, under state it says down again. I know these are the settings I need. Another site said that I may need a router to connect. So I'm going to try that later today.
Howdy, all. I'm having a similar problem with DHCP and have been stabbing at it for a while now. I tried using pump, but it spat out an error just saying "Operation Failed." I think it might be a problem with the configuration file.
Can I get an example config file so I can see what I should have? The man pages have an example, but it sucks.
Oh yeah, I tried dhclient, and it didn't work. Here's what it gave me:
Code:
Listening on LPF/lo
Sending on LPF/lo
Listening on LPF/eth0/00:4c:69:6e:75:79
Sending on LPF/eth0/00:4c:69:6e:75:79
Sending on Socket/fallback
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
~~~above messages repeated a bunch of times with different intervals~~~
No DHCPOFFERS recieved.
No working leases in persistent database - sleeping.
This is really wierd because I can plug my windows machine into the same port and it works fine.
Last edited by WheatPuppet; 02-01-2004 at 05:16 PM.
how many ethernet card have you?
Is the answer is one then --->
go to Mandrake control center and click Network & Internet--->DrakConnect
and launch the wizard --->Expert Mode---->Lan Connection ---> and when "Configuring network device ethx" click on "automatic IP" ---> next, etc
Then the program ask about restart network ; say yes
I have done that about 20 times now, and You oviously know where that lead. I don't know what else to do, and it seems that no one else does either. I'm at my whits end. Why can't this be more simplified? AHHHHHHHHHHHH!!!!!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.