how to establish lan
Hello all,
i'm running "slackware 10.0" on my two machines and now want to have a lan connection among them... on the home page there is an option of "LAN Browser".......but as soon as i'm clicking on it..........its saying... .........the lisa daemon does not appear to be running. ..........In order to use the LAN Browser the lisa daemon must be instlaled and activated by the system administrator... ...... so anyone of u please tell me wat to do next.........am i supposed to download some lisa from the internet or what....... .. regards... |
Actually, you dont need that crappy Lisa to establish it.. Heres a quick and dirty way to get your machines LANned:
Add this line for every box youve got into the /etc/rc.d/rc.local: Code:
/sbin/ifconfig eth0 add 192.168.0.3 broadcast 192.168.0.255 This will add a eth0:0 interfase that is the land interfase. If you want it to work rightaway, just enter the same command in the cli as root.. I suggest you add the new ip:s to every machines /etc/hosts so you dont have to remember them by heart.. (; If you can get a ping from machine to machine with less than 1 ms, then its working.. |
Thanx........for such an easy solution......
.....now i can ping from both the machines... .....one more little problem now.....how can i access the drives of one system from the other one..?? regards |
Well, that gets a bit more tricky, but not much.. (: What you are looking for, is a NFS mount. (network filesystem)
It can be abit tricky to set up (lousy error system that doesnt help abit in debugging), but Ill try to advise you. These instructions you must do to both computers. Lets edit a few files, here are examples: /etc/hosts.deny Code:
portmap : ALL Code:
portmap : 192.168.0.2 # this is the address of the other comp Code:
/ 192.168.0.2(rw,no_root_squash) # again the ip of the other comp Lets make it start upon boot: Code:
chmod +x /etc/rc.d/rc.portmap So, at this point, lets fire er up.. (; Code:
/etc/rc.d/rc.portmap start && /etc/rc.d/rc.nfsd start Code:
mkdir /mnt/compname If you get cryptic errors, try the following on both comps: Code:
/etc/rc.d/rc.nfsd stop Oh yeah, if you have a firewall solution, youll need several holes in it.. I dont remember which, but I guess you can nmap yourself and find out when theyre running.. |
Hello,
i did all the things and steps instructed by u.... but now facing two problems:: .1> i gave the names to my two machines as "server" and "cleint"..( although there is no such relation among them). now at the final step of mounting an error occured..."mount: 192.168.0.2:/ failed, reason given by server: Permission denied" this is happening on "server" machine only......on the "cleint maching everthing is working properly". 2> Although on the client i can see the server as mounted........but its showing all the folders/directories as empty..... ...when i'm cheking the directories "share" property on the "server " it saying "only directories in your home directory can be shared"....... .... what should i do now..??? . regards |
id say that sounds abit odd.. Well, the error actually doesnt tell much.. Most of the errors it utters are completely misleading.. (:
The other problem.. Thats even more odd.. If you do a df -h, can you see the size info for the NFS mounted partition? Does the emptyness occur as a user, and as root? |
All times are GMT -5. The time now is 03:34 PM. |