PDA

View Full Version : [ubuntu] 8.04 connection troubles



hwttdz
April 25th, 2008, 05:20 AM
I just upgraded (reformatted and clean installed) 8.04. I now have 0 internet connection. I don't even know where to start with getting things going. I have tried dhcp, and choosing my own ip address (just typed in what I got from window's ipconfig) and whatever the other option there is (I'm typing from windows now so I can't look). In network tools it seems to be sending pings from eth0, at least the bytes sent increments when I ping something. I've entered the open dns servers as my dns servers (I deleted an empty dns server there). I don't know what to do. Any help would be appreciated. Thank you.

superprash2003
April 25th, 2008, 11:52 AM
are you getting an ip from your router? type ifconfig and check if you are getting an ip.. if possible post the results here

hwttdz
April 25th, 2008, 12:09 PM
The results of ifconfig in ubuntu are:



eth0 Link encap:Ethernet HWaddr 00:18:f3:b7:08:12
inet6 addr: fe80::218:f3ff:feb7:812/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:83 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:13138 (12.8 KB)
Interrupt:250 Base address:0x2000

eth1 Link encap:Ethernet HWaddr 00:18:f3:b7:13:11
UP BROADCAST 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:249 Base address:0x4000

eth0:avahi Link encap:Ethernet HWaddr 00:18:f3:b7:08:12
inet addr:169.254.4.158 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:250 Base address:0x2000

eth1:avahi Link encap:Ethernet HWaddr 00:18:f3:b7:13:11
inet addr:169.254.4.197 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
Interrupt:249 Base address:0x4000

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:2404 errors:0 dropped:0 overruns:0 frame:0
TX packets:2404 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:121601 (118.7 KB) TX bytes:121601 (118.7 KB)

wlan0 Link encap:Ethernet HWaddr 00:15:af:08:53:7c
UP BROADCAST 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)

wmaster0 Link encap:UNSPEC HWaddr 00-15-AF-08-53-7C-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING 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)

viceroy
April 25th, 2008, 12:33 PM
Try blacklisting the IPv6 router by typing


sudo nautilas

Once nautilas opens go to etc/modprobe.d add this to the file


blacklist ipv6

In the same folder "etc" go the the aliases file and press [space] once next to IPv6 add this


disable=true

I installed 8.04 on my grandpas computer and he had a sis191 ehternet adapter this is how I got it to work. It wasn't using ipv4 on its own.

viceroy
April 25th, 2008, 12:41 PM
After you do all that then take your connection down and back up with this


sudo ifdown eth0

sudo ifup eth0

and then do this


sudo dhclient eth0

don't forget to enable dhcp.

hwttdz
April 25th, 2008, 12:48 PM
Do I enable DHCP in a place other than network manager?

viceroy
April 25th, 2008, 12:51 PM
network manager is fine

hwttdz
April 25th, 2008, 12:58 PM
Still no luck.

Results of
ifdown eth0
ifup eth0
dhclient eth0



me@nightcrawler:~$ sudo ifdown eth0
[sudo] password for me:
There is already a pid file /var/run/dhclient.eth0.pid with pid 6609
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/eth0/00:18:f3:b7:08:12
Sending on LPF/eth0/00:18:f3:b7:08:12
Sending on Socket/fallback
me@nightcrawler:~$ sudo ifup eth0
There is already a pid file /var/run/dhclient.eth0.pid with pid 0
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/eth0/00:18:f3:b7:08:12
Sending on LPF/eth0/00:18:f3:b7:08:12
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

me@nightcrawler:~$ sudo dhclient eth0
[sudo] password for me:
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/eth0/00:18:f3:b7:08:12
Sending on LPF/eth0/00:18:f3:b7:08:12
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 1
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

viceroy
April 25th, 2008, 01:02 PM
you don't happen to be using wireless do you?

hwttdz
April 25th, 2008, 01:07 PM
Nope, when I post I'm posting from windows of a dual boot.

viceroy
April 25th, 2008, 01:13 PM
Can you post the results to this for me


dmesg | grep eth

hwttdz
April 25th, 2008, 01:33 PM
I get:



[ 42.160421] forcedeth: Reverse Engineered nForce ethernet driver. Version 0.61.
[ 42.678475] forcedeth 0000:00:11.0: ifname eth0, PHY OUI 0x5043 @ 1, addr 00:18:f3:b7:08:12
[ 42.678479] forcedeth 0000:00:11.0: highdma csum vlan pwrctl mgmt timirq gbit lnktim msi desc-v3
[ 43.197666] forcedeth 0000:00:12.0: ifname eth1, PHY OUI 0x5043 @ 1, addr 00:18:f3:b7:13:11
[ 43.197670] forcedeth 0000:00:12.0: highdma csum vlan pwrctl mgmt timirq gbit lnktim msi desc-v3
[ 43.214506] Driver 'sd' needs updating - please use bus_type methods
[ 43.215364] sda:<4>Driver 'sr' needs updating - please use bus_type methods
[ 53.822011] eth1: no link during initialization.


I'd love to update my drivers, but it's harder without a connection.

superprash2003
April 25th, 2008, 02:25 PM
have you tried manually entering the ip address in the network manager?

hwttdz
April 25th, 2008, 02:26 PM
Yup, I did that copying the address that windows had assigned me and that seems to work there.

superprash2003
April 25th, 2008, 02:58 PM
have you tried pinging the router when it is manually assigned?assign ip manually and then post ifconfig results and also type ping 192.168.1.1 if 192.168.1.1 is your router ip and post results here

GreatSunJester
April 25th, 2008, 04:19 PM
Did a full install on my crappy Compaq laptop (using a generic Atheros wireless and the default HP wired). Everything installed perfectly but I ended up with the same issue you report.
Even looking at my router (Buffalo with tomato firmware) I can see both devices being assigned IPs but I could do nothing with the connections. Restarting networking and even the whole machine never helped.
Until I specified my DNS -- both connections immediately began working. For some reason the networking in 8.04 is not getting all the info my router was providing. Vista and XP get it correctly. I have not tried this machine on other networks yet to see if it is an issue with my router or with the networking itself.

hwttdz
April 28th, 2008, 06:08 AM
As I have already stated I have been using open dns dns servers, entered into the dns servers, I have also tried using a manually assigned ip address.

What exactly are you looking from ifconfig, as I would like to provide just that information using a second computer rather that having to reboot just to copy and paste.

josel777
April 28th, 2008, 06:25 AM
I am having the same problem. Updated from Gutsy to Hardy and have no internet connection (wired or wireless). I reinstalled my wireless drivers and now my wireless light is blue, yet when I try connecting to my router I can't get an IP address.

This is incredibly frustrating.

Update, I can connect to the Internet as long as I manually enter the IP.

al-fil
April 28th, 2008, 07:18 AM
Same thing here. Updated from Gutsy 7.10 to hardy 8.04 and no internet. When I first installed Gutsy two months ago I had to do nothing to get my wired connection running-
Anyway, I've tried going through connection manager but had no luck. I'm using my windows laptop (yuck!](*,)) and I can't find a decent procedure to get my connection back. I've read other posts that talk about b43-fwcutter and broadcom but I've no idea what those are for.. Please help me get back to my ubuntu box!

http://ubuntuforums.org/showthread.php?t=766800&highlight=ubuntu+update+internet

coolclassic
April 28th, 2008, 08:54 AM
Same here, the advice given is a repeat of the advice given to others with same/similar problems.

Here is my problem reposted: hope this helps someone to get to the root of problem.
-------------------------------------------------
I have just installed kubuntu hardy and now have issues connecting to internet.

Konqueror displays "ubuntuforums.org contacted. waiting for reply"

I can ping above web address and ifconfig shows:

eth0 Link encap:Ethernet HWaddr 00:1d:7d:2b:40:df
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21d:7dff:fe2b:40df/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:85 errors:0 dropped:0 overruns:0 frame:0
TX packets:134 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:25786 (25.1 KB) TX bytes:22812 (22.2 KB)
Interrupt:223 Base address:0x2000

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

knetworkmanager shows that I am receiving and transmitting data.

On occasions konqueror progress bar shows 75% and then freezes but no info is shown on screen.

Any one got an idea whats going on

joes_meat
April 28th, 2008, 08:54 AM
I am having this problem too.

I've tried booting with acpi=noirq on a recommendation with no luck (made the system run really slowly too.)

I've tried with a Via Rhine VT6107 and another generic Ethernet card. Exactly the same results.

On roaming and DHCP, it gets a private ip address: 169.x.x.x
On static, I use 192.168.1.2, it can ping itself but not the router or internet.

Worked fine in Dapper, Edgy, Feisty, and Gutsy.

hwttdz
April 28th, 2008, 03:21 PM
I can get a connection if at the prompt I call

sudo modprobe -r forcedeth
sudo modprobe forcedeth msi=0 msix=0
sudo /etc/init.d/networking restart

Right now I am unable to get this to work at startup. So I am still looking for a way to do that.

joes_meat
April 28th, 2008, 04:19 PM
Add those commands to bootup.

hwttdz
April 28th, 2008, 04:20 PM
Can you please elaborate?

al-fil
April 29th, 2008, 01:32 AM
Adding to boot up is not working... But in case you want to try, see post #57 by sam_delta
http://ubuntuforums.org/showthread.php?t=766800&page=6

josel777
May 1st, 2008, 05:17 AM
For those with Broadcom cards, this worked for me:

http://ubuntuforums.org/showthread.php?t=766560

v.s
May 22nd, 2008, 03:38 AM
I don't know if anyone else has this problem, but anyway, here it goes:

When I leave the network setting at roaming, it recognizes a connection, but I get no IP address. Then, when I change it to DHCP, it doesn't recognize a connection, at all.

I've already blacklisted IPv6, by the way.

Dutchmaster
May 23rd, 2008, 09:04 AM
All these attempts to solve this require a Ph.D in command line ... :mad:. Repeatedly they're not working. It's obviously a major showkiller bug for a user. I suggest the team prioritize coming up with a more automated fix if you're ever going to hope to attract Windows users.

I'll just wait for Linux Mint Elyssa - they'll fix it.

This does not happen in other distros - not even one - of the scores of distros I've tried.

ubume2
May 23rd, 2008, 04:20 PM
edited 24052008
found my solution!

Using a belkin Wirless G usb network adapter:

1. no problem with the right driver.
2. able to get wireless by entering commands in the terminal
3. I have my essid hidden
4. I use WEP 128 bit encryption
5. I followed the instructions in this thread, helpful, but no connection.

http://ubuntuforums.org/showthread.php?t=571188

I tried for hours using the instructions on that thread. It was helpful towards my final
solution. Using the Network manager just kept getting me into dead ends.


$ sudo gedit /etc/rc.local showed this:


#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

exit 0
I added this to the rc.local:


ifconfig eth0 down
ifconfig eth1 down
dhclient -r eth1
ifconfig eth1 up
iwconfig eth1 essid "linksys"
iwconfig eth1 encryption on
iwconfig eth1 key 1a2b3c4d5e ASCII
dhclient eth1

rebooted and still nothing. I wondered why that would not get my a connection on boot. I got desperate. I remembered my simple bin bash command. I commented out #!/bin/sh -e, added #!/bin/bash. saved rc.local and rebooted. And I had an internet connection on boot. #!/bin/sh -e should have worked, but not for me.

Make sure you don't have any driver conflicts. I Installed rt73 rt 2500 with ndiswrapper, and it did nothing. I finally deleted rt73,rt2500, and ndiswrapper. It seems that 8.04 and 7.10 have the drivers native that are compatible with this Belkin.

Try entering first from the command line to see if you can get a connection:

ifconfig eth1 down
sudo dhclient -r eth1
sudo ifconfig eth1 up
sudo iwconfig eth1 essid "your routername"
sudo iwconfig eth1 encryption on #I don't know if you need this
sudo iwconfig eth1 key 1a2b3c4d5e ASCII
sudo dhclient eth1

************************************************** *****************


All these attempts to solve this require a Ph.D in command line ... :mad:. Repeatedly they're not working. It's obviously a major showkiller bug for a user. I suggest the team prioritize coming up with a more automated fix if you're ever going to hope to attract Windows users.

Yes, it should be easier than this!

hwttdz
August 27th, 2008, 08:39 AM
I know I'm awful for not sharing earlier, but I found (and now refound a solution to this).

Add the following line to /etc/modprobe.d/options

options forcedeth msi=0 msix=0
Then rebuild initramfs like this

sudo update-initramfs -u

If you read down further I see msi=1, which may work for some, but I have not tested it.

source1 (http://ubuntuforums.org/showthread.php?t=766800&page=7)
source2 (https://bugs.launchpad.net/ubuntu/+bug/136836)