Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
06-07-2006, 12:20 PM
|
#1
|
|
Senior Member
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Rep:
|
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.
|
|
|
|
06-07-2006, 12:48 PM
|
#2
|
|
Member
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520
Rep:
|
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
|
|
|
|
06-07-2006, 12:59 PM
|
#3
|
|
Senior Member
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Original Poster
Rep:
|
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.
|
|
|
|
06-07-2006, 01:05 PM
|
#4
|
|
LQ Newbie
Registered: Jun 2006
Location: Montreal
Distribution: Fedora Core 4
Posts: 16
Rep:
|
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.
|
|
|
|
06-07-2006, 01:12 PM
|
#5
|
|
LQ Newbie
Registered: Mar 2006
Distribution: Suse OSS 10.1, Debian 3.1, Solaris 8, Ubuntu Gutsy
Posts: 8
Rep:
|
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
|
|
|
|
06-08-2006, 07:00 AM
|
#6
|
|
Senior Member
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Original Poster
Rep:
|
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...
|
|
|
|
06-08-2006, 07:01 AM
|
#7
|
|
Senior Member
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Original Poster
Rep:
|
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?)
|
|
|
|
06-08-2006, 07:14 AM
|
#8
|
|
Member
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520
Rep:
|
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
|
|
|
|
06-08-2006, 07:33 AM
|
#9
|
|
Senior Member
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Original Poster
Rep:
|
I've been able to find my linux box's IP, now for the WinXP part...
|
|
|
|
06-08-2006, 07:59 AM
|
#10
|
|
LQ Newbie
Registered: Jun 2006
Location: Montreal
Distribution: Fedora Core 4
Posts: 16
Rep:
|
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.
|
|
|
|
06-08-2006, 10:17 AM
|
#11
|
|
Member
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520
Rep:
|
Yes, in linux the command is "ifconfig /a" and in XP it's "ipconfig /all"
|
|
|
|
06-08-2006, 04:45 PM
|
#12
|
|
Senior Member
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Original Poster
Rep:
|
XP: 'ipconfig' or 'ipconfig /all' => a dos window pops open and closes instantaneously ??
Linux: ipconfig isn't installed... I'm looking for the rpm
|
|
|
|
06-08-2006, 05:04 PM
|
#13
|
|
Senior Member
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Original Poster
Rep:
|
winXp: I should have issued the command from the dos prompt! I've got some IP info now.
|
|
|
|
06-08-2006, 05:37 PM
|
#14
|
|
Member
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520
Rep:
|
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
|
|
|
|
06-08-2006, 11:48 PM
|
#15
|
|
Senior Member
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Original Poster
Rep:
|
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?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:03 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|