LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-07-2006, 12:20 PM   #1
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
Router > LAN


I have just installed a Sagem F@st 1500WG router for my ADSL connection. linked up to the router with a crossover cable is my FC4 box and my second box, WinXP is connected to the same router via a WiFi card.

I can connect to the internet from both boxes, but would now like to learn if and how I can use the router to create a LAN so I can share files between boxes.

I'm at a loss where to start (reading) and would greatly appreciate any good pointers.
 
Old 06-07-2006, 12:48 PM   #2
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Rep: Reputation: 30
A router doesn't "create" a LAN. It allows one LAN, WAN, etc to talk to other LAN's, WAN's, etc.

If you want to share files between FC4 and XP, use Samba. www.samba.org

HTH,

Chris
 
Old 06-07-2006, 12:59 PM   #3
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993

Original Poster
Blog Entries: 1

Rep: Reputation: 46
Thanks for responding so quickly.
I didn't think the router would just magically create a LAN, but since I'm not connecting two PCs directly i.e. networkcard>networkcard but there's a router in between I thought there might be other things to keep into consideration.
 
Old 06-07-2006, 01:05 PM   #4
EvilC0P
LQ Newbie
 
Registered: Jun 2006
Location: Montreal
Distribution: Fedora Core 4
Posts: 16

Rep: Reputation: 0
IPs... as long as your machine are configured properly, then both shoudl be able to see each other.
do a ping test. try to ping your Windows machien from your linux and vice versa. if you can reach it, then you are fine.

to share files, on your Linux, you'll have to configure Samba.
 
Old 06-07-2006, 01:12 PM   #5
georider
LQ Newbie
 
Registered: Mar 2006
Distribution: Suse OSS 10.1, Debian 3.1, Solaris 8, Ubuntu Gutsy
Posts: 10

Rep: Reputation: 0
Since no one else has mentioned yet, your Sagem F@st 1500WG should have a 4 port switch.

This is for your LAN.

HTH

g
 
Old 06-08-2006, 07:00 AM   #6
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993

Original Poster
Blog Entries: 1

Rep: Reputation: 46
Quote:
Originally Posted by EvilC0P
IPs... as long as your machine are configured properly, then both shoudl be able to see each other.
do a ping test. try to ping your Windows machien from your linux and vice versa. if you can reach it, then you are fine.

to share files, on your Linux, you'll have to configure Samba.
Thanks! I'll have to learn to ping then...
 
Old 06-08-2006, 07:01 AM   #7
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993

Original Poster
Blog Entries: 1

Rep: Reputation: 46
Quote:
Originally Posted by georider
Since no one else has mentioned yet, your Sagem F@st 1500WG should have a 4 port switch.

This is for your LAN.

HTH

g
Yes, but as I explained in my initial post One PC is connected to the switch, the other through WiFi, but I imagine it shouldn't make a difference (or should it?)
 
Old 06-08-2006, 07:14 AM   #8
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Rep: Reputation: 30
No, that shouldn't make a difference. The wifi is still part of the same switch (which is also your router). To ping, type "ping xxx.xxx.xxx.xxx" where the X's are the IP address of the other machine. If you get replies, you can see the other box.

Then look into configuring Samba to share files between FC4 and XP.

Chris
 
Old 06-08-2006, 07:33 AM   #9
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993

Original Poster
Blog Entries: 1

Rep: Reputation: 46
I've been able to find my linux box's IP, now for the WinXP part...
 
Old 06-08-2006, 07:59 AM   #10
EvilC0P
LQ Newbie
 
Registered: Jun 2006
Location: Montreal
Distribution: Fedora Core 4
Posts: 16

Rep: Reputation: 0
in Linux, console you type this command : "ifconfig"

in windows XP, Start->Run...->cmd
and in the dos prompt, type : "ipconfig"

all commands without the quotes " "

then you get your results. type them here, we can tell you if it's fine.
 
Old 06-08-2006, 10:17 AM   #11
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Rep: Reputation: 30
Yes, in linux the command is "ifconfig /a" and in XP it's "ipconfig /all"
 
Old 06-08-2006, 04:45 PM   #12
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993

Original Poster
Blog Entries: 1

Rep: Reputation: 46
XP: 'ipconfig' or 'ipconfig /all' => a dos window pops open and closes instantaneously ??

Linux: ipconfig isn't installed... I'm looking for the rpm
 
Old 06-08-2006, 05:04 PM   #13
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993

Original Poster
Blog Entries: 1

Rep: Reputation: 46
winXp: I should have issued the command from the dos prompt! I've got some IP info now.
 
Old 06-08-2006, 05:37 PM   #14
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Rep: Reputation: 30
Linmix,

On linux, the command is "ifconfig /a" "iF", not "iP". And while you're at it on the linux box, ping your XP machine with "ping the.xp.ip.ady". Example: "ping 192.168.1.2" since you're probably on a 192 range.

Chris
 
Old 06-08-2006, 11:48 PM   #15
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993

Original Poster
Blog Entries: 1

Rep: Reputation: 46
Thanks. That did it.
FC4: ifconfig -a tells me inet addr: 192.168.0.10 and Bcast:192.168.0.225
if I run ping 192.168.0.10 from XP it works.

XP: ipconfig /all tells me IP addr: 192.168.0.11
if I run ping 192.168.0.11 frm FC4 all packets get lost. Ping works, because I can ping the router at 192.168.0.1

where do I go from here?
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux as router (between 3 LAN) ammaralroz Linux - Networking 3 08-17-2005 06:18 AM
Experimental LAN Router daimoner Linux - Networking 6 07-11-2005 08:53 PM
Routing LAN -> WAN -> LAN with unhelpful router synx13 Linux - Networking 2 06-14-2004 02:35 PM
Can See Router But Not Lan Or Internet shimshai Linux - Networking 2 04-25-2004 08:54 PM
ADSL Router + Linux Router + LAN = HELP!!! linuxlois Linux - General 2 09-16-2003 08:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration