LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-23-2007, 09:55 PM   #1
Geminias
Member
 
Registered: Sep 2005
Posts: 201

Rep: Reputation: 30
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?
 
Old 11-23-2007, 10:05 PM   #2
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
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.
 
Old 11-23-2007, 10:11 PM   #3
Geminias
Member
 
Registered: Sep 2005
Posts: 201

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

Last edited by Geminias; 11-23-2007 at 10:18 PM.
 
Old 11-23-2007, 10:16 PM   #4
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
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.
 
Old 11-23-2007, 10:55 PM   #5
Geminias
Member
 
Registered: Sep 2005
Posts: 201

Original Poster
Rep: Reputation: 30
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
 
Old 11-24-2007, 06:08 AM   #6
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Small Linux Router/firewall behind D-Link Hardware router dleidlein Linux - Networking 6 04-30-2007 05:12 AM
LXer: Open source's Fast Ethernet router outperformed Cisco's Router LXer Syndicated Linux News 0 04-13-2007 01:31 PM
LXer: Will an open source router replace your Cisco router? LXer Syndicated Linux News 1 03-21-2007 09:04 AM
CentoOS router/firewall prob - local network works but router can't access Internet elementalvoid Linux - Networking 6 12-12-2006 03:39 PM
Mandrake Firewall/router networked to US Robotics 8000A router jrzplace Linux - Networking 0 11-17-2003 04:48 PM

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

All times are GMT -5. The time now is 12:58 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