LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 01-20-2010, 12:34 PM   #1
joecr
LQ Newbie
 
Registered: Sep 2008
Distribution: Kubuntu
Posts: 5

Rep: Reputation: 0
Trouble connecting to a wired network


I installed a copy of Kubuntu on my desktop at work yesterday & I was able to connect to the Internet just fine then but today when I came in I can not get an IP address, from what I can tell.

ifconfig just lists the following.
eth0 Link encap:Ethernet HWaddr 00:08:74:bc:b0:59
inet6 addr: fe80::208:74ff:febc:b059/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:278 errors:0 Dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:17792 (17.7 KB) TX bytes:3952 (3.9 KB)
Interrupt:17
 
Old 01-20-2010, 01:06 PM   #2
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Type:
Code:
dhclient eth0
 
Old 01-20-2010, 01:25 PM   #3
joecr
LQ Newbie
 
Registered: Sep 2008
Distribution: Kubuntu
Posts: 5

Original Poster
Rep: Reputation: 0
Here is what I got as a result. Does that mean that this is fixed permanently or will it still be an issue?

Code:
dhclient eth0
Internet Systems Consortium DHCP Client V3.1.2
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/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
 
Old 01-20-2010, 01:29 PM   #4
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Code:
sudo dhclient eth0
 
1 members found this post helpful.
Old 01-20-2010, 01:40 PM   #5
joecr
LQ Newbie
 
Registered: Sep 2008
Distribution: Kubuntu
Posts: 5

Original Poster
Rep: Reputation: 0
I hope that because it didn't say "Permission denied" several times that fixed this issue.

Code:
sudo dhclient eth0
[sudo] password for jcrown:
Internet Systems Consortium DHCP Client V3.1.2
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:08:74:bc:b0:59
Sending on   LPF/eth0/00:08:74:bc:b0:59
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPOFFER of 192.168.1.111 from 192.168.1.2
DHCPREQUEST of 192.168.1.111 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.111 from 192.168.1.2
bound to 192.168.1.111 -- renewal in 35865 seconds.

Last edited by joecr; 01-20-2010 at 01:43 PM. Reason: wrong info pasted
 
Old 01-20-2010, 01:55 PM   #6
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Can you connect to a wired network now?
 
Old 01-20-2010, 02:24 PM   #7
joecr
LQ Newbie
 
Registered: Sep 2008
Distribution: Kubuntu
Posts: 5

Original Poster
Rep: Reputation: 0
Yes I just was wondering if it is likely to keep the issue from happening again. I had a different issue with a sound card where I had to do several steps every time I booted to get sound until I found some directions to permanently resolve it.
 
Old 01-20-2010, 02:38 PM   #8
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Actually it should not happen. Because "dhclient" executes by Network Manager, when it brings interface "up"
May be it just failed to get IP addresses, how knows.

If it happen again, just execute "sudo dhclient eth0", or write here, may be someone who like ubuntu|kubuntu will explain to you.
 
1 members found this post helpful.
Old 01-20-2010, 04:46 PM   #9
joecr
LQ Newbie
 
Registered: Sep 2008
Distribution: Kubuntu
Posts: 5

Original Poster
Rep: Reputation: 0
Well I was just forced to reboot it & it was still working so hopefully it is totally resolved. Thanks for the help that made things much easier to work.
 
  


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
bridging a wireless and wired network causes wired to stop working royce2020 Linux - Networking 0 04-21-2009 04:48 PM
Having trouble connecting to Wireless Network in ubuntu Rasenganfan2 Linux - Newbie 2 04-02-2009 06:37 PM
Having Trouble Connecting Wireless USB Network Adapter. merknaan SUSE / openSUSE 5 01-26-2008 12:32 PM
Trouble connecting to a wireless network in FC6 with a wg111v2 tommosimmo Linux - Wireless Networking 2 03-24-2007 05:39 PM
Trouble Connecting to Wireless Network halfpower *BSD 2 09-06-2005 06:55 AM

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

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