Difference between revisions of "Direct PC Connection"
m |
WizardFusion (Talk | contribs) m (→Option1: crossover cable) |
||
Line 10: | Line 10: | ||
Your friend has a network card. Yay ! | Your friend has a network card. Yay ! | ||
Just connect using a crossover cable | Just connect using a crossover cable | ||
+ | |||
+ | The image below shows the pin-layouts for the standard network crossover cables. | ||
+ | |||
+ | [[CrossOverCableLayout.gif]] | ||
<add crossover how-to here> | <add crossover how-to here> |
Revision as of 12:56, 17 December 2006
Contents
Direct PC Connection
So you go to a friend's place and you'd like to share some files. How ?
USB bridge cable
Unknown. they seem to require both ends to use the same software, and generally runs on Windows-only machines. TBD.
Ethernet to Ethernet
Option1: crossover cable
Your friend has a network card. Yay ! Just connect using a crossover cable
The image below shows the pin-layouts for the standard network crossover cables.
<add crossover how-to here>
Option2: crossover cable and usb network card
Your friend does not have a network card, but has usb ports. No problem ! Buy a usb network adapter and connect on his/her PC. An example is the Linksys USB200M 10/100 USB2.0 network adapter, fairly inexpensive.
Option3: same as above but can't find a crossover cable
You can't find a crossover cable? no problem. Use normal cables, but use a Ethernet hub or Ethernet switch or even a router to connect the PC and the Linkstation together.
Likely required: Static IP setup on the Linkstation
as per lb_worm's suggestion, on your Linkstation, change those 2 files:
1) set the /etc/network/interfaces to:
- Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
- /usr/share/doc/ifupdown/examples for more information.
auto lo iface lo inet loopback
auto eth0 iface eth0 inet static address 192.168.11.160 netmask 255.255.255.0 geteway 192.168.11.1 network 192.168.11.0
auto eth0:auto iface eth0:auto inet dhcp
2) Edit the dhcp config file /etc/dhcpc/config to:
- Config file for dhcpcd.
case ${INTERFACE} in eth0)
- Uncomment this to allow dhcpcd to set the DNS servers in /etc/resolv.conf
- If you are using resolvconf then you can leave this commented out.
SET_DNS='yes'
- Uncomment this to allow dhcpcd to set the NIS domainname of the host to the
- domainname option supplied by DHCP server.
- SET_DOMAIN='yes'
- Uncomment this to allow dhcpcd to set hostname of the host to the
- hostname option supplied by DHCP server.
- SET_HOSTNAME='yes'
- Uncomment this to allow dhcpcd to set the NTP servers in /etc/ntp.conf
- SET_NTP='yes'
- Uncomment this to allow dhcpcd to set the YP servers in /etc/yp.conf
- SET_YP='yes'
- Add other options here, see man 8 dhcpcd-bin for details.
OPTIONS='-d -t 30 interface eth0:auto'
- Add other interfaces here
- )
esac
The -d option will generate some debug.
Likely required: Static IP setup on the PC
Windows XP:
Start->Control Panel->Network Connections.
Right click on your network adapter(likely called "Local Area Connection"
->Properties
Select "Internet Protocol (TCP/IP)
![]() |
This article is currently a stub. You can help this Wiki by expanding it . This template will categorize articles that include it into Category:Stubs. |