LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 03-10-2005, 12:38 PM   #1
jwestlak
LQ Newbie
 
Registered: Dec 2004
Posts: 10

Rep: Reputation: 0
Home Network


So here is what I am trying to do:

I have a laptop with wireless that connects to an access point from the coffee shop next door. This laptop is running windows XP (work compy). I also have my desktop which runs SUSE. Unfortunately I don't have a wireless card for that computer. I have one crossover cable to run between the two and I would like to get an internet connection to the desktop. I would also like to be able to share files between the two systems (the laptop has two NTFS partitions). I have tried samba, with no luck. Please help!

Thanks in advance!
 
Old 03-10-2005, 01:07 PM   #2
winsnomore
Member
 
Registered: May 2004
Location: USA
Distribution: #1 PCLinuxOS -- for laughs -> Ubuntu, Suse, Mepis
Posts: 315

Rep: Reputation: 31
XP allows something called connection sharing .. where one machine acts as a "gateway" (router) for the other(s).

Your XP machine can do that ... in most modren ethernet cards cross-overs aren't needed as they auto-sense (but don't count on that) ..

First thing is to get XP to act like a router.It's a well supported/documented feature. Unless someone can help you here, go to MSN forums to get going or read the help on XP.

Samba is painless .. but unless you have someone giving IP address to your desktop .. samba is not going work .
 
Old 03-10-2005, 01:51 PM   #3
jwestlak
LQ Newbie
 
Registered: Dec 2004
Posts: 10

Original Poster
Rep: Reputation: 0
This could possible be my first problem. I am not sure how to have someone give me an IP address...especially because I am getting my connection from the coffee shop next door, I have no control over the connection.

I could just break down and get a wireless card for my desktop...but that would be no fun.

I am also stuck on the file sharing issue between the two systems. I can't get either to see each other. I am going through a crossover cable with no router involved.

Thanks!
 
Old 03-10-2005, 09:15 PM   #4
BinaryBob
Member
 
Registered: Aug 2002
Posts: 117

Rep: Reputation: 15
You'll need to manually set the IPs for the wired LAN port on the laptop, as well as the port on the desktop running linux. Something like this

Laptop: 192.168.10.1
Desktop: 192.168.10.2

That should work ok, they are in the same subnet and there shouldnt be any conflicts. After they both have those IPs set, try a ping command between them to see if there is comunication. That well let samba work. Follwo the other peoples advise for the built-in windows connection sharing to get internet to the desktop.

Good Luck
 
Old 03-10-2005, 11:44 PM   #5
winsnomore
Member
 
Registered: May 2004
Location: USA
Distribution: #1 PCLinuxOS -- for laughs -> Ubuntu, Suse, Mepis
Posts: 315

Rep: Reputation: 31
I think you are plyaing with a fire a bit .. don't count of coffee shop to keep giving you the "bw" .. if someone monitors it and decides that you have been there for too long they might just block your laptop mac ..
but that's a secondary problem.

I agree with the previous posts . .you can do it staticially .. but read the windows connetion sharing and
try to make sure (a) your coffee network is not the same as the previous author suggested and (b) you can
actually understand the basic of routing functions that your lap top will need to perform.

- sms
 
Old 03-11-2005, 01:39 PM   #6
jwestlak
LQ Newbie
 
Registered: Dec 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for the help everyone! So here is where I am at now. I have gotten the desktop and the laptop to see each other over the network (both pinged and through network places). I am having a problem now in that I cannot actually access any of the folders that my desktop is sharing. Windoze gives me and error that says that either the network device isin't available right now or I don't have the correct permissions.

This may be a problem with the windows side of things because I also cannot connect to my fiance's laptop through our wireless connection for the same reason (same error from windows).

Any ideas?
 
Old 03-11-2005, 06:58 PM   #7
winsnomore
Member
 
Registered: May 2004
Location: USA
Distribution: #1 PCLinuxOS -- for laughs -> Ubuntu, Suse, Mepis
Posts: 315

Rep: Reputation: 31
Are you running Samba on your linux box ?

Samba works two ways .. client when it can connect to a windows machine.
server when when it can offer shares that windows can see.

check the man page .. you can mount it typically by
mount //windows-machine-name/share_name /your_linux_mnt_pt .(typically /mnt/qqqq) -ousername=your_userid_on_win
and then enter passwd when prompted ..


read the man page ..

if the server is used you have to make sure that you are on the same "workgroup" ..
and then windows should be able to see the "shares (really directoriees exported)" in the networks neighborhood.
 
Old 03-11-2005, 08:57 PM   #8
jwestlak
LQ Newbie
 
Registered: Dec 2004
Posts: 10

Original Poster
Rep: Reputation: 0
I finally got it to work! I don't know what the deal is with windows...if I just try to add a network place and then find it under the local network it wont let me in to the folders...it shows them, but I can't access them (this is from the win box to the linux box). But if I just type in the IP address in the address bar on windows explorer, it brings up the authentication box and I can get in. Makes no sense whatsoever.

I also think that it may have possibly been due to some firewall settings on the windows side. Since windows firewall sucks I just shut it off. Works like a charm!

Thanks for the help!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
home network mattjamal Linux - Networking 5 11-26-2005 06:54 PM
Home network setup with network firewall/router Gates1026 Linux - Networking 4 01-17-2005 08:26 PM
Home Network Similar to Work Network Boffy Linux - Networking 2 08-05-2004 06:52 PM
home network and work network PlatinumRik Linux - Wireless Networking 2 02-24-2004 07:12 PM
Newbie wanna setup up a linux network on existing home network... marvc Linux - Networking 3 03-19-2003 09:02 PM


All times are GMT -5. The time now is 04:30 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration