LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-28-2003, 02:24 PM   #1
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Unhappy Unknown host problem


Ok, I've managed to get Mdk9.0 installed, and my Conexant HCF modem working, now I just have to fix the problem that all web pages go to:
Unknown host url

I've hunted about, and think it's a problem with specifying the correct DNS nameserver to use.
There's a Linux FAQ for BTInternet, my ISP, with some nameservers listed.
Quote:
Q2: What are the relevant server names/addresses?
Mail mail.btinternet.com
News news.btinternet.com

Nameservers 194.73.73.94 # americium.btinternet.com
194.73.73.95 # europium.btinternet.com
194.72.6.57 # ns3.bt.net
A quick online webpage reveals some more BTI info:
Quote:
stargate.btinternet.com 1 A 194.73.73.117 8640s
moongate.btinternet.com 1 A 194.73.73.118 8640s
dns2.btinternet.com 1 A 194.73.73.94 8640s
dns3.btinternet.com 1 A 217.32.252.225 600s
dns4.btinternet.com 1 A 217.32.252.25 600s
dns1.btinternet.com 1 A 194.73.73.95 8640s
A forum search revealed this thread, and I tested the ping and route commands suggested, and get the same ping results. I don't have any NIC related problem.

I've tried changing many hosts (.allow, .deny, .conf, ) and resolv.conf files but with no success. I also tried setting manual DNS IPs in KPPP.

Last edited by Proud; 01-28-2003 at 02:25 PM.
 
Old 01-28-2003, 07:45 PM   #2
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
what do you get with
telnet www.google.com 80
and/or
telnet 216.239.51.101 80

If you get "connected", enter:
GET /
 
Old 01-29-2003, 08:30 AM   #3
Machinegun
Member
 
Registered: Jan 2003
Posts: 56

Rep: Reputation: 15
I had problems because of the net card. I still don't know exactly why, but if I do "ifdown eth0", then my Internet conection works properly!!!!. I hope I will find why. So, try to disable ethernet card.....
 
Old 01-29-2003, 01:00 PM   #4
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Original Poster
Rep: Reputation: 116Reputation: 116
Well I dont have any ethernet/LAN cards to conflict with. Just thinking, I did notice LISa is running, which is for LANs right?

Cunning plan: If I can load sites via their IP/without converting their names, I can use the IP of www.network-tools.com (66.46.181.116) to load it's page, and then get other site's from that, such as LQ (64.179.4.146)

But first to try telneting to google.
 
Old 01-29-2003, 01:24 PM   #5
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
It shouldn't matter about LAN issues or LISa, its just a name resolving issue, the format of /etc/resolv.conf being:

nameserver 123.123.123.123
nameserver 234.234.234.234

Any nameservers will do as long as you have a route to world... For some reason your ppp link isn't over-writing this file as it should.

Cheers,

Finegan

P.S. Proud, dig the signature, nice idea...

Last edited by finegan; 01-29-2003 at 01:26 PM.
 
Old 01-29-2003, 01:50 PM   #6
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Original Poster
Rep: Reputation: 116Reputation: 116
Ah, I've only entered the IPs I think, not put nameserver before them.

However, my latest poking with telnet and the MCC have taken me back a stage, my /dev/modem/ cant be found by pppd. It isnt there, but the ttySHCF0 (or something similar) is, so I'll try re-installing the drivers if a few reboots doesnt cure it (I doubt it will, this isn't Windows )

FYI the telnet and using IPs in a web browser resulted in:
Quote:
[paul@localhost paul]$ telnet http://www.google.com/ 80
http://www.google.com/: Host name lookup failure
[paul@localhost paul]$ telnet 216.239.51.101 80
Trying 216.239.51.101...
telnet: Unable to connect to remote host: Connection refused

Konqueror:
"An error occured while loading http://64.179.4.146:

Could not connect to host 64.179.4.146"
Better than unknown host?
 
Old 01-29-2003, 03:11 PM   #7
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
I dunno, the first was google and the second a nameserver, google is weird, so it doesn't make for a good test as its many hosts spread out over many different IPs, the second was an http connect to a nameserver, which is almost undoubtedly not running something on port 80, so either of them may have failed and you DO have a route to world+dog. If ifconfig has a ppp0 listed with a point to point IP to IP line, you should be alright... simple pings make for the best test, my first test is always pinging yahoo, mainly because it makes for a quick set of keystrokes and yahoo hasn't been down since '96. If you can't ping out, there's probably something dodgy with your ppp connection to BT, which I would just search the forums for; being a yank, I have little to no knowledge of any of the oddities BT might have introduced in their dial-up schema.

Cheers,

Finegan
 
Old 01-29-2003, 04:37 PM   #8
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
pppd option:
usepeerdns

For the curious who no longer rely on dialup, my ppp setup adds a new file called /etc/ppp/resolv.conf which looks like a copy of /etc/resolv.conf with the DNS settings from my ISP in there as well and somehow activates that as the one my system uses till I hang up.
 
Old 01-30-2003, 01:10 PM   #9
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Original Poster
Rep: Reputation: 116Reputation: 116
I'd already tried that Darin, it's already in /etc/ppp/options iirc
Adding it to the kppp options list too caused an error.

Thanks Finegan

I'm gunna try to re-install my sucky modem, and try putting nameserver before those entries.

Edit:
Found another good Dial Up Modem Install guide

One of BT's nameservers failed at a test via DNSreport.com

Last edited by Proud; 01-30-2003 at 01:35 PM.
 
Old 01-31-2003, 01:53 PM   #10
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Original Poster
Rep: Reputation: 116Reputation: 116
They already have nameserver before them now...
My modem works as any user again.
I'm just gunna check something about a domain line, and mylogin, and then I'll break down and cry at this annoying problem

That server aint failing now btw.
 
Old 02-03-2003, 01:56 PM   #11
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
Proud, you ever get your modem working?
heres some of my config info if it helps:

/etc/ppp/options:
lock
modem
/dev/modem
115200
crtscts
#debug
asyncmap 0
defaultroute
noipdefault
usepeerdns
ipcp-accept-remote
ipcp-accept-local
user "me@isp.com"

/etc/ppp/pap-secrets:
"me@isp.com" * "mypass"

I symlinked chap-secrets to pap-secrets, AFAIK that lets your connection using pap or chap since either file uses the same syntax.

my /etc/resolv.conf has just "search isp.com" in it while I'm offline.

I have a nice external USRobotics hardware modem though so I don't have to worry about any software modem junk.

kppp worked first for me before I got my cmd line ppp to work, I think it uses the "usepeerdns" setting by default. I grepped it's command to help me set up regular ppp. While kppp is connected just "ps -ef | grep ppp" and it shows all the commands kppp passes.

And, like fin said as long as you have a route to world any valid DNS server will work, but your ISP's will usually be faster.
 
Old 02-03-2003, 05:42 PM   #12
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Original Poster
Rep: Reputation: 116Reputation: 116
Amazingly I havent found time to test it since making that post
All those options seem to be the one's I've selected via kppp, but I'll check.
I think it may be to do with something odd like the search or icpc-accept- lines
 
Old 02-13-2003, 04:04 PM   #13
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Original Poster
Rep: Reputation: 116Reputation: 116
Update: No progress, nothing seems to be helping
 
Old 02-17-2003, 01:48 PM   #14
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Original Poster
Rep: Reputation: 116Reputation: 116
Cool

OMFG! Do you know what it was? Damned Shorewall doenst work for most Mdk9.0 users, including me! Installed Guarddog instead. Thanks to who ever's post tipped me off!
Yay web via linux

Edit: Works as not-root user too
Thankyou LQ!

Last edited by Proud; 02-17-2003 at 01:54 PM.
 
  


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
Unknown Host BH_Exeter Linux - General 8 04-05-2006 01:44 PM
i m getting the error unknown host while im pinging with the host name gunjan thakkar Linux - General 2 12-14-2004 01:19 PM
unknown host hondaglx Linux - Networking 1 04-30-2004 11:02 PM
Resolver problem: ping localhost.localdomain gives Unknown host rmd Linux - Networking 0 11-06-2003 07:58 AM
Unknown Host <Linuxmachinename> / Unable to ping by host name nishi_k_79 Linux - Networking 4 11-01-2003 01:24 PM

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

All times are GMT -5. The time now is 07:20 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