You are not logged in.

#1 2011-01-22 11:12:46

eistee85
Member
Registered: 2011-01-22
Posts: 2

Connecting Arch & Windows 7 through crossover-cable using netcfg

Hi,
just set up my Zotac ZBox HD-ND01 as a HTPC running XBMC on an archlinux-system.
Evrything's working great so far! smile

I also installed the samba-server in order to copy files from my Windows 7 notebook to the HTPC.
Even though i'm connecting to an N-WLAN, this is way too slow to copy files like mkv-videos etc.
That's why i want to connect both systems directly using a crossover-cable. I got this wokring formerly on an ubuntu-system but on arch i'd like to use netcfg for this purpose.
Sadly i couldn't get it working so far sad

This is what my "rc.conf" looks like:

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="xbmc-htpc"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
# 
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#

#Static IP example
#eth0="eth0 192.168.2.105 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
 
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
NETWORKS=(wlan)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng !network @net-profiles netfs crond hal ntpd alsa lircd samba sshd)

"wlan" in network.d:

CONNECTION='wireless'
DESCRIPTION='A simple WPA encrypted wireless connection using a static IP'
INTERFACE='wlan0'
SECURITY='wpa'
ESSID='UN-WLAN-NW'
KEY='xxx-xxx-xxx'
IP='static' # Any other CONNECTION='ethernet' options may be used.
ADDR='192.168.1.105'
GATEWAY='192.168.1.1'
DNS=('192.168.1.1')

"crossover" in network.d:

CONNECTION='ethernet'
DESCRIPTION='A basic static ethernet connection using iproute'
INTERFACE='eth0'
IP='static'
ADDR='192.168.10.105'
netmask='255.255.255.0'

I'm connecting to my wireless network while booting (see @net-profiles in Daemons) - this works fine so far.
When i'm plugging in the crossover-cable i run

# netcfg down wlan
# netcfg crossover

but i can't see the arch-box in my Windows-Network (searching for the hostname/ ip won't work, too).

In Windows i set the static ip for the ethernet-connection to "192.168.10.100".

Any ideas whtat's wrong with my configuration?
How can i connect both systems using a crossover-cable?

Thanks for your help!!

Last edited by eistee85 (2011-01-22 11:58:39)

Offline

Board footer

Powered by FluxBB