Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
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.
|
 |
11-07-2005, 06:22 AM
|
#1
|
Member
Registered: Jun 2003
Location: Bath, U.K.
Distribution: SuSE 9.3, 10.2
Posts: 72
Rep:
|
SuSE 9.3 ADSL/router config problem
Potted history:
Weeks of frustration with FC4 install issues, tried SuSE9.3 and it went straight on without a hitch. Trying to configure a Belkin ADSL modem/wireless router on PC#1 for internet connectivity (the next stage is a home wireless LAN, but I fancy that’s a way off yet).
The problem:
I can now access the Belkin Management Console, but cannot connect to the outside world.
I have the correct username, password and settings for my ISP (Wanadoo UK), & on the Belkin Management Console, once my details are entered, I get the status: connected. Looking at the status screen, I have the following test function/results:
Connection Status:
ADSL pass
PPPoE pass
ppp pass
IP ping pass
DNS pass
OAM F4-ETE ping fail
OAM F4-SEG ping fail
OAM F5-ETE ping pass
OAM F5-SEG ping pass
Does that suggest anything?
My default gateway is set to 192.168.2.1 (the config add for the router) and checking my kernel routes, the command /sbin/route -n gives me the following output:
local1:~# /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 lo
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 eth0
Does this yield any clues? Any thoughts/help/suggestions/requests for further file output, gratefully received.
Kaine.
|
|
|
11-07-2005, 10:10 AM
|
#2
|
Member
Registered: Aug 2005
Location: Thailand
Distribution: Suse 10.2 / Win XP Home
Posts: 172
Rep:
|
As I see you use PPPoEand yüu get any messages from your ISP...
You are already local
add one line iin
/etc/sysconfig/network/pppoe
usepeerdns
|
|
|
11-09-2005, 02:23 AM
|
#3
|
Member
Registered: Jun 2003
Location: Bath, U.K.
Distribution: SuSE 9.3, 10.2
Posts: 72
Original Poster
Rep:
|
Hmmm...
Looking under etc/sysconfig/network/, I don't find a 'pppoe' file, so I'm not sure where I should add the line usepeerdns
The only file that looks to be of any editable benefit is the config file relating to my NIC:
ifcfg-eth-id-00:0f:b5:f5:d0:73
Still unsure..... and still not connected.....
Kaine.
|
|
|
11-09-2005, 03:18 AM
|
#4
|
Member
Registered: Aug 2005
Location: Thailand
Distribution: Suse 10.2 / Win XP Home
Posts: 172
Rep:
|
You are right,
it is
/etc/ppp/peers/pppoe
otherwise try
find / -name pppoe -print
Paul
|
|
|
11-10-2005, 02:09 AM
|
#5
|
Member
Registered: Jun 2003
Location: Bath, U.K.
Distribution: SuSE 9.3, 10.2
Posts: 72
Original Poster
Rep:
|
Thanks again for your input Paul, unfortunately I have tried adding that command to both the pppoe file, and pppoe-rp file, but without any difference.
Any other ideas?
Kaine.
|
|
|
11-10-2005, 07:10 AM
|
#6
|
Member
Registered: Aug 2005
Location: Thailand
Distribution: Suse 10.2 / Win XP Home
Posts: 172
Rep:
|
What you find in /etc/resolv.conv ?
But there a valid IP address and the system will exchange to a valid number
|
|
|
11-10-2005, 01:15 PM
|
#7
|
Member
Registered: Jun 2003
Location: Bath, U.K.
Distribution: SuSE 9.3, 10.2
Posts: 72
Original Poster
Rep:
|
OK, in /etc/resolv.conf I have:
nameserver 192.168.1.100
searchsite
And nothing else. I don't recognise that number as anything that I have determined in any of the configuration so far.
Kaine.
|
|
|
11-11-2005, 12:25 AM
|
#8
|
Member
Registered: Aug 2005
Location: Thailand
Distribution: Suse 10.2 / Win XP Home
Posts: 172
Rep:
|
nameserver 192.168.1.100
searchsite
I think you have do remover searchsite. And ask your provider for the nameserver IP and replace this numbers
|
|
|
11-11-2005, 01:44 AM
|
#9
|
Member
Registered: Jun 2003
Location: Bath, U.K.
Distribution: SuSE 9.3, 10.2
Posts: 72
Original Poster
Rep:
|
OK, so you suggest I remove the searchsite line?
And when I speak to my ISP, it's the nameserver address I'm asking for and not DNS? (The reason I want to be clear is that I have the DNS settings already) That number doesn't relate to my default gateway at all then (192.168.2.1)?
|
|
|
11-11-2005, 08:20 AM
|
#10
|
Member
Registered: Aug 2005
Location: Thailand
Distribution: Suse 10.2 / Win XP Home
Posts: 172
Rep:
|
class A 10 x.x.x
class B 172.?.x..x
class C 192.168.x.x
are special ip-addresses which are not be routed inside the net.Everybody can use them inside his
provide network without any trouble. Your gateway should have second ip-adress which speaks
to the world. Every ip-package which is not a part of you lan (local area network) will be send to your
to your default gateway. The gateway masquerade your IP-Package (that means it exchange your local
IP-Address with a valid address which you get from your provider). This address you will get from
DNS and or DHCP and it valid during your complete session. After you restart your System the IP-address could be the same but normally it not the same.
Paul
|
|
|
11-12-2005, 01:11 AM
|
#11
|
Member
Registered: Jun 2003
Location: Bath, U.K.
Distribution: SuSE 9.3, 10.2
Posts: 72
Original Poster
Rep:
|
Paul, sincerest thanks for your help and for your patience.
Looking at that line again (nameserver 192.168.1.100) made me realise, that I had not entered the correct DNS addresses for my NIC.
Finally, I am online with SuSE!
Kaine.
|
|
|
11-12-2005, 08:44 AM
|
#12
|
Member
Registered: Aug 2005
Location: Thailand
Distribution: Suse 10.2 / Win XP Home
Posts: 172
Rep:
|
That makes me happy.
If you are online now check your /etc/resolve again!
Now you will see your real named -server address
regards
Paul
|
|
|
All times are GMT -5. The time now is 10:03 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
|
|