SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
There are two options. 1. Set up internet sharing with the machine connected to the ADSL modem. This machine will need two nic's, one connected to the ADSL modem, and the other to your laptop. If you direct connect it, you need a cross over cable. You can buy or make your own. This is not a standard ethernet cable. Make sure ( if you buy it ) to specify a cross over cable. The other cable option is to buy a hub, and use regular ethernet cables.
2. Buy a router, connect your ADSL modem to the router, ( ISP side ) and connect both machines to the router via regular ethernet cables. This is the easy way to go, and allows for adding more machines in the future.
File sharing. 1. Linux to Linux. Easy way is to set up NFS, hard way set up one as a Samba sever, the other becomes samba client. Printing linux to linux, set up cups.
2.Linux to windoze, set up linux as a samba server, and set up windoze as the client. This will also allow for windoze to linux printing. If you want to print from linux to windoze, you have to share a printer in windbloze and add the printer in linux. I have never gone through the frustration of this type of printer sharing. I made samba my print server. Windoze boxes at my home all print to linux.
Since you have a windoze system, you will need to set up samba one way or another. If I were you, I would set up NFS first. You will find samba a bit of a challenge. Here is a good link for lots of information on setting up samba.
I've got the two machines pinging, PC set up as NFS server, host wildcard as *, created an export directory, made eth connection internal zone in firewall and enabled NFS server in system services.
But when trying to set up laptop as NFS client when I click on add it comes up with nothing in the choose option for NFS server hostname. I try to enable NFS, but it says returned 6 program not configured.
nfs-utls installed on both machines.
If I try to enter server host name etc manually I get error, unable to mount the NFS enties from /etc/fstab
Leave NFS alone, until you can ping between the two machines. You need IP connectivity for NFS or any file sharing to work. The IP addresses you picked are fine. 10.x.y.z addresses are private class A addresses. You will need to add a entry to your routing table in order to route and ping between these two machines. Both machines will need a route added.
Your ADSL modem connected to your PC will have a different IP address. If you did not configure it, then your ISP is probably running DHCP, and assigned your interface connected to the modem an IP address. That is fine, and since you can get to the internet from your PC, there is no issue there.
I can now ping between two machines, ping 10.0.0.2 from pc and ping 10.0.0.1 from laptop.
I can also ping local ip address of the ADSL modem on the PC from the laptop.
But I cannot ping remote ip address from laptop through PC. Do I need to set up masquerading?
I have again set up PC as NFS server, but when I try to set up laptop as a NFS client (from laptop) it doesn't find pc NFS server.
Also:
Every time I connect LAN cable, internet is disabled on PC through ADSL, I have to run lillall pppd and run startup scripts again. What is causing this?
UPDATE: Now when I set up either machine as an NFS server, when trying to set the other as the NFS client, it only finds the server from the same machine. ie when setting up laptop as a client it finds Linux-Laptop server. And on PC it finds Linux-PC server. What do I do to find the server on the other machine?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.