UBUNTU 11.10 Network not working after fresh installation
Hello,
I have installed the 11.10 release and the wired network is not getting connected, kindly suggest what to do.
1)Office Network is working fine on Windows xp ( I have a dual boot).
2)Its DHCP I have selected
IPv4 (TAB)
>> Method = Address (DHCP)
IPv6 (TAB)
>>Method = Ignore
Question information
- Language:
- English Edit question
- Status:
- Expired
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
do you have dhcpcd installed? if yes have you tried configuring you eth0 (if its the same) using the same?
Revision history for this message
|
#2 |
I have downloaded the ubuntu-
Any separate dhcpcd installation not done (hope this comes with the standard package) if there is command to verify the same please let me know will give that too.
thanks.....
Revision history for this message
|
#3 |
two pieces of info would be helpful
open up 'terminal' (it pops up in the unity search feature) and run
ifconfig -a
cat /etc/resolv.conf
shouldn't need to 'sudo' either.
the first will show if you're getting assigned an IP address
the second will show if your machine has been auto-configured in a way that will prevent DNS from working.
Revision history for this message
|
#4 |
You can try what Ben prescott suggested above and provide the information resulted.
also, you can try dhcpcd command
sudo dhcpcd eth0 ( normally ethernet internet is eth0, but verify it from ifconfig -a command )
Revision history for this message
|
#5 |
https:/
please find the ifconfig result i will try to provide more info later -let me know if this helps.
Revision history for this message
|
#6 |
So the screenshot shows three interfaces.
eth0 will be the ethernet interface you're having difficulties with. No IP address.
lo is loopback; ignore that
wlan0 is - I assume - your internet connection; that has an IP.
Run ..
cat /etc/network/
In there, do you find two lines as follows ..
auto eth0
iface eth0 inet manual
And, do you also find that when you click on the desktop network status icon - 'v' shape with a curved top - it says
wired network
device not managed
Revision history for this message
|
#7 |
I've just fixed my fresh 12.04 machine here; it didn't get a DHCP address after being built either, and I set up the connection for DHCP in the GUI the same as you.
Try this ..
From the terminal:
sudo gedit /etc/network/
the GUI text editor should then open.
edit out the 'iface eth0 inet manual' line
save
reboot
I think the network manager icon etc. will take over.
Revision history for this message
|
#8 |
ccan you check the ipv4 settings in the 'edit connections'
also try to run dhcpcd command which i wrote above( for me it usually works in some weird conditions, because it automatically configures/renew the ip address)
Revision history for this message
|
#9 |
also check for the output of
cat /etc/network/
Revision history for this message
|
#10 |
This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.
Revision history for this message
|
#11 |
https:/
sorry for the delay I was out of the town....
Revision history for this message
|
#12 |
please let me know what to do next I am not able to connect to LAN or wireless systems.
Revision history for this message
|
#14 |
Looking at my 11.04 system, I think the DHCP client is /sbin/dhclient, and that was already installed. Not sure about later releases.
So, the question is why isn't it working.
I see the 'sudo gedit' worked, and I see in there only the loopback interface.
Run that again
sudo gedit /etc/network/
and add the following on a separate line at the bottom of the file.
auto eth0
Reboot. Let us see if that works.
Revision history for this message
|
#15 |
Wireless is a bigger question!
I misinterpreted your first googledoc; wireless will be the wlan0 interface, and that looked like it had been set up and issued an IP address.
If that isn't working either, then it remains sensible to get ethernet working first. Shouldn't have to worry about firmware for ethernet.
Revision history for this message
|
#16 |
Dear Ben,
1st thing Wireless is working now . :-)
2nd I have done what you ave told and re-boot the system still nothing on LAN connection.
https:/
Revision history for this message
|
#17 |
Hi all,
I have done all the above suggestion told to me and the output is attached in the link,
https:/
Revision history for this message
|
#18 |
still LAN is not wroking it says wired connection disconnected.
Revision history for this message
|
#19 |
I've no idea how to get DHCP working manually. Ubuntu ships with GUIs and scripts to do that ...
As the additional line didn't get the GUI network manager to do the job, try .. adding another line and rebooting.
auto eth0
iface eth0 inet dhcp
If that still doesn't work ...
grep dhclient /var/log/syslog
capture any entries relating to the reboot. use 'sudo' if you get 'permission denied'
If there aren't any, the log might have been rotated ..
ls -altr /var/log/syslog*
-rw-r----- 1 syslog adm 25366 Apr 3 08:16 /var/log/
-rw-r----- 1 syslog adm 426558 Apr 4 21:20 /var/log/syslog.1
-rw-r----- 1 syslog adm 274 Apr 4 21:22 /var/log/syslog
On my system, I would
grep dhclient /var/log/syslog.1
You may find you've got a /var/log/syslog.0 instead.
nb - I'm away from home a couple of weeks; only got a laptop with Precise on it ... so I'm hoping this stuff hasn't changed.
Revision history for this message
|
#20 |
again a failure ! what is the step I am missing here ? This is fresh installation so why its not working ...........
https:/
shall I scrap and re-install will that resolve my problem
Revision history for this message
|
#21 |
check ifconfig -a
does eth0 now have an IP address?
the logs suggest it might.
That last config change will result in the GUI showing the interface as unmanaged; but it will have an ip address and hopefully it'll be a usable network connection.
I would expect this to work on a fresh installation, but it didn't last time. So a reinstall is worth trying; but if it is usable at the moment, a fresh install of 12.04 instead might be worth the wait; it's due out at the end of April.
Revision history for this message
|
#22 |
This question was expired because it remained in the 'Open' state without activity for the last 15 days.