LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 12-26-2006, 04:32 AM   #1
borjag
LQ Newbie
 
Registered: Dec 2006
Posts: 3

Rep: Reputation: 0
Question Ubuntu 6.10-->DHCP problems, no network connectivity...


Hi!

Well, this is my first question here. I'm a newbie in this cruel Linux world and I'm having some trouble configuring my network with latest UBUNTU 6.10 Linux.

First of all, I moved from Red Hat to Ubuntu because of some rpm problems: it was impossible to install a mere clustering package because it would ask for a rpm chain that would never end. Someone recommended me UBUNTU, saying its package download manager was way better and here I am, stuck again, and this time I don't even have network conectivity!!!

Well, I've installed ubuntu, and can't get my network to work, even though it was working with red hat a couple of days ago... I need the machine to get its IP adress through DHCP, but it's not working. I've tried with some "solutions" people suggested in this forum, like disabling IPv6 at /etc/modprobe.d/aliases, starting the DHCP client manually (it doesn't get a valid DHCP packet from my eth0 interface after de DHCPDISCOVER), or setting a static IP and then restarting the client again. Nothing works. Pings to machines inside my network won't work.

I assume it recognizes my network adapter, because it appears when I enter "lspci" on the console. It also responds to when I ping the loopback adress, 127.0.0.1. Eth0 also shows up when I type ifconfig, but I don't think it's getting the IP from the DHCP server...

I'd thank any suggestion you may have so I can't solve this problem. If you need me to post some information you may find important, please ask, and I'll do my best (although I will have to find a way to get it out from the computer now that it hasn't got connectivity yet...).

THANKS in advance!!!

Borja
 
Old 12-26-2006, 05:56 AM   #2
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,132

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
Open a console, run the command '/sbin/ifconfig' ( without the quotes ) and post the results.

Other things that can cause this to fail, have you got a firewall running on Ubuntu?

Ping can not work until you have an IP address.

Where is the DHCP server you are trying to get an address from? Is it on the same lan?
 
Old 12-27-2006, 02:43 AM   #3
borjag
LQ Newbie
 
Registered: Dec 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Hi, Camorri...

Well, this is what I got from ifconfig:

infra@cutrepc2:/sbin$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:00:E2:13:80:9D
inet6 addr: fe80::200:e2ff:fe13:809d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6864446 errors:0 dropped:0 overruns:1 frame:1
TX packets:2717 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:769452931 (733.8 MiB) TX bytes:927630 (905.8 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:346 errors:0 dropped:0 overruns:0 frame:0
TX packets:346 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:18092 (17.6 KiB) TX bytes:18092 (17.6 KiB)


The strange thing is: when I first executed ifconfig, eth0 was gone... As I remember seeing eth0 when typing that command, I restarted the computer. eth0 was back again, but no trace from network response still... When I try to ping something inside my LAN it says "Network unreachable", or something along this lines...

My ethernet card is:

Intel Corporation 82577/8/9 [Ethernet Pro 100]

or at least that's the one ubuntu sees...

I don't know about the firewall... I didn't configure any. Don't know about the DHCP server either because I'm inside a big corporative network, so there's a full team devoted to setting it up. I guess it must be in my same LAN because the other versions of linux I tried before could connect to it using DHCP, but can't be sure...

Any ideas?

Thanks

Last edited by borjag; 12-27-2006 at 02:55 AM.
 
Old 12-27-2006, 08:40 AM   #4
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,132

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
I don't think that a firewall is there on Ubuntu by default. So for now I would not worry about that.

Since this is a corporate lan, I would suggest you contact the people who support the network, find out where the DHCP servers are, and are they doing MAC address filtering or anything else that may block you from accessing the DHCP server. Some corporations do this kind of thing as a security measure to prevent unauthorized access.

I worked for a large corporation for 32 years, so I know the only way to sort some of the things out is through support.

It appears to me your hardware is known to work. It was working with another distro. Ifconfig confirms a lot about the linux configuration ( card is recognized, and has some configuration ). The card is a common one. I see you have IPv6 running. Might want to check with your support people to see if that might be an issue. So much depends on their lan and the routers and switches they have installed and configured.

Last thing you could try is a static IP address. It has to be in the range of IP addresses the network is set up for. Then see if you can ping anything. That will confirm your hardware is good. You may need to check with your support people to see if that is O.K. first, they may tell you what address is good to go.
 
Old 12-28-2006, 02:17 AM   #5
borjag
LQ Newbie
 
Registered: Dec 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks, I will try and contact those who run my network from the shadows and see if they can help...

Happy New Year!!!!

Borja
 
  


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
Dynamic update DNS through DHCP? Problems configuring in Ubuntu 6.10 entropy Linux - Networking 2 12-11-2006 04:56 PM
RH9 DHCP Problems - Mixed Network e630193 Linux - Networking 2 11-21-2003 01:23 AM
Network and DHCP problems with 5.1 during install. darksky *BSD 7 10-29-2003 02:23 PM
dhcp & network problems time112852 Linux - Networking 8 09-24-2003 05:43 PM
DHCP client problems - network config RedHat123 Linux - Networking 1 12-16-2001 12:52 PM


All times are GMT -5. The time now is 07:35 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration