LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-07-2007, 11:53 AM   #1
manolakis
Member
 
Registered: Nov 2006
Distribution: xubuntu
Posts: 464

Rep: Reputation: 37
No internet-HELP:cry:


Hey there
I have a problem with my internet browsers. I try to use firefox and Konquerror in my BackTrack(Slackware) and i get an error like i typed an invalid url.
My network is fine as soon as when i boot from the Live cd i can use my browsers without any problem
I decided to reinstall my Linux and in the beginning my browser were working fine but on the next reboot i had the same problem that i described. Any ideas what can cause that problem?

Many thanks for your time
 
Old 02-07-2007, 12:36 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Your description isn't clear enough (for me, that is) but some things you can try:

- is your connection on? using ifconfig see if you have ppp0 connection (if you're using dialup or pppoe-DSL):
Code:
/sbin/ifconfig
you should then have a ppp0 (or if you just have a DSL that never asks passwords i.e. is always "on", and connected to your primary ethernet card, eth0) which should show your internet ip address. Check if it's ok; if it's not, your connection needs to be first configured and established (more about this later on).

- if your connection is ok, i.e. you have an ip, try to ping an ip address rather than domainname (ping x.x.x.x rather than ping google.com); if the ping gives replies, the problem is your DHCP isn't ok (or manually set) and DNS servers are missing.

- if you can't ping those either, but you have a connection (ppp link is up, for example), try this (I still haven't found out what's wrong with this): close the connection, disable your device where the connection is coming from (usually eth0 on DSL connections), then restart the connection. For some reason if the connection is established when your machine boots, configuring the rest of the ethernet stuff might fuss your (dhcp) settings. For example, for a DSL pppoe connection configured trough pppoeconf or adsl-config, either of these:
Code:
poff -a && ifconfig eth0 down && pon dsl-provider
/sbin/adsl-stop && /sbin/ifconfig eth0 down && /sbin/adsl-start
the latter one is for distributions where pppoe-start is called adsl-start (try pppoe-start instead of pon too, if it's not found).

If you need to configure a connection, you can use several tools. For DSL (pppoe) I use pppoeconf (adsl-setup), which is text based tool and needs to be run once. After that 'pon dsl-provider' and 'poff' work. For dialups, either one of those graphical tools like Kppp or then something like wvdial.
 
Old 02-08-2007, 10:10 AM   #3
manolakis
Member
 
Registered: Nov 2006
Distribution: xubuntu
Posts: 464

Original Poster
Rep: Reputation: 37
Hey there
This is the output of ifconfig -a(display all even an interface is down).
Without -a option, lo is only displayed.
Shall i try the last piece of code that you gave me

Quote:
eth0 Link encap:Ethernet HWaddr 00:10:60:F7:26:8E
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:2 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:2360 (2.3 KiB)
Interrupt:3 Base address:0x300

eth1 Link encap:Ethernet HWaddr 00:03:0D:18:269
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:18 Base address:0xd800

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)

ra0 Link encap:Ethernet HWaddr 00:11:09:0B:37:FF
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:680 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:27200 (26.5 KiB)
Interrupt:18 Base address:0xc000

sit0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-C0-00-00-00-00-00-00-00-00
NOARP MTU:1480 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)
 
Old 02-08-2007, 04:44 PM   #4
manolakis
Member
 
Registered: Nov 2006
Distribution: xubuntu
Posts: 464

Original Poster
Rep: Reputation: 37
Hey again
Ok, lets describe my case better. Well, something weird is going on
My web-surfing is quite unstable. Sometimes when i boot my machine everything is fine and in some others I can not access a URL.
I have used ifconfig in both cases (meaning being able and unable to access the web). What i posted before is while I am unable to access the web. I believe that worths to say that the first time of that unstability occured when i used the ping command to a URL which worked fine. On the next reboot I could access the web.
Can ping caused a problem? Right now that i am writing this message everything is fine but unfortunately i believe that on next reboot I wont connect again
I just also tried what you said before, ping to x.x.x.x and it worked.
 
Old 02-11-2007, 03:50 PM   #5
manolakis
Member
 
Registered: Nov 2006
Distribution: xubuntu
Posts: 464

Original Poster
Rep: Reputation: 37
Hey again!!!
I would like to thank you beforehand for your previous reply. It was fully analytical.
Unfortunately I am quite newbie and i would like your help once more again.
I want to try the piece of code that you provided.
This is all of pppoe that i have
Quote:
pppoe pppoe-discovery pppoe-server pppoe-sniff pppoe-status
pppoe-connect pppoe-relay pppoe-setup pppoe-start pppoe-stop
As you mentioned on your last lines of your reply the first thing that is needed so the script that you provided will be able to work is 'pppoeconfig'. As you can see there is no pppoeconfig in my machine(BackTrack). Any idea what could be equivalent?

Thanks for your time

PS:Sorry for posting so much
 
Old 04-18-2007, 10:50 AM   #6
UhhMaybe
Member
 
Registered: Jul 2004
Location: Salt Lake City, Utah
Distribution: Absolute 12.0 Studio 64 1.3.0
Posts: 470

Rep: Reputation: 30
Cool

What happens when YOU try "/etc/init.d/network start"? When YOU installed the Distro "BackTrack", did YOU name the two DNS Servers with [xxx.xxx.xxx.xxx] ? Did YOU setup Networking? If YOU setup Networking, did YOU enable it to start at Boot Up? Please post answers.
 
  


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
far cry davvy Linux - Games 1 08-31-2005 05:37 PM
I'm going to cry. henrikanttonen General 22 06-07-2005 03:54 AM
far cry like zexter Linux - Games 2 11-11-2004 05:28 AM
Far Cry itsjustme Linux - Games 37 07-07-2004 03:29 PM
I think i am going to cry Ginja_Ninja Linux - Software 2 07-03-2003 11:03 AM

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

All times are GMT -5. The time now is 04:54 PM.

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