Results 1 to 8 of 8
I have just dual booted my pc to run windows 7(64 bit) and ubuntu 9.10 (64 bit). This is my FIRST time using ubunutu and i have spent the whole ...
- 02-16-2010 #1Just Joined!
- Join Date
- Feb 2010
- Posts
- 5
[SOLVED] Help! Internet does not work on Ubuntu 9.10 (64bit)
I have just dual booted my pc to run windows 7(64 bit) and ubuntu 9.10 (64 bit). This is my FIRST time using ubunutu and i have spent the whole day trying to get my internet working but with no success. I have come so close to giving up on ubuntu but for some reason i just cant let go!!
When i type in ifconfig in the terminal i can see that i have an ip address assigned and i can ping my router.
My motherboard came with linux drivers and i tried installing the LAN drivers with the included instructions i have got no where. I did find out that the file name in the instructions was wrong and the actual name is r8168-8.012.00.
Here are the instructions-
Step 1: sudo tar vjxf r8168-8.005.02.tar.bz2
Step 2: sudo cd r8168-8.005.02
Step 3: sudo make clean modules
Step 4: sudo make install
Step 5: sudo depmod -a
Step 6: sudo mv /lib/modules/`uname -r`/kernel/drivers/net/r8169.ko ~/
This will move the r8169 kernel module into your home directory.
Step 7: sudo depmod -a
Rebuild the kernel module dependencies.
Step 8: sudo mv /boot/initrd.img-`uname-r` /boot/initrd.img-`uname -r`.ubuntu
make a backup of the original initrd.
Step 9: sudo mkinitramfs -o /boot/initrd.img-`uname -r` `uname -r`
Create a new initrd WITHOUT the r8169 module
Step 10: sudo vim /etc/modules
=>and add "r8168" (without the quotes) at the end of the file.
Step 11: init 6
reboot the system
---------------------------------
This is what happens when i execute step 3
make -C src/ clean
make[1]: Entering directory `/home/hometheatre/Desktop/r8168-8.012.00/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers Module.markers *.order
make[1]: Leaving directory `/home/hometheatre/Desktop/r8168-8.012.00/src'
make -C src/ modules
make[1]: Entering directory `/home/hometheatre/Desktop/r8168-8.012.00/src'
make -C /lib/modules/2.6.31-14-generic/build SUBDIRS=/src modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
scripts/Makefile.build:44: /src/Makefile: No such file or directory
make[3]: *** No rule to make target `/src/Makefile'. Stop.
make[2]: *** [_module_/src] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/hometheatre/Desktop/r8168-8.012.00/src'
make: *** [modules] Error 2
Can anyone make sense of this? Is there an easier way to connect to the internet?
I have tried the ubuntu forums but havnt had any luck. Hoping someone can help me here!
Thanks in advance.
- 02-16-2010 #2
I think it's unlikely you need to compile that module yourself.
Let's get a little more information first. Please post the output of
Code:lspci -vnn lsmod
- 02-16-2010 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,976
The fact that you have been assigned a (I assume) dhcp address and can ping the router means that your ethernet is working, but if you cannot get to the Internet then it is likely that your DNS and/or gateway settings are wrong. Post here the results of the command ifconfig -a and the contents of the file /etc/resolv.conf and we can probably get you going pdq.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 02-16-2010 #4Just Joined!
- Join Date
- Feb 2010
- Posts
- 5
Hey reed9 thanks for the reply

Here are the requested outputs
@ lspci -vnn
00:00.0 Host bridge [0600]: Advanced Micro Devices [AMD] RS780 Host Bridge Alternate [1022:9601]
Subsystem: ASUSTeK Computer Inc. Device [1043:83a2]
Flags: bus master, 66MHz, medium devsel, latency 0
Capabilities: <access denied>
00:01.0 PCI bridge [0604]: ASUSTeK Computer Inc. Device [1043:9602]
Flags: bus master, 66MHz, medium devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: fe800000-fe9fffff
Prefetchable memory behind bridge: 00000000d0000000-00000000dfffffff
Capabilities: <access denied>
Kernel modules: shpchp
00:07.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 3) [1022:9607]
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
Memory behind bridge: fea00000-feafffff
Capabilities: <access denied>
Kernel driver in use: pcieport-driver
Kernel modules: shpchp
00:0a.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 5) [1022:9609]
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 0000e000-0000efff
Memory behind bridge: feb00000-febfffff
Prefetchable memory behind bridge: 00000000fdf00000-00000000fdffffff
Capabilities: <access denied>
Kernel driver in use: pcieport-driver
Kernel modules: shpchp
00:11.0 SATA controller [0106]: ATI Technologies Inc SB700/SB800 SATA Controller [IDE mode] [1002:4390] (prog-if 01)
Subsystem: ASUSTeK Computer Inc. Device [1043:8389]
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 22
I/O ports at c000 [size=8]
I/O ports at b000 [size=4]
I/O ports at a000 [size=8]
I/O ports at 9000 [size=4]
I/O ports at 8000 [size=16]
Memory at fe7ffc00 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ahci
00:12.0 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller [1002:4397] (prog-if 10)
Subsystem: ASUSTeK Computer Inc. Device [1043:8389]
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
Memory at fe7fe000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd
00:12.1 USB Controller [0c03]: ATI Technologies Inc SB700 USB OHCI1 Controller [1002:4398] (prog-if 10)
Subsystem: ASUSTeK Computer Inc. Device [1043:8389]
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
Memory at fe7fd000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd
00:12.2 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB EHCI Controller [1002:4396] (prog-if 20)
Subsystem: ASUSTeK Computer Inc. Device [1043:8389]
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
Memory at fe7ff800 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd
00:13.0 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller [1002:4397] (prog-if 10)
Subsystem: ASUSTeK Computer Inc. Device [1043:8389]
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
Memory at fe7fc000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd
00:13.1 USB Controller [0c03]: ATI Technologies Inc SB700 USB OHCI1 Controller [1002:4398] (prog-if 10)
Subsystem: ASUSTeK Computer Inc. Device [1043:8389]
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
Memory at fe7fb000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd
00:13.2 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB EHCI Controller [1002:4396] (prog-if 20)
Subsystem: ASUSTeK Computer Inc. Device [1043:8389]
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
Memory at fe7ff400 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd
00:14.0 SMBus [0c05]: ATI Technologies Inc SBx00 SMBus Controller [1002:4385] (rev 3c)
Subsystem: ASUSTeK Computer Inc. Device [1043:8389]
Flags: 66MHz, medium devsel
Capabilities: <access denied>
Kernel modules: i2c-piix4
00:14.1 IDE interface [0101]: ATI Technologies Inc SB700/SB800 IDE Controller [1002:439c] (prog-if 8a [Master SecP PriP])
Subsystem: ASUSTeK Computer Inc. Device [1043:8389]
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
I/O ports at 01f0 [size=8]
I/O ports at 03f4 [size=1]
I/O ports at 0170 [size=8]
I/O ports at 0374 [size=1]
I/O ports at ff00 [size=16]
Capabilities: <access denied>
Kernel driver in use: pata_atiixp
00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia (Intel HDA) [1002:4383]
Subsystem: ASUSTeK Computer Inc. Device [1043:836c]
Flags: bus master, slow devsel, latency 64, IRQ 16
Memory at fe7f4000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
00:14.3 ISA bridge [0601]: ATI Technologies Inc SB700/SB800 LPC host controller [1002:439d]
Subsystem: ASUSTeK Computer Inc. Device [1043:8389]
Flags: bus master, 66MHz, medium devsel, latency 0
00:14.4 PCI bridge [0604]: ATI Technologies Inc SBx00 PCI to PCI Bridge [1002:4384] (prog-if 01)
Flags: bus master, 66MHz, medium devsel, latency 64
Bus: primary=00, secondary=04, subordinate=04, sec-latency=64
00:14.5 USB Controller [0c03]: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller [1002:4399] (prog-if 10)
Subsystem: ASUSTeK Computer Inc. Device [1043:8389]
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
Memory at fe7fa000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd
00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] HyperTransport Configuration [1022:1200]
Flags: fast devsel
Capabilities: <access denied>
00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Address Map [1022:1201]
Flags: fast devsel
00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] DRAM Controller [1022:1202]
Flags: fast devsel
Kernel modules: amd64_edac_mod
00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Miscellaneous Control [1022:1203]
Flags: fast devsel
Capabilities: <access denied>
00:18.4 Host bridge [0600]: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Link Control [1022:1204]
Flags: fast devsel
01:05.0 VGA compatible controller [0300]: ATI Technologies Inc Device [1002:9710]
Subsystem: ASUSTeK Computer Inc. Device [1043:83a2]
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at d0000000 (32-bit, prefetchable) [size=256M]
I/O ports at d000 [size=256]
Memory at fe9f0000 (32-bit, non-prefetchable) [size=64K]
Memory at fe800000 (32-bit, non-prefetchable) [size=1M]
Capabilities: <access denied>
Kernel modules: radeon
01:05.1 Audio device [0403]: ATI Technologies Inc Device [1002:970f]
Subsystem: ASUSTeK Computer Inc. Device [1043:83a2]
Flags: bus master, fast devsel, latency 0, IRQ 19
Memory at fe9e8000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
02:00.0 FireWire (IEEE 1394) [0c00]: JMicron Technology Corp. IEEE 1394 Host Controller [197b:2380] (prog-if 10)
Subsystem: ASUSTeK Computer Inc. Device [1043:8313]
Flags: bus master, fast devsel, latency 0, IRQ 19
Memory at feaff800 (32-bit, non-prefetchable) [size=2K]
Memory at feaff400 (32-bit, non-prefetchable) [size=128]
Memory at feaff000 (32-bit, non-prefetchable) [size=128]
Memory at feafec00 (32-bit, non-prefetchable) [size=128]
Capabilities: <access denied>
Kernel driver in use: ohci1394
Kernel modules: firewire-ohci, ohci1394
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 03)
Subsystem: ASUSTeK Computer Inc. Device [1043:83a3]
Flags: bus master, fast devsel, latency 0, IRQ 27
I/O ports at e800 [size=256]
Memory at fdfff000 (64-bit, prefetchable) [size=4K]
Memory at fdff8000 (64-bit, prefetchable) [size=16K]
Expansion ROM at febf0000 [disabled] [size=64K]
Capabilities: <access denied>
Kernel driver in use: r8169
Kernel modules: r8169
---------------------------------------------
@ lsmod
Module Size Used by
binfmt_misc 10220 1
iptable_filter 3872 0
ip_tables 21200 1 iptable_filter
snd_hda_codec_atihdmi 4320 1
snd_hda_codec_via 35456 1
snd_hda_intel 31880 2
snd_hda_codec 87584 3 snd_hda_codec_atihdmi,snd_hda_codec_via,snd_hda_in tel
snd_pcm_oss 44704 0
snd_hwdep 9352 1 snd_hda_codec
snd_mixer_oss 18976 1 snd_pcm_oss
snd_seq_dummy 3460 0
snd_pcm 93160 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_oss 33440 0
snd_seq_midi 8192 0
snd_rawmidi 27360 1 snd_seq_midi
snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi
snd_seq 60608 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_mid i_event
snd_timer 26992 2 snd_pcm,snd_seq
snd_seq_device 8308 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi ,snd_seq
x_tables 25832 1 ip_tables
ppdev 8232 0
snd 77096 15 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_hwdep, snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_ seq,snd_timer,snd_seq_device
lp 11908 0
parport_pc 37352 1
amd64_edac_mod 26688 0
edac_core 48876 1 amd64_edac_mod
i2c_piix4 11728 0
soundcore 9088 1 snd
shpchp 37756 0
parport 40528 3 ppdev,lp,parport_pc
asus_atk0110 9472 0
snd_page_alloc 10928 2 snd_hda_intel,snd_pcm
ohci1394 33780 0
radeon 684512 1
ttm 43056 1 radeon
usbhid 43968 0
ieee1394 100896 1 ohci1394
r8169 38884 0
mii 6368 1 r8169
drm 193856 3 radeon,ttm
i2c_algo_bit 7076 1 radeon
------------------------
- 02-16-2010 #5Just Joined!
- Join Date
- Feb 2010
- Posts
- 5
Sorry Rubberman but im new to all this and dont really knw what pdq means haha
heres the output of ifconfig -a
eth0 Link encap:Ethernet HWaddr 90:e6:ba:5d:25:19
inet addr:192.168.1.104 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::92e6:baff:fe5d:2519/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:30 errors:0 dropped:0 overruns:0 frame:0
TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2958 (2.9 KB) TX bytes:6096 (6.0 KB)
Interrupt:27 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:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:240 (240.0 B) TX bytes:240 (240.0 B)
----------------------------------------------------
And the the contents of file /etc/resolv.conf were
# Generated by NetworkManager
nameserver 10.1.1.1
------------------------------------------------------
- 02-16-2010 #6Just Joined!
- Join Date
- Feb 2010
- Posts
- 5
Ahhh im a noob! pdq= pretty damn quick? haha
Thought it was some linux related stuff.
- 02-17-2010 #7Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,976
Ok. You have a valid address, and the netmask, etc. are ok. However, the DNS address is an unrouted subnet, much as 192.168.x.x is, so I think you need to edit /etc/resolv.conf, comment out the 10.1.1.1 with a # at the beginning of the line, and add these 2 lines:
They are toplevel DNS servers at bellatlantic.net - they will always work. Normally, your DNS server is either the address of your router (probably 192.168.1.254 or 192.168.1.255), another machine on your local network, or a machine that belongs to your ISP. You can have a number of addresses in /etc/resolv.conf, and if the first one fails to respond after some period of time, it will try the next, etc. It is usually better to have a local DNS server first in the list because most address lookups will be faster that way. In my system, these two are the 3rd and 4th entries. The first two are the ones belonging to my local AT&T ISP. Sometimes the local one goes down and my internet access slows way down, so I edit the file and move the others up to the top temporarily.nameserver 199.45.32.37
nameserver 199.45.32.40
Anyway, if this change to /etc/resolv.conf works, then you know that you need to find out which DNS server you should be using.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 02-17-2010 #8Just Joined!
- Join Date
- Feb 2010
- Posts
- 5
I added my local isp dns address to the /etc/resolv.conf file as you advised and
it worked.
Thanks sooo much Rubberman! Really appreciate your help and Reed9's input.
Thanks again.


