LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 01-29-2004, 08:23 PM   #1
Angelus_Fate
LQ Newbie
 
Registered: Jan 2004
Location: Tucson, AZ
Posts: 12

Rep: Reputation: 0
Exclamation Why can't I connect to the net?


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.


~Amarth~
 
Old 01-29-2004, 08:33 PM   #2
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
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.
 
Old 01-30-2004, 07:38 PM   #3
Angelus_Fate
LQ Newbie
 
Registered: Jan 2004
Location: Tucson, AZ
Posts: 12

Original Poster
Rep: Reputation: 0
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.


~Amarth~
 
Old 01-30-2004, 07:52 PM   #4
Angelus_Fate
LQ Newbie
 
Registered: Jan 2004
Location: Tucson, AZ
Posts: 12

Original Poster
Rep: Reputation: 0
Modem specs: (Incase that might help) ADMtek ADM983 Linksys EtherFast 10/100, with a Motorola SB4200 SURFboard cable modem.

Hope that helps

~Amarth~
 
Old 01-30-2004, 08:02 PM   #5
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
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.
 
Old 01-30-2004, 08:30 PM   #6
Angelus_Fate
LQ Newbie
 
Registered: Jan 2004
Location: Tucson, AZ
Posts: 12

Original Poster
Rep: Reputation: 0
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


~Amarth~
 
Old 01-30-2004, 08:33 PM   #7
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
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.
 
Old 01-30-2004, 10:32 PM   #8
nightjar
Member
 
Registered: May 2002
Location: Argentina
Distribution: Mandrake 9.2
Posts: 177

Rep: Reputation: 30
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
 
Old 01-30-2004, 10:34 PM   #9
Angelus_Fate
LQ Newbie
 
Registered: Jan 2004
Location: Tucson, AZ
Posts: 12

Original Poster
Rep: Reputation: 0
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.


~Amarth~
 
Old 01-30-2004, 11:09 PM   #10
nightjar
Member
 
Registered: May 2002
Location: Argentina
Distribution: Mandrake 9.2
Posts: 177

Rep: Reputation: 30
where you put the new number?
dhcp give u the IP number and netmask may be 255.255.255.0

Copy here the output of the ifconfig and let me know if there are any device is set up wrongly

Also type route -n
and type here the results
 
Old 02-01-2004, 01:38 PM   #11
Angelus_Fate
LQ Newbie
 
Registered: Jan 2004
Location: Tucson, AZ
Posts: 12

Original Poster
Rep: Reputation: 0
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.
 
Old 02-01-2004, 03:37 PM   #12
nightjar
Member
 
Registered: May 2002
Location: Argentina
Distribution: Mandrake 9.2
Posts: 177

Rep: Reputation: 30
/etc/rc.d/init.d/network restart
and let us know what it says
copy and paste all of the output
 
Old 02-01-2004, 05:10 PM   #13
WheatPuppet
LQ Newbie
 
Registered: Feb 2003
Location: State, you ask? Denial.
Distribution: Mandrake 9.2
Posts: 23

Rep: Reputation: 15
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.
 
Old 02-01-2004, 06:54 PM   #14
nightjar
Member
 
Registered: May 2002
Location: Argentina
Distribution: Mandrake 9.2
Posts: 177

Rep: Reputation: 30
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

Let me know what happen

 
Old 02-01-2004, 10:33 PM   #15
Angelus_Fate
LQ Newbie
 
Registered: Jan 2004
Location: Tucson, AZ
Posts: 12

Original Poster
Rep: Reputation: 0
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!!!!!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
hw to connect net ??? vishalsharmait Linux From Scratch 1 10-16-2005 02:42 PM
Cant connect to the net issey Debian 3 09-15-2005 07:20 AM
Why cant I connect to the net? duckmancornfed Linux - General 5 09-06-2004 05:26 PM
How do I connect to the net? ZeroX5 Linux - Hardware 13 07-26-2003 12:12 PM
How to connect to net dark_light Linux - Newbie 1 03-30-2003 04:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration