- Posts: 145
- Thank you received: 0
Linux Home Network
18 years 5 months ago #15293
by Ranger24
Patience - the last reserve of the any engineer
Linux Home Network was created by Ranger24
Hi,
I have 2 linux boxes connected to a linksys router which in turn is connected to my cable line.
I'd like to be able to share files and printers between the to pcs but so far cannot get them to even ping each other.
Both are on the same subnet, and the router is set as the default gateway.
I have guarddog installed on both machines, and think this is configured correctly.
Any advice?
R
I have 2 linux boxes connected to a linksys router which in turn is connected to my cable line.
I'd like to be able to share files and printers between the to pcs but so far cannot get them to even ping each other.
Both are on the same subnet, and the router is set as the default gateway.
I have guarddog installed on both machines, and think this is configured correctly.
Any advice?
R
Patience - the last reserve of the any engineer
18 years 5 months ago #15294
by nske
Replied by nske on topic Re: Linux Home Network
hello,
For start try to disable the IPTables firewall on both systems. There should be a control script at the /etc/init.d, so you would give something like "/etc/init.d/iptables stop". Or perhaps you can stop it through the Guaddog's interface. Or, finally, you can just allow everything by issuing
Also, is there some ICMP message returned when you try to contact each other host or packets are silently dropped?
For start try to disable the IPTables firewall on both systems. There should be a control script at the /etc/init.d, so you would give something like "/etc/init.d/iptables stop". Or perhaps you can stop it through the Guaddog's interface. Or, finally, you can just allow everything by issuing
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -F -t nat
iptables -F -t filter
iptables -X
Also, is there some ICMP message returned when you try to contact each other host or packets are silently dropped?
18 years 5 months ago #15305
by Ranger24
Patience - the last reserve of the any engineer
Replied by Ranger24 on topic Re: Linux Home Network
Thanks Nske,
Rules on Guarddog are now correct and Pinging between statiopns works! Now I just need help sharing files & printers!
br
R
Rules on Guarddog are now correct and Pinging between statiopns works! Now I just need help sharing files & printers!
br
R
Patience - the last reserve of the any engineer
18 years 5 months ago #15312
by nske
Replied by nske on topic Re: Linux Home Network
If you wish to share files and printers with windows hosts as well,
SAMBA
is your only real choise. Otherwise, for sharing between UNIX hosts,
CUPS
for printer sharing and
NFS
for filesharing would perform better and propably more reliably.
- Here's a topic with short instructions for installing samba
- For NFS check the NFS howto
- CUPS might prove the toughest beast of the three for start, as it depends very much on your Printer's compatibility. For some useful information take a look at printing howto . As long as your printer (or a similar model) is supported the installation procedure is as following:
1) You install CUPS, preferably through your distribution's package manager.
2) You start cupsd, i.e. "/etc/init.d/cupsd start"
3) You visit http://127.0.0.1:631 through a web browser (local firewall should allow it).
4) You follow the "add printer" wizzard there, selecting an appropriate name and .PPD file for your printer, driver-specific options, and CUPS access permissions.
The printer should be available right after that, both to SAMBA for sharing (there are exact configuration instructions here ), to the local host for printing and to remote hosts through IPP provided that you have "published" the printer and given the proper permissions, and you have also configured cups to the remote host (everything can be done quite easily through the wizzard interfaces of cupsd).
Give it a try and let us know about any difficulty!
- Here's a topic with short instructions for installing samba
- For NFS check the NFS howto
- CUPS might prove the toughest beast of the three for start, as it depends very much on your Printer's compatibility. For some useful information take a look at printing howto . As long as your printer (or a similar model) is supported the installation procedure is as following:
1) You install CUPS, preferably through your distribution's package manager.
2) You start cupsd, i.e. "/etc/init.d/cupsd start"
3) You visit http://127.0.0.1:631 through a web browser (local firewall should allow it).
4) You follow the "add printer" wizzard there, selecting an appropriate name and .PPD file for your printer, driver-specific options, and CUPS access permissions.
The printer should be available right after that, both to SAMBA for sharing (there are exact configuration instructions here ), to the local host for printing and to remote hosts through IPP provided that you have "published" the printer and given the proper permissions, and you have also configured cups to the remote host (everything can be done quite easily through the wizzard interfaces of cupsd).
Give it a try and let us know about any difficulty!
Time to create page: 0.130 seconds