LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 02-23-2011, 10:18 PM   #1
sls54
LQ Newbie
 
Registered: Aug 2010
Location: Akron, Ohio
Posts: 15

Rep: Reputation: 0
Wired Network won't connect Ubuntu 10.04.2


I have a new install of Ubuntu 10.04.2 and the network will not connect. This is a dual boot desktop system with Vista. The Vista network is good. When I boot up Ubuntu, the network icon seems to be searching but then the message "Wired network disconnected - you are now offline" appears. I ran ifconfig -a & got:

eth0 Link encap:Ethernet HWaddr 00:1d:09:7b:b5:29
inet6 addr: fe80::21d:9ff:fe7b:b529/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:262 (262.0 B) TX bytes:2520 (2.5 KB)
Memory:fdfc0000-fdfe0000

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:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:480 (480.0 B) TX bytes:480 (480.0 B)

I am behind a wired router with a DHCP Server. Does something need configured to fix the connection?
 
Old 02-23-2011, 10:47 PM   #2
justboo2u
Member
 
Registered: Feb 2011
Distribution: Ubuntu, Debian(ARM),XP,W7,CP/M
Posts: 126

Rep: Reputation: 20
Question

The output suggests that your IP address doesnt exist...

try running dhclient in a terminal window & see if that brings it up.

Cannot say why you'd have to do that... but...

(That was the 1st time I connected the hard-wire... came right up. )

Also... is the DHCP server setup for inet6?

Last edited by justboo2u; 02-23-2011 at 10:51 PM.
 
Old 02-24-2011, 06:25 PM   #3
sls54
LQ Newbie
 
Registered: Aug 2010
Location: Akron, Ohio
Posts: 15

Original Poster
Rep: Reputation: 0
I don't know if the router supports inet6. It is a linksys BEFSR41 v.2 if that helps. My netbook shows:

inet addr:192.168.1.103 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::8aae:1dff:fe0f:983e/64 Scope:Link
etc.

and the netbook works through the same router with Ubuntu 10.10 so I assume the router does support inet6.

So, when I ran dhclient I got:

steven@steven-desktop:~$ dhclient
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

can't create /var/lib/dhcp3/dhclient.leases: Permission denied
SIOCSIFADDR: Permission denied
SIOCSIFFLAGS: Permission denied
SIOCSIFFLAGS: Permission denied
Open a socket for LPF: Operation not permitted
steven@steven-desktop:~$

Last edited by sls54; 02-24-2011 at 06:44 PM.
 
Old 02-24-2011, 07:01 PM   #4
justboo2u
Member
 
Registered: Feb 2011
Distribution: Ubuntu, Debian(ARM),XP,W7,CP/M
Posts: 126

Rep: Reputation: 20
Quote:
Originally Posted by sls54 View Post
I don't know if the router supports inet6. It is a linksys BEFSR41 v.2 if that helps. My netbook shows:

inet addr:192.168.1.103 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::8aae:1dff:fe0f:983e/64 Scope:Link
etc.

and the netbook works through the same router with Ubuntu 10.10 so I assume the router does support inet6.

So, when I ran dhclient I got:

steven@steven-desktop:~$ dhclient
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

can't create /var/lib/dhcp3/dhclient.leases: Permission denied
SIOCSIFADDR: Permission denied
SIOCSIFFLAGS: Permission denied
SIOCSIFFLAGS: Permission denied
Open a socket for LPF: Operation not permitted
steven@steven-desktop:~$
You had me confused for a minute... mentioning the netbook...
It looks like there might be some issue with dhclient's permissions...
You shouldnt have to do this.. but you might wanna try
sudo dhclient
to see if root perms will straighten things out...

Cant be of more help as Im still new to Ubuntu myself... hope that helps!
 
Old 02-24-2011, 07:17 PM   #5
fbsduser
Member
 
Registered: Oct 2009
Distribution: Hackintosh, SlackWare
Posts: 267

Rep: Reputation: 30
AFAIK dhclient always require root privileges since it is interacting with /dev stuff (more
specifically your nic). The reason why networkmanager/wicd work as regular user is that the nic
management is done by a daemon.

Last edited by fbsduser; 02-24-2011 at 07:22 PM.
 
Old 03-08-2011, 07:53 PM   #6
sls54
LQ Newbie
 
Registered: Aug 2010
Location: Akron, Ohio
Posts: 15

Original Poster
Rep: Reputation: 0
Ok, let's try again. I haven't had time lately to try. I think maybe my router doesn't support inet6 & that is how I am trying to connect. Can someone tell me how to tell Ubuntu to use inet4 instead?

Would Ubuntu 10.10 solve this problem?

I have to keep rebooting into windows to get back to read this forum.

Last edited by sls54; 03-08-2011 at 07:55 PM.
 
  


Reply



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
Trying to connect to a Windows Computer Via a wired network Mickhumb Linux - Networking 1 02-15-2011 08:58 AM
Connect Wired Broadband with Ubuntu 9.10 AliMurtaza Linux - Newbie 6 12-20-2009 07:28 AM
Ubuntu Can't Connect Wired khdani Linux - Networking 7 01-16-2008 02:49 AM
Can't connect to wired network Randy Jackson Linux - Wireless Networking 4 01-17-2007 04:42 PM
Can't connect to wired network - Asus A8J/SuSe 10.1 Blade2006 SUSE / openSUSE 5 07-02-2006 09:13 PM

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

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