-
Host Name Resolution Not Working Knoppix 5.1.1
I'm new to Knoppix and am a Linux novice although I've played with various distros off and on for over 10 years.
I am running Knoppix 5.1.1 Live on a Gateway MX6931 laptop. My network card is recognized and apparently DHCP works as well. The problem is that I can ping IP addresses on my network and on the Internet just fine. However, I can't get name resolution. This occurs both on my network at the office and on my network at home. The networks are functioning fine for all other OSs and distros. Other OSs and distros work fine on this laptop.
When I look at all the items I know to look at, all is well.
# ifconfig eth1:
eth1 Link encap:Ethernet HWaddr 00:E0:B8:AE:14:F5
inet addr:10.87.160.117 Bcast:10.87.163.255 Mask:255.255.252.0
inet6 addr: fe80::2e0:b8ff:feae:14f5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:23008 errors:0 dropped:0 overruns:0 frame:0
TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2022661 (1.9 MiB) TX bytes:7487 (7.3 KiB)
Interrupt:17
# cat resolv.conf
search rei.sisco.stewart.net
nameserver 10.87.163.231
nameserver 10.253.1.233
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.87.160.0 * 255.255.252.0 U 0 0 0 eth1
default 10.87.163.254 0.0.0.0 UG 0 0 0 eth1
# pump -i eth1 --status
Device eth1
IP: 10.87.160.117
Netmask: 255.255.252.0
Broadcast: 10.87.163.255
Network: 10.87.160.0
Boot server 10.87.163.221
Next server 0.0.0.0
Gateway: 10.87.163.254
Gateways: 10.87.163.254
Domain: rei.sisco.stewart.net
Nameservers: 10.87.163.231 10.253.1.233
Renewal time: Wed May 2 20:52:19 2007
Expiration time: Wed May 2 22:22:19 2007
Can someone tell me what's wrong with any of this? It all looks fine to me. It's as if there is some service that isn't running that uses the values in the resolv.conf.
The symptoms are the same on both networks. All values in various configurations appear fine. If I was using Windows, I'd do something like "ipconfig /renew". I assumed "pump -R" was similar but that doesn't work. I get an "Operation failed" message.
When I ping "www.google.com" or other known hosts, I get the "Unknown host or host unreachable"-type message.
Any help would be appreciated.
-
Senior Member
registered user
Re: Host Name Resolution Not Working Knoppix 5.1.1

Originally Posted by
solutiondev
I'm new to Knoppix and am a Linux novice although I've played with various distros off and on for over 10 years.
When I look at all the items I know to look at, all is well.
# cat resolv.conf
search rei.sisco.stewart.net
nameserver 10.87.163.231
nameserver 10.253.1.233
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.87.160.0 * 255.255.252.0 U 0 0 0 eth1
default 10.87.163.254 0.0.0.0 UG 0 0 0 eth1
# pump -i eth1 --status
Device eth1
IP: 10.87.160.117
Netmask: 255.255.252.0
Broadcast: 10.87.163.255
Network: 10.87.160.0
Can someone tell me what's wrong with any of this? It all looks fine to me. It's as if there is some service that isn't running that uses the values in the resolv.conf.
The symptoms are the same on both networks. All values in various configurations appear fine. If I was using Windows, I'd do something like "ipconfig /renew". I assumed "pump -R" was similar but that doesn't work. I get an "Operation failed" message.
When I ping "www.google.com" or other known hosts, I get the "Unknown host or host unreachable"-type message.
Any help would be appreciated.
I think your problem is that your network card is on 10.87.160.x and your router and gateway on 10.87.163.x
Can you ping your default gateway?
ping 10.87.163.254 ?
I am assuming that this address is also the address of your router. If yes, then you have you tried including your ISP's
DNS servers in your routers config? If you do this then you can simplify the linux /etc/resolv.conf with one line
nameserver 10.87.163.254
That is the setup I use on my home network, I only have 2 computers and a Dreambox, I use static addressing and a Class C network.
-
Re: Host Name Resolution Not Working Knoppix 5.1.1

Originally Posted by
hal8000
[
I think your problem is that your network card is on 10.87.160.x and your router and gateway on 10.87.163.x
Can you ping your default gateway?
ping 10.87.163.254 ?
I am assuming that this address is also the address of your router. If yes, then you have you tried including your ISP's
DNS servers in your routers config? If you do this then you can simplify the linux /etc/resolv.conf with one line
nameserver 10.87.163.254
That is the setup I use on my home network, I only have 2 computers and a Dreambox, I use static addressing and a Class C network.
I can ping the default gateway. This particular example I'm using is what happens on my corporate network. When I check a Windows configuration, it matches what I see in Knoppix. I have no idea what the network topology is like here beyond my desktop.
When I'm at home on my personal network, my default gateway shows up as 192.168.0.1 and my nameservers are the DNS server provided by my ISP. I get the same name resolution issue.
I have gotten this to work but I can't see any differences in the configuration settings. I ran "netcardconfig" and turned off DHCP and then ran it again and enabled DHCP. After that, I saved my configuration to a USB drive and it seems to work. Unfortunately, I can't seem to repeat the action.
Similar Threads
-
By alexjohnp in forum Customising & Remastering
Replies: 0
Last Post: 11-13-2007, 08:15 PM
-
By creativename in forum General Support
Replies: 1
Last Post: 02-23-2007, 02:28 AM
-
By jazevedo in forum Networking
Replies: 2
Last Post: 06-28-2006, 03:06 PM
-
By cyKeMatica in forum Networking
Replies: 3
Last Post: 02-20-2004, 04:08 AM
-
By alex52 in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 02-04-2004, 04:47 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray
$174.99

Intel Core i9-9900K SRG19 3.60GHz 16MB 8-Core LGA1151 B Grade CPU Processor
$175.00

Lenovo ThinkPad T14S Gen 1 8-Core 4750U 1.70 GHz 512 GB SSD 16 GB RAM Win11Pro
$240.00

Dell Optiplex 7050 Micro Core i5-7500 8 GB RAM 256GB SSD Microsoft Windows 11
$89.99

Intel Xeon E5 - 2667V2 / SR19W 3.30GHz 25MB 8-Core CPU Socket LGA2011
$30.00

AMD Ryzen 7 9800X3D 8-Core 4.7GHz AM5 CPU Processor 96MB L3 8MB L2
$350.00

AMD Ryzen 7 9700X 8-Core 16-Thread 40MB Cache Socket AM5 9000 Series Processor
$245.99

Microsoft Surface Go 2 Laptop Core i5 1135G7 2.4GHz 8GB 128GB SSD
$179.99

HP Z420 Pro Workstation PC Xeon E5-2660 8-Core 64GB RAM Quadro K5000 128GB SSD
$249.00

DELL Optiplex 780 SFF CORE2DUO 3.0GHz 8GB RAM 250GB HDDDVDRW NO OS
$99.99