LinuxQuestions.org
Help answer threads with 0 replies.
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 11-19-2015, 08:19 PM   #1
rbuning
LQ Newbie
 
Registered: Nov 2015
Posts: 2

Rep: Reputation: Disabled
Angry Unable To Obtain DHCP Ip Address From ActionTec Router On Verizon FIOS


Hello,
I have a baffling problem connecting my Ubuntu 14.04 LTS laptop (Sony Viao) to my Verizon issued ActionTec router. When I connect a Windows or Mac OSX machines to the router, it is promptly issued a DHCP address in the 192.168.1.x subnet. When I connect my Ubuntu laptop to the very same wired connection.. I get nothing.

My /etc/network/interfaces look like this:
rbuning@flaggvaio:~$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

When I ask mii-tools about eth0... I get this:
rbuning@flaggvaio:~$ sudo mii-tool eth0
[sudo] password for rbuning:
eth0: negotiated 100baseTx-FD, link ok

So it sees the link on eth0 to the router!

When I attempt to manually obtain a DHCP address, I get the following response:

root@flaggvaio:~# dhclient -v eth0
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:13:a9:08:ba:f3
Sending on LPF/eth0/00:13:a9:08:ba:f3
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 (xid=0xbce3ab3f)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4 (xid=0xbce3ab3f)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11 (xid=0xbce3ab3f)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10 (xid=0xbce3ab3f)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13 (xid=0xbce3ab3f)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 19 (xid=0xbce3ab3f)

My MAC address is correct as shown and I can see that it is trying to obtain a DHCP address, but just cannot. I have turned off both the Networking Manager and the firewall (ufw)... and I don't know what to try next...

I have checked with fellow SysAdmins and Googled the topic and tried varies remedies... all of which did not work.

Any ideas on this most frustrating problem??

Thanks in advance...

Ron
 
Old 11-19-2015, 08:53 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
It doesn't reach the router, or the router isn't configured to answer this system.

Can you set the ip address and netmask manually and see if you can access the router?
Does the router have a log that might show if it receives the packets?
Can you trace the network on the other systems - they should see the DHCPDISCOVER packets originating from the Ubuntu box.
 
Old 11-19-2015, 09:49 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,973

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Did it ever work?

Did you try these ideas? http://askubuntu.com/questions/50997...u-14-04-server
 
Old 11-19-2015, 09:55 PM   #4
rbuning
LQ Newbie
 
Registered: Nov 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks berndbausch & jefro for the prompt response!

I'll take a look at the link... and no it is still not working...

So let me start from the begining... I should mention that I am running on a wireless connection (wlan0) at the same time with the wired connection (eth0).

So... I clobbered the Network Manager and lost my wireless connection on wlan0. Verified by the output below:

root@flaggvaio:~# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:13:02:40:c7:60
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:98191 errors:0 dropped:0 overruns:0 frame:0
TX packets:80227 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:87333441 (87.3 MB) TX bytes:14438973 (14.4 MB)

So I tried manually setting an IP address previously... so let me undo that:

root@flaggvaio:~# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:13:a9:08:ba:f3
inet addr:192.168.1.22 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::213:a9ff:fe08:baf3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:1 dropped:0 overruns:0 frame:1
TX packets:2775 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:461438 (461.4 KB)

root@flaggvaio:~# ifconfig eth0 down
root@flaggvaio:~# ifconfig eth0 192.168.1.22 netmask 255.255.255.0 up
root@flaggvaio:~# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:13:a9:08:ba:f3
inet addr:192.168.1.22 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::213:a9ff:fe08:baf3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:1 dropped:0 overruns:0 frame:1
TX packets:2817 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:468800 (468.8 KB)

root@flaggvaio:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
root@flaggvaio:~# route add default gw 192.168.1.1
root@flaggvaio:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
root@flaggvaio:~# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.22 icmp_seq=1 Destination Host Unreachable
From 192.168.1.22 icmp_seq=2 Destination Host Unreachable
From 192.168.1.22 icmp_seq=3 Destination Host Unreachable
^C
--- 192.168.1.1 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100 packet loss, time 3998ms
pipe 3
root@flaggvaio:~#

So I checked to see that eth0 was still configured:

root@flaggvaio:~# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:13:a9:08:ba:f3
inet addr:192.168.1.22 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::213:a9ff:fe08:baf3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:1 dropped:0 overruns:0 frame:1
TX packets:2841 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:470801 (470.8 KB)

Restarted the Network Manager so that I can re-establish my wireless connection so that I could email you back:


root@flaggvaio:~# service network-manager start
network-manager start/running, process 4603

And noticed that wlan0 and eth0 had been configured with the same .22 IP address:

root@flaggvaio:~# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:13:02:40:c7:60
inet addr:192.168.1.22 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::213:2ff:fe40:c760/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:98327 errors:0 dropped:0 overruns:0 frame:0
TX packets:80401 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:87373697 (87.3 MB) TX bytes:14467521 (14.4 MB)

What in the heck is going on???
 
  


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
unable to obtain DHCP address randy78 Linux - Newbie 3 03-17-2013 06:29 PM
Hostname appearing on my FiOS Actiontec Router DJOtaku Linux - Networking 5 07-23-2010 03:46 PM
How to obtain another IP address from DHCP server ICO Linux - Networking 4 05-10-2006 01:03 PM
unable to obtain ip address from dhcp server (Fedora Core 1) zero79 Linux - Hardware 5 11-15-2003 01:42 PM
Can't obtain ip using dhcp + linksys router OatBran Linux - Networking 0 11-14-2001 10:15 AM

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

All times are GMT -5. The time now is 05:34 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
Open Source Consulting | Domain Registration