LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 03-08-2006, 01:03 AM   #1
Tijana
LQ Newbie
 
Registered: Mar 2006
Location: Illinois, US
Distribution: SuSe
Posts: 6

Rep: Reputation: 0
internet troubleshooting? - linux newbie


I have both windows and linux (SuSe) installed on my laptop (for about a year now), but suddenly for now reason I can't get on the net from linux, while under windows my internet connection is working fine. When linux was loading it said that it can't find the IP address, but I'm clueless to what I should do, and I need to fix this desparately asap.
I greatly appreciate any help that anyone can give me about this.
Thanks.
 
Old 03-08-2006, 01:34 AM   #2
Garda
Member
 
Registered: May 2005
Distribution: Debian
Posts: 83
Blog Entries: 2

Rep: Reputation: 15
well if you can connect to the internet with windows you know that it's only linux that's giving you a problem.

First. Is this something you experience using only one program or nothing at all will connect to the internet.

What i mean is do your IM, web and every other internet service not work, or just web.

Second. If it's just your web browser, do you need to add proxy settings for it to work properly. and try all your browsers, konqueror, firefox and everything else to make sure that it's not just one that you've misconfigured.
 
Old 03-08-2006, 01:57 AM   #3
Tijana
LQ Newbie
 
Registered: Mar 2006
Location: Illinois, US
Distribution: SuSe
Posts: 6

Original Poster
Rep: Reputation: 0
I don't use IM, but non of my browsers are working.
Also, I didn't try to configure anything. I worked under linux this morning, used the internet and it was fine. Then I switched to Windows, used internet there and it was fine, and then tonight, when I switched back to linux it just wasn't working, and that's why I'm so mystified.
The last internet-related thing that I installed was few days ago, and it was a Last.fm player for online radio, but everything worked fine after that untill tonight (also, needless to say that that player doesn't work now either).
 
Old 03-08-2006, 02:58 AM   #4
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Check that your networking is operational. From a console or the command line do ifconfig . It should list lo and eth0. If just lo is the only connection listed then try ifup. If the network is working and you still cannot connect then you need to check your networking configuration.
 
Old 03-08-2006, 03:14 AM   #5
Tijana
LQ Newbie
 
Registered: Mar 2006
Location: Illinois, US
Distribution: SuSe
Posts: 6

Original Poster
Rep: Reputation: 0
I did /sbin/ifconfig and it does list both eth0 and lo and it wrote some stuff (do I look for something specific there?). But, how do I check my networking configuration, and what am I looking for??
 
Old 03-08-2006, 04:15 AM   #6
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
This depends on how your network is setup. You are either using static addressing whereby your card has a specific ip address ( like 192.168.0.2) and is on the same subnet as the modem/router you are using or it is using dhcp. If it is using dhcp then it needs to pick up an address from the router (lease). The way in which the network is configured varies between distros. I would suggest that you update your profile and enter the distribution you are using so that it makes it easier for us to help you. I would suggest going into /var/log/syslog or dmesg and have a look at what happened when the network connections were initiated and then come back with the info if you cannot resolve the problem.
 
Old 03-08-2006, 11:33 AM   #7
Tijana
LQ Newbie
 
Registered: Mar 2006
Location: Illinois, US
Distribution: SuSe
Posts: 6

Original Poster
Rep: Reputation: 0
I'm using SuSe and dhcp on the network. I couldn't find var/log/syslog or dmsg, but I did look into var/log/boot.msg and when it started initializing eth0 it just said (among other things) "no IP adress yet....backgrounding.done" . Is that what you mean or do I need to lookup something else?
 
Old 03-08-2006, 12:00 PM   #8
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Quote:
Originally Posted by Tijana
I'm using SuSe and dhcp on the network. I couldn't find var/log/syslog or dmsg, but I did look into var/log/boot.msg and when it started initializing eth0 it just said (among other things) "no IP adress yet....backgrounding.done" . Is that what you mean or do I need to lookup something else?
There must be a /var/log/syslog or dmesg as this is standard on 'nix systems. You need to look for a message that eth0 has picked up a lease. You can also manually bring the network down with a the console command ifdown eth0 and then bring it back up with ifup eth0. Check whether eth0 has been allocated an address using ifconfig. It should give an ip address for eth0 on the same subnet as the router eg if the router uses 192.168.0.1 then it should have an address like 192.168.0.X. Also use the command route -n and it should give details of the network and gateways.
 
Old 03-08-2006, 03:36 PM   #9
Tijana
LQ Newbie
 
Registered: Mar 2006
Location: Illinois, US
Distribution: SuSe
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TigerOC
There must be a /var/log/syslog or dmesg as this is standard on 'nix systems. You need to look for a message that eth0 has picked up a lease. You can also manually bring the network down with a the console command ifdown eth0 and then bring it back up with ifup eth0. Check whether eth0 has been allocated an address using ifconfig. It should give an ip address for eth0 on the same subnet as the router eg if the router uses 192.168.0.1 then it should have an address like 192.168.0.X. Also use the command route -n and it should give details of the network and gateways.
I really don't see anything called syslog or dmesg in /var/log.
I tried ifdown eth0 and then ifup eth0 but i got a message
>Starting DHCP Client Deamon on eth0.........no IP address yet...backgrounding.

I did ifconfig but I don't think it assigned IP address since I don't see anything even close to
to the IP addresses on my other computers on the same router.

When I do route -n it just says:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface

and don't know what to do with that?
 
Old 03-08-2006, 03:43 PM   #10
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Ok that sounds like the router is not issuing a lease. I suggest you try resetting the router.
 
Old 03-08-2006, 04:57 PM   #11
Tijana
LQ Newbie
 
Registered: Mar 2006
Location: Illinois, US
Distribution: SuSe
Posts: 6

Original Poster
Rep: Reputation: 0
I guess that's all it needed - a router restart. It works now.
Thanks everyone.
 
Old 11-29-2006, 12:57 PM   #12
MRXGRCH
LQ Newbie
 
Registered: Nov 2006
Posts: 7

Rep: Reputation: 0
Question WLAN Problems

I must apologize, I am very new to linux...I am now running Ubuntu 6.06 (Dapper). After quite a bit of work, I got ndiswrapper up and running, however, I can only access certain sites (such as the mozilla home page and the ubuntu help pages). I installed opera in hope of solving this problem, but to no avail. If I try to go to google, or yahoo, or most other sites, the browser just says "connecting to yadda yadda" and hangs. Is this a common problem? Can anyone help me? I am at wits end

I have a Dell 1350 WLAN PCI card, if that helps...my home network has no router, just a wireless modem using dhcp.
 
Old 11-30-2006, 02:14 AM   #13
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
From what you have said before I am guessing the connection is via a modem/router (ie there is a router incorporated with the modem to which you connect ethernet). What you describe seems to indicate that you are not resolving DNS addresses. As root edit your /etc/resolv.conf and add;

nameserver <your_router_ip_address> eg 192.168.1.1
nameserver <primary_DNS_server_ip_address> #supplied by your isp
nameserver <secondary_DNS_server_ip_address> #supplied by your isp

Then do as root /etc/init.d/networking restart

Tip: Linux has an auto-complete function on the command line so you can type /et and use tab to complete the that directory and so on.
 
Old 12-12-2006, 06:48 PM   #14
MRXGRCH
LQ Newbie
 
Registered: Nov 2006
Posts: 7

Rep: Reputation: 0
Lightbulb Ubuntu...

Thanks, TigerOS...I tried doing what you said, and it allowed me to access some more servers, but not all of my frequently used ones. In desperation, I tried some free proxies and, low and behold, it worked. Problem solved, and firefox runs great. Now I have another problem...video and audio codecs: I have tried all sorts of UI's and command lines, but no success. Can anyone help me??
 
Old 12-12-2006, 06:55 PM   #15
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Consult the Ubuntu Guide for basic Ubuntu configuration tasks.. it should be able to help you with most of those items..

http://ubuntuguide.org/wiki/Dapper#H...timedia_Codecs
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Connection Sharing and Routing Troubleshooting axelfc Linux - Networking 3 01-27-2006 07:57 AM
Linux newbie can't connect to the internet the ytse cem Linux - Newbie 9 01-05-2006 11:34 AM
Troubleshooting Internet connection hussar Linux - Networking 3 12-05-2005 01:43 PM
internet troubleshooting tips fobius Slackware 5 03-29-2004 01:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 08:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration