LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion
User Name
Password
LinuxAnswers Discussion This forum is to discuss articles posted to LinuxAnswers.

Notices

Reply
 
LinkBack Search this Thread
Old 02-26-2005, 02:37 AM   #31
Lee Barker
Member
 
Registered: Jan 2005
Location: London
Distribution: Fedora 6
Posts: 31

Rep: Reputation: 15
WinXP/Linux LAN etc.


With linux, use the local user (not root) as Ftp is disabled for root user by default.

My (complete) general notes were as follows, using a LAN with 1 WinXP and 2 Rehat Linux boxes:

1) On the Windows XP machine, set up Internet Connection sharing (ICS).

2) The following is for the Linux machines (as root user):

a) Enable FTP permissions by changing disable=yes to disable=no in the file:
/etc/xinetd.d/vsftpd

b) In the file, /etc/sysconfig/network add the line GATEWAYDEV="eth0"

c) In the file, /etc/resolv.conf add the line:
nameserver 192.168.0.1 #this is the WinXP gateway IP

d) Open Network Configuration Tool and, for each machine, type in the IP settings, e.g.-
linux machine 1 ----> 192.168.0.2
255.255.255.0
192.168.0.1

linux machine 2 ----> 192.168.0.3
255.255.255.0
192.168.0.1

e) Reboot linux machines
 
Old 04-01-2005, 07:34 AM   #32
evad
LQ Newbie
 
Registered: Mar 2005
Location: Bristol
Distribution: Mandrake
Posts: 6

Rep: Reputation: 0
Excellent tutorial. (from a complete linux newbie!)
However there is another part that I still dont fully understand. (not exactly networking, but still seemingly related)
I have my system set up as a dual boot. I've deliberately formatted a chunk of my hd as fat32 so that (Im told) I can see it in linux. This is where I dump all of the windows equivilent of 'my documents' (photos, mp3's etc)
Im using fedora 3, but cant seem to find the drive in question. Do I have to mount it? Where do I look?

xxxxx - Extra Thought - xxxxxxxx
Being in the process of trying to ditch windows for a linux system forever, it would be great if somebody would write a guide which explains easily (not technically) how to make the complete switch. ie "I used to do x thing in Windows...here's exactly how x things is done in linux"
Im sure most stuff is really simple to suss out, but its just a case of finding your way round. If we (can I call us 'we' now that Im on board?) want the vast majority of windows users to make the switch then it needs to be made really simple. Its going to take a while yet to convince me that I dont need to use windows at all, but Im looking forward to it!

Dave
 
Old 04-01-2005, 02:11 PM   #33
echo77
Member
 
Registered: Jun 2004
Location: Goa, India
Distribution: Fedora Core 2
Posts: 33

Original Poster
Rep: Reputation: 15
Setting up a fat32 hd from linux
1. create a directory in mount, say win/
2. find out using hardware browser -> hardisk, which is the windows fat32 partition referred to in the /dev section - it should be /dev/hda2 or something
3. run the command:
mount -t vfat /dev/hda2 win/

You can also do this by default during boot-up... so that you don't have to mount it every time:
add the foll line (as appropriate) at the bottom in /etc/fstab with proper tabs (follow tab conventions used in above lines of fstab)

/dev/hda2 /mnt/win vfat defaults,user 0 0

----------

Btw, I'm a linux user for quite a long time now, so I don't think I'll be able to write a switchover tutor. I'll end up skipping too many details.
 
Old 04-03-2005, 07:12 AM   #34
evad
LQ Newbie
 
Registered: Mar 2005
Location: Bristol
Distribution: Mandrake
Posts: 6

Rep: Reputation: 0
Thumbs up

Thanks very much for the help. Very useful indeed.
One more problem ticked off!
 
Old 05-29-2005, 08:06 AM   #35
kawinter
LQ Newbie
 
Registered: May 2005
Distribution: Debian
Posts: 7

Rep: Reputation: 0
Linux Home Networking via GUI

Any chance you will re-write this tutorial for KDE? I do not have some of the places to click that you are going to and I have tried setting this up from the terminal and have failed. I will learn what I did wrong in the terminal but that could take weeks and if in the meantime someone could quickly tell me how to do this on my Debian/KDE box through a GUI I would be jumping for joy (and I would not have to email files back and forth between my two boxes any more
 
Old 05-29-2005, 02:42 PM   #36
echo77
Member
 
Registered: Jun 2004
Location: Goa, India
Distribution: Fedora Core 2
Posts: 33

Original Poster
Rep: Reputation: 15
Sorry, I don't have Debian and don't use KDE.
Chk if someone else can help u out.
 
Old 05-29-2005, 03:22 PM   #37
Lee Barker
Member
 
Registered: Jan 2005
Location: London
Distribution: Fedora 6
Posts: 31

Rep: Reputation: 15
Hi,

I haven't been able to emulate my Redhat 8.0 success with Mandriva (Mandrake) 2005 Limited edition - which uses KDE.

I edited the file /etc/xinetd.d/proftp-xinetd to disable=no (this line occurs twice!) and I also changed the /etc/resolv.conf file to 192.168.0.1 (my gateway IP).

I can connect to the Internet (web) and can Ftp outbound but not inbound. My guess is that I only have a client ftp and not an ftp server. I also get the cryptic message:
500 'AUTH KERBEROS_V4': command not understood.

Does anyone know how to get the ftp server up and running? It's strange how Redhat and Mandrake have different setups in what should be such a standard issue.

Cheers.
 
Old 05-30-2005, 03:54 AM   #38
Lee Barker
Member
 
Registered: Jan 2005
Location: London
Distribution: Fedora 6
Posts: 31

Rep: Reputation: 15
I just checked out the man page for proftpd and it listed associated files. It seems I forgot to run the startup -> /usr/sbin/proftpd.

All works well in both directions although I still get the strange error message when contacting WinXP. Also the terminal Konsole hangs on Linux but since it does the transfers ok I'll live with it.

Regards.
 
Old 06-20-2005, 01:35 PM   #39
pranij
LQ Newbie
 
Registered: Oct 2004
Distribution: SuSE 9.1
Posts: 15

Rep: Reputation: 0
Hi,

I am a newbie and want to connect two computers in my home. However my problem is that I only have 56kbps modem in both the computers. Is there a way to connect both the computers together? One of then is a laptop and another is a desktop with a external modem. Is this possible? It does not matter even there is a slow connection. I just need a connection so that I can transfer a few files between these two machines.

Oh and, I have suse 9.2 in my laptop and redhat enterprise in my desktop.

Last edited by pranij; 06-20-2005 at 01:36 PM.
 
Old 06-20-2005, 04:15 PM   #40
echo77
Member
 
Registered: Jun 2004
Location: Goa, India
Distribution: Fedora Core 2
Posts: 33

Original Poster
Rep: Reputation: 15
I suggest you rather upload your files somewhere on the web to share them between your two comps. Or get a thumb drive. Or get network cards (the laptop will most likely have a network card) and follow the tute.

AFAIK, you can't connect two comps with modems. Pl look elsewhere for this.

regs.
 
Old 07-22-2005, 05:49 PM   #41
shawnpetersonrec
LQ Newbie
 
Registered: Jul 2005
Location: USA
Distribution: Win2k and Linux
Posts: 2

Rep: Reputation: 0
Unhappy to echo77

Hi
My name is Shawn
I am a beginner to the Linux Networking
I have setup two commuters over a cross-over cable.
Machine-1 (Linux RedHat Linux 9)
Machine-2 (Windows 2000 Professional)

I am able to ping the machines meaning I am able to ping Machine-1 form Machine-2 and the opposite is also true.

I have a dial up connection on the Machine-2
I want the Mechine-1 to access the internet form Mechine-2


Stuff I have done but did not work
1) on Machine-2 I have make the connection shared
2) On the Mechine-1 I have give the gateway as the Mechine-2 IP
3) Reinstalled Linux may be 5 times

I really need this information can some one help

Last edited by shawnpetersonrec; 07-22-2005 at 05:51 PM.
 
Old 07-26-2005, 05:16 PM   #42
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 45
After setting up a LAN between 2 linux boxes(as explained in http:// ) I am able to ping both machines.

box1 linmix.myhome.org 192.168.10.1
box2 acer.mybox.org 192.168.10.2

Also I have NFS running on box1 and an NFS-share configures as RW (/home/linmix/Musica). When I move to box2 and issue the following command:

mount linmix.myhome.org:/home/linmix/Musica

I get the following message:
mount: can't find address for linmix.myhome.org

I've tried using "mount 192.168.10.1:/home/linmix/Musica" or going to System Settings -> Network and adding linmix.myhome.org 192.168.10.1 in the Hosts tab, but this gives another error:

mount: RPC: Remote system error - No route to host
 
Old 07-31-2005, 02:30 AM   #43
echo77
Member
 
Registered: Jun 2004
Location: Goa, India
Distribution: Fedora Core 2
Posts: 33

Original Poster
Rep: Reputation: 15
NFS:
I too have a problem that may be related - when I start NFS server in services / startup - I am unable to connect from client. However, if I go thru the menu (System Settings > Server Settings > NFS) and start it from there, I can connect.

Internet thru' windows:
I haven't done it that way... acc to me, it shd work with your settings. Pl try asking somewhere else.
 
Old 08-02-2005, 01:32 PM   #44
Kropotkin
Member
 
Registered: Oct 2004
Location: /usr/home
Distribution: Fedora, FreeBSD, Android
Posts: 311

Rep: Reputation: 31
Hi, this text is quite helpful; hope you get a chance to finish it.

One question: I've set up the NFS shares for my two Linux boxes running Fedora; where do I add the mount command so that the shares are mounted automatically when the system starts?

Thanks.

Last edited by Kropotkin; 08-02-2005 at 05:19 PM.
 
Old 08-02-2005, 04:54 PM   #45
echo77
Member
 
Registered: Jun 2004
Location: Goa, India
Distribution: Fedora Core 2
Posts: 33

Original Poster
Rep: Reputation: 15
try this:

/etc/fstab, add below line
AAA.BBB.CCC.DDD:/share /home/user/share nfs rw 0 0

or else pl google it....
http://www.pcworld.idg.com.au/index....pid;1783981662
http://www.google.co.in/search?hl=en...oot+up&spell=1
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DISCUSSION: Easy 'info' guide scott_R LinuxAnswers Discussion 5 06-30-2010 06:13 AM
DISCUSSION: A guide to VIM: Vi Improved Defunct. LinuxAnswers Discussion 8 11-02-2009 07:58 AM
DISCUSSION: DVD9 to DVD5 guide Steel_J LinuxAnswers Discussion 331 10-13-2009 02:40 PM
DISCUSSION: Guide to Linuxquestions HCL entries. finegan LinuxAnswers Discussion 2 09-20-2005 07:43 AM
Setting up a small home LAN ccin1492 Linux - Networking 21 07-31-2005 04:10 PM


All times are GMT -5. The time now is 02:22 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
Open Source Consulting | Domain Registration