Ubuntu: Internet Connection Problems

Alright, so as the title suggests, I’m having problems establishing an internet connection on my Ubuntu side of my dual boot, Windows XP/Ubuntu.

I’ve looked through other forums (on different websites) and none of them seem to actually solve the problem, the user just tends to turn on their computer and it’s fixed. So any help would be wonderful.

Just let me know what information I need to get for you and how to do so, and maybe we can get this thing fixed.

Thank you ahead of time,
Bartric

What kind of Internet connection is it?

Dial-Up, Ethernet, Wireless?

That would be an important fact for us to know.
Also it would be nice to know whether it is a static IP network or a DHCP network.

And is it Ubuntu or Wubi? Wubi runs on windoze and windoze turns on all your external ports. Without windoze running Ubuntu can’t get at any of them.

%<

My internet connection is ethernet.
How can I tell if it’s static or DHCP?

And it’s Ubuntu, not the other one.

Well, one of the first things you should do is to copy down the Internet settings in Windows:
Do an ipconfig /all in the command prompt and write down all the IPs for the local connection. Then go into Ubuntu, right click the Network Icon, and add a new Wired profile with the information from Windows. Specifically you should pay attention to the computer IP, the gateway IP, the subnet mask, and the DNS servers.

You could also try doing the opposite of what egan is saying (not that there’s anything wrong with what egan is saying – it just sounds like work). Go into the “wired profile” and delete everything – just to make sure its doing whatever it does by default (which should work).

Alright, so I copied down my info from the command window like you said, went to Ubuntu, and tried every way I could think of to get it to work. But it didn’t.

Whenever I left click on the internet connections thing at the top right corner of the screen near the logout/shutdown/etc. button, it popes up the Wired Connections list and something about VSP configuration or something, well all of the wired connections are grey-ed out.

And when I right click on it it has the connection information grey-ed out, but I can go in and edit them and add new connections and stuff.

As for what J09 said, I don’t really understand what you’re asking me to do.

Open up a terminal and type these commands (without the quotes) ‘ifconfig’, ‘lspci’ and ‘lsmod’ and post the results of each one.

k, here it goes…

[email protected]:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:e0:4d:c4:15:01
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:53548954 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:480 (480.0 B) TX bytes:0 (0.0 B)
Interrupt:221 Base address:0x2000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:486 errors:0 dropped:0 overruns:0 frame:0
TX packets:486 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:30448 (30.4 KB) TX bytes:30448 (30.4 KB)

[email protected]:~$ lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge
00:02.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (ext gfx port 0)
00:07.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 3)
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [IDE mode]
00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3a)
00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] Link Control
01:00.0 VGA compatible controller: ATI Technologies Inc Device 9460
01:00.1 Audio device: ATI Technologies Inc HD48x0 audio
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
03:07.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 70)

[email protected]:~$ lsmod
Module Size Used by
nls_iso8859_1 12032 1
nls_cp437 13696 1
vfat 18816 1
fat 57376 1 vfat
binfmt_misc 16904 1
rfcomm 44432 0
sco 18308 2
bridge 56980 0
stp 10628 1 bridge
bnep 20480 2
l2cap 30464 6 rfcomm,bnep
bluetooth 61924 6 rfcomm,sco,bnep,l2cap
ppdev 15620 0
powernow_k8 22148 0
cpufreq_conservative 14600 0
cpufreq_userspace 11396 0
cpufreq_powersave 9856 0
cpufreq_stats 13188 0
cpufreq_ondemand 14988 4
freq_table 12672 3 powernow_k8,cpufreq_stats,cpufreq_ondemand
sbs 19464 0
sbshc 13440 1 sbs
container 11520 0
video 25104 0
output 11008 1 video
pci_slot 12552 0
battery 18436 0
iptable_filter 10752 0
ip_tables 19600 1 iptable_filter
x_tables 22916 1 ip_tables
ac 12292 0
sbp2 29324 0
parport_pc 39204 0
lp 17156 0
parport 42604 3 ppdev,parport_pc,lp
snd_seq_dummy 10884 0
psmouse 45200 0
serio_raw 13444 0
snd_seq_oss 38528 0
pcspkr 10624 0
snd_hda_intel 381488 3
snd_seq_midi 14336 0
evdev 17696 6
snd_pcm_oss 46848 0
snd_mixer_oss 22784 1 snd_pcm_oss
snd_rawmidi 29824 1 snd_seq_midi
snd_pcm 83204 2 snd_hda_intel,snd_pcm_oss
snd_seq_midi_event 15232 2 snd_seq_oss,snd_seq_midi
snd_seq 57776 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 29960 2 snd_pcm,snd_seq
snd_seq_device 15116 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 63268 15 snd_seq_oss,snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_rawmidi,snd_pcm,snd_seq,snd_timer,snd_seq_device
i2c_piix4 16144 0
soundcore 15328 1 snd
i2c_core 31892 1 i2c_piix4
snd_page_alloc 16136 2 snd_hda_intel,snd_pcm
wmi 14504 0
button 14224 0
shpchp 37908 0
pci_hotplug 35236 1 shpchp
ext3 133256 1
jbd 55444 1 ext3
mbcache 16004 1 ext3
sd_mod 42264 4
sr_mod 22212 0
crc_t10dif 9984 1 sd_mod
cdrom 43168 1 sr_mod
pata_atiixp 12800 2
ata_generic 12932 0
sg 39732 0
usb_storage 81728 1
usbhid 35840 0
hid 50560 1 usbhid
libusual 27156 1 usb_storage
pata_acpi 12160 0
ahci 37132 0
ohci1394 37936 0
ehci_hcd 43276 0
ieee1394 96324 2 sbp2,ohci1394
r8169 35972 0
ohci_hcd 31888 0
libata 177312 4 pata_atiixp,ata_generic,pata_acpi,ahci
scsi_mod 155212 6 sbp2,sd_mod,sr_mod,sg,usb_storage,libata
dock 16656 1 libata
usbcore 148848 6 usb_storage,usbhid,libusual,ehci_hcd,ohci_hcd
thermal 23708 0
processor 42156 2 powernow_k8,thermal
fan 12548 0
fbcon 47648 0
tileblit 10880 1 fbcon
font 16512 1 fbcon
bitblit 13824 1 fbcon
softcursor 9984 1 bitblit
fuse 60828 3

I hope this helps… :confused:

wow, that couldn’t have looked any messier… it looked kind of orderly before I posted, any way that I can fix that?

It’s fine.

Hardware seems to be detected properly and all that.

Try a ‘sudo dhclient eth0’ in the terminal and see what happens.

[email protected]:~$ sudo dhclient eth0
[sudo] password for clinton:
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:e0:4d:c4:15:01
Sending on LPF/eth0/00:e0:4d:c4:15:01
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

You do get your IP address from a dhcp server, right?

And you did the suggested clearing out of all the existing ‘wired’ configs in the network manager applet?

Try a ‘sudo rmmod r8169 && sudo modprobe r8169’ and then run the dhclient command again. You can also run ‘dmesg’ after the modprobe command to see if there are any errors after it loads the module.

Alright, just went and cleared all of the wired configs, and it added it’s own ‘auto ethernet’ or something of the like, still wasn’t getting connection so I ran all of the stuff you did, the dhclient report roughly the same exact thing as before, and I’m not sure exactly what I was looking for in dmesg but it said soemthing about eth0 is down/not connected.

help please, I’d really like to get it working