LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-21-2003, 10:01 PM   #1
toastermaker
Member
 
Registered: Oct 2003
Location: coastal alabama, united states
Distribution: Mandrake 10.0 official, slackware 9.1
Posts: 219

Rep: Reputation: 30
Internet connection sharing / ssh stopped it


I recently got Internet connection sharing going on my 2 'puter lan.
I have been wanting to get tcp or something going so as to be able to transfer files.
I got ssh going again as a precursor to tcp. I had read that was needed.
After getting my 2 'puters connected with ssh my internet connection sharing quit working.

Where should I look to find the cause of this?

continued gratitude to all those who help us newbies.
 
Old 11-22-2003, 01:39 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Not sure how your internet is configured but probably via broadband. To file share you need NFS (Network File Share) which is inherently insecure. Linux is very specific about NFS and the precise directories are specified under NFS (so in that sense it is fairly secure) but to make sure your system is secure you then need to firewall and include ipmasq (masquerading ) to share connections.
 
Old 11-23-2003, 02:09 AM   #3
bobthebaritone
Member
 
Registered: Aug 2003
Location: Newington, Sydney, Australia
Distribution: Fedora Whitebox 4 Ubuntu
Posts: 40

Rep: Reputation: 15
Lightbulb SSH - transfre files

you need to tell us where you want to transfer the files from and to...ssh on internal home nets is overkill. From the internet you would be mad not to do it by SSH.

Note that SSH requires TCP.

Best of luck!


Bob

(Singing at Sydney Opera House in the Messiah -don't miss it!)
 
Old 11-23-2003, 06:08 AM   #4
toastermaker
Member
 
Registered: Oct 2003
Location: coastal alabama, united states
Distribution: Mandrake 10.0 official, slackware 9.1
Posts: 219

Original Poster
Rep: Reputation: 30
Yes, let me start over.
I have 2computers on direct ethernet cable, no hubs or what have you. I dont currently want to transfer file over the internet, but might want to in the future.

At the beginning of setting up a lan I was told a good first step was getting communications between a shell on each box.

Ssh was recommended as a good option because if in the future I wanted to network over the internet It would be good.

I got ssh working for the above reason. I had been having fun with it, with what little I could do so far.

I decided to get Internet connection sharing going. It was working fine.

NOTE:
I miss spoke in my previous post, it was scp I was trying to get going, I think I was just experimenting my way thruogh any and all tools I could, to try to be able to copy files between two 'puters on my home lan.

I fired up ssh to make sure shell communications was still good and because I read ssh was involved in scp.
That stopped my internet connection sharing from working.
I can reconfigure my internet connection sharing and it starts working again. but ssh stops working.


Bottom Lines:

Nfs was and is still eluding me. I looked at TigerOC's link and I still think NFS is above my current understanding/skill level, unless I can find some "NFS for Dummies" type info.

I am going to keep learning command line stuff and have actually had some small success', but I am anxious to be able to transfer files.

I don't care how I transfer files.

At this point might it behoove me to put all effort into NFS or is there a easier to get going alternative for file transfer?

If I should be concentrating on NFS, I wont worry about the subject of my original post for now. My 1st goal is file transfer.

Any Ideas on witch way to proceed from here would be greatly appreciated.

Continued gratitude to all those who help us newbies.

Last edited by toastermaker; 11-23-2003 at 06:11 AM.
 
Old 11-23-2003, 08:34 AM   #5
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Toastermaker follow the steps in the link I gave you very precisely. You would probably be advised to to go for static addressing initially, as opposed to dhcp. I have the same setup with a cat5 cross-over cable. It took me about a day to get this working and to fully understand the process. Try and figure out with each step how this works because it will stand you in good stead for future networking.
 
Old 11-23-2003, 12:52 PM   #6
toastermaker
Member
 
Registered: Oct 2003
Location: coastal alabama, united states
Distribution: Mandrake 10.0 official, slackware 9.1
Posts: 219

Original Poster
Rep: Reputation: 30
Thanks TigerOC,

I will concentrate on NFS. I know its the way but was hopeing for a quick fix. I hope I'm not getting lazy.

Continued gratitude to all those who help us newbies.
 
  


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
ssh over internet connection sharing (win98) andra Linux - Networking 1 09-20-2005 11:37 AM
proces ssh and scp stopped, connection hangs prut Linux - Networking 2 04-10-2004 10:57 AM
internet connection stopped working arch23 Linux - Networking 5 12-19-2003 09:02 AM
internet connection STOPPED working without a change made! fede_mdk Linux - Networking 11 08-05-2003 10:26 AM
internet connection sharing Danobri Linux - Networking 14 07-21-2001 11:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:39 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