LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can't get ip from router (https://www.linuxquestions.org/questions/linux-newbie-8/cant-get-ip-from-router-602015/)

Geminias 11-23-2007 09:55 PM

can't get ip from router
 
Hi. I have ubuntu and NetworkManager shows the green light for my end trying to connect to the other circle and every time the other circle lights up it immediately drops the connection and the computer with the red x displays. Then it attempts to connect again in a continuous loop.


The system in question is dual booted and the XP partition connects to the internet just fine from XP so it is not a connection problem.

I tried resetting dhcp and flushing the cache and turning off my router and turning off the system.

The problem seems to be deeper, but I do not know how to trouble shoot.

Where should I look next? Any tips on how to investigate what might be wrong?

Vincent_Vega 11-23-2007 10:05 PM

This is a wireless connection? If so, do you need to configure WEP or WPA, etc.??
You should try connecting from the command line so that you get an idea of where your problems are. Post the output of
Code:

ifconfig -a
That will help give more detailed advice too.

Geminias 11-23-2007 10:11 PM

Thanks for response. I forgot to mention the connection is wired.

ifconfig reports nothing unusual. I would post the output but this isn't easily done because i'm on a different computer.


UPDATE: More info... I can connect to the internet on my virtual machine that I have set up on the system under scrutiny. Also, I cannot even access my router's configuration menu by typing in the ip in the browser from the system under scrutiny. Whatever is wrong, it is between the router and ubuntu.

I can not recall making any changes to the system recently, which is another reason i can't figure this one out...

Vincent_Vega 11-23-2007 10:16 PM

I don't expect anything strange from 'ifconfig' but just tell me the name of your device. Is it 'eth0'? Most likely it is if it's wired so try this:
Code:

ifconfig eth0 up
dhcpcd eth0

Is this your home network? Do you know the network address? (e.g., 192.168.1.0)
I believe Ubuntu uses 'dhcpcd'. If not, substitute that for 'dhclient'. Post back with your results.

Geminias 11-23-2007 10:55 PM

dhclient receives the dhcpack, and from there I am able to connect to the router's hardware address. However, once i start networkmanager I lose this ability. I'm back at square one again :(

Vincent_Vega 11-24-2007 06:08 AM

Then don't start the network manager! You don't need it unless you can't set things up on your own and sometimes things like this happen and you find that doing it the "old fashion" way is easier.


All times are GMT -5. The time now is 02:14 AM.