Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
07-25-2009, 12:39 PM
|
#1
|
LQ Newbie
Registered: Jul 2009
Posts: 27
Rep:
|
eth0 connects to router but not to Internet(e.g. Google.com)
Hello,
I have been trying to get any sort of networking to run for the past 3 weeks trying every tutorial and how to on the web and these forums to no success. I am trying to get the ethernet to work on my netbook. I am running backtrack 4, not ubuntu, but since backtrack is completely based off of ubuntu now i thought you guys could help I have set up a connection to the router, but that is as far as i get. I can connect to 192.168.1.1 and change the configurations on my router, but when I try google or anything else, i am not connected. Suprisingly I was looking at my ifconfig and i noticed that my eth0 has both ipv4 and ipv6,
Ifconfig eth0
Code:
eth0 Link encap:Ethernet HWaddr 00:23:8b:d9:e1:b6
inet addr:192.168.1.109 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::223:8bff:fed9:e1b6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:964 errors:0 dropped:0 overruns:0 frame:0
TX packets:766 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:205766 (205.7 KB) TX bytes:62703 (62.7 KB)
Interrupt:26 Base address:0x8000
I am not really sure what to try next.
Any help is appreciated,
Thanks
|
|
|
07-25-2009, 12:44 PM
|
#2
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
Can you ping?
Try
If that works, you probably need to add the DNS servers in /etc/resolv.conf.
Code:
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx
|
|
|
07-25-2009, 12:52 PM
|
#3
|
LQ Newbie
Registered: Jul 2009
Posts: 27
Original Poster
Rep:
|
tried pinging google with no success.
About resolv.conf, tried to use cat on it and nothing was in it. Will it still work if i try that?
|
|
|
07-25-2009, 12:56 PM
|
#4
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
So doesn't work?
If you can't ping on IP, there is a problem with the configuration of the router or the gateway.
What is the output from
(as root)
|
|
|
07-25-2009, 12:56 PM
|
#5
|
LQ Newbie
Registered: Jul 2009
Posts: 27
Original Poster
Rep:
|
REPO!!!!!!!!!!
I love you, ha sorry for that just had to get it out!!!!!
It works! thank you sooooooooo mch!!!!
I swear to god, i just fell out of my chair. I love you!
WOW sucess thanks to REPO!!!
|
|
|
07-25-2009, 12:58 PM
|
#6
|
LQ Newbie
Registered: Jul 2009
Posts: 27
Original Poster
Rep:
|
I have one more question for you if you have time. How would i go about getting wifi to work if i have a atheros card. Madwifi? or ath5k?
Thank you soooooooooo much
|
|
|
07-25-2009, 01:05 PM
|
#7
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
Did you tried to blacklist, as proposed in this thread?
http://www.linuxquestions.org/questi...8/#post3613865
To blacklist, add the module to
/etc/modprobe.d/blacklist.conf
|
|
|
07-25-2009, 01:07 PM
|
#8
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
|
|
|
07-25-2009, 01:10 PM
|
#9
|
LQ Newbie
Registered: Jul 2009
Posts: 27
Original Poster
Rep:
|
Well i think it actualy might be a little easier then that. In iwconfig, i already have wlan0 so isnt there just some code like the ethernet to type in to get it working now? or do i have to do all of the blacklisting?
|
|
|
07-25-2009, 01:15 PM
|
#10
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
Try to install wicd
To install WICD do the following: (for gutsy, edgy, or dapper replace feisty as needed)
as root:
Code:
echo 'deb http://apt.wicd.net feisty extras' | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get install wicd
|
|
|
07-25-2009, 01:31 PM
|
#12
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
Seems to me the archive doesn't exist anymore
Try to download and install manually
open a terminal
type
You can remove the line you added to /etc/apt/sources.list
|
|
|
07-25-2009, 01:38 PM
|
#13
|
LQ Newbie
Registered: Jul 2009
Posts: 27
Original Poster
Rep:
|
Who ever you are i now idolize you. It worked and my network showed up. Tried to connect and it says required encryption enabled. How would i go about enabling it.
How did you learn all of this? You are very skilled, have you written a guide to linux? WOuld you consider writing one for me? haa.
|
|
|
07-25-2009, 01:42 PM
|
#14
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
Click on the network you want to connect to.
Then click on properties.
Use encryption, choose the encryption you setup on the access point or wireless router, and give the key
|
|
|
07-25-2009, 01:46 PM
|
#15
|
LQ Newbie
Registered: Jul 2009
Posts: 27
Original Poster
Rep:
|
I am now completely on line, what took me 21 days took you an hour. Thank you so much, I was serious about the tutorial though, where did you learn or do you teach, Once again thank you for everything.
|
|
|
All times are GMT -5. The time now is 02:12 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|