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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can anyone tell me whether I can have a direct connection (ethernet cable) between a XP machine and Linux and get samba and internet proxy to work on the XP box?
The laptop is my wifes and is setup with her work's domain and uses DHCP (niether of which I am not allow to change) and the linux machine is my home pc so I can make any changes to it.
I have just connected the two ethernet cards with a twisted pair cable but when I try to ping either machine by it's hostname ... niether is found.
All the information I have found so far involves creating a workgroup on the windows machine and giving it a static ip .... but I cannot do this.
The main thing I want to do is setup samba file sharing and make my linux pc a proxy server, so she can connect to the internet (through the ethernet connect) while I am connected.
If anyone can offer any assistance I would appreciate it.
I don't have a ip address for the xp laptop because it is set to use DHCP and we don't have admin rights on it (work machine). Is there any hope in getting the two machines connected for file and internet connection sharing?
'ipconfig' (on xp laptop) gives this:
----------------
C:\WINDOWS\system32>ipconfig
Windows IP Configuration
Ethernet adapter Wireless Network Connection:
Media State . . . . . . . . . . . : Media disconnected
Ethernet adapter Local Area Connection:
Media State . . . . . . . . . . . : Media disconnected
Looking at this output the answer seems pretty self expanatory ... the xp machine thinks it's ethernet LAN socket is not connected, but the cat5 cable is connected to ethernet card of my linux machine???
You need to use a crossover network cable. You mentioned you were using twisted pair, all CAT5/6 is twisted pair, however to connect two NIC's without a switch or a hub you need a crossover. Even when you get this, you will still not be able to set the IP on the XP box without Admin rights. If you request that a sysadmin set a specific IP for the network card they may do it for you, or you could set you linux box up as a DHCP server.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.