PDA

View Full Version : internet connection problem



quincannon
05-10-2007, 11:59 PM
hey i have a problem getting knoppix to connect to the internet.i have the latest version of the cd.
my network card is CNet Pro200WL PCI fast Ethernet Adapter. my router is a linksys model# BEFSR41. i tried running the netcardconfig and let it auto detect didn't work. i tried to put in all the information myself to do a manual config i coudln't get it to work. i had it detect the network but i wasn't able to ping anything including the router. so any help would be apritiated thanks.

JohnnyH
05-11-2007, 08:27 AM
Post the output of the command
ifconfig

quincannon
05-12-2007, 12:11 AM
eth0 Link encap:Ethernet HWaddr 00:80:AD:7E:CB:B4
inet addr:192.168.31.100 Bcast:192.168.31.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:33 errors:18 dropped:0 overruns:0 frame:0
TX packets:31 errors:2 dropped:0 overruns:1 carrier:2
collisions:0 txqueuelen:1000
RX bytes:6364 (6.2 KiB) TX bytes:4638 (4.5 KiB)
Interrupt:3 Base address:0xd400

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:334 errors:0 dropped:0 overruns:0 frame:0
TX packets:334 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1596040 (1.5 MiB) TX bytes:1596040 (1.5 MiB)

JohnnyH
05-12-2007, 10:34 AM
Hmm, have you got the nameserver code for your router in /etc/dhcpc/resolv.conf ?
In your case I would expect it to be something like

nameserver 192.168.31.x
(where x might well be 1, or whatever you can find out booting a different system).
Otherwise, somebody with more detail experience in networking than myself might be able to deduce something from the errors shown by ifconfig ;)

quincannon
05-12-2007, 03:38 PM
for ip address for eth0 i put in 192.168.31.100
for net mask i left it the same as default option
broadcast add i left as default
def gateway i put 192.168.31.81 because it's my routers ip
for nameserver i left it with the default options which appeared to be my dns numbers in my router config.

JohnnyH
05-13-2007, 09:46 AM
... for nameserver i left it with the default options which appeared to be my dns numbers in my router config.
If (?) you're implying that that's not 192.168.31.81 then I suggest that you try 192.168.31.81 in /etc/dhcpc/resolv.conf :)

quincannon
05-13-2007, 03:37 PM
well i put in 192.168.31.81 for name server when doing the netcardconfig.

ifconfig eth0 192.168.31.81 netmask 255.255.255.0 broadcast 192.168.31.255 up
route add default gw 192.168.31.81
SIOCADDRT: File exists
auto lo eth0
Setting Nameserver in /etc/resolv.conf to 192.168.31.81
Done.


when i run ifconfig i get this

eth0 Link encap:Ethernet HWaddr 00:80:AD:7E:CB:B4
inet addr:192.168.31.81 Bcast:192.168.31.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:1487 errors:421 dropped:0 overruns:0 frame:0
TX packets:29 errors:2 dropped:0 overruns:0 carrier:2
collisions:0 txqueuelen:1000
RX bytes:151148 (147.6 KiB) TX bytes:3236 (3.1 KiB)
Interrupt:3 Base address:0xd400

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:897 errors:0 dropped:0 overruns:0 frame:0
TX packets:897 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1640435 (1.5 MiB) TX bytes:1640435 (1.5 MiB)

JohnnyH
05-14-2007, 11:00 AM
Hmm, the setting up process itself seems OK.

In my Knoppix 5.1.1 system, I have never seen a "Interrupt:3 Base address:0xd400" type report; don't know whether this signifies a card set-up issue specific to your CNet Pro200W .

FWIW this is the report I get for my Knoppix 5.1.1 HD-installation


eth0 Link encap:Ethernet HWaddr 00:50:8B:65:3A:6C
inet addr:192.168.2.92 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::250:8bff:fe65:3a6c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:215 errors:0 dropped:0 overruns:0 frame:0
TX packets:295 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:20142 (19.6 KiB) TX bytes:30516 (29.8 KiB)

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:85 errors:0 dropped:0 overruns:0 frame:0
TX packets:85 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6188 (6.0 KiB) TX bytes:6188 (6.0 KiB)

BTW I notice that you don't have an "inet6 addr: ..." line reported for eth0.

Other questions that occur - presumably your PC/Router works OK with (which) other operating system(s) ... you're not using a firewall ... ?
[EDITED to qualify differences between Knoppix 5.1.1 and 3.7 ]
I dug out & rebooted my KNOPPIX 3.7 , which, unlike 5.1.1, has *never* given me configuration problems :)
and for ifconfig it gives


eth0 Link encap:Ethernet HWaddr 00:50:8B:65:3A:6C
inet addr:192.168.2.92 Bcast:255.255.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:307 errors:0 dropped:0 overruns:0 frame:0
TX packets:330 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:298698 (291.6 KiB) TX bytes:56169 (54.8 KiB)
Interrupt:10 Base address:0xe000 Memory:e1102000-e1102038

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:500 (500.0 b) TX bytes:500 (500.0 b)

i notice that:
The Interrupt is reported, but with Memory extent included (which is not in your ifconfig - this may be significant).
Knoppix 3.7 does not use inet6 - just BTW.

quincannon
05-14-2007, 11:42 PM
ya internet works fine with xp pro that's what i've been using to come on here and post all my messages. firewall the router itself acts as one i dont have any portforwarding set up for this computer. i use a software firewall on xp also just that wont affect knoppix at all since it shouldn't be booting. no idea why it isn't working since i did everything that i found on the boards and other faq.

Harry Kuhman
05-15-2007, 12:39 AM
.... no idea why it isn't working since i did everything that i found on the boards and other faq.
And we have little idea either, since you are not giving us much information to go on.

Is there any particular reason why you Linksys router is at 192.168.31.81? That hardly a normal setting for a Linksys router.

It is fairly inportant that those trying to help you know what you are connected to. DSL is different than cable, and very different from connecting to a network at school or work that might include more firewalls, proxies and other complications. (although this shouldn't stop you from pinging the router).

It would also help to know about your computer. We know nothing other than it has a Cnet NIC. And tell us as much about your network as you can.

I'm assuming that you are using a Live CD or Live DVD and have not foolishly tried to install Knoppix, but you should confirm that. For that matter, you should confirm that this is Knoppix and not some alternate Knoppix based Live CD, and give the full version number of the release.

It doesn't seem likely that this is the issue, but I should still ask: Did you burn the disc yourself and did you burn it at low speed? Have you run testcd? Did you confirm the md5 checksum before burning the ISO? It would be a shame to waste a lot of effort on a network problem that turns out to be a bad disc.

What are the settings in your Linksys router? Are you doing anything to limit access by MAC address? (Yes, the hardware should have the same MAC address as it has under Windows, but I ask this because it has been seen to be a source of problems.)

You might try making sure that your system gives up it's DHCP lease before shutting XP down. You shouldn't have too, I don't, but I have seen reports that this caused others a problem.

If that doesn't help, try cycling power on the Linksys after shutting down XP (and shut down the computer completely, don't just do a soft reset). The power up the computer and boot right into Knoppix without running XP. You might even want to try resetting the router.

We have seen some DNS issues that were tracked to IP6 support on some ISP, but that doesn't sound like your problem since you say you can't even ping the router.

quincannon
05-20-2007, 12:58 AM
cycling the router worked sort of eh i'll figure it out