LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-15-2007, 12:43 PM   #1
rsain
LQ Newbie
 
Registered: May 2007
Posts: 3

Rep: Reputation: 0
Problem connecting to Linksys wrt54g (ubuntu server 7.04)


The issue is VERY similar to this problem:

showthread.php?t=491092

I'm at home running a cable modem --> linksys wrt54g --> Two home computers and two Ubuntu Servers (sunfire x2200's)

Router is set to DHCP. Both macintosh machines are able to pull an IP, one is wireless the other is wired.

I added the two servers the other day (Ubuntu server latest stable release). I have the cable installed in eth1 (I also tried this in eth0). The /etc/network/interfaces file is set as follows:
---
#the rimary network interface
auto eth1
#iface the1 inet static
# address 192.168.1.111
# netmask 255.255.255.0
# network 192.168.1.0
# broadcast 192.168.1.255
# gateway 192.168.1.1
iface eth1 inet dhcp
---

after changing it from static (I commented all the lines) I ran sudo /etc/init.d/networking restart and I get the following:


There is already a pid file /var/run/dhclient.eth1.pid with pid 4897
killed old client processes, removed old pid file
<snip>
dhcpdiscover on eth1 to 255.255.255.255 port 67 interval 3
dhcpdiscover on eth1 to 255.255.255.255 port 67 interval 4
dhcpdiscover on eth1 to 255.255.255.255 port 67 interval 7
dhcpdiscover on eth1 to 255.255.255.255 port 67 interval 12
dhcpdiscover on eth1 to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received
no working leases in persistent database - sleeping


Now I run ifconfig eth1 and this is returned:

eth1 link encap:ethernet hwaddr 00:16:36:68:46:0e
upbroadcast multicast mtu:1500 metric:1
rx packets:0 errors:0 dropped:0 overruns:0 frame:0
tx packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
rx bytes:0 (0,0 b) tx bytes: 0(0,0 b)
interrupt:20 base address: 0xe000


As you can see it's not pulling an IP address!
Any ideas what is going on?

I've tried both machines, multiple ports on each. I tried setting it up as static. I reset the servers, I reset the router.

I'm at a loss.

TIA,

- Ryan
 
Old 05-15-2007, 01:00 PM   #2
Centinul
Member
 
Registered: Jun 2005
Distribution: Gentoo
Posts: 552

Rep: Reputation: 30
I have a similar problem with Ubuntu 7.04 (Feisty). The differences being that I'm trying to connect via wireless. I have to restart networking 2-5 times before I get an IP Address. I'm also running a WRT54G (w/ DD-WRT Firmware).

I wonder if there is a bug in the DHCP client that got pushed out with Feisty?

Hopefully someone can answer. Have you tried the Ubuntu forums?

Thanks,

Centinul
 
Old 05-15-2007, 01:16 PM   #3
rsain
LQ Newbie
 
Registered: May 2007
Posts: 3

Original Poster
Rep: Reputation: 0
But you were able to get it to pull an IP? I would love that.

I went to ubuntu forums but it's down - say's try back later.

So, just keep doing a /etc/init.d/networking restart ?

- Ryan
 
Old 05-15-2007, 02:55 PM   #4
Centinul
Member
 
Registered: Jun 2005
Distribution: Gentoo
Posts: 552

Rep: Reputation: 30
That's what I did, sometimes it worked sometimes it didn't. It is unfortunately halting me from using linux on my laptop because I don't want to spend 20 minutes everytime a boot up to get an IP Address... I hope it's an easy fix.
 
Old 05-15-2007, 03:58 PM   #5
rsain
LQ Newbie
 
Registered: May 2007
Posts: 3

Original Poster
Rep: Reputation: 0
I'll report back as to the result.... I'm still not getting anywhere.

- ryan
 
  


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
linksys wrt54g firmware gv_rajasekhar Linux - Networking 1 11-27-2006 12:11 PM
Linksys WRT54G Access Restrictions pljvaldez Linux - Networking 7 11-13-2006 04:02 AM
problem with linksys wrt54g and adsl2mue duffboygrim Linux - Networking 0 04-29-2005 03:08 PM
WRT54G linksys router reefa Linux - Networking 2 03-16-2005 04:56 PM
connecting over linksys wet54g wireless bridge to wrt54g meyersjd Linux - Wireless Networking 0 02-27-2005 02:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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