Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 08-02-2009, 01:06 PM   #1 (permalink)
Sami Hyypiä, LFC legend
 
Liverpool_fan's Avatar
 
Join Date: Jun 2007
Location: Нью-Дели
Posts: 2,138
Default Connecting OpenSUSE 11.1 with Windows through crossover ethernet wire


Hello All
I was wondering how to set up Networking between OpenSUSE 11.1 in my desktop to Microsoft Windows XP in a laptop in order to facilitate file sharing between the two as well as internect connection sharing via a crossover ethernet wire?

Thanks.
__________________
Experience true education in Computer Science - http://www.udacity.com | http://www.coursera.org

Spoiler:
Read before asking / messaging any moderator for any query: FAQ + answers for new members

Read all the sticky threads before asking any type of query. Most basic questions are answered in those.
Don't use forum for chatting. Visit http://webchat.freenode.net/?channels=krow, enter nick and connect.
Liverpool_fan is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 08-02-2009, 01:33 PM   #2 (permalink)
mekalodu
 
iinfi's Avatar
 
Join Date: Oct 2004
Location: Navi Mumbai
Posts: 1,518
Default Re: Connecting OpenSUSE 11.1 with Windows through crossover ethernet wire

can u tell us how ur setup is?

do u have a switch in betwn? or u have two lan cards on one of the machines? if so which one?
iinfi is offline  
Old 08-02-2009, 01:42 PM   #3 (permalink)
Sami Hyypiä, LFC legend
 
Liverpool_fan's Avatar
 
Join Date: Jun 2007
Location: Нью-Дели
Posts: 2,138
Default Re: Connecting OpenSUSE 11.1 with Windows through crossover ethernet wire

The two computers are connected directly with a crossover ethernet wire. No switches in b/w.
__________________
Experience true education in Computer Science - http://www.udacity.com | http://www.coursera.org

Spoiler:
Read before asking / messaging any moderator for any query: FAQ + answers for new members

Read all the sticky threads before asking any type of query. Most basic questions are answered in those.
Don't use forum for chatting. Visit http://webchat.freenode.net/?channels=krow, enter nick and connect.
Liverpool_fan is offline  
Old 08-02-2009, 01:52 PM   #4 (permalink)
mekalodu
 
iinfi's Avatar
 
Join Date: Oct 2004
Location: Navi Mumbai
Posts: 1,518
Default Re: Connecting OpenSUSE 11.1 with Windows through crossover ethernet wire

which machine gets the internet and from where?
if your windows machine gets the internet thru another LAN card then you can setup Internet sharing on the windows machine and setup internet sharing easily.


if your linux machine gets the internet thru a second lan card on ur linux box then i think you mite v to configure squid for this purpose.
iinfi is offline  
Old 08-02-2009, 02:03 PM   #5 (permalink)
Sami Hyypiä, LFC legend
 
Liverpool_fan's Avatar
 
Join Date: Jun 2007
Location: Нью-Дели
Posts: 2,138
Default Re: Connecting OpenSUSE 11.1 with Windows through crossover ethernet wire

I get the connection with my desktop which's connected to a router with a second ethernet port.
__________________
Experience true education in Computer Science - http://www.udacity.com | http://www.coursera.org

Spoiler:
Read before asking / messaging any moderator for any query: FAQ + answers for new members

Read all the sticky threads before asking any type of query. Most basic questions are answered in those.
Don't use forum for chatting. Visit http://webchat.freenode.net/?channels=krow, enter nick and connect.
Liverpool_fan is offline  
Old 08-02-2009, 03:21 PM   #6 (permalink)
mekalodu
 
iinfi's Avatar
 
Join Date: Oct 2004
Location: Navi Mumbai
Posts: 1,518
Default Re: Connecting OpenSUSE 11.1 with Windows through crossover ethernet wire

i v sme work .. so cant write down the steps for you.
i v jus copy pasted frm another site... if u still face issues let us know
source:http://www.howtoforge.com/forums/showthread.php?t=672

Quote:

"""" Let's get started then:

Edit /etc/sysconfig/network-scripts/ifcfg-eth0 - This is the main config file for the first (internet facing) interface.
It should read : (you can leave out anything on a line after #)

DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.1.2
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
ONBOOT=yes
MII_NOT_SUPPORTED=yes

Edit /etc/sysconfig/network-scripts/ifcfg-eth1 - This is the main config file for the second (LAN facing) interface.
It should read :

DEVICE=eth1
BOOTPROTO=static
IPADDR=192.168.3.1
NETMASK=255.255.255.0
NETWORK=192.168.3.0
BROADCAST=192.168.3.255
ONBOOT=yes
MII_NOT_SUPPORTED=yes
/etc/resolv.conf should contain the nameserver address(es) - put the address of your ISPs nameserver right at the top. eg:

nameserver 195.20.224.165You can have multiple nameserver xxx.xxx.xxx.xxx lines - the resolver will try them all in turn if one fails

The default gateway and your hostname go in /etc/sysconfig/network:

HOSTNAME=localhost
NETWORKING=yes
GATEWAY=192.168.1.1


We then need to set up packet forwarding:
Put the following command at the beginning of /etc/sysctl.conf

net.ipv4.ip_forward=1

Then 'turn off' the redirection to squid:
Install iptables - type "urpmi iptables" as root, or use the package manager in the start menu or mcc

Add the following code to the bottom of /etc/rc.d/rc.local.

iptables -t nat -D PREROUTING -i eth0 -j loc_dnatThis will delete a rule from your firewall - later, when you understand more, you can change shorewall and remove this line, but for now we'll keep it simple.


Reboot."""""""""
iinfi is offline  
Old 09-02-2009, 09:38 PM   #7 (permalink)
Sami Hyypiä, LFC legend
 
Liverpool_fan's Avatar
 
Join Date: Jun 2007
Location: Нью-Дели
Posts: 2,138
Default Re: Connecting OpenSUSE 11.1 with Windows through crossover ethernet wire

^
Doesn't work at all...

...bump
__________________
Experience true education in Computer Science - http://www.udacity.com | http://www.coursera.org

Spoiler:
Read before asking / messaging any moderator for any query: FAQ + answers for new members

Read all the sticky threads before asking any type of query. Most basic questions are answered in those.
Don't use forum for chatting. Visit http://webchat.freenode.net/?channels=krow, enter nick and connect.
Liverpool_fan is offline  
Old 09-02-2009, 09:53 PM   #8 (permalink)
damnbadman666
 
damngoodman999's Avatar
 
Join Date: Nov 2008
Location: Coimbatore
Posts: 2,590
Default Re: Connecting OpenSUSE 11.1 with Windows through crossover ethernet wire

u should need the connection on via STATIC server IP just use ur suse as server , make server name as server1.example.com ->then proceed with the following

ping the static ip given in the windows , if it not working means

in linux = > vi /etc/resolv.conf -> type the following => nameserver 192.168.X.X like any server static ip u give in the linux

then in windows ping 192.168.X.X -t which the ip is given in the resolv.conf in linux

in linux => system-config-network -> cancel the DHCP and give static IP desired with the internet host connection ip

but in windows give the same serverIP but diff domain name

if this is not working at all

---------------

make sure that ur linux firewall is running in ENFORCING mode ---> make sure the IP forwarding is 1
__________________
AMD Phenom 2 940 @ 3.4Ghz [Hyper 212+] :arrow: MA790GP-UD4H :arrow: OCZ DDR2 2x2GB :arrow: Asus GTX 560ti :bananana::arrow: 1TB SATA2 :arrow: LG 20" LED :arrow: Razer DA mice :arrow: RED HOT cabby
damngoodman999 is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Crossover, anyone? htnakirs Open Source 1 28-10-2008 09:18 PM
How to mount Windows Drives in openSUSE? sarincv Open Source 5 22-10-2008 05:38 PM
Connecting two computers using ethernet cards and switch vinay_001 QnA (read only) 3 05-04-2007 02:02 AM
Convert a normal lan wire to Crossed wire{Urgent Help Required Plsssss} racevthme Tutorials 1 14-02-2007 03:27 PM

 
Latest Threads
- by soumya
- by clmlbx
- by Charan
- by Sujeet
- by reddick

Advertisement




All times are GMT +5.5. The time now is 12:20 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2