PDA

View Full Version : No Internet with Knoppix 3.6 HD-Install



Chastaghir
09-13-2004, 09:38 AM
Hi all,

I try to go to internet by LAN and configured my network correctly with netcardconfig, as I think.
I can ping my own IP and can ping the Gateway. I can't ping the dns-servers, but they are the correct ones.
Consequently knoppix says, that the network is unreachable.
I'm quite puzzled with this problem and need some tipps, how to get this machine to internet. Booting W98 isn't funny :-)

I'm using the kernel 2.6.7. Also i tried the network configuration by booting from the knoppix cd with both kernels with no better result.

Some ideas?
Greetz, Stephan

Harry Kuhman
09-13-2004, 10:24 AM
Some DNS servers are simply configured not to respond to pings, so I wouldn't put too much focus on that, unless you determine you can ping them from Win98. Pinging your own IP is pretty meaningless too. Beyond that, additional information might help: what are all of the settings? Are you using a router? What type of service is it (DSL/cable/other)? Just what is this gateway that you can ping? As a quick test I would get the IP addresses of some sites that you know that you can ping and try to ping them by number (if that works then ping by name). Hint: www.knoppix.net is 66.220.1.171 and it does respond to pings.

I would stick to booting from CD while doing the tests; I've seen too many "my metwork doesn't work after hard disk install" posts; as long as it doesn't work from CD it's almost certain it will not work from HD until you know why the CD boot fails, so save yourself from any chance you might run into extra problems working on the HD boot first.

By the way, if you're not using a router, I would strongly suggest getting an inexpensive one. (Best Buy has a wireless dlink with 4 wired ports for $15 AR this week, sometimes you find them even cheaper). They give you a lot of additional security, make it easy to set up a lan, and take care of all connecting to your service provider for you. At least when booting from CD you just boot and your wired ethernet connection is generally on the Internet with no configuration needed on your part at all. You should be able to get this working without a router, but I strongly believe most of the problems we commonly see here would be prevented or at least much more easily resolved with one.

Chastaghir
09-13-2004, 10:39 AM
Hello all,

i can ping the DNS-servers with windows 98. So I think that there the problem is.
The network is a university cable network and I am provided with IP and the other settings by the computer center.

Here are some outputs of some commands from a Knoppix support page:

vi /etc/network/interfaces:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
# automatically added when upgrading
auto up eth0
iface up inet loopback

iface eth0 inet static
address 132.195.145.11
netmask 255.255.255.0
network 132.195.145.0
broadcast 132.195.145.254
gateway 132.195.145.254
----------------------------------------------------------
angi@Nemo:~$ ifconfig
eth0 Protokoll:Ethernet Hardware Adresse 00:07:95:26:78:26
inet Adresse:132.195.145.11 Bcast:132.195.145.254 Maske:255.255.255.0
inet6 Adresse: fe80::207:95ff:fe26:7826/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:524 errors:0 dropped:0 overruns:0 frame:0
TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:68445 (66.8 KiB) TX bytes:4490 (4.3 KiB)
Interrupt:11 Basisadresse:0xd400

lo Protokoll:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:13 errors:0 dropped:0 overruns:0 frame:0
TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX bytes:820 (820.0 b) TX bytes:820 (820.0 b)
-----------------------------------------------------------------
angi@Nemo:~$ route -n
Kernel IP Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
132.195.145.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
-----------------------------------------------------------------

Do you need some other information?
Greetz, Stephan