Just can't get internet connection working
"From zero to Linux in 5 minutes".. Yeah, plus 17 hours to get internet access with it... But yeah, I know, that's the deal with Linux sometimes.
Anyway I've now spent days trying without joy to get Knoppix to see my cable internet connection. Here's the situation, if anyone could help me out here:
- on startup my laptop's ethernet port is detected and the module via-rhine called correctly; this shows with lsmod
- ifconfig only shows the loopback device lo, so I do ifconfig eth0 up and then eth0 shows too
- but ifup eth0 returns "Ignoring unknown interface eth0=eth0", so...
- I add the line "iface eth0 inet dhcp" to /etc/network/interfaces (why doesn't Knoppix do this?); DHCP is definitely functional upstream, because the cable is the same as for another DHCP-using machine
So everything looks right at last. I do ifup eth0. There is a pause and then:
Code:
Operation failed. Failed to bring up eth0
I would really appreciate pointers on where to go from here. Thanks.
Re: Just can't get internet connection working
Quote:
Originally Posted by rollo11
I add the line "iface eth0 inet dhcp" to /etc/network/interfaces (why doesn't Knoppix do this?); DHCP is definitely functional upstream, because the cable is the same as for another DHCP-using machine
What do you mean by another DHCP-using machine? Are you trying to hook two computers directly to cable without a router? What happens if you just boot Knoppix in that "another machine"? I still suggest my answer #4 above.
Re: Just can't get internet connection working
Quote:
Originally Posted by Harry Kuhman
What do you mean by another DHCP-using machine? Are you trying to hook two computers directly to cable without a router? What happens if you just boot Knoppix in that "another machine"? I still suggest my answer #4 above.
Thanks Harry for your messages. I appreciate that a router is a good technical solution, but it does cost money (at least $ 30 here in France) and it means another box and wiring. I am just trying to connect a single laptop to the internet. It's possible in Suse (and Windows of course), and call me a masochist but I want to make it work in Knoppix too!
The cable I am switching between machines until I can get the connection working. There is no network.
Re: Just can't get internet connection working
Quote:
Originally Posted by rollo11
....It's possible in Suse (and Windows of course), and call me a masochist but I want to make it work in Knoppix too!
The cable I am switching between machines until I can get the connection working. There is no network.
It certainly can be done with Knoppix too. In fact most of the time with cable (as opposed to DSL) it just works. But some cable systems do strange things, like remember the mac address of the system they were talking to and refuse to talk to a different computer. I don't know if yours does that or not, and it's only one example of what might be going wrong. But it is why I asked what happens if you boot Knoppix on the other computer, which I don't think you responded to. Of course, a router will let you resolve this and the cable company will only see the router's MAC address, or you can tell it to mirror the mac address of the current working system so you don't have to get them to accept a new mac address for the router.
If both computers have PCI NICs you could try swapping the NICs and see if the Knoppix computer will go on-line then (and if so I bet the Windows box no longer will).
I have to mention (again) that I spent over $100 for my first router. It was wired only, and I was out of work at the time. It was still a good and important investment, even though it now lives in my travel pack and has been replaced by a wireless router at home. I would never run a windows system on a high speed connection without the protection of a NAT router; that's just crazy and begging for infection or worse. So even if you can't get the occasional killer price deal we sometimes see, I don't understand the reluctance to buy this important piece of equipment.