SlackwareThis Forum is for the discussion of Slackware Linux.
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.
I want to connect my slackware machine to a Windows XP machine so that I can share the internet connection (The Windows machine is connected to broadband). I've tried running netconfig to set up the network, but when I try to ping the windows machine i get the message "Destination Host unreachable" and the windows machine doesn't even detect the fact that it is connected to the other machine....
What is the output from the command "ifconfig"? If there is a working interface up, then try the "arp" command and it ought to show any machines that are connected to the subnet. I am not sure what the netconfig command does, so I am afraid that I cannot help you with its use. Networking an XP box and a Slackware box really ought to be straight forward as long as the XP box is correctly setup. You ought to be able to get a slackware box up on a network just by doing "ifconfig <ip>" as root. Hope this helps, but without more info I am not sure where the problem is.
kryis, you write:
"the windows machine doesn't even detect the fact that it is connected to the other machine"
I assume that you refer to the network adapter status in Windows
(Start . Settings - Network connections)
In this case it is a problem of the physical layer (network adapter speed, cable, switch/hub). You should fix this first before you are going to examine the higher protocol levels (IP, name resolution etc)
Try to simlplify the environment. disattach the windows system from the internet, connect windows-pc and the linux machine directly with a crossover cable and watch what happens.
BTW: what about the routing table in the Win PC?
Type "route print" at the dos prompt
The output shoud show something like that:
The two computers are connected directly with a crossover cable at the moment, and i cant get on the Win PC at the moment cause my brother is using it for games and refuses to come off... i'll check route print when i can
Strip off unnecessary stuff in the Windows adapter configuration. uncheck everything but TCP/IP and make things as straightforward as you can.
check "ipconfig /all" as well (it is the win-version of ifconfig)
The output should contain:
IP Address ....... 192.168.0.1
Subnet Mask .... 255.255.255.0
If this is the case, your IP configuraton seems to be ok
and you should really concetrate on the physical layer.
1. on WinPC: start - settings - network connections
double click on "local area connection"
you will see an counter: activity send/receive
2. ping from linux PC: ping 192.168.0.1
3. if the physical connection is ok the receive counter on WinPC shoud increment.
if not: check adapter speed on both machines (if you have mii-tool on your linux system, try it. it will tell you the physical status of the adapter). check cable.
I'm sorry not to be able to give you further help :-) Weekend, you know, and my son needs his dad...
what do I set the domainname as in netconfig? anything that does not matter say slack.Kryis.com if you want, but again try to set 192.168.0.1 as gateway in netconfig, and don't forget the slackware IP too, say 192.168.0.6, for dns, put your isp dns (the same as in windows machine)