Internet connection sharing - WinXP + Knoppix + Gentoo
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Internet connection sharing - WinXP + Knoppix + Gentoo
Sorry for the long post - but here goes:
I have got an interesting problem with Windows XP SP2 and Knoppix 3.7 LiveCD (and also Gentoo 2004.3 Minimal LiveCD). I have a standard home phoneline network card which behaves in the same way as a normal ethernet card and therefore uses the "pcnet32" module. My gateway is an XP computer (pre-SP1) that runs Internet Connection Sharing so that I can crosswire the two computers and use ICS on mine.
In a nutshell - my problem is the following: I cannot configure my network card on the Gentoo LiveCD. In Windows XP - the card works perfectly well and I get no errors whatsoever. When I boot into the Knoppix 3.7 LiveCD - the ethernet card autoconfigures itself with no problems using DHCP (because ICS acts like a DNS server as well as a DHCP server). The real problem is when I boot into the Gentoo LiveCD - the card is detected fine, and can be configured using ifconfig - but I get carrier errors on the card as soon as I try to ping anything.
I get carrier errors - but I have checked that the cable is plugged in and I know that the gateway is actually running...
I then reboot the computer and put the Knoppix CD in - "knoppix26 lang=us"
Knoppix configures itself and starts DHCP broadcasting with the internet working fine. This is what I get when I run ifconfig on a newly booted Knoppix 3.7 system:
No errors - and the internet is working fine. Now I am getting to the root of the problem: When I boot into windows and then re-boot (without a shutdown) into Knoppix - the autoconfiguration doesn't work and I get carrier error (the same as I did with Gentoo)...
A quick check (of when the internet is working in Knoppix) of my configation files:
root@ttyp0[knoppix]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
root@ttyp0[knoppix]# cat /etc/resolv.conf
search mshome.net
nameserver 192.168.0.1
The routing is the same as in gentoo, the resolv.conf is the same as in gentoo - and the ifconfig is the same - except that I get carrier errors...
So, in effect, I can see no difference in my Knoppix and Gentoo configuration that could make carrier errors appear (I haven't touched the hardware). The interesting problem is that I cannot get Knoppix to run with network when I reboot straight from Windows. My guess is that Windows changes the NIC EEPROM settings when installing updates (as I have done) to incorrect ones - and when Linux attemps to use them you get TX carrier errors on the ethernet card.
Any suggestions as to what I could try to get my eth0 working in Gentoo? Or maybe Knoppix 3.7 bypasses the EEPROM settings and uses correct ones?
I'm having a similar problem on my dual boot Windows XP/SuSe 9.2 system.
I have a Motorola Surfboard SB4200 cable Modem connected to a Surecom 10/100 Ethernet card.
Internet works just fine on XP but there's a catch to get it to work on Suse.
If I reboot, or soft shutdown, from XP to Suse dhcpcd can't get an IP adress. In order to do so i either:
fully unplug the PC (turn off the switch on the power source in the back)
or
shutdown/reboot from suse to suse.
SUse 9.1 had the same problem and I never got to terms with.
I've tried every possible combination on Yast, but the problem remains.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.